diff options
author | erorcun <erayorcunus@gmail.com> | 2020-03-29 18:03:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 18:03:59 +0200 |
commit | 6704a62b32ac989121b9ba77838d9366051d1e61 (patch) | |
tree | 33289907884539caba07c67b26e0988c65f26a27 /src/weapons/ShotInfo.h | |
parent | Merge pull request #365 from Fire-Head/master (diff) | |
parent | CShotInfo, CWanted done, Frontend fix (diff) | |
download | re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.gz re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.bz2 re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.lz re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.xz re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.zst re3-6704a62b32ac989121b9ba77838d9366051d1e61.zip |
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); +}; |