summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.cpp
AgeCommit message (Collapse)Author
2019-04-09Remove: AutoFreeSmallVector.Michael Lutz
The last use was for storing a list of memory blocks. As the way these lists are accessed is very specific, it is easier to just write an explicit destructor instead of trying to exactly match the behaviour.
2019-04-06Codechange: Use atomic variables for thread synchronization where useful.Michael Lutz
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-11Codechange: liblzma is called liblzma, how ever strange that might bePatric Stout
It is the only library we use that calls itself with 'lib' in the name. This might be confusing, but with the arrival of cmake a lot of these things are automated. And detection will find 'liblzma', not 'lzma', like with 'lzo', 'zlib', ..
2019-02-13Change: Use SlErrorCorrupt() on pool index error when loading a savegame, ↵PeterN
instead of terminating. (#7219)
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-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
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-24Change: Make ships stop and change direction slowly instead of instantly ↵Peter Nelson
turning.
2019-01-19Change: Add path cache for ships.Peter Nelson
2019-01-19Change: Add ability to save/load std::deque<> containers.Peter Nelson
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-09-02Feature: [NewGRF] Increase size of persistent storage to 256.Michael Lutz
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2018-07-26Change: Move rail type bits from m3 to m8.Peter Nelson
2018-06-26Change: Increase cargo type limit to 64.PeterN
2018-05-02Change: Switch town growth rate and counter to actual game ticks (#6763)Pavel Stupnikov
2018-03-14(svn r27990) -Update: Docsfrosch
2018-03-11(svn r27978) -Fix [FS#6673] (r18541): Store the map variety setting in the ↵frosch
samegame like the other mapgen settings, so restarting maps considers it. (Samu)
2017-03-13(svn r27793) -Fix [FS#6450]: Use of uninitialised variable cause lzo to ↵peter1138
fail. Add check for error status.
2017-03-11(svn r27778) -Change [FS#6442-ish]: Convenience savegame bump to distinguish ↵frosch
1.7 savegames from 1.6 savegames.
2016-12-25(svn r27709) -Fix-ish: Silence some warnings. (adf88)frosch
2016-10-30(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) ↵frosch
threads. (JGR)
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 r27652) -Fix(r27650): Use the file operation being performed to set the ↵alberth
_sl.action variable.
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 r27649) -Codechange: Introduce detailed file type enum, rebuild ↵alberth
FiosType with it.
2016-09-04(svn r27639) -Codechange: Also always set the abstract ↵alberth
FileToSaveLoad::filetype when setting a mode.
2016-09-04(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType ↵alberth
function.
2016-09-04(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure ↵alberth
definitions.
2016-08-15(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.frosch
2016-05-22(svn r27572) -Fix [FS#6442]: Convenience savegame bump to distinguish 1.6 ↵frosch
savegames from 1.5 savegames.
2016-03-01(svn r27518) -Update: Numbersfrosch
2015-05-09(svn r27278) -Fix: Handle savegames with an unexpected amount of ↵frosch
industry-builder or NewGRF entity-mapping more gracefully.
2015-03-17(svn r27192) -Change: heading for 1.6 nowfrosch
2014-10-12(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some ↵rubidium
comments
2014-09-21(svn r26881) -Codechange: bump the savegame versionrubidium
2014-09-07(svn r26802) -Add: Command to set visibility of an engine for a company ↵alberth
(based on patch by Juanjo).
2014-07-21(svn r26700) -Fix [FS#6066]: incorrect saving of order backupsrubidium
2014-06-17(svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << ↵fonsinchen
32) - 1
2014-06-14(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link ↵fonsinchen
graphs to reduce size.
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)