summaryrefslogtreecommitdiff
path: root/src/weapons/CProjectileInfo.h
blob: 426d25f1faaaabc39288acd1d2d9a954db935826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "Object.h"
#include "Weapon.h"

struct CProjectileInfo : public CObject {
	eWeaponType m_eWeaponType;
	CEntity *m_pSource;
	int m_nExplosionTime;
	char m_bInUse;
	char field_13;
	char field_14;
	char field_15;
	CVector m_vecPos;

	static CProjectileInfo *GetProjectileInfo(int32 id);
	static CProjectileInfo *ms_apProjectile;
};

extern CProjectileInfo *gaProjectileInfo;