diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-16 01:04:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-16 01:04:04 +0300 |
commit | 4b891f50dfc89318321eeac176415d1bef61aca6 (patch) | |
tree | f1da78c30374409d4f329faecb7e7b627674cf21 /src/game.cpp | |
parent | f8f1e69d820e49d93669b17363ab6225456515f7 (diff) | |
download | ManaVerse-4b891f50dfc89318321eeac176415d1bef61aca6.tar.gz ManaVerse-4b891f50dfc89318321eeac176415d1bef61aca6.tar.bz2 ManaVerse-4b891f50dfc89318321eeac176415d1bef61aca6.tar.xz ManaVerse-4b891f50dfc89318321eeac176415d1bef61aca6.zip |
Add bank window (hercules only).
also add banklistener to get changed bank balance.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index ad6c04a28..4292d00cc 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -59,6 +59,7 @@ #include "gui/fonts/font.h" +#include "gui/windows/bankwindow.h" #include "gui/windows/botcheckerwindow.h" #include "gui/windows/chatwindow.h" #include "gui/windows/debugwindow.h" @@ -222,6 +223,7 @@ static void createGuiWindows() new SpellShortcutContainer(nullptr, f)); } + bankWindow = new BankWindow; botCheckerWindow = new BotCheckerWindow; whoIsOnline = new WhoIsOnline; whoIsOnline->postInit(); @@ -331,6 +333,7 @@ static void destroyGuiWindows() delete2(socialWindow) delete2(dropShortcutWindow); delete2(spellShortcutWindow); + delete2(bankWindow); delete2(botCheckerWindow); delete2(questsWindow); delete2(whoIsOnline); |