1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.

This commit is contained in:
rubidium
2008-01-07 14:23:25 +00:00
parent 38115acf5a
commit a3ccdcea36
62 changed files with 70 additions and 70 deletions

View File

@@ -7,7 +7,7 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
#include "../../string.h"
#include "../../string_func.h"
#include "packet.h"

View File

@@ -9,7 +9,6 @@ extern const char _openttd_revision[];
#include "../openttd.h"
#include "../debug.h"
#include "../string.h"
#include "../strings_func.h"
#include "../map_func.h"
#include "../command_func.h"
@@ -32,6 +31,7 @@ extern const char _openttd_revision[];
#include "../texteff.hpp"
#include "../core/random_func.hpp"
#include "../window_func.h"
#include "../string_func.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "../core/alloc_func.hpp"
#endif

View File

@@ -4,7 +4,6 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../string.h"
#include "../openttd.h"
#include "network_data.h"
#include "core/tcp.h"
@@ -22,6 +21,7 @@
#include "../md5.h"
#include "../strings_func.h"
#include "../window_func.h"
#include "../string_func.h"
// This file handles all the client-commands

View File

@@ -5,11 +5,11 @@
#include "../stdafx.h"
#include "../debug.h"
#include "network_data.h"
#include "../string.h"
#include "network_client.h"
#include "../command_func.h"
#include "../callback_table.h"
#include "../core/alloc_func.hpp"
#include "../string_func.h"
// Add a command to the local command queue
void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)

View File

@@ -3,7 +3,6 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../openttd.h"
#include "../string.h"
#include "../strings_func.h"
#include "../table/sprites.h"
#include "network.h"
@@ -21,12 +20,12 @@
#include "../variables.h"
#include "network_server.h"
#include "network_udp.h"
#include "../string.h"
#include "../town.h"
#include "../newgrf.h"
#include "../functions.h"
#include "../window_func.h"
#include "../core/alloc_func.hpp"
#include "../string_func.h"
#define BGC 5
#define BTC 15

View File

@@ -5,7 +5,6 @@
#include "../stdafx.h"
#include "../openttd.h" // XXX StringID
#include "../debug.h"
#include "../string.h"
#include "../strings_func.h"
#include "network_data.h"
#include "core/tcp.h"
@@ -23,6 +22,7 @@
#include "../genworld.h"
#include "../core/alloc_func.hpp"
#include "../fileio.h"
#include "../string_func.h"
// This file handles all the server-commands

View File

@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../string.h"
#include "network_data.h"
#include "../date_func.h"
#include "../map_func.h"
@@ -20,6 +19,7 @@
#include "../variables.h"
#include "../newgrf_config.h"
#include "../core/endian_func.hpp"
#include "../string_func.h"
#include "core/udp.h"