Age | Commit message (Collapse) | Author |
|
|
|
changes to reduce casting
|
|
draw different sprites on the map and in various GUIs.
|
|
|
|
caused crashes during load
|
|
|
|
vehicles when converting savegames.
|
|
as no real order influencing path finding is added
|
|
orderlist
|
|
to an invalid savegame, use SlErrorCorrupt instead
|
|
"front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore
|
|
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.
|
|
new pool items while loading old savegames
|
|
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.
|
|
|
|
gcache.last_speed/SetLastSpeed as well
|
|
make SetLastSpeed a function of GroundVehicle
|
|
reinitialising some vehicle structures due to NewGRF changes
|
|
trains.
|
|
train names.
|
|
causing incorrect sprites to be displayed.
|
|
road vehicles and trains.
|
|
IsSavegameVersionBefore().
|
|
IsSavegameVersionBefore().
|
|
|
|
instead of recalculating it every time.
|
|
savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
|
|
some headers
|
|
never used
|
|
|
|
|
|
checking savegames (empty for now).
|
|
seperate class
|
|
|
|
-Add: Required acceleration functions at RoadVehicle.
|
|
-Codechange: Move GetSlopeResistance to GroundVehicle.
|
|
|
|
|
|
if a header require a header make it include that header
|
|
wait counter; sometimes they might get into eachother's way
|
|
|
|
timetable. Based on work by PhilSophus.
|
|
|
|
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
|
|
constructor of CargoPackets to the constructor call itself
|
|
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
|
|
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
|
|
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
it turn in the correct direction first before continuing
|