summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.h
AgeCommit message (Collapse)Author
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵Charles Pigott
that followed
2020-05-21Codechange: Store GS lang texts in std::strings.Michael Lutz
2020-05-06Fix: reset roadtype/streetcartype info for non-road bridgesYexo
2020-02-08Change: Heading for 1.11 nowglx
2020-02-06Feature: SLF_HEX to print hexadecimal numbers in the config fileJohannes E. Krause
2019-12-28Feature: Configurable game ending yearNiels Martin Hansen
Functionally reverts 683b65ee1
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-19Fix: Bump savegame versionJack Baron
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-11Change: Limit memory allocations for each Squirrel instanceNiels Martin Hansen
This can avoid out-of-memory situations due to single scripts using up the entire address space. Instead, scripts that go above the maximum are killed. The maximum is default 1 GB per script, but can be configured by a setting.
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Change: Bump savegame version for tree tile water class conversion.Peter Nelson
2019-03-16Remove: OPFCharles Pigott
2019-03-08Add: Road vehicle path cache. (#7261)PeterN
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-08Change: Add configurable curve penalty for ships.Peter Nelson
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-03-03Change: Heading for 1.10 now (#7319)frosch
2019-02-13Change: Use SlErrorCorrupt() on pool index error when loading a savegame, ↵PeterN
instead of terminating. (#7219)
2019-02-04Fix #6803: CargoMonitorID bit packing updated to handle 64 cargo types.Peter Nelson
This requires a saveload bump to change the bitpacking on loading older saves.
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: Additional type safety for saveload version variables.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.
2019-01-30Codechange: Remove value mangling and field misuse in SLE_WRITEBYTE.Peter Nelson
The original translation functionality hasn't been used since 2007.
2019-01-19Change: Add ability to save/load std::deque<> containers.Peter Nelson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-27Codechange: lengthof is not defined for runtime-length strings, use sizeof ↵Charles Pigott
instead
2017-02-26(svn r27757) -Change: Make StringID 32bit.frosch
2016-09-04(svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵alberth
SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04(svn r27651) -Codechange: Introduce methods for setting the name and title ↵alberth
of _file_to_saveload.
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2016-09-04(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType ↵alberth
function.
2016-09-04(svn r27636) -Codechange: Rename FileType to AbstractFileType.alberth
2016-09-04(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure ↵alberth
definitions.
2014-05-16(svn r26591) -Add: some instrumentation to catch most cases where the wrong ↵rubidium
number of bytes would be written into variables during loading (or read during saving)
2013-08-08(svn r25702) -Add: about 3000 years of savegame compatibility.frosch
2013-05-19(svn r25258) -Codechange: save linkgraph (fonsinchen)rubidium
2011-12-19(svn r23603) -Add: support for control commands in strings, in both network ↵truebrain
and safe/load (Rubidium)
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-11-12(svn r23195) -Codechange: if we really need to cast away constness, use ↵rubidium
const_cast
2011-09-03(svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.hfrosch
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-03-05(svn r22198) -Codechange: make some constants name more explicitrubidium
2011-02-12(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after ↵rubidium
requesting the map
2011-02-08(svn r22025) -Fix: verify there is enough space in the pool when creating ↵smatz
new pool items while loading old savegames
2010-12-05(svn r21395) -Codechange: move the save and load filter's interface to a headerrubidium