summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-08 18:40:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-08 18:40:48 -0600
commit6099a24784843ac2c6eb4036f5c08bba2f9299c3 (patch)
tree7bc6684986ec10d9fa241b98b9a27e511233cc63 /src/game.cpp
parent989be6b1e7634726f5f49e19d6e7dabad7c793e6 (diff)
downloadmana-client-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.gz
mana-client-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.bz2
mana-client-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.xz
mana-client-6099a24784843ac2c6eb4036f5c08bba2f9299c3.zip
Add an interface for eAthena's storage system
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 40bfd5e4..9f8a2613 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -69,6 +69,7 @@
#include "gui/setup.h"
#include "gui/skill.h"
#include "gui/status.h"
+#include "gui/storagewindow.h"
#include "gui/trade.h"
#include "gui/viewport.h"
@@ -128,6 +129,7 @@ HelpWindow *helpWindow;
DebugWindow *debugWindow;
ShortcutWindow *itemShortcutWindow;
ShortcutWindow *emoteShortcutWindow;
+StorageWindow *storageWindow;
BeingManager *beingManager = NULL;
FloorItemManager *floorItemManager = NULL;
@@ -212,6 +214,7 @@ void createGuiWindows(Network *network)
new ItemShortcutContainer);
emoteShortcutWindow = new ShortcutWindow("emoteShortcut",
new EmoteShortcutContainer);
+ storageWindow = new StorageWindow(network);
// Set initial window visibility
chatWindow->setVisible((bool) config.getValue(
@@ -231,6 +234,7 @@ void createGuiWindows(Network *network)
emoteShortcutWindow->getWindowName() + "Visible", true));
minimap->setVisible((bool) config.getValue(
minimap->getWindowName() + "Visible", true));
+ storageWindow->setVisible(false);
}
/**
@@ -261,6 +265,7 @@ void destroyGuiWindows()
delete debugWindow;
delete itemShortcutWindow;
delete emoteShortcutWindow;
+ delete storageWindow;
}
Game::Game(Network *network):