summaryrefslogtreecommitdiff
path: root/src/saveload/vehicle_sl.cpp
AgeCommit message (Collapse)Author
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
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16388) -Codechange: move u.air to Aircraftrubidium
2009-05-22(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriaterubidium
2009-05-22(svn r16385) -Codechange: move u.disaster to DisasterVehicle.rubidium
2009-05-22(svn r16384) -Codechange: move u.effect to EffectVehiclerubidium
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-18(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALIDsmatz
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-03(svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly ↵rubidium
converted causing corrupt/invalid orders when loading pre 0.7 savegames.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-11(svn r15678) -Fix (r15676): crash when (re)applying newgrf settingsrubidium
2009-03-11(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge ↵rubidium
VehiclePositionChanged and EndVehicleMove.
2009-03-11(svn r15672) -Codechange: (left,right,top,bottom)_coord -> ↵rubidium
coord.(left,right,top,bottom), i.e. use Rect.
2009-02-01(svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the ↵frosch
front vehicles just like it is done on construction.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz