diff options
author | Paweł Redman <pawel@redman.xyz> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 12:06:43 +0200 |
commit | 5ad9e26c3be1f2ebc6cdb340b685aef30ae16db7 (patch) | |
tree | 5ee97c52196122bd8356ad8e09403332e7712fcd /src/game/bg_public.h | |
parent | 45973dc48641365b31475733bce7af9c3b8603a6 (diff) |
import the cQVM game module
replacing the existing one
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 21 |
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 ); + |