summaryrefslogtreecommitdiff
path: root/src/weapons/WeaponEffects.h
blob: f6592b3ec9ceb6de61903efb7dcd730438444139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

class CWeaponEffects
{
public:
	bool m_bActive;
	CVector m_vecPos;
	uint8 m_nRed;
	uint8 m_nGreen;
	uint8 m_nBlue;
	uint8 m_nAlpha;
	float m_fSize;
	float m_fRotation;

public:
	CWeaponEffects();
	~CWeaponEffects();

	static void Init(void);
	static void Shutdown(void);
	static void MarkTarget(CVector pos, uint8 red, uint8 green, uint8 blue, uint8 alpha, float size);
	static void ClearCrossHair(void);
	static void Render(void);
};

VALIDATE_SIZE(CWeaponEffects, 0x1C);