(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.

This commit is contained in:
rubidium
2009-11-25 23:37:15 +00:00
parent 371a220960
commit bd9c679873
7 changed files with 55 additions and 6 deletions

View File

@@ -47,7 +47,7 @@
#include "saveload_internal.h"
extern const uint16 SAVEGAME_VERSION = 128;
extern const uint16 SAVEGAME_VERSION = 129;
SavegameType _savegame_type; ///< type of savegame we are loading

View File

@@ -473,6 +473,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt)
/* Timetable in current order */
SLE_CONDVAR(Vehicle, current_order.wait_time, SLE_UINT16, 67, SL_MAX_VERSION),
SLE_CONDVAR(Vehicle, current_order.travel_time, SLE_UINT16, 67, SL_MAX_VERSION),
SLE_CONDVAR(Vehicle, timetable_start, SLE_INT32, 129, SL_MAX_VERSION),
SLE_CONDREF(Vehicle, orders, REF_ORDER, 0, 104),
SLE_CONDREF(Vehicle, orders, REF_ORDERLIST, 105, SL_MAX_VERSION),