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:
@@ -11,7 +11,6 @@
|
||||
#include "../../openttd.h"
|
||||
#include "../../variables.h"
|
||||
#include "table/strings.h"
|
||||
#include "../../functions.h"
|
||||
|
||||
#include "../network_data.h"
|
||||
#include "packet.h"
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user