diff options
| author | eray orçunus <erayorcunus@gmail.com> | 2020-03-29 18:26:23 +0300 |
|---|---|---|
| committer | eray orçunus <erayorcunus@gmail.com> | 2020-03-29 19:02:26 +0300 |
| commit | a3b519ea6420ea6fb7fbd35cd25fbc329fab5086 (patch) | |
| tree | 02ce17141daf511a93118c65889b5832032e0d16 /src/weapons/ShotInfo.h | |
| parent | Limit frontend FPS to 100 (diff) | |
| download | re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.gz | |
CShotInfo, CWanted done, Frontend fix
Diffstat (limited to 'src/weapons/ShotInfo.h')
| -rw-r--r-- | src/weapons/ShotInfo.h | 23 |
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); +}; |
