summaryrefslogtreecommitdiffstats
path: root/src/render/WaterCannon.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-10-13 00:35:01 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commitd822417cfce5ce0120481bd37271ebde6117b14c (patch)
tree6cb4988959c8076d29f5b2ff6b5182a02f03e2be /src/render/WaterCannon.h
parentFix rebasing (diff)
downloadre3-d822417cfce5ce0120481bd37271ebde6117b14c.tar
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.gz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.bz2
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.lz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.xz
re3-d822417cfce5ce0120481bd37271ebde6117b14c.tar.zst
re3-d822417cfce5ce0120481bd37271ebde6117b14c.zip
Diffstat (limited to '')
-rw-r--r--src/render/WaterCannon.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/WaterCannon.h b/src/render/WaterCannon.h
index 1b2dcee3..16df63db 100644
--- a/src/render/WaterCannon.h
+++ b/src/render/WaterCannon.h
@@ -10,12 +10,16 @@ public:
CVector m_avecPos[16];
CVector m_avecVelocity[16];
char m_abUsed[16];
+};
+
+static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");
- static void Update(void);
+class CWaterCannons
+{
+public:
+ static void Update();
static void UpdateOne(uint32 id, CVector *pos, CVector *dir);
static void Render(void);
};
-static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");
-
-extern CWaterCannon* aCannons;
+extern CWaterCannon *aCannons;