summaryrefslogtreecommitdiff
path: root/src/saveload/vehicle_sl.cpp
AgeCommit message (Collapse)Author
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
and cur_real_order_index to keep track of the current real order in an unambiguous way. -Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing. -Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31(svn r21932) -Document: some tidbits related to vehiclesrubidium
2011-01-26(svn r21912) -Codechange: let road vehicles use ↵rubidium
gcache.last_speed/SetLastSpeed as well
2011-01-26(svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and ↵rubidium
make SetLastSpeed a function of GroundVehicle
2011-01-20(svn r21865) -Fix (r21862): don't perform savegame conversion when ↵rubidium
reinitialising some vehicle structures due to NewGRF changes
2011-01-19(svn r21862) -Codechange: Unify subtype handling between road vehicles and ↵terkhen
trains.
2011-01-19(svn r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2011-01-04(svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, ↵peter1138
causing incorrect sprites to be displayed.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-11-21(svn r21284) -Codechange: Rename CheckSavegameVersion() to ↵alberth
IsSavegameVersionBefore().
2010-11-21(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to ↵alberth
IsSavegameVersionBefore().
2010-11-09(svn r21123) -Codechange: Remove max_speed from the Vehicle class.terkhen
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-09-16(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid ↵rubidium
savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-02(svn r20311) -Codechange: don't reserve extra space in the savegame that is ↵yexo
never used
2010-08-01(svn r20289) -Codechange: Unify fall through coding style.terkhen
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-06-13(svn r19973) -Codechange: Add another procedure to chunk handlers for ↵frosch
checking savegames (empty for now).
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-06(svn r19345) -Feature: Realistic acceleration for road vehicles.terkhen
2010-03-06(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.terkhen
-Add: Required acceleration functions at RoadVehicle.
2010-03-06(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.terkhen
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-02-10(svn r19090) -Codechange: some comment coding style fixesrubidium
2010-01-15(svn r18812) -Codechange: make some functions in train.h functions of Train.rubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2009-12-02(svn r18385) -Cleanup: remove the now unneeded multistop slot management coderubidium
2009-11-25(svn r18292) -Codechange: add a command to set the start date of a ↵rubidium
timetable. Based on work by PhilSophus.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-10-20(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to ↵rubidium
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
2009-10-18(svn r17807) -Codechange: move all 'updates' just after the 'load' ↵rubidium
constructor of CargoPackets to the constructor call itself
2009-10-06(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == ↵rubidium
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
2009-10-06(svn r17720) -Codechange: guard the CargoPacket variables that are cached in ↵rubidium
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-15(svn r17552) -Codechange: rename load_unload_time_rem to something more ↵rubidium
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
2009-09-09(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make ↵yexo
it turn in the correct direction first before continuing
2009-09-03(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger ↵yexo
then 45 degrees while in flight
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-24(svn r16944) -Codechange: remove needlessly complex way of getting the ↵rubidium
offset of items within a struct that are within a struct
2009-07-16(svn r16841) -Cleanup: spaces/tabs where they don't belongrubidium
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-02(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), ↵smatz
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-02(svn r16720) -Codechange: make Set/ClearFrontEngine(), ↵smatz
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16718) -Codechange: make IsFreeWagon() member of Trainsmatz
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check