summaryrefslogtreecommitdiff
path: root/src/table/gameopt_settings.ini
AgeCommit message (Collapse)Author
2019-04-29Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them ↵Charles Pigott
properly
2019-04-11Codechange: NULL -> nullptr in settings files.peter1138
2019-03-20Remove: ENABLE_NETWORK switchPatric Stout
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to.
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2019-02-02Codechange: Make saveload version upper bound exclusive, i.e. version object ↵Peter Nelson
was removed instead of version object last appeared.
2014-01-02(svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... ↵frosch
files through str_validate.
2013-06-29(svn r25508) -Change: split unit localisation choice into a choice per type ↵rubidium
of unit, and move it to the advanced settings -Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units -Feature: have weights and volumes in imperial units (short tons, gallons)
2013-03-09(svn r25072) -Codechange: Don't require the custom currency to be the last ↵planetmaker
defined one
2012-12-23(svn r24843) -Codechange: Move news display options into the general ↵frosch
settings framework. (based on patch by eagle_rainbow)
2012-12-05(svn r24790) -Remove: Classic difficulty profiles.frosch
2012-12-05(svn r24789) -Add: Separate setting to control the default settings of newly ↵frosch
added scripts and random AIs.
2012-12-05(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles ↵frosch
and highscore tables.
2012-12-05(svn r24785) -Add: Various methods to open the OSK. (based on patch by ↵frosch
Eagle_rainbow)
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-11-25(svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames ↵rubidium
wasn't retrieved from the savegame anymore
2011-11-17(svn r23239) -Fix: saving/loading the snow line height twice, especially ↵rubidium
when the values are not the same causes some nasty problems... like desyncs
2011-11-03(svn r23084) -Codechange: get rid of a redundant variablerubidium
2011-03-06(svn r22210) -Add: Add a variable for the value strings in the settings tables.alberth
2011-03-06(svn r22207) -Add: Add the copyright message to the new ini files.alberth
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 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-05(svn r22196) -Codechange: use default values for the from and to of savegame ↵rubidium
versions as well
2011-03-05(svn r22194) -Codechange: use the defaults feature of settingsgen to remove ↵rubidium
the need to state the "default" value for all items
2011-03-03(svn r22172) -Add: Add ini files containing the table/settings data.alberth