Age | Commit message (Collapse) | Author |
|
ints valid and writing ints
|
|
strings valid and writing strings
|
|
|
|
|
|
|
|
|
|
|
|
And by doing so remove the hack where ints were put into pointers so "def" could either be an int or a string
|
|
|
|
|
|
|
|
|
|
|
|
sub classes
|
|
Not using vectors as those require copying from the initializer list and that
makes unique_ptrs to the actual SettingDesc objects later impossible.
|
|
|
|
The comments for SettingDescType; it is a byte, so not 4 bytes and since it is not a flag there are about 250 other possibilities left instead of 9.
SettingGuiFlag is uint16 so has 2 bytes allocated.
SettingDescGlobVarList and related comments imply that global vars cannot be used elsewhere, but they are used for settings just fine. Even then the type is not used anywhere else but the definition of the table.
|
|
distinction between (non)company
|
|
|
|
line height)
Setting the snow coverage (in % of the map) makes a lot more sense
to the human, while still allowing the niche player to set (by
finding the correct %) a snow line height they like. This makes for
easier defaults, as it decoupled terrain height from amount of snow.
Maps can never be 100% snow, as we do not have sprites for coastal
tiles.
Internally, this calculates the best snow line height to approach
this coverage as close as possible.
|
|
|
|
|
|
|
|
properly
|
|
Eagle_rainbow)
|
|
|
|
|
|
|
|
settings GUI. (Eagle_rainbow)
|
|
|
|
'strval' in the ini files.
|
|
values (one before life time and one after).
|
|
|
|
|
|
TTD savegames do not contain these settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console due to strcpy-ing a string into a pointer
|
|
and DECLARE_ENUM_AS_BIT_SET
|
|
from within a game via the console (use setting_newgame instead of setting)
|
|
if a header require a header make it include that header
|
|
settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor.
|
|
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
|
|
TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
|