summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-01 00:58:40 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-01 00:58:40 +0200
commit347f0a0e9c687a198ba7fd0ead67a2d63b7880f2 (patch)
treefbaa58157ecb3a29efe8634a14bb3a6ecd1da3c2 /src/weapons
parentreview fixes (diff)
downloadre3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.gz
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.bz2
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.lz
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.xz
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.zst
re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/Weapon.cpp1
-rw-r--r--src/weapons/Weapon.h2
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