diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:43:26 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:43:26 +0100 |
commit | a928798a9326de1e6781e14c8ccf5abec1232385 (patch) | |
tree | 2e0f82055cab1bddf85102d5161a3262637879ee /src/player.cpp | |
parent | 944c187b91e823075dd1708b4f575acd43f0428f (diff) | |
download | mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.gz mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.bz2 mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.xz mana-a928798a9326de1e6781e14c8ccf5abec1232385.zip |
Use standard GUI font also for speech and names
The speech bitmap font can't handle unicode, so it has now been replaced
by the standard GUI font, drawn with a shadow for chat and with a full
outline for names.
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp index 22efc711..27820acf 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -31,7 +31,6 @@ #include "utils/strprintf.h" -#include "gui/gui.h" #include <iostream> static const int NAME_X_OFFSET = 15; @@ -57,7 +56,7 @@ void Player::setName(const std::string &name) { mName = new FlashText(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, gcn::Graphics::CENTER, - speechFont, gcn::Color(255, 255, 255)); + gcn::Color(255, 255, 255)); Being::setName(name); } } |