(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 1a8c203d6e
commit a951c505bf
7 changed files with 55 additions and 6 deletions

View File

@@ -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() */