Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
and remove two of them.
|
|
infinite loop due to v->Next() pointing to v itself.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
|
|
creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
|
|
|
|
use it everywhere, so CB 36 is also used everywhere.
|
|
information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.
|
|
VehiclePositionChanged and EndVehicleMove.
|
|
so possible default constructors don't overwrite the values.
|
|
articulated engine has been built. (except 0x16)
|