2019-05-30 21:24:47 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CWeaponEffects
|
|
|
|
{
|
2019-07-04 22:31:21 +02:00
|
|
|
public:
|
2020-03-28 21:55:23 +01:00
|
|
|
bool m_bActive;
|
2019-07-04 22:31:21 +02:00
|
|
|
CVector m_vecPos;
|
2020-03-28 21:55:23 +01:00
|
|
|
uint8 m_nRed;
|
|
|
|
uint8 m_nGreen;
|
|
|
|
uint8 m_nBlue;
|
|
|
|
uint8 m_nAlpha;
|
|
|
|
float m_fSize;
|
|
|
|
float m_fRotation;
|
2019-07-04 22:31:21 +02:00
|
|
|
|
2019-05-30 21:24:47 +02:00
|
|
|
public:
|
2020-03-28 21:55:23 +01:00
|
|
|
CWeaponEffects();
|
|
|
|
~CWeaponEffects();
|
|
|
|
|
2020-03-22 15:23:40 +01:00
|
|
|
static void Init(void);
|
2020-03-28 21:55:23 +01:00
|
|
|
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);
|
2019-05-30 21:24:47 +02:00
|
|
|
};
|
2020-03-28 21:55:23 +01:00
|
|
|
|
|
|
|
VALIDATE_SIZE(CWeaponEffects, 0x1C);
|