diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-07-13 09:50:11 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-07-13 09:50:11 +0000 |
commit | 360408fc4c04a72750ecfece7539260129b765ab (patch) | |
tree | d01bdddafa4dd0aa2cab4f3995dda1d0748cccee /src/engine.cpp | |
parent | 6eb84fcfaf55c7e4baf13bfdff8f0a16a5b97d76 (diff) | |
download | mana-360408fc4c04a72750ecfece7539260129b765ab.tar.gz mana-360408fc4c04a72750ecfece7539260129b765ab.tar.bz2 mana-360408fc4c04a72750ecfece7539260129b765ab.tar.xz mana-360408fc4c04a72750ecfece7539260129b765ab.zip |
- Adding the wonderful new font by Bjorn to speech and player names
- Way to system cursor (now you can choose the original sdl cursor in config)
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 85837235..11e653b7 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -431,10 +431,12 @@ void Engine::draw() sx * 32 + 5 + get_x_offset(being) - offset_x, sy * 32 - 65 + get_y_offset(being) - offset_y); } - + + graphics->setFont(speechFont); graphics->drawText(being->name, being->text_x + 15, being->text_y + 30, gcn::Graphics::CENTER); + graphics->setFont(gui->getFont()); } // Draw a warp |