summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-21 15:09:44 +0200
committerGitHub <noreply@github.com>2019-10-21 15:09:44 +0200
commit4844b3a3f8037b379654bb8109050d0adbc94ae7 (patch)
tree4366aac26c53bebd0f98bc121b5f04b5cd750fe3 /src/weapons
parentMerge pull request #248 from Nmzik/master (diff)
parentSome CPool and CPools funcs, restoring original logic of pool lookup loops (diff)
downloadre3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.gz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.bz2
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.lz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.xz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.zst
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/ProjectileInfo.cpp7
-rw-r--r--src/weapons/ProjectileInfo.h9
2 files changed, 16 insertions, 0 deletions
diff --git a/src/weapons/ProjectileInfo.cpp b/src/weapons/ProjectileInfo.cpp
new file mode 100644
index 00000000..50d75516
--- /dev/null
+++ b/src/weapons/ProjectileInfo.cpp
@@ -0,0 +1,7 @@
+#include "common.h"
+#include "patcher.h"
+#include "ProjectileInfo.h"
+#include "Projectile.h"
+
+
+WRAPPER bool CProjectileInfo::RemoveIfThisIsAProjectile(CObject *pObject) { EAXJMP(0x55BBD0); } \ No newline at end of file
diff --git a/src/weapons/ProjectileInfo.h b/src/weapons/ProjectileInfo.h
new file mode 100644
index 00000000..f4753b28
--- /dev/null
+++ b/src/weapons/ProjectileInfo.h
@@ -0,0 +1,9 @@
+#pragma once
+
+class CObject;
+
+class CProjectileInfo
+{
+public:
+ static bool RemoveIfThisIsAProjectile(CObject *pObject);
+}; \ No newline at end of file