summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-24 19:43:26 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-24 19:43:26 +0100
commita928798a9326de1e6781e14c8ccf5abec1232385 (patch)
tree2e0f82055cab1bddf85102d5161a3262637879ee /src/monster.cpp
parent944c187b91e823075dd1708b4f575acd43f0428f (diff)
downloadmana-client-a928798a9326de1e6781e14c8ccf5abec1232385.tar.gz
mana-client-a928798a9326de1e6781e14c8ccf5abec1232385.tar.bz2
mana-client-a928798a9326de1e6781e14c8ccf5abec1232385.tar.xz
mana-client-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/monster.cpp')
-rw-r--r--src/monster.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index 65049c9e..b6e6fc35 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -28,8 +28,6 @@
#include "text.h"
#include "localplayer.h"
-#include "gui/gui.h"
-
#include "resources/monsterdb.h"
#include "utils/tostring.h"
@@ -179,7 +177,7 @@ void Monster::showName(bool show)
mText = new Text(getInfo().getName(), mPx + NAME_X_OFFSET,
mPy + NAME_Y_OFFSET - getHeight(),
gcn::Graphics::CENTER,
- speechFont, gcn::Color(255, 32, 32));
+ gcn::Color(255, 64, 64));
}
else
{