diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-01 13:08:27 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-01 13:08:27 +0000 |
commit | cc335cfbf13a6b21c5f65febc6049eb5d4c16b63 (patch) | |
tree | 5ae976b9fd3bdc11e0ccfc9d8db061751a7503d8 /src/game/game.cc | |
parent | 8ddeb66959f5a40192940260932636196ab8151f (diff) |
model->enginecolor(), removed autolevel, added selection delay
Diffstat (limited to 'src/game/game.cc')
-rw-r--r-- | src/game/game.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/game.cc b/src/game/game.cc index 83daa93..2f5490f 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -190,7 +190,7 @@ Game *Game::game_instance = 0; Game::Game() : core::Module("Project::OSiRiON") { game_instance = this; - g_autolevel = 0; + g_impulsespeed = 0; } Game::~Game() @@ -231,8 +231,8 @@ void Game::init() func = core::Func::add("list_ship", (core::FuncPtr) func_list_ship); func->set_info("list ship statistics"); - g_autolevel = core::Cvar::get("g_autolevel", "1", core::Cvar::Game | core::Cvar::Archive); - g_autolevel->set_info("[bool] enable or disale experimental autolevelling"); + g_impulsespeed = core::Cvar::get("g_impulsespeed", "15", core::Cvar::Game | core::Cvar::Archive); + g_impulsespeed->set_info("[float] speed of the impulse drive"); // indicate the module is ready to run frames module_running = true; @@ -240,7 +240,7 @@ void Game::init() void Game::shutdown() { - g_autolevel = 0; + g_impulsespeed = 0; // game functions are automaticly removed // remove engine core functions |