summaryrefslogtreecommitdiffstats
path: root/src/weapons/WeaponEffects.h
blob: 31c5a3091a0524e0abb0add12ab70a17ac0cb18f (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
24
25
26
27
#pragma once

class CWeaponEffects
{
public:
	bool m_bActive;
	char _pad[3];
	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);