summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
AgeCommit message (Collapse)Author
2021-01-22Change: Apply some consistency to singleplayer related commentsglx22
2021-01-08Fix 2fd871e2af5: load correct ending-year for old (pre 0.7) savegamesPatric Stout
Despite what it looked like, you could never really change the ending-year (it was always reset to 2050 on start-up). See commit 683b65ee1 for details. As a side-effect, the variable that was suppose to store the ending-year was just zero, never containing a real ending-year.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-27Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loopsglx22
2020-12-22Feature: Set exclusive access to industry from GS (#8115)Pavel Stupnikov
2020-12-15Codechange: Make use of the improved C++17 emplace_back function.Michael Lutz
2020-06-28Change #8159: Remove now unused town cargo caches without bumping the ↵dP
savegame version
2020-06-28Revert #8157: Redundant changedP
2020-06-28Fix: Incorrect save/load array size of Town::cargo_acceptedJonathan G Rennison
In 11ab3c4e the number of cargo types was changed from 32 to 64. The save/load of Town::cargo_accepted was not updated, such that only half of the data structure is saved/loaded in savegame versions 199 to 218. Discard and regenerate data from all savegame versions prior to 219.
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2020-05-12Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143)glx22
2020-05-10Fix #8132: Corrupted savegame crashing OpenTTD on loadglx
2020-05-06Fix #8021: limit savegame range for docking tiles fixingglx
2020-05-06Fix: reset roadtype/streetcartype info for non-road bridgesYexo
2020-05-04Fix #8108: always update tile_hash after updating v->tileYexo
2020-05-04Fix c01a2e2: crash on loading old savegames with invalid animated tile ↵SamuXarick
information
2020-05-04Fix #8108: possible crash on loading TTD savegames with phantom oil rigsSamuXarick
2020-03-30Fix #8020: Add missing docking tiles around industry neutral stationsSamuXarick
2020-01-12Codechange: Cache resolved town, station and industry name stringsJonathan G Rennison
2020-01-05Fix: When loading old timetabled saves, also reset cached timetable durationCharles Pigott
2019-12-28Feature: Configurable game ending yearNiels Martin Hansen
Functionally reverts 683b65ee1
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_SIGNS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_OBJECTS with range-based for loopsglx
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace order related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_CARGO_PAYMENTS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_DEPOTS with range-based for loopsglx
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Fix 5db883f: Railtype bits were moved too late, leading to rails under ↵Charles Pigott
bridges losing their type
2019-04-29Fix #6507: Don't try to load invalid depots from older savegamesCharles Pigott
2019-04-29Fix: Crash when attempting to load old save game with GRFs setCharles Pigott
GroupStatistics pool was not initialised before trying to delete vehicles (specifically, trams with no tram track)
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-29Codechange: Remove TownLayoutByte typeCharles Pigott
2019-04-29Codechange: Set ZoomLevel's base type to byte instead of using ZoomLevelByteCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Change: Bump savegame version for tree tile water class conversion.Peter Nelson