From 0723dade768ad6118db00c7bb908f39949fb7970 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Fri, 3 Jan 2020 19:48:13 +0300 Subject: script 800-899 --- src/weapons/BulletInfo.cpp | 5 +++++ src/weapons/BulletInfo.h | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 src/weapons/BulletInfo.cpp create mode 100644 src/weapons/BulletInfo.h (limited to 'src/weapons') 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 -- cgit v1.2.3