diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-26 10:56:45 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-26 10:56:45 +0000 |
commit | 69ccb03b44f324f17d02b9e27e71c34850f71139 (patch) | |
tree | e5970b86bbe0cce062d66b13d70f16f5c4ae912d /src/game.h | |
parent | 3e424a68b7dd438ba1a316af3a92f01dde7c71ac (diff) | |
download | mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.gz mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.bz2 mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.xz mana-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.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |