diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-10-27 04:39:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-27 04:39:56 +0100 |
commit | c39cf2d960ce546c544872a732560b731d8c3897 (patch) | |
tree | d7a4b2ec22bcb6a9f6d8ef2602c7fdbac417d18b /src/render/WaterCannon.h | |
parent | ControllerConfig done (diff) | |
parent | Merge branch 'master' into master (diff) | |
download | re3-c39cf2d960ce546c544872a732560b731d8c3897.tar re3-c39cf2d960ce546c544872a732560b731d8c3897.tar.gz re3-c39cf2d960ce546c544872a732560b731d8c3897.tar.bz2 re3-c39cf2d960ce546c544872a732560b731d8c3897.tar.lz re3-c39cf2d960ce546c544872a732560b731d8c3897.tar.xz re3-c39cf2d960ce546c544872a732560b731d8c3897.tar.zst re3-c39cf2d960ce546c544872a732560b731d8c3897.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/WaterCannon.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/render/WaterCannon.h b/src/render/WaterCannon.h index de9d0344..16df63db 100644 --- a/src/render/WaterCannon.h +++ b/src/render/WaterCannon.h @@ -1,9 +1,25 @@ #pragma once +class CWaterCannon +{ +public: + int32 m_nId; + int16 m_wIndex; + char gap_6[2]; + int32 m_nTimeCreated; + CVector m_avecPos[16]; + CVector m_avecVelocity[16]; + char m_abUsed[16]; +}; + +static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error"); + class CWaterCannons { public: - static void Update(void); + static void Update(); static void UpdateOne(uint32 id, CVector *pos, CVector *dir); static void Render(void); }; + +extern CWaterCannon *aCannons; |