OpenTTD Source
1.11.0-beta2
|
Go to the documentation of this file.
10 #ifndef BASE_CONSIST_H
11 #define BASE_CONSIST_H
VehicleOrderID cur_implicit_order_index
The index to the current implicit order.
byte VehicleOrderID
The index of an order within its current vehicle (not pool related)
std::string name
Name of vehicle.
int32 Date
The type to store our dates in.
uint16 vehicle_flags
Used for gradual loading and other miscellaneous things (.
VehicleOrderID cur_real_order_index
The index to the current real (non-implicit) order.
int32 lateness_counter
How many ticks late (or early if negative) this vehicle is.
uint32 current_order_time
How many ticks have passed since this order started.
Date timetable_start
When the vehicle is supposed to start the timetable.
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.