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/base/game.h')
-rw-r--r--src/game/base/game.h6
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);