diff options
author | celestar <celestar@openttd.org> | 2005-01-29 19:41:44 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-01-29 19:41:44 +0000 |
commit | 752b3f0dd614217d68f361e2d0b2cc599a37c860 (patch) | |
tree | fcefcecfa2ec7dd8e9178d5206788bd62dcf3c53 /vehicle.c | |
parent | 885fd2b15c1ae9a1422f82b8bcdd9d1a287c3aa6 (diff) | |
download | openttd-752b3f0dd614217d68f361e2d0b2cc599a37c860.tar.xz |
(svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
a single station.
Thanks to: Truelight for the saveload code, Darkvater and Hackykid for
network testing and Tron for proof-reading 1500 lines of diff.
Diffstat (limited to 'vehicle.c')
-rw-r--r-- | vehicle.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1886,6 +1886,9 @@ static const byte _roadveh_desc[] = { SLE_VARX(offsetof(Vehicle,u)+offsetof(VehicleRoad,crashed_ctr), SLE_UINT16), SLE_VARX(offsetof(Vehicle,u)+offsetof(VehicleRoad,reverse_ctr), SLE_UINT8), + SLE_CONDREFX(offsetof(Vehicle,u)+offsetof(VehicleRoad,slot), REF_ROADSTOPS, 6, 255), + SLE_CONDVARX(offsetof(Vehicle,u)+offsetof(VehicleRoad,slotindex), SLE_UINT8, 6, 255), + SLE_CONDVARX(offsetof(Vehicle,u)+offsetof(VehicleRoad,slot_age), SLE_UINT8, 6, 255), // reserve extra space in savegame here. (currently 16 bytes) SLE_CONDARR(NullStruct,null,SLE_FILE_U64 | SLE_VAR_NULL, 2, 2, 255), |