Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-27 | Codechange: Even more std::string usage in file IO. | Michael Lutz | |
2020-12-27 | Codechange: Convert some more FIO functions to take std::string. | Michael Lutz | |
2020-12-27 | Cleanup: Remove unused ChunkType flag CH_AUTO_LENGTH | cirdan | |
CH_AUTO_LENGTH is no longer used anywhere, so remove all code that depends on it. | |||
2020-12-22 | Feature: Set exclusive access to industry from GS (#8115) | Pavel Stupnikov | |
2020-12-22 | Feature: Influence industry production changes from GS (#7912) | Niels Martin Hansen | |
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-06 | Fix: do not add an offset to a nullptr | Patric Stout | |
This is, by specs, undefined behaviour. See https://reviews.llvm.org/D67122 In cases where this is done, optimizations done by LLVM can generate code that causes crashes. GetVariableAddress() had two (legit) ways this could happen: - For SaveLoad set to global - For SaveLoad set to SLE_VAR_NULL, where sld->address is always a nullptr, and object could or could not be a nullptr. | |||
2020-07-27 | Codechange #8258: Remove unused town cargo caches from the savegame | dP | |
2020-06-28 | Revert #8157: Redundant change | dP | |
2020-06-28 | Fix: Incorrect save/load array size of Town::cargo_accepted | Jonathan G Rennison | |
In 11ab3c4e the number of cargo types was changed from 32 to 64. The save/load of Town::cargo_accepted was not updated, such that only half of the data structure is saved/loaded in savegame versions 199 to 218. Discard and regenerate data from all savegame versions prior to 219. | |||
2020-06-28 | Codechange: Move SlSkipBytes to saveload.h | Jonathan G Rennison | |
2020-06-27 | Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵ | Charles Pigott | |
that followed | |||
2020-05-21 | Codechange: Store GS lang texts in std::strings. | Michael Lutz | |
2020-05-06 | Fix: reset roadtype/streetcartype info for non-road bridges | Yexo | |
2020-02-08 | Change: Heading for 1.11 now | glx | |
2020-02-06 | Feature: SLF_HEX to print hexadecimal numbers in the config file | Johannes E. Krause | |
2019-12-28 | Feature: Configurable game ending year | Niels Martin Hansen | |
Functionally reverts 683b65ee1 | |||
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-10-19 | Fix: Bump savegame version | Jack Baron | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-06-30 | Feature: Multi-tile docks and docking points. | peter1138 | |
2019-05-11 | Change: Limit memory allocations for each Squirrel instance | Niels 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-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-24 | Change: Bump savegame version for tree tile water class conversion. | Peter Nelson | |
2019-03-16 | Remove: OPF | Charles Pigott | |
2019-03-08 | Add: Road vehicle path cache. (#7261) | PeterN | |
2019-03-08 | Feature: 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-08 | Change: Add configurable curve penalty for ships. | Peter Nelson | |
2019-03-04 | Add: Option for population-linear town cargo generation | Niels 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-03 | Change: Heading for 1.10 now (#7319) | frosch | |
2019-02-13 | Change: Use SlErrorCorrupt() on pool index error when loading a savegame, ↵ | PeterN | |
instead of terminating. (#7219) | |||
2019-02-04 | Fix #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-04 | Change: Make ships stop in locks to move up/down instead of following the slope. | Peter Nelson | |
2019-02-02 | Codechange: Change from numeric to descriptive SLV enum labels for last entries. | Peter Nelson | |
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-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-19 | Change: Add ability to save/load std::deque<> containers. | Peter Nelson | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-06-27 | Codechange: 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) |