summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:54:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:54:26 +0200
commit23c6a283249da948ab96b4254e5db5fbeef760c1 (patch)
tree8d3f4ed9227271bc9a4ce90295d9e81bcc25efb4 /src/weapons/Weapon.h
parentmore garages (diff)
parentfixed PS2 build (diff)
downloadre3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.gz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.bz2
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.lz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.xz
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.zst
re3-23c6a283249da948ab96b4254e5db5fbeef760c1.zip
Diffstat (limited to 'src/weapons/Weapon.h')
-rw-r--r--src/weapons/Weapon.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h
index 1db66720..74145564 100644
--- a/src/weapons/Weapon.h
+++ b/src/weapons/Weapon.h
@@ -15,17 +15,19 @@ enum eWeaponType
WEAPONTYPE_MOLOTOV,
WEAPONTYPE_GRENADE,
WEAPONTYPE_DETONATOR,
- WEAPONTYPE_TOTAL_INVENTORY_WEAPONS = 13,
- WEAPONTYPE_HELICANNON = 13,
- WEAPONTYPE_TOTALWEAPONS,
+ WEAPONTYPE_HELICANNON,
+ WEAPONTYPE_LAST_WEAPONTYPE,
WEAPONTYPE_ARMOUR,
WEAPONTYPE_RAMMEDBYCAR,
WEAPONTYPE_RUNOVERBYCAR,
WEAPONTYPE_EXPLOSION,
WEAPONTYPE_UZI_DRIVEBY,
- WEAPONTYPE_WATER,
- WEAPONTYPE_FALL_DAMAGE,
+ WEAPONTYPE_DROWNING,
+ WEAPONTYPE_FALL,
WEAPONTYPE_UNIDENTIFIED,
+
+ WEAPONTYPE_TOTALWEAPONS = WEAPONTYPE_LAST_WEAPONTYPE,
+ WEAPONTYPE_TOTAL_INVENTORY_WEAPONS = 13,
};
enum eWeaponFire {
@@ -63,6 +65,7 @@ public:
m_bAddRotOffset = false;
}
+ static void ShutdownWeapons(void);
void Initialise(eWeaponType type, int ammo);
void Update(int32 audioEntity);
void Reload(void);