summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-11-25 16:50:21 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-05 00:39:27 +0100
commit8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1 (patch)
tree7c7e0b52b72e6d09970522faecdf10163c8e080b /src/game.cpp
parent98c58bb9d3d39e4edbff05387b905a6c0fffa85d (diff)
downloadmana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.gz
mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.bz2
mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.xz
mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.zip
Add buddy window
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index df6d5578..8ea0d420 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -44,6 +44,7 @@
#include "particle.h"
#include "effectmanager.h"
+#include "gui/buddywindow.h"
#include "gui/buy.h"
#include "gui/buysell.h"
//#include "gui/chargedialog.h"
@@ -125,7 +126,7 @@ Minimap *minimap;
EquipmentWindow *equipmentWindow;
//ChargeDialog *chargeDialog;
TradeWindow *tradeWindow;
-//BuddyWindow *buddyWindow;
+BuddyWindow *buddyWindow;
GuildWindow *guildWindow;
HelpWindow *helpWindow;
DebugWindow *debugWindow;
@@ -213,7 +214,7 @@ void createGuiWindows()
equipmentWindow = new EquipmentWindow(player_node->mEquipment.get());
//chargeDialog = new ChargeDialog();
tradeWindow = new TradeWindow;
- //buddyWindow = new BuddyWindow();
+ buddyWindow = new BuddyWindow();
guildWindow = new GuildWindow();
helpWindow = new HelpWindow();
debugWindow = new DebugWindow();
@@ -263,7 +264,7 @@ void destroyGuiWindows()
//delete chargeDialog;
//delete newSkillWindow;
delete tradeWindow;
- //delete buddyWindow;
+ delete buddyWindow;
delete guildWindow;
delete helpWindow;
delete debugWindow;
@@ -665,6 +666,7 @@ void Game::handleInput()
helpWindow->setVisible(false);
debugWindow->setVisible(false);
guildWindow->setVisible(false);
+ buddyWindow->setVisible(false);
}
break;
}