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-08-23 10:31:45 +0000
committerStijn Buys <ingar@osirion.org>2008-08-23 10:31:45 +0000
commitdaf84bb6292eb5bf5434889a887535ec54c21b6b (patch)
tree1674d55039da9a100bf1d2a4a8596b793b6841a8 /src/game/game.cc
parent7668b60981dadeced3b5c8ee27c16575d59844de (diff)
fixes for gcc 4.3.1, added g_devel
Diffstat (limited to 'src/game/game.cc')
-rw-r--r--src/game/game.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/game.cc b/src/game/game.cc
index 5f754df..d0b4466 100644
--- a/src/game/game.cc
+++ b/src/game/game.cc
@@ -22,8 +22,6 @@
namespace game
{
-
-
ShipModel *default_shipmodel = 0;
core::Zone *default_zone = 0;
@@ -221,6 +219,9 @@ void Game::init()
g_impulseacceleration = core::Cvar::get("g_impulseacceleration", "4", core::Cvar::Game | core::Cvar::Archive);
g_impulseacceleration->set_info("[float] standard acceleration of the impulse drive");
+ g_devel = core::Cvar::get("g_devel", "0", core::Cvar::Archive);
+ g_devel->set_info("[bool] enable or disable developer mode");
+
// indicate the module is ready to run frames
module_running = true;
}