mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../string.h"
|
||||
#include "../../helpers.hpp"
|
||||
|
||||
#include "packet.h"
|
||||
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#include "../network_data.h"
|
||||
#include "packet.h"
|
||||
#include "tcp.h"
|
||||
#include "../../helpers.hpp"
|
||||
|
||||
/** Very ugly temporary hack !!! */
|
||||
void NetworkTCPSocketHandler::Initialize()
|
||||
|
@@ -10,6 +10,7 @@
|
||||
#include "../../debug.h"
|
||||
#include "../../core/bitmath_func.hpp"
|
||||
#include "../../core/math_func.hpp"
|
||||
#include "../../core/alloc_func.hpp"
|
||||
#include "packet.h"
|
||||
#include "udp.h"
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include "../console.h"
|
||||
#include "../variables.h"
|
||||
#include "../ai/ai.h"
|
||||
#include "../helpers.hpp"
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../fileio.h"
|
||||
#include "../md5.h"
|
||||
#include "../strings_func.h"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
#include "network_client.h"
|
||||
#include "../command_func.h"
|
||||
#include "../callback_table.h"
|
||||
#include "../helpers.hpp"
|
||||
#include "../core/alloc_func.hpp"
|
||||
|
||||
// Add a command to the local command queue
|
||||
void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include "../stdafx.h"
|
||||
#include "../debug.h"
|
||||
#include "../newgrf_config.h"
|
||||
#include "../helpers.hpp"
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "core/game.h"
|
||||
#include "network_udp.h"
|
||||
#include "network_gamelist.h"
|
||||
|
@@ -26,7 +26,6 @@
|
||||
#include "../string.h"
|
||||
#include "../town.h"
|
||||
#include "../newgrf.h"
|
||||
#include "../helpers.hpp"
|
||||
|
||||
#define BGC 5
|
||||
#define BTC 15
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "../station.h"
|
||||
#include "../variables.h"
|
||||
#include "../genworld.h"
|
||||
#include "../helpers.hpp"
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../fileio.h"
|
||||
|
||||
// This file handles all the server-commands
|
||||
|
Reference in New Issue
Block a user