OpenTTD/src/table
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
..
airport_defaults.h (svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant 2017-08-31 06:55:38 +00:00
airport_movement.h (svn r22741) -Add: Add exit direction of hangars to airport specifications. 2011-08-13 12:43:05 +00:00
airporttile_ids.h (svn r19099) -Doc: two files had the wrong name in the @file comment 2010-02-11 20:52:56 +00:00
airporttiles.h (svn r20623) -Codechange: unify the storing of animation related information 2010-08-26 15:31:40 +00:00
animcursors.h (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
autorail.h
bridge_land.h (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
build_industry.h Add: Industries can produce and accept up to 16 different cargoes 2018-11-03 21:43:54 +01:00
cargo_const.h (svn r23862) -Fix (r23860): Fix sweets capacity. 2012-01-28 14:12:42 +00:00
clear_land.h (svn r23188) -Fix (r23168): fences on steep slopes were broken 2011-11-11 18:01:41 +00:00
company_settings.ini Codechange: Convert saveload numbers to enum values. 2019-02-02 21:39:06 +00:00
control_codes.h Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. (#6737) 2018-04-19 19:33:21 +01:00
currency_settings.ini Codechange: Convert saveload numbers to enum values. 2019-02-02 21:39:06 +00:00
elrail_data.h (svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots. 2018-03-05 21:24:48 +00:00
engines.h Fix: Set MU flag on some default engines. 2019-02-01 07:08:55 +00:00
gameopt_settings.ini Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
genland.h
heightmap_colours.h (svn r26930) -Add: extra shadings to he heightmap colour tables (Chillcore) 2014-09-27 14:51:34 +00:00
industry_land.h (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
landscape_sprite.h (svn r24877) -Fix: some whitespace "errors" 2013-01-01 10:52:32 +00:00
misc_settings.ini Feature: Add option to adjust font size separately from GUI size. (#7003) 2019-02-23 08:27:46 +00:00
newgrf_debug_data.h Add: NewGRF support for 16-in-16-out industries 2018-11-03 21:43:54 +01:00
object_land.h (svn r27183) -Fix: GCC5 compilation 2015-03-13 19:42:49 +00:00
palette_convert.h (svn r23433) -Fix [FS#4868]: recolouring of some animated colours from the windows palette went wrong 2011-12-04 19:07:24 +00:00
palettes.h (svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif) 2015-07-26 09:47:17 +00:00
pricebase.h (svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type. 2012-02-11 22:43:39 +00:00
railtypes.h (svn r24368) -Fix (r24367): Silence GCC warnings. 2012-07-02 15:55:13 +00:00
road_land.h (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 2010-02-07 22:22:54 +00:00
roadveh_movement.h (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 2010-11-20 09:09:57 +00:00
settings.h.postamble (svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names 2011-03-05 11:34:31 +00:00
settings.h.preamble Codechange: lengthof is not defined for runtime-length strings, use sizeof instead 2018-06-27 22:54:46 +02:00
settings.ini Remove: ENABLE_NETWORK switch 2019-03-20 19:24:55 +01:00
sprites.h Feature: Group liveries, and livery window usability enhancements. (#7108) 2019-01-31 14:57:44 +01:00
station_land.h (svn r23010) -Add [FS#4797]: Support company colour for the airports' jetways (zeroeight) 2011-10-07 07:56:30 +00:00
strgen_tables.h Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. (#6737) 2018-04-19 19:33:21 +01:00
string_colours.h (svn r27378) -Codechange: Fix indentation of the table values, allow Doxygen to link to the TextColour enum. 2015-08-10 10:04:14 +00:00
town_land.h Add: Houses can accept up to 16 different cargo types via NewGRF. 2019-01-21 16:06:25 +01:00
townname.h Fix: spelling for a few real town names (#7338) 2019-03-07 17:52:57 +00:00
track_land.h
train_cmd.h (svn r26130) -Codechange: add some guards against using invalid image indices 2013-11-26 16:08:58 +00:00
tree_land.h
unicode.h (svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font 2011-12-17 21:42:11 +00:00
water_land.h (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
win32_settings.ini Codechange: Convert saveload numbers to enum values. 2019-02-02 21:39:06 +00:00
window_settings.ini Codechange: Convert saveload numbers to enum values. 2019-02-02 21:39:06 +00:00