From 69ccb03b44f324f17d02b9e27e71c34850f71139 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 26 Jan 2006 10:56:45 +0000 Subject: Moved some setup code out of the game loop into the setup functions. Setup functions are now called from the outside. --- src/game.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/game.h') 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 -- cgit v1.2.3-60-g2f50