mirror of https://github.com/OpenTTD/OpenTTD
(svn r7834) -Codechange: cleanup the includes of network/core a little; include headers in headers when the header needs types/constants defined in them.
parent
bfe4dcbc39
commit
b2f85eb044
|
@ -5,6 +5,10 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "../../date.h"
|
||||||
|
#include "../../newgrf_config.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file game.h Information about a game that is sent between a
|
* @file game.h Information about a game that is sent between a
|
||||||
* game server, game client and masterserver.
|
* game server, game client and masterserver.
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
#include "../../macros.h"
|
#include "../../macros.h"
|
||||||
#include "../../string.h"
|
#include "../../string.h"
|
||||||
|
|
||||||
#include "os_abstraction.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file packet.h Basic functions to create, fill and read packets.
|
* @file packet.h Basic functions to create, fill and read packets.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -9,10 +9,8 @@
|
||||||
#include "table/strings.h"
|
#include "table/strings.h"
|
||||||
#include "../../functions.h"
|
#include "../../functions.h"
|
||||||
|
|
||||||
#include "os_abstraction.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "packet.h"
|
|
||||||
#include "../network_data.h"
|
#include "../network_data.h"
|
||||||
|
#include "packet.h"
|
||||||
#include "tcp.h"
|
#include "tcp.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
|
|
||||||
|
#include "os_abstraction.h"
|
||||||
|
#include "packet.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file tcp.h Basic functions to receive and send TCP packets.
|
* @file tcp.h Basic functions to receive and send TCP packets.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,14 +3,8 @@
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
|
|
||||||
#include "../../stdafx.h"
|
#include "../../stdafx.h"
|
||||||
#include "../../date.h"
|
|
||||||
#include "../../debug.h"
|
#include "../../debug.h"
|
||||||
#include "../../macros.h"
|
#include "../../macros.h"
|
||||||
#include "../../newgrf_config.h"
|
|
||||||
|
|
||||||
#include "os_abstraction.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "game.h"
|
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "udp.h"
|
#include "udp.h"
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
|
|
||||||
|
#include "os_abstraction.h"
|
||||||
|
#include "game.h"
|
||||||
|
#include "packet.h"
|
||||||
|
#include "../../newgrf_config.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file udp.h Basic functions to receive and send UDP packets.
|
* @file udp.h Basic functions to receive and send UDP packets.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue