2019-06-02 15:13:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-06-30 10:59:55 +00:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
2019-06-02 15:13:56 +00:00
|
|
|
#include "Vehicle.h"
|
|
|
|
|
2019-06-28 17:23:28 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
TRAIN_DOOR_STATE2 = 2
|
|
|
|
};
|
|
|
|
|
2019-06-02 15:13:56 +00:00
|
|
|
class CTrain : public CVehicle
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// 0x288
|
2019-06-28 17:23:28 +00:00
|
|
|
uint8 stuff1[20];
|
|
|
|
uint8 m_trackId;
|
|
|
|
uint8 stuff2[7];
|
|
|
|
int16 m_doorState;
|
|
|
|
uint8 stuff3[62];
|
2019-06-30 10:59:55 +00:00
|
|
|
|
|
|
|
CTrain(int, uint8);
|
|
|
|
CTrain* ctor(int, uint8);
|
2019-06-02 15:13:56 +00:00
|
|
|
};
|
|
|
|
static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");
|