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

(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'

This commit is contained in:
rubidium
2007-12-25 11:26:07 +00:00
parent bf98e25e43
commit 429521a7d1
134 changed files with 180 additions and 169 deletions

View File

@@ -11,7 +11,6 @@
#include "../../openttd.h"
#include "../../variables.h"
#include "table/strings.h"
#include "../../functions.h"
#include "../network_data.h"
#include "packet.h"

View File

@@ -9,7 +9,6 @@ extern const char _openttd_revision[];
#include "../openttd.h"
#include "../debug.h"
#include "../functions.h"
#include "../string.h"
#include "../strings_func.h"
#include "../map.h"
@@ -31,6 +30,8 @@ extern const char _openttd_revision[];
#include "../md5.h"
#include "../fileio.h"
#include "../texteff.hpp"
#include "../core/random_func.hpp"
#include "../window_func.h"
/* Check whether NETWORK_NUM_LANDSCAPES is still in sync with NUM_LANDSCAPE */
assert_compile((int)NETWORK_NUM_LANDSCAPES == (int)NUM_LANDSCAPE);

View File

@@ -10,7 +10,6 @@
#include "core/tcp.h"
#include "../date.h"
#include "table/strings.h"
#include "../functions.h"
#include "network_client.h"
#include "network_gamelist.h"
#include "network_gui.h"
@@ -23,6 +22,7 @@
#include "../fileio.h"
#include "../md5.h"
#include "../strings_func.h"
#include "../window_func.h"
// This file handles all the client-commands

View File

@@ -11,7 +11,6 @@
#include "../fios.h"
#include "table/strings.h"
#include "../functions.h"
#include "network_data.h"
#include "network_client.h"
#include "network_gui.h"
@@ -26,6 +25,8 @@
#include "../string.h"
#include "../town.h"
#include "../newgrf.h"
#include "../functions.h"
#include "../window_func.h"
#define BGC 5
#define BTC 15

View File

@@ -13,7 +13,6 @@
#include "../aircraft.h"
#include "../date.h"
#include "table/strings.h"
#include "../functions.h"
#include "network_server.h"
#include "network_udp.h"
#include "../console.h"