diff options
author | aap <aap@papnet.eu> | 2020-04-03 11:48:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 11:48:49 +0200 |
commit | db804f99d95de44b64ef71f18948fddada996df8 (patch) | |
tree | 0fac3f0aa7ef5530f9236e4b134dbe13b2f2c9af /src/weapons | |
parent | Fix CFont type uint16 -> wchar (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-db804f99d95de44b64ef71f18948fddada996df8.tar re3-db804f99d95de44b64ef71f18948fddada996df8.tar.gz re3-db804f99d95de44b64ef71f18948fddada996df8.tar.bz2 re3-db804f99d95de44b64ef71f18948fddada996df8.tar.lz re3-db804f99d95de44b64ef71f18948fddada996df8.tar.xz re3-db804f99d95de44b64ef71f18948fddada996df8.tar.zst re3-db804f99d95de44b64ef71f18948fddada996df8.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 |