Commit Graph

489 Commits (1a515e6344028854c855671c19f49d8f869eb18f)

Author SHA1 Message Date
rubidium 75b87c554f (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 14 years ago
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 14 years ago
smatz 8074f123d5 (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 14 years ago
rubidium ae6dca77e5 (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 14 years ago
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago
smatz 678cf3553f (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 14 years ago
smatz 58c7f5c497 (svn r22129) -Codechange: use simpler check to test if there any towns in the game 14 years ago
rubidium b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 14 years ago
rubidium 0eaa2ffa63 (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 14 years ago
rubidium befa79ba4a (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 14 years ago
rubidium d8cada7563 (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 14 years ago
rubidium 7de823b1bd (svn r22062) -Fix: memory leak when saving fails mid-way 14 years ago
yexo 296af35741 (svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train 14 years ago
rubidium b187352663 (svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore 14 years ago
rubidium 13fd2cd335 (svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash 14 years ago
rubidium 50996e799b (svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, 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. 14 years ago
frosch b7713a7e85 (svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders. 14 years ago
smatz 69789f3008 (svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so 14 years ago
smatz 887a7724dc (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
rubidium faf5d899f7 (svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h 14 years ago
alberth 4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
frosch ef3ec0f8c8 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 14 years ago
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
alberth 7da952115b (svn r21971) -Fix (r21969): Subversion auto-increments revision on commit. 14 years ago
alberth bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 14 years ago
rubidium c85d350310 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
smatz 3bfad0243b (svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there 14 years ago
smatz 54161949d1 (svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion 14 years ago
planetmaker 0364726bbb (svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ) 14 years ago
smatz b15719bbd2 (svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough 14 years ago
frosch a97d52a29a (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index 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.
14 years ago
rubidium 67a5cd0b18 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
rubidium 4fff63d790 (svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well 14 years ago
rubidium b11f1bd4ed (svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium eb299736c1 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 14 years ago
smatz 2a2363e819 (svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames 14 years ago
smatz 656caf16db (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
rubidium 6a2ae92811 (svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes 14 years ago
terkhen d426906a01 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
terkhen b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
rubidium 9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 14 years ago
rubidium 6a17bf91e3 (svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default 14 years ago
terkhen 679cd3c21b (svn r21803) -Cleanup: Remove unnecessary semicolons. 14 years ago
smatz 2709454040 (svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day 14 years ago
smatz 1b3e2309df (svn r21799) -Fix: further variables need to be reset when we loaded a TTDPatch savegame in the past 14 years ago
smatz 804542b3f3 (svn r21798) -Fix: loading a TTO savegame failed after loading a TTDP savegame with vehicle multiplier bigger than 1 14 years ago
rubidium 080a941eda (svn r21796) -Fix [FS#4398]: drive through road stop state wasn't properly converted from TTDPatch savegames 14 years ago
rubidium 85255ea001 (svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well 14 years ago