1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

Remove: includes to network/core/config.h from headers when only three cpp files need it

This commit is contained in:
Rubidium
2021-07-11 21:22:29 +02:00
committed by rubidium42
parent b6a116a247
commit 178ea3196b
5 changed files with 3 additions and 4 deletions

View File

@@ -10,8 +10,6 @@
#ifndef NETWORK_TYPE_H
#define NETWORK_TYPE_H
#include "core/config.h"
/** How many clients can we have */
static const uint MAX_CLIENTS = 255;

View File

@@ -38,7 +38,7 @@
#include "strings_func.h"
#include "date_func.h"
#include "string_func.h"
#include "network/network.h"
#include "network/core/config.h"
#include <map>
#include "smallmap_gui.h"
#include "genworld.h"

View File

@@ -28,6 +28,7 @@
#include "currency.h"
#include "network/network.h"
#include "network/network_func.h"
#include "network/core/config.h"
#include "command_func.h"
#include "console_func.h"
#include "genworld.h"

View File

@@ -15,6 +15,7 @@
#include "screenshot.h"
#include "network/network.h"
#include "network/network_func.h"
#include "network/core/config.h"
#include "pathfinder/pathfinder_type.h"
#include "genworld.h"
#include "train.h"

View File

@@ -14,7 +14,6 @@
#include "economy_type.h"
#include "town_type.h"
#include "transport_type.h"
#include "network/core/config.h"
#include "network/network_type.h"
#include "company_type.h"
#include "cargotype.h"