summaryrefslogtreecommitdiffstats
path: root/src/render/WeaponEffects.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-29 17:43:43 +0200
committerGitHub <noreply@github.com>2020-03-29 17:43:43 +0200
commit0cbdca632fae35923d585cd791d8d8b84c93103e (patch)
treede9f8dbd0e3c06ffbb95b13c0637dfc3db3873c1 /src/render/WeaponEffects.h
parentMerge pull request #367 from Sergeanur/wrappers_cleanup (diff)
parentMerge branch 'master' into master (diff)
downloadre3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.gz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.bz2
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.lz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.xz
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.tar.zst
re3-0cbdca632fae35923d585cd791d8d8b84c93103e.zip
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