diff options
author | maedhros <maedhros@openttd.org> | 2007-06-20 19:17:22 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-06-20 19:17:22 +0000 |
commit | cf0118ee63603132dc1d08d7f7e800b26e53fc97 (patch) | |
tree | 1a82d9ac3d2c0f66dac9c5f6857c4e49f057b100 /src/vehicle.h | |
parent | a982fe2e807f80c8a6478c358b3875535c9346b4 (diff) | |
download | openttd-cf0118ee63603132dc1d08d7f7e800b26e53fc97.tar.xz |
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 549e04e11..c40017879 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -320,6 +320,10 @@ struct Vehicle { 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; |