summaryrefslogtreecommitdiff
path: root/src/saveload/newgrf_sl.cpp
AgeCommit message (Collapse)Author
2021-06-06Codechange: Remove FOR_ALL_CHUNK_HANDLERSglx22
Co-Authored-By: Patric Stout <truebrain@openttd.org>
2021-05-31Codechange: C++-ify lists for SaveLoad (#9323)Patric Stout
Basically, this changes "SaveLoad *" to either: 1) "SaveLoadTable" if a list of SaveLoads was meant 2) "SaveLoad &" if a single entry was meant As added bonus, this removes SL_END / SLE_END / SLEG_END. This also adds core/span.hpp, a "std::span"-lite.
2021-05-12Fix #9202: Invalid test for unset NewGRF override mapping. (#9226)PeterN
2021-05-08Codechange: Don't save unused NewGRF override mappings. (#9202)PeterN
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2017-03-07(svn r27772) -Fix [FS#5819]: If the intro game had a savegame version which ↵frosch
contains a NewGRF configuration, then townname NewGRFs would not be activated in the game options.
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
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-08-22(svn r22811) -Change: don't try to load static NewGRFs when loading the ↵rubidium
intro game for the first time
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-11-21(svn r21284) -Codechange: Rename CheckSavegameVersion() to ↵alberth
IsSavegameVersionBefore().
2010-10-12(svn r20918) -Add: Store NewGRF version information from Action14 in ↵frosch
savegame. (planetmaker)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-11(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id ↵rubidium
-> OpenTTD spec mappings
2010-07-31(svn r20253) -Codechange: change GRFConfig::windows_paletted into a ↵rubidium
bitmask/bitset
2010-07-31(svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) ↵rubidium
palette for NewGRFs
2010-06-13(svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK.frosch
2010-06-13(svn r19973) -Codechange: Add another procedure to chunk handlers for ↵frosch
checking savegames (empty for now).
2010-02-25(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make ↵yexo
sure all members are properly initialized
2010-02-25(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of ↵yexo
subclassing it
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
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-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz