Age | Commit message (Collapse) | Author |
|
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
|
|
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
|
|
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
it turn in the correct direction first before continuing
|
|
then 45 degrees while in flight
|
|
|
|
offset of items within a struct that are within a struct
|
|
|
|
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
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
|
|
|
|
|
|
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
code style.
|
|
|
|
for all vehicle types
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
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
|
|
|
|
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
|
|
PoolItem::GetPoolSize()
|
|
|
|
converted causing corrupt/invalid orders when loading pre 0.7 savegames.
|
|
sources too
|
|
|
|
VehiclePositionChanged and EndVehicleMove.
|
|
coord.(left,right,top,bottom), i.e. use Rect.
|
|
front vehicles just like it is done on construction.
|
|
|
|
for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required.
|
|
state instead of 'stopped' (this problem doesn't affect trains in depot)
|
|
'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123)
|
|
and non-front engines
|
|
loading old savegame
|