From d09a1be33a647aedc12ce5ddcb7ea4ee23a75c8c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 30 Jul 2008 16:00:49 +0000 Subject: various minor issues: ESC closing chat, g_autolevel --- src/game/game.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game/game.h') diff --git a/src/game/game.h b/src/game/game.h index a715edd..3d8e3b9 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -48,12 +48,18 @@ public: /// is called when a player disconnects void player_disconnect(core::Player *player); + static inline Game *instance() { return game_instance; } + + core::Cvar *g_autolevel; + private: bool load_world(); bool load_zone(core::Zone *zone); bool load_ships(); + + static Game *game_instance; }; } -- cgit v1.2.3