Age | Commit message (Collapse) | Author |
|
|
|
a Engine * is already present.
|
|
|
|
set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
|
0x36. Based on Terkhen's work.
|
|
|
|
a 101+ (or 11+ if mammoth trains is disabled) vehicle free wagon chain is an engine and the first vehicle is moved to another chain
|
|
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
|
|
for more consistency and distinguishability.
|
|
with GetDepotIndex(tile)
|
|
counter wasn't 0, though there doesn't seem to be a reason to check that variable anyhow anymore
|
|
|
|
|
|
if it was reversed or did crash.
|
|
a block signal could cause a train crash if another reservation ending at a safe tile was already present in the section.
|
|
sprite changes.
|
|
|
|
|
|
relatives
|
|
|
|
trainst_h.
|
|
it's written.
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
|
|
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
|
|
the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
|
|
|
|
|
|
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
|
|
|
|
|
around road vehicles and flipping parts of trains in the depot
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
|
|
|
|
bailing out in FindTrainCollideEnum() (Bilbo)
-Codechange: shuffle the code a bit
|
|
|
|
FindTrainCollideEnum() to minimum
|
|
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
depot
|
|
as bitmasks
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|