1
0
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:
rubidium
2008-01-12 14:10:35 +00:00
parent cbbc53e8f8
commit ac528411df
114 changed files with 295 additions and 189 deletions

View File

@@ -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.

View File

@@ -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 */

View File

@@ -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"

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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"