src/vehicle.h
changeset 6980 c7c4f3bf5901
parent 6953 230d1e3ac86c
child 6998 39e783d3816c
--- a/src/vehicle.h	Wed Jun 20 12:09:47 2007 +0000
+++ b/src/vehicle.h	Wed Jun 20 19:17:22 2007 +0000
@@ -320,6 +320,10 @@
 
 	GroupID group_id;              ///< Index of group Pool array
 
+	/* 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.
+
 	union {
 		VehicleRail rail;
 		VehicleAir air;