mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-23 14:39:08 +00:00
(svn r17693) -Cleanup: remove some unneeded includes
This commit is contained in:
@@ -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()
|
||||
|
@@ -15,8 +15,6 @@
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../debug.h"
|
||||
#include "os_abstraction.h"
|
||||
#include "core.h"
|
||||
#include "packet.h"
|
||||
|
||||
|
||||
|
@@ -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.
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "../../debug.h"
|
||||
|
||||
#include "packet.h"
|
||||
#include "tcp.h"
|
||||
|
||||
NetworkTCPSocketHandler::NetworkTCPSocketHandler(SOCKET s) :
|
||||
|
@@ -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"
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../debug.h"
|
||||
#include "tcp_content.h"
|
||||
|
||||
ContentInfo::ContentInfo()
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
||||
/**
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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 */
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user