Age | Commit message (Collapse) | Author |
|
|
|
timetable. Based on work by PhilSophus.
|
|
|
|
the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
|
|
constructor of CargoPackets to the constructor call itself
|
|
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.
|
|
|