Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-30 16:00:49 +0000
committerStijn Buys <ingar@osirion.org>2008-07-30 16:00:49 +0000
commitd09a1be33a647aedc12ce5ddcb7ea4ee23a75c8c (patch)
tree8fe9d8778223e22e8c957b59c51bccabb98d2b94 /src/game/game.h
parentad436de3a520fb2469dafe23afe03dd0afe8d189 (diff)
various minor issues: ESC closing chat, g_autolevel
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h6
1 files changed, 6 insertions, 0 deletions
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;
};
}