diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-01-29 22:04:08 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-01-29 22:04:08 +0000 |
commit | 5cbcbbfc0ff1db5cbbe9e187d067e3bd86fcce22 (patch) | |
tree | 6f14c1e411f1cf9efb82ff6c5ebeb25f35506b57 /src/graphic | |
parent | bc79eeeb186e84388a5899b7cdd4a339aaa40495 (diff) | |
download | mana-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')
-rw-r--r-- | src/graphic/graphic.cpp | 5 | ||||
-rw-r--r-- | src/graphic/graphic.h | 2 |
2 files changed, 6 insertions, 1 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; diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index 9e8fff67..8b4a2bde 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -68,7 +68,7 @@ extern NpcListDialog *npcListDialog; extern NpcTextDialog *npcTextDialog; extern SkillDialog *skillDialog; extern StatsWindow *statsWindow; -//extern Setup *setupWindow; +extern Setup *setupWindow; char get_x_offset(char, char); char get_y_offset(char, char); |