Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
VehicleSpriteSeq.
|
|
for wagons and articulated parts.
|
|
Vehicle class
|
|
articulated vehicles.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
Eagle_rainbow)
|
|
articulated callback flag is set, don't try to run the callback.
|
|
current capacity of a vehicle.
|
|
|
|
minimalize the work done where possible
|
|
|
|
|
|
Vehicle to simplify code.
|
|
|
|
|
|
|
|
vehicles in a valid company
|
|
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
|
|
|
road vehicles and trains.
|
|
|
|
|
|
some headers
|
|
|
|
|
|
if a header require a header make it include that header
|
|
masks of articulated vehicles are needed, they can be determined at once.
|
|
|
|
vehicle callback.
|
|
|
|
|
|
EngineInfo::refit_mask during initialisation.
|
|
set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
|
|
|
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
CargoArray instead of a pointer to a static array.
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
assigned
|
|
unnecessarily add it.
|