diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-07 15:16:54 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-07-07 15:16:54 +0200 |
commit | d1c6a6aaa6c17250e069d1267b27e13303d6e20f (patch) | |
tree | 76d55bfd8bcc8f72cdd4d261c0bb1eaa050e522a /src/vehicles/Train.h | |
parent | Merge branch 'master' into master (diff) | |
parent | the great reorganization (diff) | |
download | re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.gz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.bz2 re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.lz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.xz re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.zst re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.zip |
Diffstat (limited to 'src/vehicles/Train.h')
-rw-r--r-- | src/vehicles/Train.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/vehicles/Train.h b/src/vehicles/Train.h new file mode 100644 index 00000000..84b6faf5 --- /dev/null +++ b/src/vehicles/Train.h @@ -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"); |