diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-02-05 21:28:38 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-02-05 21:28:38 +0000 |
commit | 5e1658aade25018073cc432fbc55c7857441039b (patch) | |
tree | 855ab86c0c1a02dd3750751f4b8f0db3dbe71010 /src/engine.cpp | |
parent | bb16416fdc756e1952bc975be4a2fee6c584c38f (diff) | |
download | mana-5e1658aade25018073cc432fbc55c7857441039b.tar.gz mana-5e1658aade25018073cc432fbc55c7857441039b.tar.bz2 mana-5e1658aade25018073cc432fbc55c7857441039b.tar.xz mana-5e1658aade25018073cc432fbc55c7857441039b.zip |
Made the nickname and emotions displayed above every layers. Made the delete and ok buttons be disabled once the character is selected at login.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index dc767eb6..881a570a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -250,11 +250,13 @@ void Engine::draw(Graphics *graphics) } } - // Draw player speech + // Draw player nickname, speech, and emotion sprite as needed Beings *beings = beingManager->getAll(); for (Beings::iterator i = beings->begin(); i != beings->end(); i++) { (*i)->drawSpeech(graphics, -map_x, -map_y); +(*i)->drawName(graphics, -map_x, -map_y); +(*i)->drawEmotion(graphics, -map_x, -map_y); } // Draw target marker if needed |