diff options
author | Tim Angus <tim@ngus.net> | 2001-07-08 17:01:47 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-07-08 17:01:47 +0000 |
commit | 1a5201cc01e66f0002f62ca06ddd62dc0d259283 (patch) | |
tree | 5c420d291854d5c03b38fb57dc8f4c0b89be1ec9 /src/game/bg_public.h | |
parent | a9757052e27d742ca1d4f35f7791648df7f63c8d (diff) |
Added more alt fire stuff
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index b2354531..094c7e12 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -282,6 +282,7 @@ typedef enum { #define EF_AWARD_GAUNTLET 0x00000040 // draw a gauntlet sprite #define EF_NODRAW 0x00000080 // may have an event, but no model (unspawned items) #define EF_FIRING 0x00000100 // for lightning gun +#define EF_FIRING2 0x00000200 // alt fire #define EF_MOVER_STOP 0x00000400 // will push otherwise #define EF_TALK 0x00001000 // draw a talk balloon #define EF_CONNECTION 0x00002000 // draw a connection trouble sprite @@ -450,6 +451,7 @@ typedef enum { EV_CHANGE_WEAPON, EV_FIRE_WEAPON, EV_FIRE_WEAPON2, + EV_FIRE_WEAPONBOTH, EV_USE_ITEM0, EV_USE_ITEM1, @@ -847,6 +849,9 @@ typedef struct int quan; int clips; int maxClips; + + qboolean hasAltMode; + qboolean synced; } weaponAttributes_t; //TA: upgrade record @@ -917,6 +922,8 @@ char *BG_FindNameForWeapon( int weapon ); int BG_FindWeaponNumForName( char *name ); char *BG_FindHumanNameForWeapon( int weapon ); void BG_FindAmmoForWeapon( int weapon, int *quan, int *clips, int *maxClips ); +qboolean BG_WeaponHasAltMode( int weapon ); +qboolean BG_WeaponModesAreSynced( int weapon ); int BG_FindPriceForUpgrade( int upgrade ); int BG_FindSlotsForUpgrade( int upgrade ); |