summaryrefslogtreecommitdiff
path: root/src/bootstrap_gui.cpp
AgeCommit message (Collapse)Author
2019-03-24Codechange: Use override specifier in Window-derived classes.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.
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-04-21Cleanup: Use new filename for README file. (#6738)Ricardo N Feliciano
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-08-05(svn r25664) -Add [FS#4847]: [OSX] Bootstrap downloading of a baseset. ↵michi_cc
(Matthieu)
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-10-16(svn r24597) -Fix [FS#5336]: when fontconfig is not available, the bootstrap ↵rubidium
download crashed
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-19(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a ↵truebrain
Window class
2011-12-16(svn r23544) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-11-20(svn r23273) -Codechange: allow passing a MissingGlyphSearcher to ↵rubidium
CheckForMissingGlyphs (default to the language pack strings)
2011-11-17(svn r23247) -Fix (r23244): compile failure on certain archaic platformsrubidium
2011-11-17(svn r23244) -Feature: if the installation is ananas, try to get the b ↵rubidium
without b installed