Age | Commit message (Collapse) | Author |
|
This to be more explicit the function changes the value, and not
returns yes/no.
|
|
|
|
|
|
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.
|
|
|
|
distinction between (non)company
|
|
|
|
|
|
|
|
|
|
|
|
Split the updating in a "static" version that only needs to be called when a new map is loaded or some settings are changed, and a "dynamic" version that updates everything that changes regularly such as the current game date or the number of spectators.
|
|
|
|
|
|
|
|
|
|
(#9006)
|
|
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.
|
|
|
|
|
|
|
|
|
|
Formally it was only done on exit. This means that if it crashes
changes in settings were not stored. This is often rather
frustrating. Additionally, targets (like emscripten) where people
are unlike to use "Exit Game", will never see their configuration
stored.
The drawback is that on every setting change there is some minor
I/O of writing the ini file to disk again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
including FreeType.
Building with FreeType is still possible and will take precedence over the GDI renderer, but
the project files don't include FreeType anymore by default. Combining GDI rendering with ICU
text layout is untested.
|
|
not depend on Freetype and into one that does.
This makes it easier to add other TrueType font rendering engines.
|