summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-25 23:37:15 +0000
committerrubidium <rubidium@openttd.org>2009-11-25 23:37:15 +0000
commita951c505bff54ea4365895126e72a89a09f9fe2d (patch)
tree83190acad7d9bc95b22708cde9bd2c45945baffd /src/vehicle_base.h
parent1a8c203d6ec29cf200b37fd995e865821c8ce888 (diff)
downloadopenttd-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.h1
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() */