18 typedef uint16 OrderID;
19 typedef uint16 OrderListID;
20 typedef uint16 DestinationID;
OrderConditionVariable
Variables (of a vehicle) to 'cause' skipping on.
Helper template class that makes basic properties of given enumeration type visible from outsize...
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
Passes an OrderUnloadType.
Skip if both values are equal.
Load as long as there is cargo that fits in the train.
static const VehicleOrderID INVALID_VEH_ORDER_ID
Invalid vehicle order index (sentinel)
Selects the OrderDepotAction.
Skip if the variable is true.
Skip based on the reliability.
Stop at the middle of the platform.
Unload all cargo that the station accepts.
Only service the vehicle.
SimpleTinyEnumT< OrderType, byte > OrderTypeByte
It needs to be 8bits, because we save and load it as such.
OrderNonStopFlags
Non-stop order flags.
Skip if the value is more or equal to the limit.
ModifyTimetableFlags
Enumeration for the data to set in CmdChangeTimetable.
Type (helpers) for enums.
The vehicle will stop at any station it passes except the destination.
Stop at the near end of the platform.
Stop at the far end of the platform.
The vehicle will stop at any station it passes and the destination.
Passes an OrderStopLocation.
Shared order list linking together the linked list of orders and the list of vehicles sharing this or...
The vehicle will not stop at any stations it passes including the destination.
Manually initiated order.
Skip if the value is less or equal to the limit.
Change the destination of a conditional order.
Informative template class exposing basic enumeration properties used by several other templates belo...
OrderDepotActionFlags
Actions that can be performed when the vehicle enters the depot.
OrderConditionComparator
Comparator for the skip reasoning.
Service the vehicle and then halt it.
The value to set the condition to.
Skip based on the remaining lifetime.
Skip if the value is less than the limit.
Template of struct holding enum types (on most archs, enums are stored in an int32).
Transfer all cargo onto the platform.
Skip when the vehicle requires service.
OrderUnloadFlags
Flags related to the unloading order.
A conditional variable changes.
OrderStopLocation
Where to stop the trains.
Passes an OrderNonStopFlags.
static const OrderID INVALID_ORDER
Invalid order (sentinel)
Skip if both values are not equal.
OrderLoadFlags
Flags related to the loading order.
OrderDepotAction
Depot action to switch to when doing a MOF_DEPOT_ACTION.
Send the vehicle to the nearest depot.
Full load all cargoes of the consist.
Skip based on the amount of load.
Totally no unloading will be done.
The vehicle will not stop at any stations it passes except the destination.
Skip based on the maximum speed.
ModifyOrderFlags
Enumeration for the data to set in CmdModifyOrder.
byte VehicleOrderID
The index of an order within its current vehicle (not pool related)
Force unloading all cargo onto the platform, possibly not getting paid.
static const VehicleOrderID MAX_VEH_ORDER_ID
Last valid VehicleOrderID.
This depot order is because of a regular order.
Go to the depot and stop there.
Skip if the value is more than the limit.
Full load a single cargo of the consist.
This depot order is because of the servicing limit.
Skip if the variable is false.
CloneOptions
Clone actions.
static const uint IMPLICIT_ORDER_ONLY_CAP
Maximum number of orders in implicit-only lists before we start searching harder for duplicates...
OrderDepotTypeFlags
Reasons that could cause us to go to the depot.