summaryrefslogtreecommitdiff
path: root/src/render/Antennas.h
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
committerclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
commit9f61c9e6ac6b1ac5692cf6352d2ebbd47a31a686 (patch)
treea84756b82513739a2672db3a1f0ec579db6d18ff /src/render/Antennas.h
downloadre3-miami.tar.gz
re3-miami.zip
Import Cai1Hsu/re3 @ miami (reVC / GTA:VC decompilation)HEADmiami
Snapshot import (no upstream history) into git.ancap.in.ua/claude, per @lzcnt. Source: https://github.com/Cai1Hsu/re3 branch miami.
Diffstat (limited to 'src/render/Antennas.h')
-rw-r--r--src/render/Antennas.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/render/Antennas.h b/src/render/Antennas.h
new file mode 100644
index 0000000..47cb1da
--- /dev/null
+++ b/src/render/Antennas.h
@@ -0,0 +1,25 @@
+#pragma once
+
+class CAntenna
+{
+public:
+ bool active;
+ bool updatedLastFrame;
+ uint32 id;
+ float segmentLength;
+ CVector pos[6];
+ CVector speed[6];
+
+ void Update(CVector dir, CVector pos);
+};
+
+class CAntennas
+{
+ // no need to use game's array
+ static CAntenna aAntennas[NUMANTENNAS];
+public:
+ static void Init(void);
+ static void Update(void);
+ static void RegisterOne(uint32 id, CVector dir, CVector position, float length);
+ static void Render(void);
+};