diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:59:21 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:59:21 +0200 |
commit | b7d7dca626a360d88ba88f9c16e07326a1718194 (patch) | |
tree | fbaa58157ecb3a29efe8634a14bb3a6ecd1da3c2 /src/weapons | |
parent | Merge pull request #372 from Nick007J/master (diff) | |
parent | vehicles missing functions + fixes (diff) | |
download | re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar.gz re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar.bz2 re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar.lz re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar.xz re3-b7d7dca626a360d88ba88f9c16e07326a1718194.tar.zst re3-b7d7dca626a360d88ba88f9c16e07326a1718194.zip |
Diffstat (limited to 'src/weapons')
-rw-r--r-- | src/weapons/Weapon.cpp | 1 | ||||
-rw-r--r-- | src/weapons/Weapon.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index 09844c23..0f41264f 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -14,6 +14,7 @@ WRAPPER void CWeapon::AddGunshell(CEntity*, CVector const&, CVector2D const&, fl 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); } +WRAPPER void FireOneInstantHitRound(CVector* shotSource, CVector* shotTarget, int32 damage) { EAXJMP(0x563B00); } void CWeapon::Initialise(eWeaponType type, int ammo) diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 74145564..84760550 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -81,3 +81,5 @@ public: static void UpdateWeapons(void); }; static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error"); + +void FireOneInstantHitRound(CVector* shotSource, CVector* shotTarget, int32 damage);
\ No newline at end of file |