diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-11 17:21:55 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-11 17:21:55 +0000 |
commit | 448fe8430f5f0ae81101fe86d664f98be1a92201 (patch) | |
tree | 76737e4447cca1dd24c4e9203a2d2ea674d72a1e /src/graphic/graphic.cpp | |
parent | 528ded235f60c349272ecbf428731b2f579ed758 (diff) | |
download | mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.gz mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.bz2 mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.xz mana-448fe8430f5f0ae81101fe86d664f98be1a92201.zip |
Working on equipment
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 65775c75..bff5a29b 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -26,6 +26,7 @@ #include "../gui/textfield.h" #include "../gui/status.h" #include "../gui/minimap.h" +#include "../gui/equipment.h" #include "../main.h" #include "../being.h" @@ -55,6 +56,7 @@ SkillDialog *skillDialog; StatsWindow *statsWindow; Setup* setupWindow; Minimap *minimap; +EquipmentWindow *equipmentWindow; void ChatListener::action(const std::string& eventId) { @@ -269,9 +271,10 @@ Engine::Engine() setupWindow = new Setup(); setupWindow->setVisible(false); - // Create minimap - minimap = new Minimap(); + + equipmentWindow = new EquipmentWindow(); + equipmentWindow->setVisible(true); // Give focus to the chat input chatInput->requestFocus(); @@ -310,6 +313,8 @@ Engine::~Engine() delete skillDialog; delete statsWindow; delete setupWindow; + delete minimap; + delete equipmentWindow; delete tileset; delete monsterset; |