the great reorganization

This commit is contained in:
aap
2019-07-07 13:09:11 +02:00
parent 219a65b81a
commit 53023eb65b
150 changed files with 45 additions and 37 deletions

26
src/vehicles/Train.h Normal file
View File

@ -0,0 +1,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");