summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 315e95e..8e2ee43 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -574,6 +574,7 @@ struct gclient_s
adminRangeBoosts_t newRange;
+ qboolean nearBase;
};
@@ -1018,7 +1019,8 @@ qboolean G_SelectiveRadiusDamage( vec3_t origin, gentity_t *attacker, float dam
void G_Knockback( gentity_t *targ, vec3_t dir, int knockback );
void body_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath );
void AddScore( gentity_t *ent, int score );
-
+float G_RewardFactor( gentity_t *self, gentity_t *attacker );
+void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int mod );
void G_InitDamageLocations( void );
// damage flags
@@ -1110,7 +1112,6 @@ void SpawnCorpse( gentity_t *ent );
void respawn( gentity_t *ent );
void BeginIntermission( void );
void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles );
-void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int mod );
qboolean SpotWouldTelefrag( gentity_t *spot );
char *G_NextNewbieName( gentity_t *ent );
void G_LogAutobahn( gentity_t *ent, const char *userinfo, int rating, qboolean onConnect );
@@ -1512,6 +1513,9 @@ extern vmCvar_t g_specNoclip;
extern vmCvar_t g_practise;
extern vmCvar_t g_tyrantNerf;
+extern vmCvar_t g_sdDefenderPenalty;
+extern vmCvar_t g_sdDestructionBonus;
+
void trap_Printf( const char *fmt );
void trap_Error( const char *fmt );
int trap_Milliseconds( void );