summaryrefslogtreecommitdiffstats
path: root/src/weapons/CProjectileInfo.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-09-24 13:33:16 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commitd2941b03689575fc0158683daae7883402a92651 (patch)
treeb12477e0091c20c9dde90872919c4431e4e0195f /src/weapons/CProjectileInfo.cpp
parentMore work (diff)
downloadre3-d2941b03689575fc0158683daae7883402a92651.tar
re3-d2941b03689575fc0158683daae7883402a92651.tar.gz
re3-d2941b03689575fc0158683daae7883402a92651.tar.bz2
re3-d2941b03689575fc0158683daae7883402a92651.tar.lz
re3-d2941b03689575fc0158683daae7883402a92651.tar.xz
re3-d2941b03689575fc0158683daae7883402a92651.tar.zst
re3-d2941b03689575fc0158683daae7883402a92651.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/CProjectileInfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/weapons/CProjectileInfo.cpp b/src/weapons/CProjectileInfo.cpp
new file mode 100644
index 00000000..f3c78ed8
--- /dev/null
+++ b/src/weapons/CProjectileInfo.cpp
@@ -0,0 +1,10 @@
+#include "CProjectileInfo.h"
+
+CProjectileInfo *gaProjectileInfo = (CProjectileInfo *)0x64ED50;
+CProjectileInfo *CProjectileInfo::ms_apProjectile = (CProjectileInfo *)0x87C748;
+
+CProjectileInfo *
+CProjectileInfo::GetProjectileInfo(int32 id)
+{
+ return &gaProjectileInfo[id];
+}