(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
This commit is contained in:
@@ -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"
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "ai_gamesettings.hpp"
|
||||
#include "../../settings_internal.h"
|
||||
#include "../../economy_func.h"
|
||||
|
||||
/* static */ bool AIGameSettings::IsValid(const char *setting)
|
||||
{
|
||||
|
@@ -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"
|
||||
|
@@ -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)
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user