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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 46bc31d..e59a6ad 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -453,6 +453,16 @@ typedef struct unlagged_s {
qboolean used;
} unlagged_t;
+typedef struct {
+ float incDamage; // less one
+ float outDamage; // less one
+ float damageFeedback;
+ float ffOutDamage; // less one
+ float ffFeedback;
+ float staminaUse; // less one
+ float staminaRegen; // less one
+} adminCurses_t;
+
// this structure is cleared on each ClientSpawn(),
// except for 'client->pers' and 'client->sess'
struct gclient_s
@@ -553,6 +563,8 @@ struct gclient_s
int tkcredits[ MAX_CLIENTS ];
int revertCookie;
+
+ adminCurses_t curses;
};
@@ -1030,6 +1042,7 @@ void G_InitDamageLocations( void );
#define DAMAGE_KNOCKBACK 0x00000004 // affect velocity, not just view angles
#define DAMAGE_NO_PROTECTION 0x00000008 // armor, shields, invulnerability, and godmode have no effect
#define DAMAGE_NO_LOCDAMAGE 0x00000010 // do not apply locational damage
+#define DAMAGE_FEEDBACK 0x00000020 // damage comes from a feedback curse (do *not* feed it back again)
//
// g_missile.c
@@ -1477,6 +1490,7 @@ extern vmCvar_t g_banNotice;
extern vmCvar_t g_karma;
extern vmCvar_t g_chat;
extern vmCvar_t g_adminExpireTime;
+extern vmCvar_t g_adminCurses;
extern vmCvar_t g_nullifyTyrantKills;