summaryrefslogblamecommitdiffstats
path: root/src/render/WeaponEffects.h
blob: 31c5a3091a0524e0abb0add12ab70a17ac0cb18f (plain) (tree)
1
2
3
4
5
6
7
8




                    

                       
                         





                          

       


                          
                               



                                                                                                         
  

                                   
#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);