diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:54:26 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:54:26 +0200 |
commit | 23c6a283249da948ab96b4254e5db5fbeef760c1 (patch) | |
tree | 8d3f4ed9227271bc9a4ce90295d9e81bcc25efb4 /src/render/WeaponEffects.h | |
parent | more garages (diff) | |
parent | fixed PS2 build (diff) | |
download | re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.gz re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.bz2 re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.lz re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.xz re3-23c6a283249da948ab96b4254e5db5fbeef760c1.tar.zst re3-23c6a283249da948ab96b4254e5db5fbeef760c1.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 |