Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-12 18:38:48 +0000
committerStijn Buys <ingar@osirion.org>2009-01-12 18:38:48 +0000
commitc55945a1e81f5e49ef706cb3d0d37f17dbb84709 (patch)
treea050721b95b8c11134b6d373474382653c6fe063 /src/client/client.cc
parent01a803bec48b1377d2714bce819fb2544eeeb44b (diff)
Improved loader message
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index 6611bb2..66feecf 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -254,7 +254,8 @@ void Client::shutdown()
void Client::notify_connect()
{
- video::frame_loading("Connecting...");
+ video::set_loader_message("Loading...");
+ video::frame_loader();
view()->notify()->clear();
view()->chat()->clear();
@@ -277,6 +278,9 @@ void Client::notify_disconnect()
void Client::notify_zonechange()
{
+ video::set_loader_message("Loading...");
+ video::frame_loader();
+
// unload entity sounds
for (core::Entity::Registry::iterator it = core::Entity::registry().begin(); it != core::Entity::registry().end(); it++) {
core::Entity *entity = (*it).second;
@@ -339,7 +343,7 @@ void Client::notify_message(const core::Message::Channel channel, const std::str
}
void Client::notify_loader(const std::string &message) {
- video::loader_message(message.c_str());
+ video::set_loader_message(message.c_str());
}
//--- engine functions --------------------------------------------