summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-26 10:56:45 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-26 10:56:45 +0000
commit69ccb03b44f324f17d02b9e27e71c34850f71139 (patch)
treee5970b86bbe0cce062d66b13d70f16f5c4ae912d /src/game.h
parent3e424a68b7dd438ba1a316af3a92f01dde7c71ac (diff)
downloadmana-client-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.gz
mana-client-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.bz2
mana-client-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.xz
mana-client-69ccb03b44f324f17d02b9e27e71c34850f71139.zip
Moved some setup code out of the game loop into the setup functions. Setup functions are now called from the outside.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game.h b/src/game.h
index 38633560..a1a3cc22 100644
--- a/src/game.h
+++ b/src/game.h
@@ -30,7 +30,6 @@
#define SPEECH_MAX_TIME 100
class Network;
-class NPC;
extern std::string map_path;
extern int fps;
@@ -67,14 +66,14 @@ void game(Network*);
void do_input(Network*);
/**
- * Parse data received from map server into input buffer
+ * Initialize
*/
-void do_parse(Network*);
+void do_init(Network*);
/**
* Clean the engine
*/
-void do_exit(Network*);
+void do_exit();
/**
* Returns elapsed time. (Warning: very unsafe function, it supposes the delay