summaryrefslogtreecommitdiffstats
path: root/src/weapons/WeaponEffects.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-16 00:56:15 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-16 00:56:15 +0200
commitf435455bdee2bbe6a55f12fb8854659260b7a559 (patch)
tree067fd961924225a38658e3064ee6e3b313741aba /src/weapons/WeaponEffects.h
parentFix misplaced targeting (diff)
downloadre3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar.gz
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar.bz2
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar.lz
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar.xz
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.tar.zst
re3-f435455bdee2bbe6a55f12fb8854659260b7a559.zip
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