re3/src/render/WaterCannon.h

22 lines
407 B
C
Raw Normal View History

#pragma once
2019-09-24 11:33:16 +00:00
class CWaterCannon
{
public:
2019-09-24 11:33:16 +00:00
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];
2019-10-18 22:23:40 +00:00
static void Update(void);
static void UpdateOne(uint32 id, CVector *pos, CVector *dir);
static void Render(void);
};
2019-09-24 11:33:16 +00:00
static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");
extern CWaterCannon* aCannons;