(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files

This commit is contained in:
rubidium
2012-01-03 21:32:51 +00:00
parent d880056415
commit 6d6be50ae0
153 changed files with 3 additions and 305 deletions

View File

@@ -14,7 +14,6 @@
#include "script_log.hpp"
#include "../../network/network_admin.h"
#include "../script_instance.hpp"
#include "../../game/game.hpp"
/* static */ bool ScriptAdmin::MakeJSON(HSQUIRRELVM vm, SQInteger index, int max_depth, std::string &data)
{

View File

@@ -15,7 +15,6 @@
#include "../script_instance.hpp"
#include "../../bridge_map.h"
#include "../../strings_func.h"
#include "../../economy_func.h"
#include "../../date_func.h"
/* static */ bool ScriptBridge::IsValidBridge(BridgeID bridge_id)

View File

@@ -11,7 +11,6 @@
#include "../../stdafx.h"
#include "script_cargo.hpp"
#include "../../cargotype.h"
#include "../../economy_func.h"
#include "../../core/bitmath_func.hpp"

View File

@@ -12,7 +12,6 @@
#include "../../stdafx.h"
#include "script_company.hpp"
#include "script_error.hpp"
#include "../../command_func.h"
#include "../../company_func.h"
#include "../../company_base.h"
#include "../../company_manager_face.h"

View File

@@ -11,10 +11,6 @@
#include "../../stdafx.h"
#include "script_companymode.hpp"
#include "../../company_base.h"
#include "../../company_func.h"
#include "../script_instance.hpp"
#include "../script_fatalerror.hpp"
ScriptCompanyMode::ScriptCompanyMode(int company)
{

View File

@@ -18,7 +18,6 @@
#include "../script_fatalerror.hpp"
#include "../script_info.hpp"
#include "../script_instance.hpp"
#include "../script_suspend.hpp"
#include "script_log.hpp"
/* static */ void ScriptController::SetCommandDelay(int ticks)

View File

@@ -12,7 +12,6 @@
#include "../../stdafx.h"
#include "script_engine.hpp"
#include "script_cargo.hpp"
#include "../../company_func.h"
#include "../../company_base.h"
#include "../../strings_func.h"
#include "../../rail.h"

View File

@@ -12,7 +12,6 @@
#include "../../stdafx.h"
#include "script_enginelist.hpp"
#include "../../engine_base.h"
#include "../../core/bitmath_func.hpp"
ScriptEngineList::ScriptEngineList(ScriptVehicle::VehicleType vehicle_type)
{

View File

@@ -13,7 +13,6 @@
#include "script_event_types.hpp"
#include "script_vehicle.hpp"
#include "script_log.hpp"
#include "../../command_type.h"
#include "../../strings_func.h"
#include "../../settings_type.h"
#include "../../engine_base.h"

View File

@@ -11,8 +11,6 @@
#include "../../stdafx.h"
#include "script_execmode.hpp"
#include "../../company_base.h"
#include "../../company_func.h"
#include "../script_instance.hpp"
#include "../script_fatalerror.hpp"

View File

@@ -13,7 +13,6 @@
#include "script_game.hpp"
#include "../../command_type.h"
#include "../../settings_type.h"
#include "../../openttd.h"
#include "../../network/network.h"
/* static */ bool ScriptGame::Pause()

View File

@@ -16,10 +16,6 @@
#include "script_map.hpp"
#include "script_town.hpp"
#include "../script_instance.hpp"
#include "../../command_type.h"
#include "../../settings_type.h"
#include "../../openttd.h"
#include "../../network/network.h"
#include "../../goal_base.h"
#include "../../string_func.h"

View File

@@ -13,8 +13,6 @@
#include "script_group.hpp"
#include "script_engine.hpp"
#include "../script_instance.hpp"
#include "../../company_func.h"
#include "../../group.h"
#include "../../string_func.h"
#include "../../strings_func.h"
#include "../../autoreplace_func.h"

View File

@@ -11,7 +11,6 @@
#include "../../stdafx.h"
#include "script_grouplist.hpp"
#include "../../company_func.h"
#include "../../group.h"
ScriptGroupList::ScriptGroupList()

View File

@@ -11,7 +11,6 @@
#include "../../stdafx.h"
#include "script_infrastructure.hpp"
#include "../../settings_func.h"
#include "../../company_base.h"
#include "../../rail.h"
#include "../../road_func.h"

View File

@@ -12,11 +12,8 @@
#include "../../stdafx.h"
#include "script_news.hpp"
#include "script_error.hpp"
#include "../../news_func.h"
#include "../../strings_func.h"
#include "../../command_type.h"
#include "../../string_func.h"
#include "table/strings.h"
/* static */ bool ScriptNews::Create(NewsType type, Text *text, ScriptCompany::CompanyID company)
{

View File

@@ -15,14 +15,11 @@
#include "../../company_func.h"
#include "../../company_base.h"
#include "../../network/network.h"
#include "../../tunnelbridge.h"
#include "../../genworld.h"
#include "../../goal_type.h"
#include "../script_storage.hpp"
#include "../script_instance.hpp"
#include "../script_fatalerror.hpp"
#include "../script_suspend.hpp"
#include "script_error.hpp"
/**

View File

@@ -11,7 +11,6 @@
#include "../../stdafx.h"
#include "script_order.hpp"
#include "script_vehicle.hpp"
#include "script_cargo.hpp"
#include "script_map.hpp"
#include "../script_instance.hpp"

View File

@@ -17,7 +17,6 @@
#include "script_cargo.hpp"
#include "../../debug.h"
#include "../../station_base.h"
#include "../../newgrf.h"
#include "../../newgrf_generic.h"
#include "../../newgrf_station.h"
#include "../../strings_func.h"

View File

@@ -13,8 +13,6 @@
#include "script_sign.hpp"
#include "table/strings.h"
#include "../script_instance.hpp"
#include "../../command_func.h"
#include "../../core/alloc_func.hpp"
#include "../../signs_base.h"
#include "../../string_func.h"
#include "../../strings_func.h"

View File

@@ -11,10 +11,8 @@
#include "../../stdafx.h"
#include "script_station.hpp"
#include "script_cargo.hpp"
#include "script_map.hpp"
#include "script_town.hpp"
#include "../../debug.h"
#include "../../station_base.h"
#include "../../roadstop_base.h"
#include "../../town.h"

View File

@@ -11,8 +11,6 @@
#include "../../stdafx.h"
#include "script_testmode.hpp"
#include "../../company_base.h"
#include "../../company_func.h"
#include "../script_instance.hpp"
#include "../script_fatalerror.hpp"

View File

@@ -12,7 +12,6 @@
#include "../../stdafx.h"
#include "../../string_func.h"
#include "script_text.hpp"
#include "../squirrel.hpp"
#include "../../table/control_codes.h"
ScriptText::ScriptText(HSQUIRRELVM vm) :

View File

@@ -13,15 +13,12 @@
#include "script_tile.hpp"
#include "script_map.hpp"
#include "script_town.hpp"
#include "script_cargo.hpp"
#include "../../station_func.h"
#include "../../company_func.h"
#include "../../water_map.h"
#include "../../clear_map.h"
#include "../../tree_map.h"
#include "../../town.h"
#include "../../landscape.h"
#include "../../economy_func.h"
/* static */ bool ScriptTile::IsBuildable(TileIndex tile)
{

View File

@@ -12,11 +12,9 @@
#include "../../stdafx.h"
#include "script_town.hpp"
#include "script_map.hpp"
#include "script_cargo.hpp"
#include "script_error.hpp"
#include "../../town.h"
#include "../../strings_func.h"
#include "../../company_func.h"
#include "../../station_base.h"
#include "../../landscape.h"
#include "table/strings.h"

View File

@@ -14,8 +14,6 @@
#include "script_rail.hpp"
#include "../script_instance.hpp"
#include "../../tunnel_map.h"
#include "../../command_func.h"
#include "../../company_func.h"
/* static */ bool ScriptTunnel::IsTunnelTile(TileIndex tile)
{