Age | Commit message (Collapse) | Author |
|
if a header require a header make it include that header
|
|
CommandCost it tests when you don't have enough money instead of setting a global variable.
|
|
it's default cargotype failed, causing problems for AIs
|
|
invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0.
|
|
unneeded wrapper functions
|
|
vehicles only apply to the GRF locally, if it defines engines of that type itself.
|
|
and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
|
|
|
|
consistent. Now always the cargo class decides.
|
|
|
|
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
for more consistency and distinguishability.
|
|
what was already cloned instead of leaving it 'for free'
-Fix: make cloning multiheaded trains possible with with 'max - 1' vehicles existing
|
|
building (in the future buying) vehicles.
|
|
|
|
relatives
|
|
|
|
|
|
difference? :)
|
|
setting of the error message to a single place
|
|
vehicle type specific strings for a specific message
|
|
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
code style.
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
unnecessarily add it.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
|
|
|
|
|
|
|