summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-13 09:50:11 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-13 09:50:11 +0000
commit360408fc4c04a72750ecfece7539260129b765ab (patch)
treed01bdddafa4dd0aa2cab4f3995dda1d0748cccee /src/engine.cpp
parent6eb84fcfaf55c7e4baf13bfdff8f0a16a5b97d76 (diff)
downloadmana-client-360408fc4c04a72750ecfece7539260129b765ab.tar.gz
mana-client-360408fc4c04a72750ecfece7539260129b765ab.tar.bz2
mana-client-360408fc4c04a72750ecfece7539260129b765ab.tar.xz
mana-client-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.cpp4
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