diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 19:36:19 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 19:36:19 +0000 |
commit | 4852d95f4bd03f2e258744e2dc7ef91d4aa9f349 (patch) | |
tree | 9e0efde60adf4b96395290495062d63f9046b45e /src/engine.cpp | |
parent | 2a1af1a5dbcca1c890f38f20385e5d2639fd48db (diff) | |
download | mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.gz mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.bz2 mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.xz mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.zip |
requestTradeDialog is modal now
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 2049d53f..938068b7 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -33,7 +33,6 @@ #include "main.h" #include "being.h" #include "floor_item.h" -#include "gui/requesttrade.h" char itemCurrenyQ[10] = "0"; int map_x, map_y, camera_x, camera_y; @@ -62,7 +61,6 @@ Minimap *minimap; EquipmentWindow *equipmentWindow; ChargeDialog *chargeDialog; TradeWindow *tradeWindow; -RequestTradeDialog *requestTradeDialog; BuddyWindow *buddyWindow; Menu *menu; std::map<int, Spriteset*> monsterset; @@ -162,7 +160,6 @@ Engine::Engine() chargeDialog = new ChargeDialog(); tradeWindow = new TradeWindow(); buddyWindow = new BuddyWindow(); - requestTradeDialog = new RequestTradeDialog(); /* Menu items */ std::vector<MenuItem*> items; @@ -186,9 +183,6 @@ Engine::Engine() inventoryWindow->getY() + inventoryWindow->getHeight()); buddyWindow->setPosition(10, minimap->getHeight() + 30); - requestTradeDialog->setPosition(screen->w - statusWindow->getWidth() - - requestTradeDialog->getWidth() - 10, - chatWindow->getHeight() + 15); equipmentWindow->setPosition(5,140); menu->setPosition(5,140); @@ -209,7 +203,6 @@ Engine::Engine() chargeDialog->setVisible(false); tradeWindow->setVisible(false); buddyWindow->setVisible(false); - requestTradeDialog->setVisible(false); menu->setVisible(false); // Do not focus any text field @@ -255,7 +248,6 @@ Engine::~Engine() delete newSkillWindow; delete tradeWindow; delete buddyWindow; - delete requestTradeDialog; // Delete sprite sets //delete monsterset; |