diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-01-03 17:48:13 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-01-03 17:48:13 +0100 |
commit | 0723dade768ad6118db00c7bb908f39949fb7970 (patch) | |
tree | a477b1f04fe92af9619cb8495518691aa409abba /src/weapons | |
parent | bug fixes (diff) | |
download | re3-0723dade768ad6118db00c7bb908f39949fb7970.tar re3-0723dade768ad6118db00c7bb908f39949fb7970.tar.gz re3-0723dade768ad6118db00c7bb908f39949fb7970.tar.bz2 re3-0723dade768ad6118db00c7bb908f39949fb7970.tar.lz re3-0723dade768ad6118db00c7bb908f39949fb7970.tar.xz re3-0723dade768ad6118db00c7bb908f39949fb7970.tar.zst re3-0723dade768ad6118db00c7bb908f39949fb7970.zip |
Diffstat (limited to 'src/weapons')
-rw-r--r-- | src/weapons/BulletInfo.cpp | 5 | ||||
-rw-r--r-- | src/weapons/BulletInfo.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/weapons/BulletInfo.cpp b/src/weapons/BulletInfo.cpp new file mode 100644 index 00000000..54fa6844 --- /dev/null +++ b/src/weapons/BulletInfo.cpp @@ -0,0 +1,5 @@ +#include "common.h" +#include "patcher.h" +#include "BulletInfo.h" + +WRAPPER bool CBulletInfo::TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2) { EAXJMP(0x558D40); } diff --git a/src/weapons/BulletInfo.h b/src/weapons/BulletInfo.h new file mode 100644 index 00000000..3905b56d --- /dev/null +++ b/src/weapons/BulletInfo.h @@ -0,0 +1,7 @@ +#pragma once + +class CBulletInfo +{ +public: + static bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2); +};
\ No newline at end of file |