summaryrefslogtreecommitdiffstats
path: root/src/weapons/ShotInfo.h
blob: a5e5fd35ef4d47df7ed5e567926c251036cf0163 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
};