diff options
author | aap <aap@papnet.eu> | 2019-10-20 14:33:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 14:33:43 +0200 |
commit | 0759dbc1e1acc34fbc2ded0a186ec8fa85530a30 (patch) | |
tree | 1fa32468a2570d53494e4ac22e6aa8fc1c6453de /src/weapons | |
parent | Moved CCutsceneMgr::ms_cutsceneProcessing to private (diff) | |
parent | typo fix (diff) | |
download | re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar.gz re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar.bz2 re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar.lz re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar.xz re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.tar.zst re3-0759dbc1e1acc34fbc2ded0a186ec8fa85530a30.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 3f511358..860e3ab2 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -6,6 +6,7 @@ #include "Ped.h" #include "World.h" +WRAPPER void CWeapon::UpdateWeapons(void) { EAXJMP(0x55C310); } WRAPPER bool CWeapon::Fire(CEntity*, CVector*) { EAXJMP(0x55C380); } WRAPPER void CWeapon::FireFromCar(CAutomobile *car, bool left) { EAXJMP(0x55C940); } WRAPPER void CWeapon::AddGunshell(CEntity*, CVector const&, CVector2D const&, float) { EAXJMP(0x55F770); } diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 2f277c62..1663ee0d 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -73,5 +73,6 @@ public: static void DoTankDoomAiming(CEntity *playerVehicle, CEntity *playerPed, CVector *start, CVector *end); bool HitsGround(CEntity* holder, CVector* firePos, CEntity* aimingTo); static void InitialiseWeapons(void); + static void UpdateWeapons(void); }; static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error"); |