summaryrefslogtreecommitdiff
path: root/src/saveload/vehicle_sl.cpp
AgeCommit message (Collapse)Author
2014-06-09(svn r26636) -Fix [FS#6026-ish]: (memory) size of variables saved for ↵rubidium
disaster vehicles was not correct in saveload description
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-07(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity ↵frosch
when they are not supposed to, and truncate cargo appropiately if they are allowed to.
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-02-24(svn r25041) -Remove [FS#3764-ish]: ordered refit with subtypes, since the ↵frosch
cases where it worked were corner cases rather than the general case.
2013-02-17(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load ↵rubidium
improved loading) instead of calculating if for every cycle
2013-02-14(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag ↵rubidium
appropriately on creation (peter1138)
2013-02-14(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ↵rubidium
ispercent (peter1138)
2013-02-14(svn r24994) -Codechange: Replace access to service_interval with accessors ↵rubidium
(peter1138)
2012-02-21(svn r23973) -Fix (r23947): Also save the maximum travel speed for the ↵michi_cc
current vehicle order.
2012-01-08(svn r23773) -Change: [NewGRF] Update all cached train properties if a train ↵michi_cc
vehicle enters a new railtype.
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-13(svn r23504) -Feature: Aircraft range.michi_cc
2011-11-21(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to ↵michi_cc
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
2011-11-04(svn r23105) -Fix (r23104): Kenobi visited me ;)rubidium
2011-11-04(svn r23104) -Codechange: prepare the vehicle/sign z for some further ↵rubidium
changes to reduce casting
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-09-09(svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar ↵yexo
caused crashes during load
2011-08-03(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.michi_cc
2011-07-02(svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster ↵frosch
vehicles when converting savegames.
2011-05-18(svn r22473) -Codechange: Automatic orders are better called implicit orders ↵planetmaker
as no real order influencing path finding is added
2011-02-23(svn r22130) -Fix: failed assert when loading savegame with empty shared ↵smatz
orderlist
2011-02-20(svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due ↵rubidium
to an invalid savegame, use SlErrorCorrupt instead
2011-02-11(svn r22058) -Fix (r22050): removing broken orders happened before the ↵rubidium
"front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore
2011-02-10(svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, ↵rubidium
non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has.
2011-02-08(svn r22025) -Fix: verify there is enough space in the pool when creating ↵smatz
new pool items while loading old savegames
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.