mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 09:30:33 +00:00
Phone, World, Ped
This commit is contained in:
parent
980b6ed4d2
commit
2c138b2b77
16 changed files with 677 additions and 83 deletions
|
@ -35,6 +35,12 @@ CWeapon::Reload(void)
|
|||
m_nAmmoInClip = m_nAmmoTotal;
|
||||
}
|
||||
|
||||
bool
|
||||
CWeapon::IsType2Handed(void)
|
||||
{
|
||||
return m_eWeaponType >= WEAPONTYPE_SHOTGUN && m_eWeaponType <= WEAPONTYPE_FLAMETHROWER && m_eWeaponType != WEAPONTYPE_ROCKETLAUNCHER;
|
||||
}
|
||||
|
||||
bool
|
||||
CWeapon::IsTypeMelee(void)
|
||||
{
|
||||
|
|
|
@ -65,5 +65,6 @@ public:
|
|||
bool Fire(CEntity*, CVector*);
|
||||
void AddGunshell(CEntity*, CVector const&, CVector2D const&, float);
|
||||
bool IsTypeMelee(void);
|
||||
bool IsType2Handed(void);
|
||||
};
|
||||
static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue