2020-03-29 11:26:23 -04:00
|
|
|
#pragma once
|
|
|
|
|
2020-04-19 12:34:08 -04:00
|
|
|
#include "WeaponType.h"
|
|
|
|
|
2020-03-29 11:26:23 -04:00
|
|
|
class CEntity;
|
|
|
|
|
|
|
|
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);
|
|
|
|
};
|