From b5ca1c7c4021d9ef04cabd6f6dbc6e1bc050ab73 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 3 Jul 2005 21:03:09 +0000 Subject: - Fixed blue, red and yellow damage fonts to work in SDL mode - Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus --- src/gui/gui.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ec9a6adc..a6f9ad4b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -84,8 +84,15 @@ Gui::Gui(Graphics *graphics) guiFont = new gcn::ImageFont( TMW_DATADIR "data/graphics/gui/fixedfont.png", " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567" - "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`" + "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`øå" ); + /* + guiFont = new gcn::ImageFont( + TMW_DATADIR "data/graphics/gui/rpgfont.png", + " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567" + "89_,!?-+/():;%&`'*#=[]\"" + ); + */ } catch (gcn::Exception e) { @@ -161,9 +168,9 @@ void Gui::mousePress(int mx, int my, int button) if (state == GAME && tiledMap->getWalk(tilex, tiley)) { walk(tilex, tiley, 0); player_node->setDestination(tilex, tiley); - } - autoTarget = NULL; + autoTarget = NULL; + } } } -- cgit v1.2.3-70-g09d2