Commit Graph

27 Commits (save_ext)

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.
5 years ago
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.
5 years ago
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.
5 years ago
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', ..
5 years ago
Charles Pigott f5b1115039 Doc: Lots and lots of doxymentation fixes 6 years ago
Charles Pigott b9273cbe07 Update: Doxyfile 6 years ago
frosch 7e59cf588d (svn r27542) -Fix (r27367) [FS#6427]: ICU got disabled for Windows builds. 8 years ago
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 11 years ago
rubidium 270257ab34 (svn r25504) -Feature [FS#5563]: allow images in the (doxygen) documentation (adf88) 11 years ago
rubidium d94dbfad6a (svn r23852) -Fix [FS#5011]: doxygen went haywire on FINAL token 13 years ago
smatz bcd3f2bb59 (svn r23706) -Codechange: prevent 'unknown command' doxygen errors 13 years ago
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 13 years ago
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 13 years ago
yexo d403d82617 (svn r19102) -Codechange; let doxygen parse as much code as possible 15 years ago
rubidium 21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
rubidium 04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
truebrain da37ab321d (svn r15776) -Fix [DoxyGen]: Our project is called OpenTTD, not openttd (which looks very ugly) 15 years ago
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. 16 years ago
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. 16 years ago
rubidium a2a3a00e17 (svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman. 17 years ago
truelight abf601a1ef (svn r9270) -Backport r9269: add .hpp files to Doxygen output 17 years ago
celestar 4f9b0d5f29 (svn r2808) -Fix: Removed 'kdevelop' from the doxygen project name (thanks tron) 19 years ago
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 19 years ago
celestar 1a1dde7c8d (svn r2557) -Add: Added the AUTOBRIEF option to the Doxyfile 19 years ago
celestar f479013b14 (svn r2545) -Fix: Modified the Doxyfile so that it works on other computers (than mine) as well :) 19 years ago
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)
19 years ago