summaryrefslogtreecommitdiffstats
path: root/src/weapons/ShotInfo.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-29 17:26:23 +0200
committereray orçunus <erayorcunus@gmail.com>2020-03-29 18:02:26 +0200
commita3b519ea6420ea6fb7fbd35cd25fbc329fab5086 (patch)
tree02ce17141daf511a93118c65889b5832032e0d16 /src/weapons/ShotInfo.h
parentLimit frontend FPS to 100 (diff)
downloadre3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.gz
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.bz2
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.lz
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.xz
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.zst
re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/ShotInfo.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/weapons/ShotInfo.h b/src/weapons/ShotInfo.h
new file mode 100644
index 00000000..a5e5fd35
--- /dev/null
+++ b/src/weapons/ShotInfo.h
@@ -0,0 +1,23 @@
+#pragma once
+
+class CEntity;
+enum eWeaponType;
+
+class CShotInfo
+{
+public:
+ eWeaponType m_weapon;
+ CVector m_startPos;
+ CVector m_areaAffected;
+ float m_radius;
+ CEntity *m_sourceEntity;
+ float m_timeout;
+ bool m_inUse;
+
+ static float ms_afRandTable[20];
+
+ static void Initialise(void);
+ static bool AddShot(CEntity*, eWeaponType, CVector, CVector);
+ static void Shutdown(void);
+ static void Update(void);
+};