Commit Graph

27 Commits

Author SHA1 Message Date
Patric Stout
e3c639a09f Remove: ENABLE_NETWORK switch
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-20 19:24:55 +01:00
Patric Stout
36105841b9 Codechange: ICU_SORT is in reality ICU_I18N (according to their CMake files)
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
2019-03-11 10:16:00 +01:00
Patric Stout
52d7e7d45e Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files)
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
2019-03-11 10:16:00 +01:00
Patric Stout
7adae09897 Codechange: liblzma is called liblzma, how ever strange that might be
It is the only library we use that calls itself with 'lib' in the
name. This might be confusing, but with the arrival of cmake a lot
of these things are automated. And detection will find 'liblzma',
not 'lzma', like with 'lzo', 'zlib', ..
2019-03-11 10:16:00 +01:00
Charles Pigott
f5b1115039 Doc: Lots and lots of doxymentation fixes 2018-10-31 12:35:54 +01:00
Charles Pigott
b9273cbe07 Update: Doxyfile 2018-10-31 12:35:54 +01:00
frosch
7e59cf588d (svn r27542) -Fix (r27367) [FS#6427]: ICU got disabled for Windows builds. 2016-04-17 16:50:37 +00:00
rubidium
8f89cd6dd3 (svn r25595) -Fix-ish: move the Doxygen .tag files into objs, so they are automatically ignored and removed upon mrproper/distclean. Furthermore remove the gamedocs folder too 2013-07-13 06:44:22 +00:00
rubidium
270257ab34 (svn r25504) -Feature [FS#5563]: allow images in the (doxygen) documentation (adf88) 2013-06-28 20:53:42 +00:00
rubidium
d94dbfad6a (svn r23852) -Fix [FS#5011]: doxygen went haywire on FINAL token 2012-01-25 22:09:51 +00:00
smatz
bcd3f2bb59 (svn r23706) -Codechange: prevent 'unknown command' doxygen errors 2012-01-01 17:36:19 +00:00
truebrain
cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 2011-12-01 12:03:34 +00:00
rubidium
5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 2011-05-01 19:51:52 +00:00
yexo
d403d82617 (svn r19102) -Codechange; let doxygen parse as much code as possible 2010-02-12 12:11:03 +00:00
rubidium
21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
rubidium
04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
rubidium
7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
truebrain
da37ab321d (svn r15776) -Fix [DoxyGen]: Our project is called OpenTTD, not openttd (which looks very ugly) 2009-03-20 10:08:12 +00:00
rubidium
71c44cf7f5 (svn r14116) -Change [Doxygen]: making man-pages of the exports of the source isn't very useful as OpenTTD isn't a library. 2008-08-20 22:43:19 +00:00
rubidium
d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium
a2a3a00e17 (svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman. 2007-09-10 15:21:14 +00:00
truelight
abf601a1ef (svn r9270) -Backport r9269: add .hpp files to Doxygen output 2007-03-17 21:46:24 +00:00
celestar
4f9b0d5f29 (svn r2808) -Fix: Removed 'kdevelop' from the doxygen project name (thanks tron) 2005-08-05 08:31:29 +00:00
celestar
448467a9a1 (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation 2005-07-19 20:45:47 +00:00
celestar
1a1dde7c8d (svn r2557) -Add: Added the AUTOBRIEF option to the Doxyfile 2005-07-13 09:51:01 +00:00
celestar
f479013b14 (svn r2545) -Fix: Modified the Doxyfile so that it works on other computers (than mine) as well :) 2005-07-11 09:12:41 +00:00
celestar
a63bb6f650 (svn r2544) -Add: Added the Doxyfile to the trunk. run "doxygen" to generate html-based documentation on the source code on the fly (about 9MB in size currently).
documentation will be stored in docs/source/html/ (request by blathijs)
2005-07-11 09:00:49 +00:00