From 5ad9e26c3be1f2ebc6cdb340b685aef30ae16db7 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: import the cQVM game module replacing the existing one --- src/game/bg_public.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/game/bg_public.h') 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 ); + -- cgit