summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
commitbd56bf8afdab16383ed8ad08412a8c807f84af85 (patch)
tree0e963ada63bcbe3c50dd77986aaa15b9ba49816a /src/game.h
parent5359640b6f271af31f6423df9d661433eff89a3e (diff)
downloadmana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.gz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.bz2
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.xz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.zip
Merged NETWORK branch (includes BEING_OVERHAUL).
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/game.h b/src/game.h
index 49696300..38633560 100644
--- a/src/game.h
+++ b/src/game.h
@@ -29,17 +29,13 @@
#define SPEECH_TIME 80
#define SPEECH_MAX_TIME 100
-#define LOCK 254
-#define IDLE 255
-
-class Being;
+class Network;
+class NPC;
extern std::string map_path;
-extern std::string tradePartnerName;
-extern int fps, current_npc;
+extern int fps;
extern volatile int tick_time;
extern int server_tick;
-extern unsigned short startX, startY;
enum {
JOY_UP,
@@ -63,22 +59,22 @@ enum {
/**
* Main game loop
*/
-void game();
+void game(Network*);
/**
* Check user input
*/
-void do_input();
+void do_input(Network*);
/**
* Parse data received from map server into input buffer
*/
-void do_parse();
+void do_parse(Network*);
/**
* Clean the engine
*/
-void do_exit();
+void do_exit(Network*);
/**
* Returns elapsed time. (Warning: very unsafe function, it supposes the delay