summaryrefslogblamecommitdiffstats
path: root/src/vehicles/Train.h
blob: 5e1e2e35d98e131e0cc3bb9207b694cb162af5b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

            

                    

                    




                             



                              




                          


                                 

                                                        
#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);
};
static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");