diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-08 18:40:48 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-09 00:52:56 -0600 |
commit | 5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf (patch) | |
tree | a905c74e059311b5adf10a6eacbe53482d95c380 /src/game.cpp | |
parent | 6ea994477c58912785729e7922eb90862a1ab13c (diff) | |
download | mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.gz mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.bz2 mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.tar.xz mana-5fa3f62d0d6d9cbffeef0f6a2497aae023dbadcf.zip |
Add an interface for eAthena's storage system
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 110b75cc..ba035ecd 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -70,6 +70,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" @@ -129,6 +130,7 @@ HelpWindow *helpWindow; DebugWindow *debugWindow; ShortcutWindow *itemShortcutWindow; ShortcutWindow *emoteShortcutWindow; +StorageWindow *storageWindow; BeingManager *beingManager = NULL; FloorItemManager *floorItemManager = NULL; @@ -213,6 +215,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( @@ -230,6 +233,7 @@ void createGuiWindows(Network *network) emoteShortcutWindow->getWindowName() + "Visible", true)); minimap->setVisible((bool) config.getValue( minimap->getWindowName() + "Visible", true)); + storageWindow->setVisible(false); } /** @@ -260,6 +264,7 @@ void destroyGuiWindows() delete debugWindow; delete itemShortcutWindow; delete emoteShortcutWindow; + delete storageWindow; } Game::Game(Network *network): |