summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 22:22:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 22:22:45 +0000
commit399bb2709e773847707a948610fd74c7f4b94e9f (patch)
treedacf30fb97d2c101f4f53d02fd972262b2c7db4e /src/engine.h
parent8f40ab49da011f6d57653afbd10d22c20309f2f6 (diff)
downloadmana-399bb2709e773847707a948610fd74c7f4b94e9f.tar.gz
mana-399bb2709e773847707a948610fd74c7f4b94e9f.tar.bz2
mana-399bb2709e773847707a948610fd74c7f4b94e9f.tar.xz
mana-399bb2709e773847707a948610fd74c7f4b94e9f.zip
Committed header dependencies reducing patch by Doener
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h41
1 files changed, 2 insertions, 39 deletions
diff --git a/src/engine.h b/src/engine.h
index 5fbf234e..11cf55cd 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -24,50 +24,11 @@
#ifndef _ENGINE_H
#define _ENGINE_H
-#include "gui/npc.h"
-#include "gui/npc_text.h"
-#include "gui/buy.h"
-#include "gui/sell.h"
-#include "gui/buysell.h"
-//#include "gui/buddywindow.h"
-#include "gui/chat.h"
-#include "gui/inventory.h"
-#include "gui/shop.h"
-#include "gui/inventory.h"
-#include "gui/status.h"
-#include "gui/stats.h"
-#include "gui/skill.h"
-#include "gui/newskill.h"
-#include "gui/setup.h"
-#include "gui/equipment.h"
-#include "gui/chargedialog.h"
-#include "gui/trade.h"
-#include "gui/help.h"
-#include "gui/popupmenu.h"
-#include "resources/resourcemanager.h"
#include "map.h"
#include "graphic/spriteset.h"
extern int map_x, map_y, camera_x, camera_y;
-extern ChatWindow *chatWindow;
-extern StatusWindow *statusWindow;
-extern BuyDialog *buyDialog;
-extern SellDialog *sellDialog;
-extern BuySellDialog *buySellDialog;
-extern InventoryWindow *inventoryWindow;
-extern NpcListDialog *npcListDialog;
-extern NpcTextDialog *npcTextDialog;
-extern SkillDialog *skillDialog;
-//extern NewSkillDialog *newSkillWindow;
-extern StatsWindow *statsWindow;
-extern Setup *setupWindow;
-extern EquipmentWindow *equipmentWindow;
-extern ChargeDialog* chargeDialog;
-extern TradeWindow *tradeWindow;
-//extern BuddyWindow *buddyWindow;
-extern HelpWindow *helpWindow;
-extern PopupMenu *popupMenu;
extern std::map<int, Spriteset*> monsterset;
char get_x_offset(char, char);
char get_y_offset(char, char);
@@ -114,4 +75,6 @@ class Engine
Image *attackTarget;
};
+extern Engine *engine;
+
#endif