diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-26 21:08:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-26 21:08:12 +0000 |
commit | 75c6db097b990e58b4b2585580a89561c838d923 (patch) | |
tree | 8c913bdc531ea9a76dcaa9e10a65763f95fa55e4 /src/game/base/game.h | |
parent | 23c7d2c11170ee8736673e82a88e87a3d2e538f7 (diff) |
updated network protocol version to 20, implemented invemtory depletion, unified depletion with keepalive
Diffstat (limited to 'src/game/base/game.h')
-rw-r--r-- | src/game/base/game.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/base/game.h b/src/game/base/game.h index d879a30..dd47cef 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -36,7 +36,7 @@ const unsigned int station_enttype = 262; const unsigned int cargopod_enttype = 263; // planet docking distance -const float planet_safe_distance = 150.0f; +const float planet_safe_distance = 50.0f; const float jump_timer_delay = 5.0f; const float impulse_timer_delay = 3.0f; @@ -85,12 +85,12 @@ public: /// game variable: enable or disable development mode (cheat mode) static core::Cvar *g_devel; + /// game variable: number of seconds it takes for 1 unit of cargo to deplete from station inventories + static core::Cvar *g_deplete; + /// physics variable: default damping factor of space - static core::Cvar *g_damping; + static core::Cvar *g_damping; - /// game variable: amount of time dynamic objects are kept alive when there are no players - static core::Cvar *g_keepalive; - private: bool load_world(); |