Age | Commit message (Collapse) | Author |
|
CmdMoveRailVehicle a separate function
|
|
CmdMoveRailVehicle a separate function and simplify the logic
|
|
|
|
|
|
|
|
a separate directory
|
|
and simplify some things for the future
|
|
Hirundo and SmatZ.
|
|
needed.
|
|
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.
|
|
vehicle list/autoreplace lists instead of overflowing.
|
|
Draw*Engine functions
|
|
'running cost factor'.
|
|
vehicle has no running cost class anyway.
|
|
before the details string.
Gentlemen, swap your string parameters.
|
|
|
|
when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
|
certain commands, that change them temporarily.
|
|
|
|
|
|
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
|
|
|
|
|