Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-22 | Fix: next 67 savegame versions are used in PatchPacks; skip them (#8411) | Patric Stout | |
Various of PatchPacks (Spring 2013, Joker, ChillPP) used versions slightly higher than ours. Of course, as time went by, this caught up with us, and we are now almost pushing a new version that would conflict with them. To avoid users creating unneeded issues about "why can I not load my savegame", lets be ahead of the curve and flat-out refuse to load them. Version-wise, this is totally fine. We have ~32k versions to go before we run out (0x8000 is masked by JGRPP; we should avoid using that). At the rate we bump savegames, this is not going to happen in any sane reality. | |||
2020-12-15 | Add: support for emscripten (play-OpenTTD-in-the-browser) | Patric Stout | |
Emscripten compiles to WASM, which can be loaded via HTML / JavaScript. This allows you to play OpenTTD inside a browser. Co-authored-by: milek7 <me@milek7.pl> | |||
2020-12-06 | Codechange: don't do work GetVariableAddress() is already doing | Patric Stout | |
2020-06-28 | Codechange: Move SlSkipBytes to saveload.h | Jonathan G Rennison | |
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2020-05-21 | Codechange: Store GS lang texts in std::strings. | Michael Lutz | |
2020-05-10 | Fix: Stop any gamelog action when recovering from SlError() | glx | |
2020-01-12 | Fix #7925: Reset temporary saveload data at the start of loading a savegame ↵ | frosch | |
instead of at the end. Otherwise temporary data may be passed from an aborted load action to the next load action. | |||
2019-12-21 | Codechange: Replace FOR_ALL_COMPANIES with range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-04-29 | Cleanup: Delete GetSavegameType function since it's been commented out since ↵ | Charles Pigott | |
2005 | |||
2019-04-13 | Cleanup: Fix alignment after NULL -> nullptr change. | peter1138 | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Remove: 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-06 | Codechange: Use atomic variables for thread synchronization where useful. | Michael Lutz | |
2019-04-06 | Codechange: 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-26 | Cleanup: Remove unused size template parameters from SmallMap and ↵ | Henry Wilson | |
Auto[Free|Delete]SmallVector | |||
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry 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-11 | Codechange: liblzma is called liblzma, how ever strange that might be | Patric 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-13 | Change: Use SlErrorCorrupt() on pool index error when loading a savegame, ↵ | PeterN | |
instead of terminating. (#7219) | |||
2019-02-02 | Codechange: Additional type safety for saveload version variables. | Peter Nelson | |
2019-02-02 | Codechange: Convert saveload numbers to enum values. | Peter Nelson | |
(This was mostly achieved with a few in-place regexes) | |||
2019-02-02 | Codechange: Make saveload version upper bound exclusive, i.e. version object ↵ | Peter Nelson | |
was removed instead of version object last appeared. | |||
2019-01-31 | Feature: 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-30 | Codechange: Remove value mangling and field misuse in SLE_WRITEBYTE. | Peter Nelson | |
The original translation functionality hasn't been used since 2007. | |||
2019-01-24 | Change: Make ships stop and change direction slowly instead of instantly ↵ | Peter Nelson | |
turning. | |||
2019-01-19 | Change: Add path cache for ships. | Peter Nelson | |
2019-01-19 | Change: Add ability to save/load std::deque<> containers. | Peter Nelson | |
2018-11-03 | Add: Industries can produce and accept up to 16 different cargoes | Niels Martin Hansen | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-09-02 | Feature: [NewGRF] Increase size of persistent storage to 256. | Michael Lutz | |
2018-07-26 | Change: Extend rail types to 64 (6 bit storage) | Peter Nelson | |
2018-07-26 | Change: Move rail type bits from m3 to m8. | Peter Nelson | |
2018-06-26 | Change: Increase cargo type limit to 64. | PeterN | |
2018-05-02 | Change: Switch town growth rate and counter to actual game ticks (#6763) | Pavel Stupnikov | |
2018-03-14 | (svn r27990) -Update: Docs | frosch | |
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. |