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-15 | Codechange: mark chunks that are not stored as CH_READONLY | Patric Stout | |
This makes it easier to spot chunks that have a save_proc that is a nullptr, but also prevents confusion, where it looks like the CH_ type of a chunk has influence on how it is being read. It is not, it is only used for saving. | |||
2021-06-15 | Change: prefix SL_ARR with the length of the array | Patric Stout | |
This means that during loading we can validate that what is saved is also that what is expected. Additionally, this makes all list types similar to how they are stored on disk: First a gamma to indicate length, followed by the data. The size still depends on the type. | |||
2021-06-06 | Codechange: Remove FOR_ALL_CHUNK_HANDLERS | glx22 | |
Co-Authored-By: Patric Stout <truebrain@openttd.org> | |||
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
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) | |||
2017-02-26 | (svn r27756) -Codechange: Add StringTab enum | frosch | |
2017-02-26 | (svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and ↵ | frosch | |
MakeStringID() to access the structure of StringIDs. | |||
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) | |||
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 | |||
2011-09-23 | (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, ↵ | rubidium | |
which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table | |||
2011-08-12 | (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD ↵ | rubidium | |
instead of showing the "savegame corrupted" message | |||
2011-08-12 | (svn r22736) -Codechange: constify some numbers | rubidium | |
2011-05-01 | (svn r22406) -Document: some more "random-ish" tidbits | rubidium | |
2010-11-21 | (svn r21284) -Codechange: Rename CheckSavegameVersion() to ↵ | alberth | |
IsSavegameVersionBefore(). | |||
2010-06-13 | (svn r19973) -Codechange: Add another procedure to chunk handlers for ↵ | frosch | |
checking savegames (empty for now). | |||
2009-11-28 | (svn r18330) -Cleanup: remove some unneeded includes | rubidium | |
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-07-22 | (svn r16921) -Codechange: make it more clear what strings are related to ↵ | rubidium | |
road vehicles; only ROAD isn't always enough. Also unify the way of writing it. | |||
2009-05-22 | (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵ | smatz | |
time, binary size and run time (with asserts disabled) should be improved | |||
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-31 | (svn r15299) -Cleanup: remove many redundant includes | smatz | |
2009-01-23 | (svn r15216) -Feature: native support for Transport Tycoon (Original) ↵ | smatz | |
savegames. Based on SVXConverter's source code and documentation by Roman Vetter | |||
2009-01-04 | (svn r14828) -Codechange: move most of save/load-specific code to separate files | smatz | |