(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:
rubidium
2007-12-25 11:26:07 +00:00
parent bf98e25e43
commit 429521a7d1
134 changed files with 180 additions and 169 deletions

View File

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

View File

@@ -26,6 +26,8 @@
#include "../../bridge.h"
#include "../../date.h"
#include "../../tunnelbridge_map.h"
#include "../../window_func.h"
#include "../../functions.h"
#include "default.h"

View File

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

View File

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

View File

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