summaryrefslogtreecommitdiff
path: root/src/saveload/industry_sl.cpp
AgeCommit message (Collapse)Author
2019-04-13Cleanup: Fix alignment after NULL -> nullptr change.peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
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-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)
2019-02-02Codechange: Make saveload version upper bound exclusive, i.e. version object ↵Peter Nelson
was removed instead of version object last appeared.
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-09-02Feature: [NewGRF] Increase size of persistent storage to 256.Michael Lutz
2017-10-25(svn r27929) -Cleanup: Remove unused Industry::random_triggersfrosch
2015-05-21(svn r27291) -Fix (r27278) [FS#6303]: Some savegame data was discarded again ↵frosch
during loading.
2015-05-09(svn r27278) -Fix: Handle savegames with an unexpected amount of ↵frosch
industry-builder or NewGRF entity-mapping more gracefully.
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
2013-12-23(svn r26175) -Add: Log in desync output when persistent storage is discarded.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2010-11-13(svn r21170) -Codechange: Store industry management data in the save game ↵alberth
(some of it is used in the very near future).
2010-08-11(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id ↵rubidium
-> OpenTTD spec mappings
2010-08-02(svn r20311) -Codechange: don't reserve extra space in the savegame that is ↵yexo
never used
2010-06-13(svn r19973) -Codechange: Add another procedure to chunk handlers for ↵frosch
checking savegames (empty for now).
2010-03-20(svn r19481) -Codechange: Turn _industry_counts into a static member of ↵frosch
Industry.
2010-03-12(svn r19392) -Codechange: Increase the maximum size of a TileArea.terkhen
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-24(svn r16944) -Codechange: remove needlessly complex way of getting the ↵rubidium
offset of items within a struct that are within a struct
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz