summaryrefslogtreecommitdiff
path: root/src/game.cpp
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/game.cpp
parent8f40ab49da011f6d57653afbd10d22c20309f2f6 (diff)
downloadmana-client-399bb2709e773847707a948610fd74c7f4b94e9f.tar.gz
mana-client-399bb2709e773847707a948610fd74c7f4b94e9f.tar.bz2
mana-client-399bb2709e773847707a948610fd74c7f4b94e9f.tar.xz
mana-client-399bb2709e773847707a948610fd74c7f4b94e9f.zip
Committed header dependencies reducing patch by Doener
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index bde34a7c..883fdcd5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -21,31 +21,43 @@
* $Id$
*/
-#include "engine.h"
+#include "game.h"
+#include "playerinfo.h"
#include "floor_item.h"
-#include "graphics.h"
-#include "log.h"
#include "main.h"
+#include "engine.h"
+#include "log.h"
#include "map.h"
-#include "sound.h"
#include "gui/chat.h"
#include "gui/gui.h"
#include "gui/inventory.h"
#include "gui/shop.h"
#include "gui/npc.h"
#include "gui/stats.h"
+#include "gui/setup.h"
+#include "gui/equipment.h"
+#include "gui/popupmenu.h"
+#include "gui/npc_text.h"
+#include "gui/trade.h"
+#include "gui/status.h"
+#include "gui/buy.h"
+#include "gui/sell.h"
+#include "gui/buysell.h"
#include "gui/ok_dialog.h"
#include "gui/confirm_dialog.h"
#include "gui/requesttrade.h"
#include "gui/help.h"
#include "gui/browserbox.h"
#include "net/protocol.h"
+#include "net/network.h"
#include "resources/mapreader.h"
#include <SDL.h>
#include <math.h>
#include <sstream>
+extern Graphics *graphics;
+
char map_path[480];
bool refresh_beings = false;
@@ -125,6 +137,8 @@ int get_elapsed_time(int start_time)
}
}
+void do_init();
+
void game()
{
engine = new Engine();