summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index 6642d91..e0e6233 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -1330,3 +1330,24 @@ void BG_ClientListParse( clientList_t *list, const char *s );
#define FFF_ALIENS 2
#define FFF_BUILDABLES 4
+// value mods equal to g_mod cvars on server
+typedef enum
+{
+ MOD_BG_BUILDABLE_HEALTH, // Buildable health
+ MOD_BG_BUILDABLE_SPEED, // Buildable fire rate
+ MOD_BG_HUMAN_STAMINA, // Human stamina
+ MOD_BG_HUMAN_HEALTH, // Human health
+ MOD_BG_ALIEN_HEALTH, // Alien health
+ MOD_BG_HUMAN_RATE, // Human fire rate
+ MOD_BG_ALIEN_RATE, // Alien fire rate
+ MOD_BG_WEAPON_AMMO, // Weapon ammo per clip
+ MOD_BG_WEAPON_RELOAD, // Weapon reload time
+ MOD_BG_TURRET_ANGLE, // Allow high turret build angles
+ MOD_BG_STAGE3_STRENGTH, // alter stage 3 buildables
+ MOD_BG_COUNT // number of entries
+} modExtremeType_t;
+
+void BG_MOD_set( modExtremeType_t entry, int value );
+int BG_MOD_get( modExtremeType_t entry);
+void BG_MOD_update( void );
+