summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
AgeCommit message (Collapse)Author
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
2019-03-24Fix #7400: Water class for tree tiles was not converted for old saves ↵Peter Nelson
preventing industry creation. As the information is always available from the tree ground type, unconditionally update the map array for tree tiles.
2019-03-16Remove: OPFCharles Pigott
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2019-03-09Codechange: Make a k-d tree index of stationsNiels Martin Hansen
2019-03-09Codechange: Make a k-d tree index of townsNiels Martin Hansen
2019-03-09Feature: Non-rectangular sparse station catchment area.Peter Nelson
2019-03-08Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept ↵PeterN
cargo to/from their neutral station. (#7234) This change is a controlled by a game setting, located under Environment -> Industries which allows toggling the behaviour. It defaults to enabled. "Company stations can serve industries with attached neutral stations" When enabled, industries with attached neutral station (such as Oil Rigs) may also be served by company-owned stations built nearby. This is the traditional behaviour. When disabled, these industries may only be served by their neutral station. Any nearby company-owned stations won't be able to serve them, nor will the neutral station serve anything else other than the industry.
2019-03-04Add: Option for population-linear town cargo generationNiels Martin Hansen
Introduce a new default algorithm for town cargo generation (passengers and mail), and a game setting to choose between the new and original algorithm. The original town cargo generation algorithm has the property of the generated amount relating to the square of each building's population, meaning large towns easily produce more cargo than can realistically be transported. The problem is excessive cargo is amplified if playing with cargodist. The new algorithm introduced instead has a linear relation to the population. The result is that smaller towns will produce slightly more cargo, while the largest towns will produce about a fourth of what they would with the original algorithm. Existing savegames will use the original algorithm, while new games will default to the new algorithm.
2019-02-08Codechange: Make the style of MakeVoid calls uniform (#7192)Gabda
2019-02-04Change: Make ships stop in locks to move up/down instead of following the slope.Peter Nelson
2019-02-02Codechange: Change from numeric to descriptive SLV enum labels for last entries.Peter Nelson
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2018-11-03Add: NewGRF support for 16-in-16-out industriesNiels Martin Hansen
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2018-07-26Change: Move rail type bits from m3 to m8.Peter Nelson
2018-05-02Change: Switch town growth rate and counter to actual game ticks (#6763)Pavel Stupnikov
2018-04-15Codechange: Use a SmallVec for the animated tile list instead of replicating ↵Michael Lutz
most of the logic.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-02-26(svn r27760) -Change: Enable realisitic train and road vehicle acceleration ↵frosch
by default.
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2015-06-27(svn r27320) -Codechange: Do not drop order backups when loading a savegame ↵frosch
for replaying.
2014-10-15(svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵rubidium
spaces)
2014-09-21(svn r26880) -Add: stub settings for limiting bridge and map heightrubidium
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-09-21(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus ↵rubidium
better alignable
2014-09-21(svn r26876) -Codechange: move 'has bride above' data from m6 to typerubidium
2014-09-21(svn r26875) -Codechange: move TropicZone information from m6 to typerubidium
2014-09-21(svn r26873) -Change: split type_height into a type and height array (ic111)rubidium
2014-09-21(svn r26866) -Change: make aircraft ascend/descend when they are too close ↵rubidium
to the ground or too far away (based on patch by ic111)
2014-09-20(svn r26864) -Codechange: bring a bit more OO into the disaster vehiclesrubidium
2014-09-14(svn r26819) -Fix [FS#6112] (r26787): trying to delete just loaded objects ↵rubidium
that had not yet resolved their references caused a crash upon savegame load (only when loading a game from a server, e.g. joining MP)
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
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-12-23(svn r26175) -Add: Log in desync output when persistent storage is discarded.frosch
2013-12-22(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel ↵frosch
through a curve.
2013-11-08(svn r25954) -Fix [FS#5731]: All semaphores got converted to electric ↵rubidium
signals when loading savegames from v15 to v20 (adf88)
2013-11-08(svn r25953) -Fix [FS#5732]: Wrong bits used when converting signal ↵rubidium
types/variants while loading savegames older than v64 (adf88)
2013-10-13(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.frosch