2019-05-30 21:24:47 +02:00
|
|
|
#pragma once
|
|
|
|
|
2019-09-24 13:33:16 +02:00
|
|
|
class CWaterCannon
|
2019-05-30 21:24:47 +02:00
|
|
|
{
|
|
|
|
public:
|
2019-09-24 13:33:16 +02: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-13 00:35:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");
|
2019-09-24 13:33:16 +02:00
|
|
|
|
2019-10-13 00:35:01 +02:00
|
|
|
class CWaterCannons
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void Update();
|
2019-07-26 14:27:13 +02:00
|
|
|
static void UpdateOne(uint32 id, CVector *pos, CVector *dir);
|
2019-05-30 21:24:47 +02:00
|
|
|
static void Render(void);
|
2020-03-22 15:23:40 +01:00
|
|
|
static void Init(void);
|
2019-05-30 21:24:47 +02:00
|
|
|
};
|
2019-09-24 13:33:16 +02:00
|
|
|
|
2020-02-25 18:24:45 +01:00
|
|
|
extern CWaterCannon (&aCannons)[NUM_WATERCANNONS];
|
|
|
|
|