summaryrefslogtreecommitdiffstats
path: root/src/weapons/ShotInfo.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-30 19:10:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-30 19:10:12 +0200
commit2607a91d87270709db4303ee8cb9011e2d9146ad (patch)
tree611cf59f1c46b60908057affe8d86eb9b39a23ad /src/weapons/ShotInfo.h
parentAdd russian lang support (diff)
parentMerge pull request #366 from Nick007J/master (diff)
downloadre3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.gz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.bz2
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.lz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.xz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.zst
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.zip
Diffstat (limited to 'src/weapons/ShotInfo.h')
-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);
+};