diff options
author | aap <aap@papnet.eu> | 2019-05-29 18:06:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-05-29 18:06:33 +0200 |
commit | 820fd66a94c20c4e1dab21f6abda4138eaefbe79 (patch) | |
tree | 445a810baf60f29c455dbaf4b3e82934806b49a8 /src/weapons/Weapon.h | |
parent | more CVehicleModelInfo (diff) | |
download | re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.gz re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.bz2 re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.lz re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.xz re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.zst re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Weapon.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h new file mode 100644 index 00000000..0fab027b --- /dev/null +++ b/src/weapons/Weapon.h @@ -0,0 +1,31 @@ +#pragma once + +enum eWeaponType +{ + WEAPONTYPE_UNARMED = 0, + WEAPONTYPE_BASEBALLBAT, + WEAPONTYPE_COLT45, + WEAPONTYPE_UZI, + WEAPONTYPE_SHOTGUN, + WEAPONTYPE_AK47, + WEAPONTYPE_M16, + WEAPONTYPE_SNIPERRIFLE, + WEAPONTYPE_ROCKETLAUNCHER, + WEAPONTYPE_FLAMETHROWER, + WEAPONTYPE_MOLOTOV, + WEAPONTYPE_GRENADE, + WEAPONTYPE_DETONATOR, + WEAPONTYPE_HELICANNON +}; + +class CWeapon +{ +public: + eWeaponType m_eWeaponType; + int32 m_eWeaponState; + int32 m_nAmmoInClip; + int32 m_nAmmoTotal; + int32 m_nTimer; + bool m_bAddRotOffset; +}; +static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error"); |