re3-wiiu/src/vehicles/Train.h

26 lines
365 B
C
Raw Normal View History

2019-06-02 17:13:56 +02:00
#pragma once
#include "common.h"
#include "patcher.h"
2019-06-02 17:13:56 +02:00
#include "Vehicle.h"
2019-06-28 19:23:28 +02:00
enum
{
TRAIN_DOOR_STATE2 = 2
};
2019-06-02 17:13:56 +02:00
class CTrain : public CVehicle
{
public:
// 0x288
2019-06-28 19:23:28 +02: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 17:13:56 +02:00
};
static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");