summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-06-02 21:48:10 +0300
committerMikko Tiusanen <ams@daug.net>2014-06-02 21:48:10 +0300
commiteb96542aefac01d68617f54e92cf4c8bae0c6d44 (patch)
treec9d6491bd359a9e84b14881ec38d243c528f9240 /src/game/g_local.h
parent65ecd185ab744857f738980cc86bbf5cbd26b4c4 (diff)
Added credit gain scaling based on player and team kill count differences.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 52bf097..183985b 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -344,6 +344,9 @@ typedef struct
int floodDemerits;
int floodTime;
+ float kills;
+ int deaths;
+
vec3_t lastDeathLocation;
char guid[ 33 ];
addr_t ip;
@@ -650,6 +653,9 @@ typedef struct
int alienKills;
int humanKills;
+ float alienRewardKills;
+ float humanRewardKills;
+
qboolean overmindMuted;
int humanBaseAttackTimer;
@@ -1253,6 +1259,9 @@ extern vmCvar_t g_InstantRewardMultiplierA;
extern vmCvar_t g_InstantRewardMultiplierH;
extern vmCvar_t g_KillRewardMultiplierA;
extern vmCvar_t g_KillRewardMultiplierH;
+extern vmCvar_t g_ConstantRewardFactor;
+extern vmCvar_t g_TeamRewardFactor;
+extern vmCvar_t g_PlayerRewardFactor;
void trap_Print( const char *fmt );
void trap_Error( const char *fmt );