(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
#ifndef AI_H
|
||||
#define AI_H
|
||||
|
||||
#include "../functions.h"
|
||||
#include "../network/network.h"
|
||||
#include "../player.h"
|
||||
#include "../command_type.h"
|
||||
#include "../core/random_func.hpp"
|
||||
|
||||
/* How DoCommands look like for an AI */
|
||||
struct AICommand {
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include "../../bridge.h"
|
||||
#include "../../date.h"
|
||||
#include "../../tunnelbridge_map.h"
|
||||
#include "../../window_func.h"
|
||||
#include "../../functions.h"
|
||||
#include "default.h"
|
||||
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "../../openttd.h"
|
||||
#include "../../debug.h"
|
||||
#include "../../functions.h"
|
||||
#include "../../map.h"
|
||||
#include "../../road_map.h"
|
||||
#include "../../vehicle.h"
|
||||
|
@@ -4,7 +4,6 @@
|
||||
#include "../../openttd.h"
|
||||
#include "../../bridge_map.h"
|
||||
#include "../../debug.h"
|
||||
#include "../../functions.h"
|
||||
#include "../../map.h"
|
||||
#include "../../command_func.h"
|
||||
#include "trolly.h"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include "../../stdafx.h"
|
||||
#include "../../openttd.h"
|
||||
#include "../../debug.h"
|
||||
#include "../../functions.h"
|
||||
#include "../../road_map.h"
|
||||
#include "../../station_map.h"
|
||||
#include "table/strings.h"
|
||||
|
Reference in New Issue
Block a user