mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18330) -Cleanup: remove some unneeded includes
This commit is contained in:
parent
bf0b72ae9e
commit
b00a5f1069
|
@ -14,7 +14,6 @@
|
|||
#include "../ai_instance.hpp"
|
||||
#include "../../bridge_map.h"
|
||||
#include "../../strings_func.h"
|
||||
#include "../../core/alloc_func.hpp"
|
||||
#include "../../economy_func.h"
|
||||
#include "../../date_func.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "ai_cargo.hpp"
|
||||
#include "../../cargotype.h"
|
||||
#include "../../economy_func.h"
|
||||
#include "../../core/alloc_func.hpp"
|
||||
#include "../../core/bitmath_func.hpp"
|
||||
|
||||
/* static */ bool AICargo::IsValidCargo(CargoID cargo_type)
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "ai_cargo.hpp"
|
||||
#include "../../company_func.h"
|
||||
#include "../../strings_func.h"
|
||||
#include "../../vehicle_func.h"
|
||||
#include "../../settings_type.h"
|
||||
#include "../../rail.h"
|
||||
#include "../../engine_base.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "core/pool_func.hpp"
|
||||
#include "economy_base.h"
|
||||
#include "station_base.h"
|
||||
|
||||
/* Initialize the cargopacket-pool */
|
||||
CargoPacketPool _cargopacket_pool("CargoPacket");
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file company_cmd.cpp Handling of companies. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "engine_base.h"
|
||||
#include "company_func.h"
|
||||
#include "company_gui.h"
|
||||
|
@ -31,7 +30,6 @@
|
|||
#include "autoreplace_func.h"
|
||||
#include "autoreplace_gui.h"
|
||||
#include "rail.h"
|
||||
#include "sprite.h"
|
||||
#include "core/pool_func.hpp"
|
||||
#include "settings_func.h"
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "network/network.h"
|
||||
#include "network/network_gui.h"
|
||||
#include "network/network_func.h"
|
||||
#include "sprite.h"
|
||||
#include "economy_func.h"
|
||||
#include "vehicle_base.h"
|
||||
#include "newgrf.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file console_cmds.cpp Implementation of the console hooks. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "console_internal.h"
|
||||
#include "debug.h"
|
||||
#include "engine_func.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file date.cpp Handling of dates in our native format and transforming them to something human readable. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "variables.h"
|
||||
#include "network/network.h"
|
||||
#include "network/network_func.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file date_gui.cpp Graphical selection of a date. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "core/math_func.hpp"
|
||||
#include "strings_func.h"
|
||||
#include "date_func.h"
|
||||
#include "gfx_func.h"
|
||||
|
@ -19,7 +18,6 @@
|
|||
#include "date_gui.h"
|
||||
|
||||
#include "widgets/dropdown_type.h"
|
||||
#include "widgets/dropdown_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file economy.cpp Handling of the economy. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "tile_cmd.h"
|
||||
#include "company_func.h"
|
||||
#include "command_func.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "aircraft.h"
|
||||
#include "newgrf.h"
|
||||
#include "newgrf_engine.h"
|
||||
#include "newgrf_cargo.h"
|
||||
#include "group.h"
|
||||
#include "strings_func.h"
|
||||
#include "gfx_func.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "window_gui.h"
|
||||
#include "gfx_func.h"
|
||||
#include "engine_func.h"
|
||||
#include "engine_base.h"
|
||||
#include "command_func.h"
|
||||
#include "strings_func.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "fontcache.h"
|
||||
#include "blitter/factory.hpp"
|
||||
#include "gfx_func.h"
|
||||
#include "core/math_func.hpp"
|
||||
|
||||
#include "table/sprites.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file gfx.cpp Handling of drawing text and other gfx related stuff. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "gfx_func.h"
|
||||
#include "variables.h"
|
||||
#include "fontcache.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "debug.h"
|
||||
#include "spritecache.h"
|
||||
#include "fios.h"
|
||||
#include "newgrf.h"
|
||||
#include "3rdparty/md5/md5.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file misc.cpp Misc functions that shouldn't be here. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "landscape.h"
|
||||
#include "news_func.h"
|
||||
#include "variables.h"
|
||||
|
@ -27,7 +26,6 @@
|
|||
#include "network/network_func.h"
|
||||
#include "window_func.h"
|
||||
|
||||
#include "table/sprites.h"
|
||||
|
||||
extern TileIndex _cur_tileloop_tile;
|
||||
extern void MakeNewgameSettingsLive();
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file misc_cmd.cpp Some misc functions that are better fitted in other files, but never got moved there... */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "command_func.h"
|
||||
#include "economy_func.h"
|
||||
#include "window_func.h"
|
||||
|
@ -22,7 +21,6 @@
|
|||
#include "gfx_func.h"
|
||||
#include "functions.h"
|
||||
#include "vehicle_func.h"
|
||||
#include "string_func.h"
|
||||
#include "company_func.h"
|
||||
#include "company_gui.h"
|
||||
#include "vehicle_base.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../openttd.h"
|
||||
|
||||
#include "../network_internal.h"
|
||||
#include "../../core/pool_func.hpp"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#include "../openttd.h"
|
||||
#include "../strings_func.h"
|
||||
#include "../command_func.h"
|
||||
#include "../date_func.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include "../stdafx.h"
|
||||
#include "../debug.h"
|
||||
#include "../openttd.h"
|
||||
#include "network_internal.h"
|
||||
#include "network_gui.h"
|
||||
#include "../saveload/saveload.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#ifdef ENABLE_NETWORK
|
||||
#include "../stdafx.h"
|
||||
#include "../openttd.h"
|
||||
#include "../strings_func.h"
|
||||
#include "../date_func.h"
|
||||
#include "../fios.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "../company_func.h"
|
||||
#include "../company_gui.h"
|
||||
#include "../window_func.h"
|
||||
#include "../openttd.h"
|
||||
#include "../cargotype.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "fileio_func.h"
|
||||
#include "engine_func.h"
|
||||
#include "engine_base.h"
|
||||
#include "spritecache.h"
|
||||
#include "variables.h"
|
||||
#include "bridge.h"
|
||||
#include "town.h"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "variables.h"
|
||||
#undef VARDEF
|
||||
|
||||
#include "openttd.h"
|
||||
|
||||
#include "blitter/factory.hpp"
|
||||
#include "sound/sound_driver.hpp"
|
||||
|
@ -59,9 +58,7 @@
|
|||
#include "rev.h"
|
||||
#include "highscore.h"
|
||||
#include "thread/thread.h"
|
||||
#include "base_station_base.h"
|
||||
#include "station_base.h"
|
||||
#include "airport.h"
|
||||
#include "crashlog.h"
|
||||
|
||||
#include "newgrf_commons.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
/** @file cargopacket_sl.cpp Code handling saving and loading of cargo packets */
|
||||
|
||||
#include "../stdafx.h"
|
||||
#include "../cargopacket.h"
|
||||
#include "../vehicle_base.h"
|
||||
#include "../station_base.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "../stdafx.h"
|
||||
#include "../order_base.h"
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../settings_type.h"
|
||||
|
||||
#include "saveload.h"
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
/** @file strings_sl.cpp Code handling saving and loading of strings */
|
||||
|
||||
#include "../stdafx.h"
|
||||
#include "../core/alloc_func.hpp"
|
||||
#include "../core/math_func.hpp"
|
||||
#include "../string_func.h"
|
||||
#include "saveload_internal.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "openttd.h"
|
||||
#include "currency.h"
|
||||
#include "screenshot.h"
|
||||
#include "variables.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "company_func.h"
|
||||
#include "newgrf_cargo.h"
|
||||
#include "cargotype.h"
|
||||
#include "roadveh.h"
|
||||
#include "functions.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "viewport_func.h"
|
||||
#include "company_base.h"
|
||||
#include "town.h"
|
||||
#include "sprite.h"
|
||||
#include "bridge_map.h"
|
||||
#include "genworld.h"
|
||||
#include "autoslope.h"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "window_gui.h"
|
||||
#include "viewport_func.h"
|
||||
#include "zoom_func.h"
|
||||
#include "debug.h"
|
||||
#include "strings_func.h"
|
||||
#include "transparency.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include "../window_func.h"
|
||||
#include "dropdown_type.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
void DropDownListItem::Draw(int left, int right, int top, int bottom, bool sel, int bg_colour) const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue