summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/address.cpp3
-rw-r--r--src/network/core/core.cpp2
-rw-r--r--src/network/core/host.cpp3
-rw-r--r--src/network/core/tcp.cpp1
-rw-r--r--src/network/core/tcp_connect.cpp2
-rw-r--r--src/network/core/tcp_content.cpp1
-rw-r--r--src/network/core/tcp_game.cpp3
-rw-r--r--src/network/core/udp.cpp5
-rw-r--r--src/network/network.cpp5
-rw-r--r--src/network/network_client.cpp3
-rw-r--r--src/network/network_command.cpp2
-rw-r--r--src/network/network_content.cpp2
-rw-r--r--src/network/network_content_gui.cpp2
-rw-r--r--src/network/network_gamelist.cpp2
-rw-r--r--src/network/network_gui.cpp4
-rw-r--r--src/network/network_server.cpp2
-rw-r--r--src/network/network_udp.cpp4
17 files changed, 0 insertions, 46 deletions
diff --git a/src/network/core/address.cpp b/src/network/core/address.cpp
index 676fc66c3..4e1237577 100644
--- a/src/network/core/address.cpp
+++ b/src/network/core/address.cpp
@@ -14,9 +14,6 @@
#ifdef ENABLE_NETWORK
#include "address.h"
-#include "config.h"
-#include "host.h"
-#include "../../string_func.h"
#include "../../debug.h"
const char *NetworkAddress::GetHostname()
diff --git a/src/network/core/core.cpp b/src/network/core/core.cpp
index 76f62bced..76049f6fb 100644
--- a/src/network/core/core.cpp
+++ b/src/network/core/core.cpp
@@ -15,8 +15,6 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "os_abstraction.h"
-#include "core.h"
#include "packet.h"
diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp
index d622e2e8c..0af0f7992 100644
--- a/src/network/core/host.cpp
+++ b/src/network/core/host.cpp
@@ -13,10 +13,7 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "os_abstraction.h"
#include "address.h"
-#include "../../core/alloc_func.hpp"
-#include "../../string_func.h"
/**
* Internal implementation for finding the broadcast IPs.
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp
index 032af3c50..2064945a7 100644
--- a/src/network/core/tcp.cpp
+++ b/src/network/core/tcp.cpp
@@ -16,7 +16,6 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "packet.h"
#include "tcp.h"
NetworkTCPSocketHandler::NetworkTCPSocketHandler(SOCKET s) :
diff --git a/src/network/core/tcp_connect.cpp b/src/network/core/tcp_connect.cpp
index 5d5d2feba..5585ae5a7 100644
--- a/src/network/core/tcp_connect.cpp
+++ b/src/network/core/tcp_connect.cpp
@@ -14,8 +14,6 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
-#include "../../core/smallvec_type.hpp"
#include "../../thread/thread.h"
#include "tcp.h"
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index a56f31d8d..423516f2e 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -14,7 +14,6 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
#include "tcp_content.h"
ContentInfo::ContentInfo()
diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp
index ffa2b07f9..b0c685378 100644
--- a/src/network/core/tcp_game.cpp
+++ b/src/network/core/tcp_game.cpp
@@ -15,11 +15,8 @@
#include "../../stdafx.h"
#include "../../openttd.h"
-#include "../../variables.h"
#include "../network_internal.h"
-#include "packet.h"
-#include "tcp_game.h"
#include "../../core/pool_func.hpp"
#include "table/strings.h"
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 6c03343d0..6ab412d84 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -14,12 +14,7 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
-#include "../../core/bitmath_func.hpp"
-#include "../../core/math_func.hpp"
-#include "../../core/alloc_func.hpp"
#include "../../date_func.h"
-#include "packet.h"
#include "udp.h"
/**
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 6e3640692..55794fa4d 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -10,14 +10,12 @@
/** @file network.cpp Base functions for networking support. */
#include "../stdafx.h"
-#include "../company_type.h"
#ifdef ENABLE_NETWORK
#include "../openttd.h"
#include "../strings_func.h"
#include "../command_func.h"
-#include "../variables.h"
#include "../date_func.h"
#include "network_internal.h"
#include "network_client.h"
@@ -32,13 +30,10 @@
#include "../3rdparty/md5/md5.h"
#include "../core/random_func.hpp"
#include "../window_func.h"
-#include "../string_func.h"
#include "../company_func.h"
#include "../company_base.h"
-#include "../settings_type.h"
#include "../landscape_type.h"
#include "../rev.h"
-#include "../core/alloc_func.hpp"
#include "../core/pool_func.hpp"
#ifdef DEBUG_DUMP_COMMANDS
#include "../fileio_func.h"
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index f1c7e7d1a..95b34ef1b 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -14,7 +14,6 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../openttd.h"
-#include "../gfx_func.h"
#include "network_internal.h"
#include "network_gui.h"
#include "../saveload/saveload.h"
@@ -24,11 +23,9 @@
#include "../3rdparty/md5/md5.h"
#include "../strings_func.h"
#include "../window_func.h"
-#include "../string_func.h"
#include "../company_func.h"
#include "../company_base.h"
#include "../company_gui.h"
-#include "../settings_type.h"
#include "../rev.h"
#include "table/strings.h"
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index bff93ba40..d0aeb081e 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -17,8 +17,6 @@
#include "network_client.h"
#include "../command_func.h"
#include "../callback_table.h"
-#include "../core/alloc_func.hpp"
-#include "../string_func.h"
#include "../company_func.h"
/** Local queue of packets */
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index 1507c900f..529ece802 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -13,8 +13,6 @@
#include "../stdafx.h"
#include "../rev.h"
-#include "../fileio_func.h"
-#include "../string_func.h"
#include "../ai/ai.hpp"
#include "../window_func.h"
#include "../gui.h"
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 8f94dd07e..906796eb8 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -11,11 +11,9 @@
#if defined(ENABLE_NETWORK)
#include "../stdafx.h"
-#include "../string_func.h"
#include "../strings_func.h"
#include "../gfx_func.h"
#include "../window_func.h"
-#include "../window_gui.h"
#include "../gui.h"
#include "../ai/ai.hpp"
#include "../base_media_base.h"
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp
index 5ac4ad1df..cef15affa 100644
--- a/src/network/network_gamelist.cpp
+++ b/src/network/network_gamelist.cpp
@@ -16,9 +16,7 @@
#include "../stdafx.h"
#include "../debug.h"
-#include "../core/alloc_func.hpp"
#include "../thread/thread.h"
-#include "../string_func.h"
#include "network_internal.h"
#include "network_udp.h"
#include "network_gamelist.h"
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 12a3aacb4..41685aab9 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -20,18 +20,14 @@
#include "network_gui.h"
#include "network_gamelist.h"
#include "../gui.h"
-#include "network_server.h"
#include "network_udp.h"
#include "../window_func.h"
-#include "../string_func.h"
#include "../gfx_func.h"
-#include "../settings_type.h"
#include "../widgets/dropdown_func.h"
#include "../querystring_gui.h"
#include "../sortlist_type.h"
#include "../company_base.h"
#include "../company_func.h"
-#include "../core/sort_func.hpp"
#include "table/strings.h"
#include "../table/sprites.h"
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 46fd1e480..86f4739be 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -25,10 +25,8 @@
#include "../station_base.h"
#include "../genworld.h"
#include "../fileio_func.h"
-#include "../string_func.h"
#include "../company_func.h"
#include "../company_gui.h"
-#include "../settings_type.h"
#include "../window_func.h"
#include "../openttd.h"
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 7785f635b..7f65d1658 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -22,12 +22,8 @@
#include "network_gamelist.h"
#include "network_internal.h"
#include "network_udp.h"
-#include "core/host.h"
#include "../core/endian_func.hpp"
-#include "../core/alloc_func.hpp"
-#include "../string_func.h"
#include "../company_base.h"
-#include "../settings_type.h"
#include "../thread/thread.h"
#include "../rev.h"