mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
(svn r11818) -Codechange: split player.h into smaller pieces.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "os_abstraction.h"
|
||||
#include "core.h"
|
||||
#include "packet.h"
|
||||
#include "../../tile_type.h"
|
||||
|
||||
/**
|
||||
* Enum with all types of UDP packets.
|
||||
|
@@ -32,6 +32,7 @@ extern const char _openttd_revision[];
|
||||
#include "../core/random_func.hpp"
|
||||
#include "../window_func.h"
|
||||
#include "../string_func.h"
|
||||
#include "../player_func.h"
|
||||
#ifdef DEBUG_DUMP_COMMANDS
|
||||
#include "../core/alloc_func.hpp"
|
||||
#endif /* DEBUG_DUMP_COMMANDS */
|
||||
|
@@ -5,7 +5,8 @@
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#include "../player.h"
|
||||
#include "../player_type.h"
|
||||
#include "../economy_type.h"
|
||||
#include "core/config.h"
|
||||
#include "core/game.h"
|
||||
|
||||
|
@@ -22,6 +22,9 @@
|
||||
#include "../strings_func.h"
|
||||
#include "../window_func.h"
|
||||
#include "../string_func.h"
|
||||
#include "../player_func.h"
|
||||
#include "../player_base.h"
|
||||
#include "../player_gui.h"
|
||||
|
||||
// This file handles all the client-commands
|
||||
|
||||
|
@@ -11,6 +11,7 @@
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../string_func.h"
|
||||
#include "../date_func.h"
|
||||
#include "../player_func.h"
|
||||
|
||||
// Add a command to the local command queue
|
||||
void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../string_func.h"
|
||||
#include "../gfx_func.h"
|
||||
#include "../player_func.h"
|
||||
|
||||
#define BGC 5
|
||||
#define BTC 15
|
||||
|
@@ -23,6 +23,9 @@
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../fileio.h"
|
||||
#include "../string_func.h"
|
||||
#include "../player_base.h"
|
||||
#include "../player_func.h"
|
||||
#include "../player_gui.h"
|
||||
|
||||
// This file handles all the server-commands
|
||||
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include "../newgrf_config.h"
|
||||
#include "../core/endian_func.hpp"
|
||||
#include "../string_func.h"
|
||||
#include "../player_base.h"
|
||||
#include "../player_func.h"
|
||||
|
||||
#include "core/udp.h"
|
||||
|
||||
|
Reference in New Issue
Block a user