summaryrefslogtreecommitdiff
path: root/src/weapons/WeaponEffects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/weapons/WeaponEffects.h')
-rw-r--r--src/weapons/WeaponEffects.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/weapons/WeaponEffects.h b/src/weapons/WeaponEffects.h
new file mode 100644
index 00000000..31c5a309
--- /dev/null
+++ b/src/weapons/WeaponEffects.h
@@ -0,0 +1,27 @@
+#pragma once
+
+class CWeaponEffects
+{
+public:
+ bool m_bActive;
+ char _pad[3];
+ CVector m_vecPos;
+ uint8 m_nRed;
+ uint8 m_nGreen;
+ uint8 m_nBlue;
+ uint8 m_nAlpha;
+ float m_fSize;
+ float m_fRotation;
+
+public:
+ 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