diff options
author | rubidium <rubidium@openttd.org> | 2010-08-26 22:01:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-26 22:01:16 +0000 |
commit | 30f2afac9bf023bce081e52e09b1c0a152d9849a (patch) | |
tree | 1fd76e3ca5130b7949df16018d6a87952a5b447c /src/ai/api | |
parent | 08a41c6ee5f1500fcd472e953b2341ef996cb901 (diff) | |
download | openttd-30f2afac9bf023bce081e52e09b1c0a152d9849a.tar.xz |
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_basestation.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_gamesettings.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_industrytype.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_marine.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_object.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_rail.cpp | 2 | ||||
-rw-r--r-- | src/ai/api/ai_road.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_town.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_vehicle.cpp | 2 |
9 files changed, 0 insertions, 11 deletions
diff --git a/src/ai/api/ai_basestation.cpp b/src/ai/api/ai_basestation.cpp index 137829cf8..30089609c 100644 --- a/src/ai/api/ai_basestation.cpp +++ b/src/ai/api/ai_basestation.cpp @@ -11,7 +11,6 @@ #include "ai_basestation.hpp" #include "../../station_base.h" -#include "../../command_func.h" #include "../../string_func.h" #include "../../strings_func.h" #include "../../company_func.h" diff --git a/src/ai/api/ai_gamesettings.cpp b/src/ai/api/ai_gamesettings.cpp index 8f7c3eaef..7b3d6d01a 100644 --- a/src/ai/api/ai_gamesettings.cpp +++ b/src/ai/api/ai_gamesettings.cpp @@ -11,7 +11,6 @@ #include "ai_gamesettings.hpp" #include "../../settings_internal.h" -#include "../../economy_func.h" /* static */ bool AIGameSettings::IsValid(const char *setting) { diff --git a/src/ai/api/ai_industrytype.cpp b/src/ai/api/ai_industrytype.cpp index 0b6e00552..43bd43322 100644 --- a/src/ai/api/ai_industrytype.cpp +++ b/src/ai/api/ai_industrytype.cpp @@ -11,7 +11,6 @@ #include "ai_industrytype.hpp" #include "ai_map.hpp" -#include "../../command_type.h" #include "../../strings_func.h" #include "../../industry.h" #include "../../newgrf_industries.h" diff --git a/src/ai/api/ai_marine.cpp b/src/ai/api/ai_marine.cpp index 3890d2108..b9e2b18de 100644 --- a/src/ai/api/ai_marine.cpp +++ b/src/ai/api/ai_marine.cpp @@ -13,7 +13,6 @@ #include "ai_station.hpp" #include "../../station_base.h" #include "../../tile_cmd.h" -#include "../../economy_func.h" /* static */ bool AIMarine::IsWaterDepotTile(TileIndex tile) diff --git a/src/ai/api/ai_object.cpp b/src/ai/api/ai_object.cpp index 02f9e734b..f00374954 100644 --- a/src/ai/api/ai_object.cpp +++ b/src/ai/api/ai_object.cpp @@ -10,7 +10,6 @@ /** @file ai_object.cpp Implementation of AIObject. */ #include "../../stdafx.h" -#include <squirrel.h> #include "../../script/squirrel.hpp" #include "../../company_base.h" diff --git a/src/ai/api/ai_rail.cpp b/src/ai/api/ai_rail.cpp index e10cdb4df..45cc78a3a 100644 --- a/src/ai/api/ai_rail.cpp +++ b/src/ai/api/ai_rail.cpp @@ -13,14 +13,12 @@ #include "ai_map.hpp" #include "ai_station.hpp" #include "ai_industrytype.hpp" -#include "../../command_type.h" #include "../../debug.h" #include "../../station_base.h" #include "../../company_func.h" #include "../../newgrf.h" #include "../../newgrf_generic.h" #include "../../newgrf_station.h" -#include "../../economy_func.h" /* static */ bool AIRail::IsRailTile(TileIndex tile) { diff --git a/src/ai/api/ai_road.cpp b/src/ai/api/ai_road.cpp index b03efd8c9..7cfa2c1cd 100644 --- a/src/ai/api/ai_road.cpp +++ b/src/ai/api/ai_road.cpp @@ -13,7 +13,6 @@ #include "ai_station.hpp" #include "ai_cargo.hpp" #include "../../station_base.h" -#include "../../command_type.h" #include "../../company_func.h" #include "../../script/squirrel_helper_type.hpp" diff --git a/src/ai/api/ai_town.cpp b/src/ai/api/ai_town.cpp index 37b9b84d6..05615e485 100644 --- a/src/ai/api/ai_town.cpp +++ b/src/ai/api/ai_town.cpp @@ -14,7 +14,6 @@ #include "ai_cargo.hpp" #include "ai_error.hpp" #include "../../town.h" -#include "../../town_type.h" #include "../../strings_func.h" #include "../../company_func.h" #include "../../station_base.h" diff --git a/src/ai/api/ai_vehicle.cpp b/src/ai/api/ai_vehicle.cpp index a816c73f1..e62cb585b 100644 --- a/src/ai/api/ai_vehicle.cpp +++ b/src/ai/api/ai_vehicle.cpp @@ -15,14 +15,12 @@ #include "ai_group.hpp" #include "../ai_instance.hpp" #include "../../company_func.h" -#include "../../aircraft.h" #include "../../string_func.h" #include "../../strings_func.h" #include "../../command_func.h" #include "../../roadveh.h" #include "../../train.h" #include "../../vehicle_func.h" -#include "../../engine_base.h" #include "table/strings.h" /* static */ bool AIVehicle::IsValidVehicle(VehicleID vehicle_id) |