summaryrefslogtreecommitdiff
path: root/src/render/WeaponEffects.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-03-28 23:55:23 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2020-03-28 23:55:23 +0300
commit194ddc5f40835476673655bd3895f2b7fe7fee0c (patch)
tree530ef79acd32c90ce5ef5d545a04d4d09b5abfb7 /src/render/WeaponEffects.h
parentc056871e0766c587e45797405f6432715beba810 (diff)
CWeaponEffects(autoaim crosshair) done, CGame done. restored some original R* names
Diffstat (limited to 'src/render/WeaponEffects.h')
-rw-r--r--src/render/WeaponEffects.h30
1 files changed, 17 insertions, 13 deletions
diff --git a/src/render/WeaponEffects.h b/src/render/WeaponEffects.h
index e4d0461a..31c5a309 100644
--- a/src/render/WeaponEffects.h
+++ b/src/render/WeaponEffects.h
@@ -3,21 +3,25 @@
class CWeaponEffects
{
public:
- bool m_bCrosshair;
- int8 gap_1[3];
+ bool m_bActive;
+ char _pad[3];
CVector m_vecPos;
- uint8 m_red;
- uint8 m_green;
- uint8 m_blue;
- uint8 m_alpha;
- float m_size;
- int32 field_24;
- RwTexture *m_pTexture;
- RwRaster *m_pRaster;
+ uint8 m_nRed;
+ uint8 m_nGreen;
+ uint8 m_nBlue;
+ uint8 m_nAlpha;
+ float m_fSize;
+ float m_fRotation;
public:
- static void Render(void);
- static void ClearCrossHair();
- static void MarkTarget(CVector, uint8, uint8, uint8, uint8, float);
+ 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); \ No newline at end of file