diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-05 13:17:27 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-05 13:17:27 +0000 |
commit | 9a16c4b433bba4837bc98a90b446aa0726f0d447 (patch) | |
tree | 162f257f40a83ae46eddbe1fa0289b2d3e496e44 /src/game/base/game.h | |
parent | cbb34af067be07ad28349e64d8670c97785c53c0 (diff) |
Correct a bug where launch timeout is ignored for patrols with only a single member,
increase dampening for cargo pods,
added 'explode' cheat function to self-destruct,
cleaned up cargo pod eject code,
eject cargo on ship destruction,
added g_cargoloss game variable.
Diffstat (limited to 'src/game/base/game.h')
-rw-r--r-- | src/game/base/game.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/base/game.h b/src/game/base/game.h index bb1c9ae..bd8d402 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -86,7 +86,7 @@ public: /* --- game variables -------------------------------------- */ - /// game variable: maximum speed of the impulse drive + /// game variable: maximum ship speed static core::Cvar *g_impulsespeed; /// game variable: jumppoint range @@ -98,6 +98,9 @@ public: /// game variable: number of seconds it takes for 1 unit of cargo to deplete from station inventories static core::Cvar *g_deplete; + /// game variable: percentage of cargo to drop on player death + static core::Cvar *g_cargoloss; + /// physics variable: default damping factor of space static core::Cvar *g_damping; @@ -124,6 +127,7 @@ private: static void func_launch(core::Player *player, std::string const &args); static void func_respawn(core::Player *player, std::string const &args); static void func_goto(core::Player *player, const std::string &args); + static void func_explode(core::Player *player, const std::string &args); static void func_buy(core::Player *player, std::string const &args); static void func_sell(core::Player *player, const std::string &args); static void func_give(core::Player *player, const std::string &args); |