(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

@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../settings_type.h"
#include "../core/random_func.hpp"
#include "ai.hpp"
#include "ai_config.hpp"
#include "ai_info.hpp"

View File

@ -16,15 +16,11 @@
#include "../company_func.h"
#include "../network/network.h"
#include "../window_func.h"
#include "../command_func.h"
#include "../fileio_func.h"
#include "ai_scanner.hpp"
#include "ai_instance.hpp"
#include "ai_config.hpp"
#include "ai_info.hpp"
#include "ai.hpp"
#include "../script/script_storage.hpp"
#include "../script/api/script_error.hpp"
/* static */ uint AI::frame_counter = 0;
/* static */ AIScannerInfo *AI::scanner_info = NULL;

View File

@ -14,7 +14,6 @@
#include "../error.h"
#include "../gui.h"
#include "../querystring_gui.h"
#include "../company_func.h"
#include "../company_base.h"
#include "../company_gui.h"
#include "../strings_func.h"
@ -24,7 +23,6 @@
#include "../network/network.h"
#include "../settings_func.h"
#include "../network/network_content.h"
#include "../core/backup_type.hpp"
#include "ai.hpp"
#include "../script/api/script_log.hpp"
@ -36,7 +34,6 @@
#include "../game/game_info.hpp"
#include "../game/game_instance.hpp"
#include "../widgets/ai_widget.h"
#include "table/strings.h"

View File

@ -11,14 +11,11 @@
#include "../stdafx.h"
#include "../script/squirrel_helper.hpp"
#include "../script/squirrel_class.hpp"
#include "ai_info.hpp"
#include "ai_scanner.hpp"
#include "../settings_type.h"
#include "../debug.h"
#include "../rev.h"
#include "ai.hpp"
/**
* Check if the API version provided by the AI is supported.

View File

@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../saveload/saveload.h"
#include "../error.h"
#include "../script/squirrel_class.hpp"
@ -20,8 +19,6 @@
#include "ai_gui.hpp"
#include "ai.hpp"
#include "../script/script_fatalerror.hpp"
#include "../script/script_suspend.hpp"
#include "../script/script_storage.hpp"
#include "ai_info.hpp"
#include "ai_instance.hpp"

View File

@ -11,14 +11,12 @@
#include "../stdafx.h"
#include "../debug.h"
#include "../fileio_func.h"
#include "../network/network.h"
#include "../core/random_func.hpp"
#include "../script/squirrel_class.hpp"
#include "ai_info.hpp"
#include "ai_scanner.hpp"
#include "../script/api/script_controller.hpp"
AIScannerInfo::AIScannerInfo() :

View File

@ -16,7 +16,6 @@
#include "aircraft.h"
#include "landscape.h"
#include "news_func.h"
#include "vehicle_gui.h"
#include "newgrf_engine.h"
#include "newgrf_sound.h"
#include "spritecache.h"

View File

@ -27,11 +27,9 @@
#include "core/geometry_func.hpp"
#include "hotkeys.h"
#include "vehicle_func.h"
#include "sprite.h"
#include "widgets/airport_widget.h"
#include "table/strings.h"
static AirportClassID _selected_airport_class; ///< the currently visible airport class
static int _selected_airport_index; ///< the index of the selected airport in the current class or -1

View File

@ -18,7 +18,6 @@
#include "newgrf.h"
#include "table/strings.h"
#include "table/sprites.h"
static const uint MAX_ARTICULATED_PARTS = 100; ///< Maximum of articulated parts per vehicle, i.e. when to abort calling the articulated vehicle callback.

View File

@ -17,7 +17,6 @@
#include "vehicle_func.h"
#include "autoreplace_func.h"
#include "autoreplace_gui.h"
#include "group.h"
#include "articulated_vehicles.h"
#include "core/random_func.hpp"

View File

@ -13,7 +13,6 @@
#include "command_func.h"
#include "vehicle_gui.h"
#include "newgrf_engine.h"
#include "group.h"
#include "rail.h"
#include "strings_func.h"
#include "window_func.h"
@ -28,7 +27,6 @@
#include "widgets/autoreplace_widget.h"
#include "table/strings.h"
uint GetEngineListHeight(VehicleType type);
void DrawEngineList(VehicleType type, int x, int r, int y, const GUIEngineList *eng_list, uint16 min, uint16 max, EngineID selected_id, bool show_count, GroupID selected_group);

View File

@ -10,7 +10,6 @@
/** @file 32bpp_anim.cpp Implementation of the optimized 32 bpp blitter with animation support. */
#include "../stdafx.h"
#include "../core/math_func.hpp"
#include "../video/video_driver.hpp"
#include "32bpp_anim.hpp"

View File

@ -12,7 +12,6 @@
#include "../stdafx.h"
#include "../zoom_func.h"
#include "../settings_type.h"
#include "../core/math_func.hpp"
#include "32bpp_optimized.hpp"
/** Instantiation of the optimized 32bpp blitter factory. */

View File

@ -16,7 +16,6 @@
#if defined(ENABLE_NETWORK) && defined(WITH_FREETYPE)
#include "core/geometry_func.hpp"
#include "fileio_func.h"
#include "fontcache.h"
#include "gfx_func.h"
#include "network/network.h"
@ -25,7 +24,6 @@
#include "strings_func.h"
#include "video/video_driver.hpp"
#include "window_func.h"
#include "window_gui.h"
#include "widgets/bootstrap_widget.h"

View File

@ -11,7 +11,6 @@
#include "stdafx.h"
#include "cargotype.h"
#include "core/bitmath_func.hpp"
#include "newgrf_cargo.h"
#include "string_func.h"
#include "strings_func.h"

View File

@ -18,18 +18,15 @@
#include "saveload/saveload.h"
#include "textbuf_gui.h"
#include "window_gui.h"
#include "newgrf.h"
#include "string_func.h"
#include "strings_func.h"
#include "window_func.h"
#include "rail_gui.h"
#include "gui.h"
#include "company_gui.h"
#include "gamelog.h"
#include "widgets/cheat_widget.h"
#include "table/strings.h"
#include "table/sprites.h"

View File

@ -14,9 +14,6 @@
#include "command_func.h"
#include "landscape.h"
#include "genworld.h"
#include "landscape_type.h"
#include "clear_func.h"
#include "economy_func.h"
#include "viewport_func.h"
#include "water.h"
#include "core/random_func.hpp"

View File

@ -17,9 +17,7 @@
#include "network/network_type.h"
#include "network/network.h"
#include "genworld.h"
#include "newgrf_storage.h"
#include "strings_func.h"
#include "gfx_func.h"
#include "texteff.hpp"
#include "town.h"
#include "date_func.h"

View File

@ -10,7 +10,6 @@
/** @file company_cmd.cpp Handling of companies. */
#include "stdafx.h"
#include "engine_base.h"
#include "company_base.h"
#include "company_func.h"
#include "company_gui.h"
@ -18,8 +17,6 @@
#include "news_func.h"
#include "cmd_helper.h"
#include "command_func.h"
#include "network/network.h"
#include "network/network_func.h"
#include "network/network_base.h"
#include "network/network_admin.h"
#include "ai/ai.hpp"
@ -33,11 +30,9 @@
#include "settings_func.h"
#include "vehicle_base.h"
#include "vehicle_func.h"
#include "sprite.h"
#include "smallmap_gui.h"
#include "game/game.hpp"
#include "table/strings.h"
CompanyByte _local_company; ///< Company controlled by the human player at this client. Can also be #COMPANY_SPECTATOR.
CompanyByte _current_company; ///< Company currently doing an action.

View File

@ -20,17 +20,14 @@
#include "network/network.h"
#include "network/network_gui.h"
#include "network/network_func.h"
#include "vehicle_func.h"
#include "newgrf.h"
#include "company_manager_face.h"
#include "strings_func.h"
#include "date_func.h"
#include "widgets/dropdown_type.h"
#include "tilehighlight_func.h"
#include "sprite.h"
#include "company_base.h"
#include "core/geometry_func.hpp"
#include "economy_func.h"
#include "object_type.h"
#include "rail.h"
#include "engine_base.h"
@ -41,7 +38,6 @@
#include "widgets/company_widget.h"
#include "table/strings.h"
/** Company GUI constants. */
static const uint EXP_LINESPACE = 2; ///< Amount of vertical space for a horizontal (sub-)total line.

View File

@ -11,10 +11,7 @@
#include "stdafx.h"
#include "console_internal.h"
#include "network/network.h"
#include "network/network_func.h"
#include "network/network_admin.h"
#include "debug.h"
#include "console_func.h"
#include "settings_type.h"

View File

@ -11,12 +11,9 @@
#include "stdafx.h"
#include "console_internal.h"
#include "debug.h"
#include "engine_func.h"
#include "landscape.h"
#include "saveload/saveload.h"
#include "network/network.h"
#include "network/network_func.h"
#include "network/network_base.h"
#include "network/network_admin.h"
#include "network/network_client.h"

View File

@ -20,7 +20,6 @@
#include "widgets/dropdown_type.h"
#include "widgets/date_widget.h"
#include "table/strings.h"
/** Window to select a date graphically by using dropdowns */
struct SetDateWindow : Window {

View File

@ -12,8 +12,6 @@
#include "stdafx.h"
#include <stdarg.h>
#include "console_func.h"
#include "debug.h"
#include "string_func.h"
#include "fileio_func.h"
#include "settings_type.h"

View File

@ -18,10 +18,8 @@
#include "viewport_func.h"
#include "command_func.h"
#include "depot_base.h"
#include "vehicle_gui.h"
#include "spritecache.h"
#include "strings_func.h"
#include "window_func.h"
#include "vehicle_func.h"
#include "company_func.h"
#include "tilehighlight_func.h"

View File

@ -15,7 +15,6 @@
#include "station_gui.h"
#include "command_func.h"
#include "water.h"
#include "water_map.h"
#include "window_func.h"
#include "vehicle_func.h"
#include "sound_func.h"
@ -25,9 +24,7 @@
#include "slope_func.h"
#include "tilehighlight_func.h"
#include "company_base.h"
#include "station_type.h"
#include "hotkeys.h"
#include "bridge.h"
#include "widgets/dock_widget.h"

View File

@ -17,7 +17,6 @@
#include "news_func.h"
#include "network/network.h"
#include "network/network_func.h"
#include "vehicle_gui.h"
#include "ai/ai.hpp"
#include "aircraft.h"
#include "newgrf_engine.h"
@ -29,9 +28,7 @@
#include "newgrf_station.h"
#include "newgrf_airporttiles.h"
#include "object.h"
#include "group.h"
#include "strings_func.h"
#include "window_func.h"
#include "date_func.h"
#include "vehicle_func.h"
#include "sound_func.h"
@ -44,7 +41,6 @@
#include "waypoint_base.h"
#include "economy_base.h"
#include "core/pool_func.hpp"
#include "newgrf.h"
#include "core/backup_type.hpp"
#include "water.h"
#include "game/game.hpp"

View File

@ -19,7 +19,6 @@
#include "effectvehicle_func.h"
#include "effectvehicle_base.h"
#include "table/sprites.h"
static void ChimneySmokeInit(EffectVehicle *v)
{

View File

@ -16,7 +16,6 @@
#include "aircraft.h"
#include "newgrf.h"
#include "newgrf_engine.h"
#include "group.h"
#include "strings_func.h"
#include "core/random_func.hpp"
#include "window_func.h"

View File

@ -11,7 +11,6 @@
#include "stdafx.h"
#include "window_gui.h"
#include "gfx_func.h"
#include "engine_base.h"
#include "command_func.h"
#include "strings_func.h"

View File

@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../settings_type.h"
#include "../core/random_func.hpp"
#include "game.hpp"
#include "game_config.hpp"
#include "game_info.hpp"

View File

@ -10,14 +10,11 @@
/** @file game_core.cpp Implementation of Game. */
#include "../stdafx.h"
#include "../command_func.h"
#include "../core/backup_type.hpp"
#include "../core/bitmath_func.hpp"
#include "../company_base.h"
#include "../company_func.h"
#include "../network/network.h"
#include "../window_func.h"
#include "../fileio_func.h"
#include "game.hpp"
#include "game_scanner.hpp"
#include "game_config.hpp"

View File

@ -11,14 +11,10 @@
#include "../stdafx.h"
#include "../script/squirrel_helper.hpp"
#include "../script/squirrel_class.hpp"
#include "game_info.hpp"
#include "game_scanner.hpp"
#include "../settings_type.h"
#include "../debug.h"
#include "../rev.h"
#include "game.hpp"
/**
* Check if the API version provided by the Game is supported.

View File

@ -10,9 +10,7 @@
/** @file game_instance.cpp Implementation of GameInstance. */
#include "../stdafx.h"
#include "../debug.h"
#include "../error.h"
#include "../saveload/saveload.h"
#include "../script/squirrel_class.hpp"

View File

@ -10,15 +10,10 @@
/** @file game_scanner.cpp allows scanning Game scripts */
#include "../stdafx.h"
#include "../debug.h"
#include "../fileio_func.h"
#include "../network/network.h"
#include "../core/random_func.hpp"
#include "../script/squirrel_class.hpp"
#include "game_info.hpp"
#include "game_scanner.hpp"
#include "../script/api/script_controller.hpp"
void GameScannerInfo::Initialize()

View File

@ -10,7 +10,6 @@
/** @file game_text.cpp Implementation of handling translated strings. */
#include "../stdafx.h"
#include "../language.h"
#include "../strgen/strgen.h"
#include "../debug.h"
#include "../fileio_func.h"
@ -21,7 +20,6 @@
#include "table/strings.h"
#include <exception>
#include <stdarg.h>
void CDECL strgen_warning(const char *s, ...)

View File

@ -18,10 +18,8 @@
#include "network/network.h"
#include "heightmap.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "date_func.h"
#include "engine_func.h"
#include "newgrf_storage.h"
#include "water.h"
#include "video/video_driver.hpp"
#include "tilehighlight_func.h"
@ -36,7 +34,6 @@
#include "game/game.hpp"
#include "game/game_instance.hpp"
#include "table/sprites.h"
void GenerateClearTile();
void GenerateIndustries();

View File

@ -22,7 +22,6 @@
#include "string_func.h"
#include "widgets/dropdown_type.h"
#include "widgets/dropdown_func.h"
#include "landscape_type.h"
#include "querystring_gui.h"
#include "town.h"
#include "settings_func.h"
@ -33,8 +32,6 @@
#include "widgets/genworld_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
extern void MakeNewgameSettingsLive();

View File

@ -20,7 +20,6 @@
#include "settings_type.h"
#include "network/network.h"
#include "network/network_func.h"
#include "thread/thread.h"
#include "window_func.h"
#include "newgrf_debug.h"

View File

@ -23,7 +23,6 @@
#include "base_media_func.h"
#include "table/sprites.h"
#include "table/strings.h"
/** Whether the given NewGRFs must get a palette remap from windows to DOS or not. */
bool _palette_remap_grf[MAX_FILE_SLOTS];

View File

@ -13,15 +13,9 @@
#include "company_func.h"
#include "industry.h"
#include "town.h"
#include "news_func.h"
#include "ai/ai.hpp"
#include "station_base.h"
#include "cargotype.h"
#include "strings_func.h"
#include "window_func.h"
#include "goal_base.h"
#include "core/pool_func.hpp"
#include "core/random_func.hpp"
#include "game/game.hpp"
#include "command_func.h"
#include "company_base.h"
@ -29,7 +23,6 @@
#include "gui.h"
#include "network/network.h"
#include "table/strings.h"
GoalID _new_goal_id;

View File

@ -16,7 +16,6 @@
#include "strings_func.h"
#include "date_func.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "gui.h"
#include "goal_base.h"
#include "core/geometry_func.hpp"

View File

@ -22,13 +22,13 @@
#include "gfx_func.h"
#include "sortlist_type.h"
#include "core/geometry_func.hpp"
#include "math.h"
#include "currency.h"
#include "widgets/graph_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
#include <math.h>
/* Bitmasks of company and cargo indices that shouldn't be drawn. */
static uint _legend_excluded_companies;

View File

@ -12,8 +12,6 @@
#include "stdafx.h"
#include "train.h"
#include "roadveh.h"
#include "vehicle_gui.h"
#include "window_func.h"
/**
* Recalculates the cached total power of a vehicle. Should be called when the consist is changed.

View File

@ -12,11 +12,8 @@
#include "stdafx.h"
#include "cmd_helper.h"
#include "command_func.h"
#include "group.h"
#include "train.h"
#include "vehicle_gui.h"
#include "vehiclelist.h"
#include "window_func.h"
#include "vehicle_func.h"
#include "autoreplace_base.h"
#include "autoreplace_func.h"

View File

@ -14,7 +14,6 @@
#include "command_func.h"
#include "vehicle_gui.h"
#include "vehicle_base.h"
#include "group.h"
#include "string_func.h"
#include "strings_func.h"
#include "window_func.h"
@ -29,7 +28,6 @@
#include "widgets/group_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
typedef GUIList<const Group*> GUIGroupList;

View File

@ -13,7 +13,7 @@
#include "clear_map.h"
#include "industry.h"
#include "station_base.h"
#include "train.h"
#include "landscape.h"
#include "viewport_func.h"
#include "command_func.h"
#include "town.h"

View File

@ -17,7 +17,6 @@
#include "textbuf_gui.h"
#include "command_func.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "industry.h"
#include "town.h"
#include "cheat_type.h"
@ -40,7 +39,6 @@
#include "widgets/industry_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
bool _ignore_restrictions;
uint64 _displayed_industries; ///< Communication from the industry chain window to the smallmap window about what industries to display.

View File

@ -13,7 +13,6 @@
#include "core/alloc_func.hpp"
#include "core/mem_func.hpp"
#include "ini_type.h"
#include "string_func.h"
/**
* Construct a new in-memory item of an Ini file.

View File

@ -29,8 +29,6 @@
#include "animated_tile_func.h"
#include "core/random_func.hpp"
#include "object_base.h"
#include "water_map.h"
#include "economy_func.h"
#include "company_func.h"
#include "pathfinder/npf/aystar.h"
#include <list>

View File

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "debug.h"
#include "core/alloc_func.hpp"
#include "tile_map.h"
#include "water_map.h"
#if defined(_MSC_VER)

View File

@ -16,7 +16,6 @@
#include "ai/ai_gui.hpp"
#include "newgrf.h"
#include "newgrf_house.h"
#include "group.h"
#include "economy_func.h"
#include "date_func.h"
#include "texteff.hpp"

View File

@ -14,8 +14,6 @@
#include "landscape.h"
#include "error.h"
#include "gui.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "command_func.h"
#include "company_func.h"
#include "town.h"

View File

@ -37,7 +37,6 @@
#include "../core/pool_func.hpp"
#include "../gfx_func.h"
#include "../error.h"
#include "table/strings.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "../fileio_func.h"

View File

@ -14,12 +14,10 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../gfx_func.h"
#include "../strings_func.h"
#include "../blitter/factory.hpp"
#include "../console_func.h"
#include "../video/video_driver.hpp"
#include "../table/sprites.h"
#include "../querystring_gui.h"
#include "../town.h"
#include "../window_func.h"

View File

@ -12,7 +12,6 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../debug.h"
#include "network_gui.h"
#include "../saveload/saveload.h"
#include "../saveload/saveload_filter.h"

View File

@ -23,7 +23,6 @@
#include "../core/geometry_func.hpp"
#include "network_content_gui.h"
#include "../widgets/network_content_widget.h"
#include "table/strings.h"
#include "../table/sprites.h"

View File

@ -21,7 +21,6 @@
#include "network_internal.h"
#include "network_udp.h"
#include "network_gamelist.h"
#include "../newgrf_text.h"
NetworkGameList *_network_game_list = NULL;

View File

@ -29,7 +29,6 @@
#include "../sortlist_type.h"
#include "../company_func.h"
#include "../core/geometry_func.hpp"
#include "../newgrf_text.h"
#include "../genworld.h"
#include "../widgets/network_widget.h"

View File

@ -27,7 +27,6 @@
#include "../genworld.h"
#include "../company_func.h"
#include "../company_gui.h"
#include "../window_func.h"
#include "../roadveh.h"
#include "../order_backup.h"
#include "../core/pool_func.hpp"

View File

@ -24,7 +24,6 @@
#include "fontcache.h"
#include "currency.h"
#include "landscape.h"
#include "newgrf.h"
#include "newgrf_cargo.h"
#include "newgrf_house.h"
#include "newgrf_sound.h"

View File

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "debug.h"
#include "date_func.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
#include "newgrf_text.h"
#include "station_base.h"

View File

@ -11,13 +11,11 @@
#include "stdafx.h"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_airporttiles.h"
#include "newgrf_spritegroup.h"
#include "newgrf_sound.h"
#include "station_base.h"
#include "water.h"
#include "viewport_func.h"
#include "landscape.h"
#include "company_base.h"
#include "town.h"

View File

@ -11,9 +11,7 @@
#include "stdafx.h"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
#include "core/bitmath_func.hpp"
static uint32 CargoGetRandomBits(const ResolverObject *object)
{

View File

@ -17,7 +17,6 @@
#include "landscape.h"
#include "house.h"
#include "industrytype.h"
#include "newgrf.h"
#include "newgrf_config.h"
#include "clear_map.h"
#include "station_map.h"
@ -27,7 +26,6 @@
#include "genworld.h"
#include "newgrf_spritegroup.h"
#include "newgrf_text.h"
#include "livery.h"
#include "company_base.h"
#include "error.h"
#include "strings_func.h"

View File

@ -14,7 +14,6 @@
#include "train.h"
#include "roadveh.h"
#include "company_func.h"
#include "newgrf.h"
#include "newgrf_cargo.h"
#include "newgrf_spritegroup.h"
#include "date_func.h"

View File

@ -11,12 +11,9 @@
#include "stdafx.h"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
#include "industrytype.h"
#include "core/bitmath_func.hpp"
#include "core/random_func.hpp"
#include "tile_map.h"
#include "newgrf_sound.h"
#include "water_map.h"
#include <list>

View File

@ -30,7 +30,6 @@
#include "widgets/newgrf_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
/**

View File

@ -11,9 +11,7 @@
#include "stdafx.h"
#include "debug.h"
#include "viewport_func.h"
#include "landscape.h"
#include "newgrf.h"
#include "newgrf_house.h"
#include "newgrf_spritegroup.h"
#include "newgrf_town.h"
@ -21,7 +19,6 @@
#include "company_func.h"
#include "company_base.h"
#include "town.h"
#include "sprite.h"
#include "genworld.h"
#include "newgrf_animation_base.h"
#include "newgrf_cargo.h"

View File

@ -12,15 +12,12 @@
#include "stdafx.h"
#include "debug.h"
#include "industry.h"
#include "newgrf.h"
#include "newgrf_industries.h"
#include "newgrf_text.h"
#include "newgrf_town.h"
#include "newgrf_cargo.h"
#include "window_func.h"
#include "town.h"
#include "company_base.h"
#include "command_func.h"
#include "error.h"
#include "strings_func.h"
#include "core/random_func.hpp"

View File

@ -11,17 +11,13 @@
#include "stdafx.h"
#include "debug.h"
#include "viewport_func.h"
#include "landscape.h"
#include "newgrf.h"
#include "newgrf_industrytiles.h"
#include "newgrf_sound.h"
#include "newgrf_text.h"
#include "industry.h"
#include "town.h"
#include "command_func.h"
#include "water.h"
#include "sprite.h"
#include "newgrf_animation_base.h"
#include "table/strings.h"

View File

@ -13,7 +13,6 @@
#include "company_base.h"
#include "company_func.h"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_class_func.h"
#include "newgrf_object.h"
#include "newgrf_sound.h"
@ -21,10 +20,8 @@
#include "newgrf_town.h"
#include "object_base.h"
#include "object_map.h"
#include "sprite.h"
#include "tile_cmd.h"
#include "town.h"
#include "viewport_func.h"
#include "water.h"
#include "newgrf_animation_base.h"

View File

@ -11,7 +11,6 @@
#include "stdafx.h"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
#include "date_func.h"
#include "depot_base.h"

View File

@ -10,9 +10,7 @@
/** @file newgrf_spritegroup.cpp Handling of primarily NewGRF action 2. */
#include "stdafx.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
#include "sprite.h"
#include "core/pool_func.hpp"
SpriteGroupPool _spritegroup_pool("SpriteGroup");

View File

@ -23,7 +23,6 @@
#include "newgrf_town.h"
#include "company_func.h"
#include "tunnelbridge_map.h"
#include "newgrf.h"
#include "newgrf_animation_base.h"
#include "newgrf_class_func.h"

View File

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "debug.h"
#include "town.h"
#include "newgrf.h"
#include "newgrf_spritegroup.h"
/**

View File

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "gui.h"
#include "viewport_func.h"
#include "news_type.h"
#include "strings_func.h"
#include "window_func.h"
#include "date_func.h"

View File

@ -25,7 +25,6 @@
#include "cheat_type.h"
#include "object.h"
#include "cargopacket.h"
#include "sprite.h"
#include "core/random_func.hpp"
#include "core/pool_func.hpp"
#include "object_map.h"

View File

@ -14,7 +14,6 @@
#include "newgrf.h"
#include "newgrf_object.h"
#include "newgrf_text.h"
#include "sprite.h"
#include "strings_func.h"
#include "viewport_func.h"
#include "window_gui.h"

View File

@ -19,8 +19,6 @@
#include "fontcache.h"
#include "error.h"
#include "gui.h"
#include "sound_func.h"
#include "window_func.h"
#include "base_media_base.h"
#include "saveload/saveload.h"
@ -36,13 +34,11 @@
#include "screenshot.h"
#include "network/network.h"
#include "network/network_func.h"
#include "signs_base.h"
#include "ai/ai.hpp"
#include "ai/ai_config.hpp"
#include "settings_func.h"
#include "genworld.h"
#include "progress.h"
#include "group.h"
#include "strings_func.h"
#include "date_func.h"
#include "vehicle_func.h"
@ -52,7 +48,6 @@
#include "elrail_func.h"
#include "rev.h"
#include "highscore.h"
#include "thread/thread.h"
#include "station_base.h"
#include "crashlog.h"
#include "engine_func.h"
@ -66,12 +61,9 @@
#include "game/game_config.hpp"
#include "town.h"
#include "industry.h"
#include <stdarg.h>
#include "table/strings.h"
void CallLandscapeTick();
void IncreaseDate();

View File

@ -15,9 +15,7 @@
#include "command_func.h"
#include "company_func.h"
#include "news_func.h"
#include "vehicle_gui.h"
#include "strings_func.h"
#include "window_func.h"
#include "timetable.h"
#include "vehicle_func.h"
#include "depot_base.h"

View File

@ -13,11 +13,9 @@
#include "command_func.h"
#include "viewport_func.h"
#include "depot_map.h"
#include "vehicle_gui.h"
#include "roadveh.h"
#include "timetable.h"
#include "strings_func.h"
#include "window_func.h"
#include "company_func.h"
#include "widgets/dropdown_type.h"
#include "widgets/dropdown_func.h"
@ -33,7 +31,6 @@
#include "widgets/order_widget.h"
#include "table/strings.h"
/** Order load types that could be given to station orders. */
static const StringID _station_load_types[][5][5] = {

View File

@ -10,7 +10,6 @@
/** @file npf.cpp Implementation of the NPF pathfinder. */
#include "../../stdafx.h"
#include "../../debug.h"
#include "../../network/network.h"
#include "../../viewport_func.h"
#include "../../ship.h"

View File

@ -10,7 +10,6 @@
/** @file progress.cpp Functions for modal progress windows. */
#include "stdafx.h"
#include "progress.h"
#include "thread/thread.h"
/** Are we in a modal progress or not? */

View File

@ -21,7 +21,6 @@
#include "autoslope.h"
#include "water.h"
#include "tunnelbridge_map.h"
#include "window_func.h"
#include "vehicle_func.h"
#include "sound_func.h"
#include "tunnelbridge.h"

View File

@ -39,7 +39,6 @@
#include "widgets/rail_widget.h"
#include "table/strings.h"
static RailType _cur_railtype; ///< Rail type of the current build-rail toolbar.
static bool _remove_button_clicked; ///< Flag whether 'remove' toggle-button is currently enabled

View File

@ -19,7 +19,6 @@
#include "newgrf.h"
#include "autoslope.h"
#include "tunnelbridge_map.h"
#include "window_func.h"
#include "strings_func.h"
#include "vehicle_func.h"
#include "sound_func.h"

View File

@ -16,13 +16,11 @@
#include "pathfinder/npf/npf_func.h"
#include "station_base.h"
#include "company_func.h"
#include "vehicle_gui.h"
#include "articulated_vehicles.h"
#include "newgrf_sound.h"
#include "pathfinder/yapf/yapf.h"
#include "strings_func.h"
#include "tunnelbridge_map.h"
#include "window_func.h"
#include "date_func.h"
#include "vehicle_func.h"
#include "sound_func.h"

View File

@ -12,13 +12,10 @@
#include "stdafx.h"
#include "roadveh.h"
#include "window_gui.h"
#include "gfx_func.h"
#include "vehicle_gui.h"
#include "strings_func.h"
#include "vehicle_func.h"
#include "string_func.h"
#include "table/sprites.h"
#include "table/strings.h"
/**

View File

@ -13,7 +13,6 @@
#include "../void_map.h"
#include "../signs_base.h"
#include "../depot_base.h"
#include "../window_func.h"
#include "../fios.h"
#include "../gamelog_internal.h"
#include "../network/network.h"
@ -52,10 +51,8 @@
#include "../core/backup_type.hpp"
#include "../smallmap_gui.h"
#include "../news_func.h"
#include "../group.h"
#include "../error.h"
#include "table/strings.h"
#include "saveload_internal.h"

View File

@ -13,9 +13,6 @@
#include "../company_func.h"
#include "../company_manager_face.h"
#include "../fios.h"
#include "../rail_map.h"
#include "../road_map.h"
#include "../station_map.h"
#include "../tunnelbridge_map.h"
#include "../tunnelbridge.h"
#include "../station_base.h"

View File

@ -10,7 +10,6 @@
/** @file game_sl.cpp Handles the saveload part of the GameScripts */
#include "../stdafx.h"
#include "../company_base.h"
#include "../debug.h"
#include "saveload.h"
#include "../string_func.h"

View File

@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../industry.h"
#include "../newgrf.h"
#include "saveload.h"
#include "newgrf_sl.h"

View File

@ -12,7 +12,6 @@
#include "../stdafx.h"
#include "../date_func.h"
#include "../zoom_func.h"
#include "../vehicle_func.h"
#include "../window_gui.h"
#include "../window_func.h"
#include "../viewport_func.h"

View File

@ -10,7 +10,6 @@
/** @file newgrf_sl.cpp Code handling saving and loading of newgrf config */
#include "../stdafx.h"
#include "../core/bitmath_func.hpp"
#include "../fios.h"
#include "saveload.h"

View File

@ -39,7 +39,6 @@
#include "../fileio_func.h"
#include "../gamelog.h"
#include "../string_func.h"
#include "../engine_base.h"
#include "../fios.h"
#include "../error.h"

View File

@ -15,7 +15,6 @@
#include "../roadstop_base.h"
#include "../vehicle_base.h"
#include "../newgrf_station.h"
#include "../newgrf.h"
#include "saveload.h"
#include "table/strings.h"

View File

@ -10,7 +10,6 @@
/** @file screenshot.cpp The creation of screenshots! */
#include "stdafx.h"
#include "fileio_func.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "screenshot.h"

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)

Some files were not shown because too many files have changed in this diff Show More