summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
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();