diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-08-15 16:51:39 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-08-15 16:51:39 +0200 |
commit | 5bea16c7ccc617828d0aee2da23c8aa3f87375df (patch) | |
tree | 150df121717298a2735f418dcae366417b8404ec /src/weapons | |
parent | More peds (diff) | |
download | re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.gz re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.bz2 re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.lz re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.xz re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.zst re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.zip |
Diffstat (limited to 'src/weapons')
-rw-r--r-- | src/weapons/Weapon.cpp | 1 | ||||
-rw-r--r-- | src/weapons/Weapon.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index f83f2271..3f511358 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -11,6 +11,7 @@ WRAPPER void CWeapon::FireFromCar(CAutomobile *car, bool left) { EAXJMP(0x55C940 WRAPPER void CWeapon::AddGunshell(CEntity*, CVector const&, CVector2D const&, float) { EAXJMP(0x55F770); } WRAPPER void CWeapon::Update(int32 audioEntity) { EAXJMP(0x563A10); } WRAPPER void CWeapon::DoTankDoomAiming(CEntity *playerVehicle, CEntity *playerPed, CVector *start, CVector *end) { EAXJMP(0x563200); } +WRAPPER void CWeapon::InitialiseWeapons(void) { EAXJMP(0x55C2D0); } void CWeapon::Initialise(eWeaponType type, int ammo) diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 4916284f..2f277c62 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -72,5 +72,6 @@ public: bool IsType2Handed(void); static void DoTankDoomAiming(CEntity *playerVehicle, CEntity *playerPed, CVector *start, CVector *end); bool HitsGround(CEntity* holder, CVector* firePos, CEntity* aimingTo); + static void InitialiseWeapons(void); }; static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error"); |