Age | Commit message (Collapse) | Author |
|
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
|
|
in a chain (i.e. primary vehicle or free wagon).
|
|
NewsFlag instead.
|
|
preemptively deduplicate code.
|
|
speed for vehicles.
|
|
cases isn't really a fix. Redo it to make sure that reservations of trains entering or exiting depots are properly made and freed.
|
|
leaving a depot could lead to stuck trains.
|
|
|
|
caused desync when railtype >= 4, vehicles were fast, and the original acceleration model was used
|
|
invalid order, trying to determine the next order state could end up in an infinite loop
|
|
vehicle enters a new railtype.
|
|
|
|
|
|
|
|
minimalize the work done where possible
|
|
|
|
only extend a train's path without actually calling the pathfinder. The path extension will stop when hitting a junction tile, so it is impossible to miss a depot this way.
|
|
capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing
|
|
autoreplacing failed due to length checks
|
|
|
|
|
|
error.h
|
|
creates or deletes a train.
|
|
|
|
|
|
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
|
|
Engine::DetermineCapacity().
|
|
|
|
instead.
|
|
validness.
|
|
returning D0xx texts.
|
|
auto-refitting.
|
|
related variables
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
draw different sprites on the map and in various GUIs.
|
|
Vehicle to simplify code.
|
|
|
|
|
|
DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
|
|
|
|
|
|
|
|
order index in case of a goto-nearest-depot order and no depot could be found.
|
|
as no real order influencing path finding is added
|
|
of automatic orders until the next real order is reached.
|
|
invalidations themself (from autoreplace and refitting).
|
|
"center" (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine
|
|
|
|
|
|
|