12 #ifndef BASE_CONSIST_H 13 #define BASE_CONSIST_H
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.
uint16 service_interval
The interval for (automatic) servicing; either in days or %.
Various front vehicle properties that are preserved when autoreplacing, using order-backup or switchi...
void CopyConsistPropertiesFrom(const BaseConsist *src)
Copy properties of other BaseConsist.
Date timetable_start
When the vehicle is supposed to start the timetable.
char * name
Name of vehicle.
Types related to the dates in OpenTTD.
int32 Date
The type to store our dates in.
uint16 vehicle_flags
Used for gradual loading and other miscellaneous things (.
byte VehicleOrderID
The index of an order within its current vehicle (not pool related)
VehicleOrderID cur_implicit_order_index
The index to the current implicit order.
VehicleOrderID cur_real_order_index
The index to the current real (non-implicit) order.