Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
};
}