From 9e8db65223bf91ad26d2f54ef115d773bbb4f63a Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 22 Jan 2011 10:33:16 +0000 Subject: (svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree --- src/ai/ai_config.cpp | 1 + src/ai/api/ai_accounting.cpp | 1 + src/ai/api/ai_accounting.hpp | 1 + src/ai/api/ai_airport.cpp | 1 + src/ai/api/ai_base.cpp | 1 + src/ai/api/ai_basestation.cpp | 1 + src/ai/api/ai_basestation.hpp | 1 - src/ai/api/ai_bridge.cpp | 1 + src/ai/api/ai_bridge.hpp | 2 -- src/ai/api/ai_bridgelist.cpp | 1 + src/ai/api/ai_cargo.cpp | 1 + src/ai/api/ai_cargolist.cpp | 1 + src/ai/api/ai_company.cpp | 1 + src/ai/api/ai_controller.cpp | 1 + src/ai/api/ai_date.cpp | 1 + src/ai/api/ai_depotlist.cpp | 1 + src/ai/api/ai_engine.cpp | 1 + src/ai/api/ai_enginelist.cpp | 1 + src/ai/api/ai_error.cpp | 1 + src/ai/api/ai_event.cpp | 1 + src/ai/api/ai_event_types.cpp | 1 + src/ai/api/ai_execmode.cpp | 1 + src/ai/api/ai_gamesettings.cpp | 1 + src/ai/api/ai_gamesettings.hpp | 1 - src/ai/api/ai_group.cpp | 1 + src/ai/api/ai_grouplist.cpp | 1 + src/ai/api/ai_industry.cpp | 1 + src/ai/api/ai_industrylist.cpp | 1 + src/ai/api/ai_industrytype.cpp | 2 ++ src/ai/api/ai_industrytype.hpp | 2 -- src/ai/api/ai_industrytypelist.cpp | 1 + src/ai/api/ai_list.cpp | 1 + src/ai/api/ai_log.cpp | 1 + src/ai/api/ai_map.cpp | 1 + src/ai/api/ai_marine.cpp | 1 + src/ai/api/ai_marine.hpp | 1 - src/ai/api/ai_object.hpp | 1 - src/ai/api/ai_order.cpp | 1 + src/ai/api/ai_order.hpp | 1 - src/ai/api/ai_rail.cpp | 1 + src/ai/api/ai_rail.hpp | 2 -- src/ai/api/ai_railtypelist.cpp | 1 + src/ai/api/ai_road.cpp | 1 + src/ai/api/ai_road.hpp | 2 -- src/ai/api/ai_sign.cpp | 1 + src/ai/api/ai_signlist.cpp | 1 + src/ai/api/ai_station.cpp | 1 + src/ai/api/ai_stationlist.cpp | 1 + src/ai/api/ai_subsidy.cpp | 1 + src/ai/api/ai_subsidylist.cpp | 1 + src/ai/api/ai_testmode.cpp | 1 + src/ai/api/ai_tile.cpp | 1 + src/ai/api/ai_tile.hpp | 1 - src/ai/api/ai_tilelist.cpp | 1 + src/ai/api/ai_tilelist.hpp | 2 +- src/ai/api/ai_town.cpp | 1 + src/ai/api/ai_town.hpp | 1 - src/ai/api/ai_townlist.cpp | 1 + src/ai/api/ai_tunnel.cpp | 1 + src/ai/api/ai_vehicle.cpp | 1 + src/ai/api/ai_vehiclelist.cpp | 1 + src/ai/api/ai_waypoint.cpp | 1 + src/ai/api/ai_waypoint.hpp | 2 -- src/ai/api/ai_waypointlist.cpp | 1 + 64 files changed, 53 insertions(+), 18 deletions(-) diff --git a/src/ai/ai_config.cpp b/src/ai/ai_config.cpp index 81d26dc53..586fdb569 100644 --- a/src/ai/ai_config.cpp +++ b/src/ai/ai_config.cpp @@ -13,6 +13,7 @@ #include "../openttd.h" #include "../settings_type.h" #include "../core/random_func.hpp" +#include "../core/math_func.hpp" #include "ai.hpp" #include "ai_config.hpp" diff --git a/src/ai/api/ai_accounting.cpp b/src/ai/api/ai_accounting.cpp index b72f9af58..770f51286 100644 --- a/src/ai/api/ai_accounting.cpp +++ b/src/ai/api/ai_accounting.cpp @@ -9,6 +9,7 @@ /** @file ai_accounting.cpp Implementation of AIAccounting. */ +#include "../../stdafx.h" #include "ai_accounting.hpp" Money AIAccounting::GetCosts() diff --git a/src/ai/api/ai_accounting.hpp b/src/ai/api/ai_accounting.hpp index 1d4fc9085..4dc8a9da4 100644 --- a/src/ai/api/ai_accounting.hpp +++ b/src/ai/api/ai_accounting.hpp @@ -12,6 +12,7 @@ #ifndef AI_ACCOUNTING_HPP #define AI_ACCOUNTING_HPP +#include "../../stdafx.h" #include "ai_object.hpp" /** diff --git a/src/ai/api/ai_airport.cpp b/src/ai/api/ai_airport.cpp index fb6fbbd71..c52e5abd2 100644 --- a/src/ai/api/ai_airport.cpp +++ b/src/ai/api/ai_airport.cpp @@ -9,6 +9,7 @@ /** @file ai_airport.cpp Implementation of AIAirport. */ +#include "../../stdafx.h" #include "ai_airport.hpp" #include "ai_station.hpp" #include "../../station_base.h" diff --git a/src/ai/api/ai_base.cpp b/src/ai/api/ai_base.cpp index 1584a4158..439715f16 100644 --- a/src/ai/api/ai_base.cpp +++ b/src/ai/api/ai_base.cpp @@ -9,6 +9,7 @@ /** @file ai_base.cpp Implementation of AIBase. */ +#include "../../stdafx.h" #include "ai_base.hpp" #include "../../network/network.h" #include "../../core/random_func.hpp" diff --git a/src/ai/api/ai_basestation.cpp b/src/ai/api/ai_basestation.cpp index aea5d52cc..b31a0d037 100644 --- a/src/ai/api/ai_basestation.cpp +++ b/src/ai/api/ai_basestation.cpp @@ -9,6 +9,7 @@ /** @file ai_basestation.cpp Implementation of AIBaseStation. */ +#include "../../stdafx.h" #include "ai_basestation.hpp" #include "../../station_base.h" #include "../../string_func.h" diff --git a/src/ai/api/ai_basestation.hpp b/src/ai/api/ai_basestation.hpp index aadc5fbed..94d698354 100644 --- a/src/ai/api/ai_basestation.hpp +++ b/src/ai/api/ai_basestation.hpp @@ -12,7 +12,6 @@ #ifndef AI_BASESTATION_HPP #define AI_BASESTATION_HPP -#include "ai_object.hpp" #include "ai_error.hpp" /** diff --git a/src/ai/api/ai_bridge.cpp b/src/ai/api/ai_bridge.cpp index 30c1cee6c..ab2156737 100644 --- a/src/ai/api/ai_bridge.cpp +++ b/src/ai/api/ai_bridge.cpp @@ -9,6 +9,7 @@ /** @file ai_bridge.cpp Implementation of AIBridge. */ +#include "../../stdafx.h" #include "ai_bridge.hpp" #include "ai_rail.hpp" #include "../ai_instance.hpp" diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp index 7a1842a37..78f62522e 100644 --- a/src/ai/api/ai_bridge.hpp +++ b/src/ai/api/ai_bridge.hpp @@ -12,9 +12,7 @@ #ifndef AI_BRIDGE_HPP #define AI_BRIDGE_HPP -#include "ai_object.hpp" #include "ai_vehicle.hpp" -#include "ai_error.hpp" /** * Class that handles all bridge related functions. diff --git a/src/ai/api/ai_bridgelist.cpp b/src/ai/api/ai_bridgelist.cpp index 82d857d07..4a3f590f1 100644 --- a/src/ai/api/ai_bridgelist.cpp +++ b/src/ai/api/ai_bridgelist.cpp @@ -9,6 +9,7 @@ /** @file ai_bridgelist.cpp Implementation of AIBridgeList and friends. */ +#include "../../stdafx.h" #include "ai_bridgelist.hpp" #include "ai_bridge.hpp" #include "../../bridge.h" diff --git a/src/ai/api/ai_cargo.cpp b/src/ai/api/ai_cargo.cpp index 1eab57b8e..1ff308c68 100644 --- a/src/ai/api/ai_cargo.cpp +++ b/src/ai/api/ai_cargo.cpp @@ -9,6 +9,7 @@ /** @file ai_cargo.cpp Implementation of AICargo. */ +#include "../../stdafx.h" #include "ai_cargo.hpp" #include "../../cargotype.h" #include "../../economy_func.h" diff --git a/src/ai/api/ai_cargolist.cpp b/src/ai/api/ai_cargolist.cpp index d04af550f..1ee1c462d 100644 --- a/src/ai/api/ai_cargolist.cpp +++ b/src/ai/api/ai_cargolist.cpp @@ -9,6 +9,7 @@ /** @file ai_cargolist.cpp Implementation of AICargoList and friends. */ +#include "../../stdafx.h" #include "ai_cargolist.hpp" #include "ai_industry.hpp" #include "../../cargotype.h" diff --git a/src/ai/api/ai_company.cpp b/src/ai/api/ai_company.cpp index 03a642609..c2a4f2935 100644 --- a/src/ai/api/ai_company.cpp +++ b/src/ai/api/ai_company.cpp @@ -9,6 +9,7 @@ /** @file ai_company.cpp Implementation of AICompany. */ +#include "../../stdafx.h" #include "ai_company.hpp" #include "ai_error.hpp" #include "../../command_func.h" diff --git a/src/ai/api/ai_controller.cpp b/src/ai/api/ai_controller.cpp index 9084fbc4c..fdd2b7708 100644 --- a/src/ai/api/ai_controller.cpp +++ b/src/ai/api/ai_controller.cpp @@ -9,6 +9,7 @@ /** @file ai_controller.cpp Implementation of AIControler. */ +#include "../../stdafx.h" #include "../../stdafx.h" #include "../../string_func.h" #include "../../company_base.h" diff --git a/src/ai/api/ai_date.cpp b/src/ai/api/ai_date.cpp index 109bd1eef..ff0375ad6 100644 --- a/src/ai/api/ai_date.cpp +++ b/src/ai/api/ai_date.cpp @@ -9,6 +9,7 @@ /** @file ai_date.cpp Implementation of AIDate. */ +#include "../../stdafx.h" #include "ai_date.hpp" #include "../../date_func.h" diff --git a/src/ai/api/ai_depotlist.cpp b/src/ai/api/ai_depotlist.cpp index de3433834..e897405fb 100644 --- a/src/ai/api/ai_depotlist.cpp +++ b/src/ai/api/ai_depotlist.cpp @@ -9,6 +9,7 @@ /** @file ai_depotlist.cpp Implementation of AIDepotList and friends. */ +#include "../../stdafx.h" #include "ai_depotlist.hpp" #include "../../company_func.h" #include "../../depot_base.h" diff --git a/src/ai/api/ai_engine.cpp b/src/ai/api/ai_engine.cpp index f024c9331..564c77b6b 100644 --- a/src/ai/api/ai_engine.cpp +++ b/src/ai/api/ai_engine.cpp @@ -9,6 +9,7 @@ /** @file ai_engine.cpp Implementation of AIEngine. */ +#include "../../stdafx.h" #include "ai_engine.hpp" #include "ai_cargo.hpp" #include "../../company_func.h" diff --git a/src/ai/api/ai_enginelist.cpp b/src/ai/api/ai_enginelist.cpp index e6fe7f369..549d59b0d 100644 --- a/src/ai/api/ai_enginelist.cpp +++ b/src/ai/api/ai_enginelist.cpp @@ -9,6 +9,7 @@ /** @file ai_enginelist.cpp Implementation of AIEngineList and friends. */ +#include "../../stdafx.h" #include "ai_enginelist.hpp" #include "../../company_func.h" #include "../../engine_base.h" diff --git a/src/ai/api/ai_error.cpp b/src/ai/api/ai_error.cpp index 2031d57b2..db1acbc0e 100644 --- a/src/ai/api/ai_error.cpp +++ b/src/ai/api/ai_error.cpp @@ -9,6 +9,7 @@ /** @file ai_error.cpp Implementation of AIError. */ +#include "../../stdafx.h" #include "ai_error.hpp" #include "../../core/bitmath_func.hpp" diff --git a/src/ai/api/ai_event.cpp b/src/ai/api/ai_event.cpp index 506b7d118..32edd1a0e 100644 --- a/src/ai/api/ai_event.cpp +++ b/src/ai/api/ai_event.cpp @@ -9,6 +9,7 @@ /** @file ai_event.cpp Implementation of AIEvent. */ +#include "../../stdafx.h" #include "ai_event_types.hpp" #include diff --git a/src/ai/api/ai_event_types.cpp b/src/ai/api/ai_event_types.cpp index ee7e9491e..e91e60b6f 100644 --- a/src/ai/api/ai_event_types.cpp +++ b/src/ai/api/ai_event_types.cpp @@ -9,6 +9,7 @@ /** @file ai_event_types.cpp Implementation of all EventTypes. */ +#include "../../stdafx.h" #include "ai_event_types.hpp" #include "ai_vehicle.hpp" #include "../../command_type.h" diff --git a/src/ai/api/ai_execmode.cpp b/src/ai/api/ai_execmode.cpp index 0cede135f..e661a1068 100644 --- a/src/ai/api/ai_execmode.cpp +++ b/src/ai/api/ai_execmode.cpp @@ -9,6 +9,7 @@ /** @file ai_execmode.cpp Implementation of AIExecMode. */ +#include "../../stdafx.h" #include "ai_execmode.hpp" #include "../../company_base.h" #include "../../company_func.h" diff --git a/src/ai/api/ai_gamesettings.cpp b/src/ai/api/ai_gamesettings.cpp index 7b3d6d01a..cbd7f6e6a 100644 --- a/src/ai/api/ai_gamesettings.cpp +++ b/src/ai/api/ai_gamesettings.cpp @@ -9,6 +9,7 @@ /** @file ai_gamesettings.cpp Implementation of AIGameSettings. */ +#include "../../stdafx.h" #include "ai_gamesettings.hpp" #include "../../settings_internal.h" diff --git a/src/ai/api/ai_gamesettings.hpp b/src/ai/api/ai_gamesettings.hpp index a38debe6d..a615a615f 100644 --- a/src/ai/api/ai_gamesettings.hpp +++ b/src/ai/api/ai_gamesettings.hpp @@ -12,7 +12,6 @@ #ifndef AI_GAMESETTINGS_HPP #define AI_GAMESETTINGS_HPP -#include "ai_object.hpp" #include "ai_vehicle.hpp" /** diff --git a/src/ai/api/ai_group.cpp b/src/ai/api/ai_group.cpp index abfee1286..5a95ee7c8 100644 --- a/src/ai/api/ai_group.cpp +++ b/src/ai/api/ai_group.cpp @@ -9,6 +9,7 @@ /** @file ai_group.cpp Implementation of AIGroup. */ +#include "../../stdafx.h" #include "ai_group.hpp" #include "ai_engine.hpp" #include "../ai_instance.hpp" diff --git a/src/ai/api/ai_grouplist.cpp b/src/ai/api/ai_grouplist.cpp index d52042123..04413d604 100644 --- a/src/ai/api/ai_grouplist.cpp +++ b/src/ai/api/ai_grouplist.cpp @@ -9,6 +9,7 @@ /** @file ai_grouplist.cpp Implementation of AIGroupList and friends. */ +#include "../../stdafx.h" #include "ai_grouplist.hpp" #include "../../company_func.h" #include "../../group.h" diff --git a/src/ai/api/ai_industry.cpp b/src/ai/api/ai_industry.cpp index cb5c3cee4..6175eb1b8 100644 --- a/src/ai/api/ai_industry.cpp +++ b/src/ai/api/ai_industry.cpp @@ -9,6 +9,7 @@ /** @file ai_industry.cpp Implementation of AIIndustry. */ +#include "../../stdafx.h" #include "ai_industry.hpp" #include "ai_cargo.hpp" #include "ai_map.hpp" diff --git a/src/ai/api/ai_industrylist.cpp b/src/ai/api/ai_industrylist.cpp index 323012fcc..2211abfb2 100644 --- a/src/ai/api/ai_industrylist.cpp +++ b/src/ai/api/ai_industrylist.cpp @@ -9,6 +9,7 @@ /** @file ai_industrylist.cpp Implementation of AIIndustryList and friends. */ +#include "../../stdafx.h" #include "ai_industrylist.hpp" #include "../../industry.h" diff --git a/src/ai/api/ai_industrytype.cpp b/src/ai/api/ai_industrytype.cpp index 43bd43322..121a7756f 100644 --- a/src/ai/api/ai_industrytype.cpp +++ b/src/ai/api/ai_industrytype.cpp @@ -9,8 +9,10 @@ /** @file ai_industrytype.cpp Implementation of AIIndustryType. */ +#include "../../stdafx.h" #include "ai_industrytype.hpp" #include "ai_map.hpp" +#include "ai_error.hpp" #include "../../strings_func.h" #include "../../industry.h" #include "../../newgrf_industries.h" diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp index 2d0e48b31..11e1fb9fe 100644 --- a/src/ai/api/ai_industrytype.hpp +++ b/src/ai/api/ai_industrytype.hpp @@ -12,8 +12,6 @@ #ifndef AI_INDUSTRYTYPE_HPP #define AI_INDUSTRYTYPE_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_list.hpp" /** diff --git a/src/ai/api/ai_industrytypelist.cpp b/src/ai/api/ai_industrytypelist.cpp index d5c3fe56a..c417ae847 100644 --- a/src/ai/api/ai_industrytypelist.cpp +++ b/src/ai/api/ai_industrytypelist.cpp @@ -9,6 +9,7 @@ /** @file ai_industrytypelist.cpp Implementation of AIIndustryTypeList. */ +#include "../../stdafx.h" #include "ai_industrytypelist.hpp" #include "../../industry.h" diff --git a/src/ai/api/ai_list.cpp b/src/ai/api/ai_list.cpp index 2b5ec0f3a..e41b7e69c 100644 --- a/src/ai/api/ai_list.cpp +++ b/src/ai/api/ai_list.cpp @@ -9,6 +9,7 @@ /** @file ai_list.cpp Implementation of AIList. */ +#include "../../stdafx.h" #include "ai_list.hpp" #include "../../debug.h" #include "../../script/squirrel.hpp" diff --git a/src/ai/api/ai_log.cpp b/src/ai/api/ai_log.cpp index 4bbb9ccb6..7a269030d 100644 --- a/src/ai/api/ai_log.cpp +++ b/src/ai/api/ai_log.cpp @@ -9,6 +9,7 @@ /** @file ai_log.cpp Implementation of AILog. */ +#include "../../stdafx.h" #include "ai_log.hpp" #include "../../core/alloc_func.hpp" #include "../../company_func.h" diff --git a/src/ai/api/ai_map.cpp b/src/ai/api/ai_map.cpp index c9432fa26..d5728b9eb 100644 --- a/src/ai/api/ai_map.cpp +++ b/src/ai/api/ai_map.cpp @@ -9,6 +9,7 @@ /** @file ai_map.cpp Implementation of AIMap. */ +#include "../../stdafx.h" #include "ai_map.hpp" #include "../../tile_map.h" diff --git a/src/ai/api/ai_marine.cpp b/src/ai/api/ai_marine.cpp index b9e2b18de..00cff6623 100644 --- a/src/ai/api/ai_marine.cpp +++ b/src/ai/api/ai_marine.cpp @@ -9,6 +9,7 @@ /** @file ai_marine.cpp Implementation of AIMarine. */ +#include "../../stdafx.h" #include "ai_marine.hpp" #include "ai_station.hpp" #include "../../station_base.h" diff --git a/src/ai/api/ai_marine.hpp b/src/ai/api/ai_marine.hpp index 4c7a7cbbf..966ab9e1f 100644 --- a/src/ai/api/ai_marine.hpp +++ b/src/ai/api/ai_marine.hpp @@ -12,7 +12,6 @@ #ifndef AI_MARINE_HPP #define AI_MARINE_HPP -#include "ai_object.hpp" #include "ai_error.hpp" /** diff --git a/src/ai/api/ai_object.hpp b/src/ai/api/ai_object.hpp index 77e9fe885..06d0f9edb 100644 --- a/src/ai/api/ai_object.hpp +++ b/src/ai/api/ai_object.hpp @@ -12,7 +12,6 @@ #ifndef AI_OBJECT_HPP #define AI_OBJECT_HPP -#include "../../stdafx.h" #include "../../misc/countedptr.hpp" #include "../../road_type.h" #include "../../rail_type.h" diff --git a/src/ai/api/ai_order.cpp b/src/ai/api/ai_order.cpp index 0412334a6..36437138b 100644 --- a/src/ai/api/ai_order.cpp +++ b/src/ai/api/ai_order.cpp @@ -9,6 +9,7 @@ /** @file ai_order.cpp Implementation of AIOrder. */ +#include "../../stdafx.h" #include "ai_vehicle.hpp" #include "../ai_instance.hpp" #include "../../debug.h" diff --git a/src/ai/api/ai_order.hpp b/src/ai/api/ai_order.hpp index 8f142f3a6..fbf9fed76 100644 --- a/src/ai/api/ai_order.hpp +++ b/src/ai/api/ai_order.hpp @@ -12,7 +12,6 @@ #ifndef AI_ORDER_HPP #define AI_ORDER_HPP -#include "ai_object.hpp" #include "ai_error.hpp" /** diff --git a/src/ai/api/ai_rail.cpp b/src/ai/api/ai_rail.cpp index 4f6c41376..0d734f01c 100644 --- a/src/ai/api/ai_rail.cpp +++ b/src/ai/api/ai_rail.cpp @@ -9,6 +9,7 @@ /** @file ai_rail.cpp Implementation of AIRail. */ +#include "../../stdafx.h" #include "ai_rail.hpp" #include "ai_map.hpp" #include "ai_station.hpp" diff --git a/src/ai/api/ai_rail.hpp b/src/ai/api/ai_rail.hpp index 688377f8a..0ecdd374a 100644 --- a/src/ai/api/ai_rail.hpp +++ b/src/ai/api/ai_rail.hpp @@ -12,8 +12,6 @@ #ifndef AI_RAIL_HPP #define AI_RAIL_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_tile.hpp" /** diff --git a/src/ai/api/ai_railtypelist.cpp b/src/ai/api/ai_railtypelist.cpp index f9c6c6034..9f2801e29 100644 --- a/src/ai/api/ai_railtypelist.cpp +++ b/src/ai/api/ai_railtypelist.cpp @@ -9,6 +9,7 @@ /** @file ai_railtypelist.cpp Implementation of AIRailTypeList and friends. */ +#include "../../stdafx.h" #include "ai_railtypelist.hpp" #include "../../rail.h" #include "../../company_func.h" diff --git a/src/ai/api/ai_road.cpp b/src/ai/api/ai_road.cpp index 7cfa2c1cd..7c6663157 100644 --- a/src/ai/api/ai_road.cpp +++ b/src/ai/api/ai_road.cpp @@ -9,6 +9,7 @@ /** @file ai_road.cpp Implementation of AIRoad. */ +#include "../../stdafx.h" #include "ai_map.hpp" #include "ai_station.hpp" #include "ai_cargo.hpp" diff --git a/src/ai/api/ai_road.hpp b/src/ai/api/ai_road.hpp index 0dda93e33..90129f7c4 100644 --- a/src/ai/api/ai_road.hpp +++ b/src/ai/api/ai_road.hpp @@ -12,8 +12,6 @@ #ifndef AI_ROAD_HPP #define AI_ROAD_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_tile.hpp" /** diff --git a/src/ai/api/ai_sign.cpp b/src/ai/api/ai_sign.cpp index df16af0b7..971d52ce5 100644 --- a/src/ai/api/ai_sign.cpp +++ b/src/ai/api/ai_sign.cpp @@ -9,6 +9,7 @@ /** @file ai_sign.cpp Implementation of AISign. */ +#include "../../stdafx.h" #include "ai_sign.hpp" #include "table/strings.h" #include "../ai_instance.hpp" diff --git a/src/ai/api/ai_signlist.cpp b/src/ai/api/ai_signlist.cpp index 5803c25ce..661779937 100644 --- a/src/ai/api/ai_signlist.cpp +++ b/src/ai/api/ai_signlist.cpp @@ -9,6 +9,7 @@ /** @file ai_signlist.cpp Implementation of AISignList and friends. */ +#include "../../stdafx.h" #include "ai_signlist.hpp" #include "ai_sign.hpp" #include "../../signs_base.h" diff --git a/src/ai/api/ai_station.cpp b/src/ai/api/ai_station.cpp index 5e25e5d8d..68a00368c 100644 --- a/src/ai/api/ai_station.cpp +++ b/src/ai/api/ai_station.cpp @@ -9,6 +9,7 @@ /** @file ai_station.cpp Implementation of AIStation. */ +#include "../../stdafx.h" #include "ai_station.hpp" #include "ai_cargo.hpp" #include "ai_map.hpp" diff --git a/src/ai/api/ai_stationlist.cpp b/src/ai/api/ai_stationlist.cpp index 07d644c19..778052d32 100644 --- a/src/ai/api/ai_stationlist.cpp +++ b/src/ai/api/ai_stationlist.cpp @@ -9,6 +9,7 @@ /** @file ai_stationlist.cpp Implementation of AIStationList and friends. */ +#include "../../stdafx.h" #include "ai_stationlist.hpp" #include "ai_vehicle.hpp" #include "../../company_func.h" diff --git a/src/ai/api/ai_subsidy.cpp b/src/ai/api/ai_subsidy.cpp index 3d1edbb9b..47a1c55dd 100644 --- a/src/ai/api/ai_subsidy.cpp +++ b/src/ai/api/ai_subsidy.cpp @@ -9,6 +9,7 @@ /** @file ai_subsidy.cpp Implementation of AISubsidy. */ +#include "../../stdafx.h" #include "ai_subsidy.hpp" #include "ai_date.hpp" #include "../../subsidy_base.h" diff --git a/src/ai/api/ai_subsidylist.cpp b/src/ai/api/ai_subsidylist.cpp index 25a11f2d6..299ab9d99 100644 --- a/src/ai/api/ai_subsidylist.cpp +++ b/src/ai/api/ai_subsidylist.cpp @@ -9,6 +9,7 @@ /** @file ai_subsidylist.cpp Implementation of AISubsidyList. */ +#include "../../stdafx.h" #include "ai_subsidylist.hpp" #include "../../subsidy_base.h" diff --git a/src/ai/api/ai_testmode.cpp b/src/ai/api/ai_testmode.cpp index 832aff329..996b27874 100644 --- a/src/ai/api/ai_testmode.cpp +++ b/src/ai/api/ai_testmode.cpp @@ -9,6 +9,7 @@ /** @file ai_testmode.cpp Implementation of AITestMode. */ +#include "../../stdafx.h" #include "ai_testmode.hpp" #include "../../company_base.h" #include "../../company_func.h" diff --git a/src/ai/api/ai_tile.cpp b/src/ai/api/ai_tile.cpp index 1fc9d9abf..3e0b339f7 100644 --- a/src/ai/api/ai_tile.cpp +++ b/src/ai/api/ai_tile.cpp @@ -9,6 +9,7 @@ /** @file ai_tile.cpp Implementation of AITile. */ +#include "../../stdafx.h" #include "ai_tile.hpp" #include "ai_map.hpp" #include "ai_town.hpp" diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp index e21f15bb7..944821e00 100644 --- a/src/ai/api/ai_tile.hpp +++ b/src/ai/api/ai_tile.hpp @@ -12,7 +12,6 @@ #ifndef AI_TILE_HPP #define AI_TILE_HPP -#include "ai_list.hpp" #include "ai_error.hpp" #include "ai_company.hpp" diff --git a/src/ai/api/ai_tilelist.cpp b/src/ai/api/ai_tilelist.cpp index aa7c77661..0782b29f5 100644 --- a/src/ai/api/ai_tilelist.cpp +++ b/src/ai/api/ai_tilelist.cpp @@ -9,6 +9,7 @@ /** @file ai_tilelist.cpp Implementation of AITileList and friends. */ +#include "../../stdafx.h" #include "ai_tilelist.hpp" #include "ai_industry.hpp" #include "../../industry.h" diff --git a/src/ai/api/ai_tilelist.hpp b/src/ai/api/ai_tilelist.hpp index f25b5903a..ddfcd8eb4 100644 --- a/src/ai/api/ai_tilelist.hpp +++ b/src/ai/api/ai_tilelist.hpp @@ -12,8 +12,8 @@ #ifndef AI_TILELIST_HPP #define AI_TILELIST_HPP -#include "ai_list.hpp" #include "ai_station.hpp" +#include "ai_list.hpp" /** * Creates an empty list, in which you can add tiles. diff --git a/src/ai/api/ai_town.cpp b/src/ai/api/ai_town.cpp index 85bc22a53..6ad9401de 100644 --- a/src/ai/api/ai_town.cpp +++ b/src/ai/api/ai_town.cpp @@ -9,6 +9,7 @@ /** @file ai_town.cpp Implementation of AITown. */ +#include "../../stdafx.h" #include "ai_town.hpp" #include "ai_map.hpp" #include "ai_cargo.hpp" diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp index fb3abfe0b..375dd2a61 100644 --- a/src/ai/api/ai_town.hpp +++ b/src/ai/api/ai_town.hpp @@ -12,7 +12,6 @@ #ifndef AI_TOWN_HPP #define AI_TOWN_HPP -#include "ai_object.hpp" #include "ai_company.hpp" /** diff --git a/src/ai/api/ai_townlist.cpp b/src/ai/api/ai_townlist.cpp index b6ad2b6a5..4057698fc 100644 --- a/src/ai/api/ai_townlist.cpp +++ b/src/ai/api/ai_townlist.cpp @@ -9,6 +9,7 @@ /** @file ai_townlist.cpp Implementation of AITownList and friends. */ +#include "../../stdafx.h" #include "ai_townlist.hpp" #include "../../town.h" diff --git a/src/ai/api/ai_tunnel.cpp b/src/ai/api/ai_tunnel.cpp index 65689a513..59055af2f 100644 --- a/src/ai/api/ai_tunnel.cpp +++ b/src/ai/api/ai_tunnel.cpp @@ -9,6 +9,7 @@ /** @file ai_tunnel.cpp Implementation of AITunnel. */ +#include "../../stdafx.h" #include "ai_tunnel.hpp" #include "ai_rail.hpp" #include "../ai_instance.hpp" diff --git a/src/ai/api/ai_vehicle.cpp b/src/ai/api/ai_vehicle.cpp index 7ece9cdef..02b463c86 100644 --- a/src/ai/api/ai_vehicle.cpp +++ b/src/ai/api/ai_vehicle.cpp @@ -9,6 +9,7 @@ /** @file ai_vehicle.cpp Implementation of AIVehicle. */ +#include "../../stdafx.h" #include "ai_engine.hpp" #include "ai_cargo.hpp" #include "ai_gamesettings.hpp" diff --git a/src/ai/api/ai_vehiclelist.cpp b/src/ai/api/ai_vehiclelist.cpp index 616c8cc12..dd1c55245 100644 --- a/src/ai/api/ai_vehiclelist.cpp +++ b/src/ai/api/ai_vehiclelist.cpp @@ -9,6 +9,7 @@ /** @file ai_vehiclelist.cpp Implementation of AIVehicleList and friends. */ +#include "../../stdafx.h" #include "ai_vehiclelist.hpp" #include "ai_group.hpp" #include "ai_map.hpp" diff --git a/src/ai/api/ai_waypoint.cpp b/src/ai/api/ai_waypoint.cpp index a3845f89f..7e902a951 100644 --- a/src/ai/api/ai_waypoint.cpp +++ b/src/ai/api/ai_waypoint.cpp @@ -9,6 +9,7 @@ /** @file ai_waypoint.cpp Implementation of AIWaypoint. */ +#include "../../stdafx.h" #include "ai_waypoint.hpp" #include "ai_rail.hpp" #include "ai_marine.hpp" diff --git a/src/ai/api/ai_waypoint.hpp b/src/ai/api/ai_waypoint.hpp index 1ba1b99ef..6ffcbc64d 100644 --- a/src/ai/api/ai_waypoint.hpp +++ b/src/ai/api/ai_waypoint.hpp @@ -12,8 +12,6 @@ #ifndef AI_WAYPOINT_HPP #define AI_WAYPOINT_HPP -#include "ai_object.hpp" -#include "ai_error.hpp" #include "ai_basestation.hpp" /** diff --git a/src/ai/api/ai_waypointlist.cpp b/src/ai/api/ai_waypointlist.cpp index 79cc62fdf..ff1f81cb1 100644 --- a/src/ai/api/ai_waypointlist.cpp +++ b/src/ai/api/ai_waypointlist.cpp @@ -9,6 +9,7 @@ /** @file ai_waypointlist.cpp Implementation of AIWaypointList and friends. */ +#include "../../stdafx.h" #include "ai_waypointlist.hpp" #include "ai_vehicle.hpp" #include "../../company_func.h" -- cgit v1.2.3-70-g09d2