summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-07-19 20:07:41 +0300
committerMikko Tiusanen <ams@daug.net>2014-07-19 20:07:41 +0300
commita8c620187f089a4f7b0602d56ed5bbca9d6afd96 (patch)
treeff0e66abe4964f2495e347d6b2a35d4016157a91 /src/game/g_main.c
parent6c0f02c9dcb590950b22f8d56e60ded530b6a18a (diff)
The credit gain/loss at armageddon can now be customized through cvar.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 1a4857f..70c3e49 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -55,6 +55,7 @@ vmCvar_t g_armageddonTimeStep;
vmCvar_t g_armageddonInitialTimeStep;
vmCvar_t g_armageddonDefensiveKillPercent;
vmCvar_t g_armageddonOtherKillPercent;
+vmCvar_t g_armageddonCreditAmount;
vmCvar_t g_friendlyFire;
vmCvar_t g_friendlyBuildableFire;
vmCvar_t g_dretchPunt;
@@ -217,6 +218,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_armageddonInitialTimeStep, "g_armageddonInitialTimeStep", "10", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_armageddonDefensiveKillPercent, "g_armageddonDefensiveKillPercent", "10", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_armageddonOtherKillPercent, "g_armageddonOtherKillPercent", "5", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
+ { &g_armageddonCreditAmount, "g_armageddonCreditAmount", "500", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_synchronousClients, "g_synchronousClients", "0", CVAR_SYSTEMINFO, 0, qfalse },
{ &g_friendlyFreeze, "g_friendlyFreeze", "0", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qfalse },
{ &g_friendlyFire, "g_friendlyFire", "0", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qtrue },