summaryrefslogtreecommitdiff
path: root/src/table/settings.h.preamble
AgeCommit message (Collapse)Author
2021-02-13Codechange: Don't use cpp_offsetof in the save/load code.Michael Lutz
Many of the member variables that are used in save/load are inside types that are not standard layout types. Using pointer arithmetics to determine addresses of members inside types that are not standard layout is generally undefined behaviour. If we'd use C++17, it is conditionally supported, which means each compiler may or may not support it. And even then using it for individual array elements is syntactically not supported the the standard offsetof function. Unfortunately, the trickery employed for saving linkgraph settings causes quite some clutter in the settings ini files.
2020-06-05Cleanup: Add note explaining how settings.h is generated from source.TechGeekNZ
2020-06-05Cleanup: Fix typo in settings.h.preamble.TechGeekNZ
2020-05-21Codechange: Store base set related texts in std::strings.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-29Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them ↵Charles Pigott
properly
2019-04-11Codechange: NULL -> nullptr in settings files.peter1138
2018-06-27Codechange: lengthof is not defined for runtime-length strings, use sizeof ↵Charles Pigott
instead
2013-02-14(svn r24991) -Doc: Clarify comments regarding settings macros.matthijs
2012-11-08(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. ↵frosch
settings GUI. (Eagle_rainbow)
2012-05-12(svn r24234) -Add: Add help-string infrastructure to the ini filesalberth
2011-05-29(svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1frosch
2011-03-06(svn r22210) -Add: Add a variable for the value strings in the settings tables.alberth
2011-03-06(svn r22209) -Codechange: Move function declarations from ↵alberth
settings.h.preamble to the ini file that uses it.
2011-03-05(svn r22202) -Codechange: make MusicFileSettings a proper citizen of the ↵rubidium
client settings
2011-03-05(svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with ↵rubidium
their more clearly named (longer) constant names
2011-03-05(svn r22198) -Codechange: make some constants name more explicitrubidium
2011-03-05(svn r22197) -Cleanup: remove the distinction between conditional and ↵rubidium
non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded
2011-03-03(svn r22173) -Add: Add preamble and postamble files before and after the ↵alberth
generated settings data.