diff options
author | rubidium <rubidium@openttd.org> | 2009-11-25 23:37:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-25 23:37:15 +0000 |
commit | a951c505bff54ea4365895126e72a89a09f9fe2d (patch) | |
tree | 83190acad7d9bc95b22708cde9bd2c45945baffd /src/vehicle_base.h | |
parent | 1a8c203d6ec29cf200b37fd995e865821c8ce888 (diff) | |
download | openttd-a951c505bff54ea4365895126e72a89a09f9fe2d.tar.xz |
(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 10ab41047..2672a656a 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -105,6 +105,7 @@ public: /* Used for timetabling. */ uint32 current_order_time; ///< How many ticks have passed since this order started. int32 lateness_counter; ///< How many ticks late (or early if negative) this vehicle is. + Date timetable_start; ///< When the vehicle is supposed to start the timetable. /* Boundaries for the current position in the world and a next hash link. * NOSAVE: All of those can be updated with VehiclePositionChanged() */ |