Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-06 | Codechange: Use ChunkHandlers sub-classes | glx22 | |
2021-07-06 | Codechange: Use static array of references to ChunkHandler | glx22 | |
2021-07-02 | Add: store headers for most savegame chunks | Patric Stout | |
When a header is added, the chunk changes from CH_ARRAY type to CH_TABLE type. | |||
2021-06-10 | Feature: Configurable subsidy duration | Tyler Trahan | |
2021-06-06 | Codechange: Remove FOR_ALL_CHUNK_HANDLERS | glx22 | |
Co-Authored-By: Patric Stout <truebrain@openttd.org> | |||
2021-05-31 | Codechange: 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. | |||
2019-12-21 | Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
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. | |||
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 | |||
2010-06-13 | (svn r19973) -Codechange: Add another procedure to chunk handlers for ↵ | frosch | |
checking savegames (empty for now). | |||
2009-11-09 | (svn r18028) -Codechange: unglobalise some functions | rubidium | |
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-08-08 | (svn r17124) -Codechange: store subsidies in a pool (instead of an array) | smatz | |
2009-08-08 | (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵ | smatz | |
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies | |||
2009-08-07 | (svn r17107) -Codechange: store type of subsidy source and destination in ↵ | smatz | |
the Subsidy struct instead of determining it every time it's needed | |||
2009-07-01 | (svn r16714) -Codechange: use pool-like accessors for Subsidy | smatz | |
2009-07-01 | (svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over ↵ | smatz | |
all subsidies | |||
2009-05-23 | (svn r16403) -Codechange: move code related to subsidies to separate file | smatz | |
2009-05-17 | (svn r16338) -Codechange: split loading of references to two phases | smatz | |
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers | |||
2009-01-04 | (svn r14829) -Fix (r14828): forgot CH_LAST | smatz | |
2009-01-04 | (svn r14828) -Codechange: move most of save/load-specific code to separate files | smatz | |