diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-03-28 21:55:23 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-03-28 21:55:23 +0100 |
commit | 194ddc5f40835476673655bd3895f2b7fe7fee0c (patch) | |
tree | 530ef79acd32c90ce5ef5d545a04d4d09b5abfb7 /src/render/WeaponEffects.h | |
parent | Merge pull request #363 from erorcun/erorcun (diff) | |
download | re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.gz re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.bz2 re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.lz re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.xz re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.tar.zst re3-194ddc5f40835476673655bd3895f2b7fe7fee0c.zip |
Diffstat (limited to 'src/render/WeaponEffects.h')
-rw-r--r-- | src/render/WeaponEffects.h | 30 |
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 |