Commit Graph

17 Commits

Author SHA1 Message Date
smatz 570af0ce44 (svn r16338) -Codechange: split loading of references to two phases
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17 16:28:29 +00:00
smatz ed1e54bd84 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 2009-05-16 23:44:36 +00:00
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
rubidium 73fd0db237 (svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames. 2009-05-03 11:57:01 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium f67e2a41ce (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 2009-03-11 23:35:32 +00:00
rubidium 655b0ccc2e (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 2009-03-11 20:43:14 +00:00
rubidium fb2ea6c9ed (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 2009-03-11 17:26:58 +00:00
frosch 2afa9312fc (svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction. 2009-02-01 11:38:18 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
peter1138 7afd506301 (svn r15272) -Codechange: Check that engine types of vehicles are valid and 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-25 21:55:18 +00:00
smatz 12bcc254c8 (svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot) 2009-01-24 12:50:10 +00:00
smatz 8278fc2149 (svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from 'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123) 2009-01-24 00:42:09 +00:00
smatz 3964b2dd8c (svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines 2009-01-23 23:57:01 +00:00
smatz 789fa42f52 (svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame 2009-01-23 15:53:24 +00:00
smatz e3cc807c7a (svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames 2009-01-23 15:37:44 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00