Age | Commit message (Collapse) | Author |
|
some headers
|
|
never used
|
|
|
|
|
|
checking savegames (empty for now).
|
|
seperate class
|
|
|
|
-Add: Required acceleration functions at RoadVehicle.
|
|
-Codechange: Move GetSlopeResistance to GroundVehicle.
|
|
|
|
|
|
if a header require a header make it include that header
|
|
wait counter; sometimes they might get into eachother's way
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|