diff options
author | rubidium <rubidium@openttd.org> | 2011-01-22 14:52:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-22 14:52:20 +0000 |
commit | 7eba2bf4d3eeeda0aabf98a15d1ca0f0e7e4c495 (patch) | |
tree | 1759e0827ec011e0d47840127b082b2ae45ede50 /src/ai/api | |
parent | 849772f0fd50fdbbc6eb46625a19f1c0602d4517 (diff) | |
download | openttd-7eba2bf4d3eeeda0aabf98a15d1ca0f0e7e4c495.tar.xz |
(svn r21890) -Cleanup: remove some unneeded includes
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_accounting.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_controller.cpp | 3 | ||||
-rw-r--r-- | src/ai/api/ai_engine.hpp | 2 | ||||
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_group.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_industrytypelist.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_object.cpp | 4 | ||||
-rw-r--r-- | src/ai/api/ai_order.cpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_sign.hpp | 2 | ||||
-rw-r--r-- | src/ai/api/ai_station.hpp | 2 | ||||
-rw-r--r-- | src/ai/api/ai_subsidy.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_tunnel.hpp | 1 | ||||
-rw-r--r-- | src/ai/api/ai_vehicle.hpp | 3 |
13 files changed, 6 insertions, 17 deletions
diff --git a/src/ai/api/ai_accounting.hpp b/src/ai/api/ai_accounting.hpp index 4dc8a9da4..1d4fc9085 100644 --- a/src/ai/api/ai_accounting.hpp +++ b/src/ai/api/ai_accounting.hpp @@ -12,7 +12,6 @@ #ifndef AI_ACCOUNTING_HPP #define AI_ACCOUNTING_HPP -#include "../../stdafx.h" #include "ai_object.hpp" /** diff --git a/src/ai/api/ai_controller.cpp b/src/ai/api/ai_controller.cpp index fdd2b7708..9a2c552c0 100644 --- a/src/ai/api/ai_controller.cpp +++ b/src/ai/api/ai_controller.cpp @@ -10,13 +10,12 @@ /** @file ai_controller.cpp Implementation of AIControler. */ #include "../../stdafx.h" -#include "../../stdafx.h" #include "../../string_func.h" #include "../../company_base.h" +#include "../../company_func.h" #include "../../rev.h" #include "ai_controller.hpp" -#include "../ai_storage.hpp" #include "../ai_instance.hpp" #include "../ai_config.hpp" #include "ai_log.hpp" diff --git a/src/ai/api/ai_engine.hpp b/src/ai/api/ai_engine.hpp index b126734a8..337b80485 100644 --- a/src/ai/api/ai_engine.hpp +++ b/src/ai/api/ai_engine.hpp @@ -12,9 +12,7 @@ #ifndef AI_ENGINE_HPP #define AI_ENGINE_HPP -#include "ai_object.hpp" #include "ai_vehicle.hpp" -#include "ai_road.hpp" #include "ai_rail.hpp" #include "ai_airport.hpp" diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index acb36c77c..7ca675eeb 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -12,7 +12,6 @@ #ifndef AI_EVENT_TYPES_HPP #define AI_EVENT_TYPES_HPP -#include "ai_object.hpp" #include "ai_event.hpp" #include "ai_company.hpp" diff --git a/src/ai/api/ai_group.hpp b/src/ai/api/ai_group.hpp index 593bdb559..bff9d8dd4 100644 --- a/src/ai/api/ai_group.hpp +++ b/src/ai/api/ai_group.hpp @@ -12,7 +12,6 @@ #ifndef AI_GROUP_HPP #define AI_GROUP_HPP -#include "ai_object.hpp" #include "ai_vehicle.hpp" /** diff --git a/src/ai/api/ai_industrytypelist.hpp b/src/ai/api/ai_industrytypelist.hpp index e17be83c0..b29c4b011 100644 --- a/src/ai/api/ai_industrytypelist.hpp +++ b/src/ai/api/ai_industrytypelist.hpp @@ -12,7 +12,6 @@ #ifndef AI_INDUSTRYTYPELIST_HPP #define AI_INDUSTRYTYPELIST_HPP -#include "ai_list.hpp" #include "ai_industrytype.hpp" /** diff --git a/src/ai/api/ai_object.cpp b/src/ai/api/ai_object.cpp index f00374954..f2ddbebae 100644 --- a/src/ai/api/ai_object.cpp +++ b/src/ai/api/ai_object.cpp @@ -11,7 +11,11 @@ #include "../../stdafx.h" #include "../../script/squirrel.hpp" +#include "../../command_func.h" #include "../../company_base.h" +#include "../../company_func.h" +#include "../../network/network.h" +#include "../../tunnelbridge.h" #include "../ai_storage.hpp" #include "../ai_instance.hpp" diff --git a/src/ai/api/ai_order.cpp b/src/ai/api/ai_order.cpp index 36437138b..a79a6e7dd 100644 --- a/src/ai/api/ai_order.cpp +++ b/src/ai/api/ai_order.cpp @@ -10,6 +10,7 @@ /** @file ai_order.cpp Implementation of AIOrder. */ #include "../../stdafx.h" +#include "ai_order.hpp" #include "ai_vehicle.hpp" #include "../ai_instance.hpp" #include "../../debug.h" diff --git a/src/ai/api/ai_sign.hpp b/src/ai/api/ai_sign.hpp index 518f1782b..c2816d796 100644 --- a/src/ai/api/ai_sign.hpp +++ b/src/ai/api/ai_sign.hpp @@ -12,9 +12,7 @@ #ifndef AI_SIGN_HPP #define AI_SIGN_HPP -#include "ai_object.hpp" #include "ai_error.hpp" -#include "ai_company.hpp" /** * Class that handles all sign related functions. diff --git a/src/ai/api/ai_station.hpp b/src/ai/api/ai_station.hpp index 68ead640c..825c0f3ee 100644 --- a/src/ai/api/ai_station.hpp +++ b/src/ai/api/ai_station.hpp @@ -12,8 +12,6 @@ #ifndef AI_STATION_HPP #define AI_STATION_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_road.hpp" #include "ai_basestation.hpp" diff --git a/src/ai/api/ai_subsidy.hpp b/src/ai/api/ai_subsidy.hpp index 2993c867e..b4079e59f 100644 --- a/src/ai/api/ai_subsidy.hpp +++ b/src/ai/api/ai_subsidy.hpp @@ -12,7 +12,6 @@ #ifndef AI_SUBSIDY_HPP #define AI_SUBSIDY_HPP -#include "ai_object.hpp" #include "ai_company.hpp" /** diff --git a/src/ai/api/ai_tunnel.hpp b/src/ai/api/ai_tunnel.hpp index 0dac7e857..f1d8beae3 100644 --- a/src/ai/api/ai_tunnel.hpp +++ b/src/ai/api/ai_tunnel.hpp @@ -12,7 +12,6 @@ #ifndef AI_TUNNEL_HPP #define AI_TUNNEL_HPP -#include "ai_object.hpp" #include "ai_vehicle.hpp" /** diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp index 083e9da1c..9477e879e 100644 --- a/src/ai/api/ai_vehicle.hpp +++ b/src/ai/api/ai_vehicle.hpp @@ -12,10 +12,7 @@ #ifndef AI_VEHICLE_HPP #define AI_VEHICLE_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_road.hpp" -#include "ai_order.hpp" /** * Class that handles all vehicle related functions. |