summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorJosé Ávila <linux@javila.net>2005-06-03 06:18:17 +0000
committerJosé Ávila <linux@javila.net>2005-06-03 06:18:17 +0000
commitf73656a5f854bbde8aaf727c09d31a9215b1e041 (patch)
treeb83c18c82c62873ab34d854a4b3ab8ff10ba0c38 /src/engine.cpp
parentf4bab20b13d4b11522171b21b35d26ee43727206 (diff)
downloadmana-client-f73656a5f854bbde8aaf727c09d31a9215b1e041.tar.gz
mana-client-f73656a5f854bbde8aaf727c09d31a9215b1e041.tar.bz2
mana-client-f73656a5f854bbde8aaf727c09d31a9215b1e041.tar.xz
mana-client-f73656a5f854bbde8aaf727c09d31a9215b1e041.zip
Modification in help system
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 75d4ba2f..60b547a6 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -30,6 +30,7 @@
#include "gui/itemcontainer.h"
#include "gui/trade.h"
#include "gui/buddywindow.h"
+#include "gui/help.h"
#include "main.h"
#include "being.h"
#include "floor_item.h"
@@ -63,6 +64,7 @@ ChargeDialog *chargeDialog;
TradeWindow *tradeWindow;
BuddyWindow *buddyWindow;
Menu *menu;
+HelpWindow *helpWindow;
std::map<int, Spriteset*> monsterset;
char hairtable[16][4][2] = {
@@ -160,6 +162,7 @@ Engine::Engine()
chargeDialog = new ChargeDialog();
tradeWindow = new TradeWindow();
buddyWindow = new BuddyWindow();
+ helpWindow = new HelpWindow();
/* Menu items */
std::vector<MenuItem*> items;
@@ -204,6 +207,7 @@ Engine::Engine()
tradeWindow->setVisible(false);
buddyWindow->setVisible(false);
menu->setVisible(false);
+ helpWindow->setVisible(false);
// Do not focus any text field
gui->focusNone();
@@ -238,6 +242,7 @@ Engine::~Engine()
delete buyDialog;
delete sellDialog;
delete buySellDialog;
+ delete inventoryWindow;
delete npcListDialog;
delete npcTextDialog;
delete skillDialog;
@@ -245,9 +250,12 @@ Engine::~Engine()
delete setupWindow;
delete minimap;
delete equipmentWindow;
+ delete chargeDialog;
delete newSkillWindow;
delete tradeWindow;
delete buddyWindow;
+ delete menu;
+ delete helpWindow;
// Delete sprite sets
//delete monsterset;