summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
AgeCommit message (Collapse)Author
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
2013-10-12(svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common ↵zuu
GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-10-12(svn r25844) -Change: Increase maximum number of object instances on the map ↵frosch
from 64k to about 16M.
2013-10-12(svn r25833) -Codechange: Move ObjectType from map array into pool item.frosch
2013-10-12(svn r25832) -Codechange: Reduce variety of object type test functions.frosch
2013-07-21(svn r25620) -Fix (r25342): Save/load of story books were brokenzuu
2013-06-29(svn r25508) -Change: split unit localisation choice into a choice per type ↵rubidium
of unit, and move it to the advanced settings -Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units -Feature: have weights and volumes in imperial units (short tons, gallons)
2013-06-10(svn r25390) -Fix: add missing compatibility settings in afterload.fonsinchen
2013-06-09(svn r25358) -Codechange: save and load link graph jobs and the schedulefonsinchen
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-06(svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames ↵rubidium
affected by FS#5510 et al. upon loading