summaryrefslogtreecommitdiff
path: root/src/settings_func.h
AgeCommit message (Collapse)Author
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
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-03-16Remove: OPFCharles Pigott
2013-05-26(svn r25291) -Add: WindowDesc ability to load and store information in a ↵frosch
config file.
2011-11-14(svn r23224) -Codechange: first load the config file partially so we can ↵rubidium
push scanning AIs to later in the process (when the GUI is showing the progress bar)
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-04-07(svn r19577) -Codechange: apply coding style to names of functions in ↵smatz
settings.cpp
2010-04-07(svn r19576) -Codechange: Unduplicating parse_intlist().alberth
2010-01-28(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings ↵yexo
from within a game via the console (use setting_newgame instead of setting)
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-10(svn r16554) -Fix (r16433): compilation with disabled network was brokensmatz
2009-05-26(svn r16444) -Codechange: Set all company settings to their default value ↵yexo
for a new company instead of zeroing them.
2009-05-26(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it ↵yexo
with calls to CmdChangeCompanySetting
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2008-08-11(svn r14041) -Feature(tte): make it possible to filter list_patches output ↵glx
like it's done for other list_* console commands
2008-07-22(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the ↵peter1138
NewGRF window. Presets are saved in the config file.
2008-05-30(svn r13341) -Codechange: make most of the network settings configurable via ↵rubidium
the patch command.
2008-05-26(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing ↵rubidium
the NewGRF settings window.
2008-01-07(svn r11771) -Codechange: split settings.h into better separated headers.rubidium