summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-09 18:18:07 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-09 18:18:07 +0000
commit63e13201d45f807dc1f39c095847e11c8918bf37 (patch)
tree86f22102a767bc074d0e4f91a4bb5f050aa24e04 /src/engine.cpp
parent5f8d500a0282d533ea4b7db1d982e1149d345289 (diff)
downloadmana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.gz
mana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.bz2
mana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.xz
mana-63e13201d45f807dc1f39c095847e11c8918bf37.zip
Added buddywindow but still need to finish gui part
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 9ef0a5a2..ad6adda6 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -30,6 +30,7 @@
#include "gui/itemcontainer.h"
#include "gui/item_amount.h"
#include "gui/trade.h"
+#include "gui/buddywindow.h"
#include "main.h"
#include "being.h"
#include "floor_item.h"
@@ -67,6 +68,7 @@ ChargeDialog *chargeDialog;
TradeWindow *tradeWindow;
RequestTradeDialog *requestTradeDialog;
ConfirmDialog *quitDialog;
+BuddyWindow *buddyWindow;
std::vector<Spriteset*> monsterset;
/**
@@ -179,6 +181,7 @@ Engine::Engine()
equipmentWindow = new EquipmentWindow();
chargeDialog = new ChargeDialog();
tradeWindow = new TradeWindow();
+ buddyWindow = new BuddyWindow();
requestTradeDialog = new RequestTradeDialog();
quitDialog = new ConfirmDialog("Quit", "Are you sure you want to quit ?", (gcn::ActionListener*)&exitListener);
// Initialize window posisitons
@@ -220,6 +223,7 @@ Engine::Engine()
equipmentWindow->setVisible(false);
chargeDialog->setVisible(false);
tradeWindow->setVisible(false);
+ buddyWindow->setVisible(false);
requestTradeDialog->setVisible(false);
quitDialog->setVisible(false);
// Do not focus any text field
@@ -271,6 +275,7 @@ Engine::~Engine()
delete newSkillWindow;
delete itemAmountWindow;
delete tradeWindow;
+ delete buddyWindow;
delete requestTradeDialog;
delete quitDialog;