summaryrefslogtreecommitdiffstats
path: root/src/entities/Train.h
blob: 84b6faf57086166b3bc0508120251328b39552ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include "common.h"
#include "patcher.h"
#include "Vehicle.h"

enum
{
	TRAIN_DOOR_STATE2 = 2
};

class CTrain : public CVehicle
{
public:
	// 0x288
	uint8 stuff1[20];
	uint8 m_trackId;
	uint8 stuff2[7];
	int16 m_doorState;
	uint8 stuff3[62];

	CTrain(int, uint8);
	CTrain* ctor(int, uint8);
	void dtor(void) { this->CTrain::~CTrain(); }
};
static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");