(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers

This commit is contained in:
rubidium
2010-08-26 22:01:16 +00:00
parent 08a41c6ee5
commit 30f2afac9b
135 changed files with 43 additions and 264 deletions

View File

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

View File

@@ -11,7 +11,6 @@
#include "ai_gamesettings.hpp"
#include "../../settings_internal.h"
#include "../../economy_func.h"
/* static */ bool AIGameSettings::IsValid(const char *setting)
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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