re3/src/vehicles/Train.h

26 lines
365 B
C
Raw Normal View History

2019-06-02 15:13:56 +00:00
#pragma once
#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];
CTrain(int, uint8);
CTrain* ctor(int, uint8);
2019-06-02 15:13:56 +00:00
};
static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");