summaryrefslogtreecommitdiffstats
path: root/src/render/WaterCannon.h
blob: 1b2dcee3a0841401c3d5153378841ab7e529515a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 void Update(void);
	static void UpdateOne(uint32 id, CVector *pos, CVector *dir);
	static void Render(void);
};

static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");

extern CWaterCannon* aCannons;