summaryrefslogtreecommitdiff
path: root/src/saveload/vehicle_sl.cpp
AgeCommit message (Collapse)Author
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
2009-01-25(svn r15272) -Codechange: Check that engine types of vehicles are valid and ↵peter1138
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.
2009-01-24(svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' ↵smatz
state instead of 'stopped' (this problem doesn't affect trains in depot)
2009-01-24(svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from ↵smatz
'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123)
2009-01-23(svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons ↵smatz
and non-front engines
2009-01-23(svn r15230) -Fix (r1): aircraft could have zero speed while in air after ↵smatz
loading old savegame
2009-01-23(svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' ↵smatz
after converting old savegames
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz