summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-29 22:04:08 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-29 22:04:08 +0000
commit5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22 (patch)
tree6f14c1e411f1cf9efb82ff6c5ebeb25f35506b57 /src/graphic/graphic.cpp
parentbc79eeeb186e84388a5899b7cdd4a339aaa40495 (diff)
downloadmana-client-5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22.tar.gz
mana-client-5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22.tar.bz2
mana-client-5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22.tar.xz
mana-client-5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22.zip
*** empty log message ***
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index ec136253..7a1c13dc 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -52,6 +52,7 @@ NpcListDialog *npcListDialog;
NpcTextDialog *npcTextDialog;
SkillDialog *skillDialog;
StatsWindow *statsWindow;
+Setup* setupWindow;
void ChatListener::action(const std::string& eventId)
{
@@ -262,6 +263,9 @@ Engine::Engine()
statsWindow = new StatsWindow();
statsWindow->setVisible(false);
statsWindow->setPosition(screen->w - 5 - statsWindow->getWidth(), statusWindow->getHeight() + 20);
+
+ setupWindow = new Setup();
+ setupWindow->setVisible(false);
// Give focus to the chat input
chatInput->requestFocus();
@@ -299,6 +303,7 @@ Engine::~Engine()
delete npcTextDialog;
delete skillDialog;
delete statsWindow;
+ delete setupWindow;
delete tileset;
delete monsterset;