1
0
Fork 0

(svn r18330) -Cleanup: remove some unneeded includes

release/1.0
rubidium 2009-11-28 20:35:25 +00:00
parent bf0b72ae9e
commit b00a5f1069
32 changed files with 0 additions and 39 deletions

View File

@ -14,7 +14,6 @@
#include "../ai_instance.hpp" #include "../ai_instance.hpp"
#include "../../bridge_map.h" #include "../../bridge_map.h"
#include "../../strings_func.h" #include "../../strings_func.h"
#include "../../core/alloc_func.hpp"
#include "../../economy_func.h" #include "../../economy_func.h"
#include "../../date_func.h" #include "../../date_func.h"

View File

@ -12,7 +12,6 @@
#include "ai_cargo.hpp" #include "ai_cargo.hpp"
#include "../../cargotype.h" #include "../../cargotype.h"
#include "../../economy_func.h" #include "../../economy_func.h"
#include "../../core/alloc_func.hpp"
#include "../../core/bitmath_func.hpp" #include "../../core/bitmath_func.hpp"
/* static */ bool AICargo::IsValidCargo(CargoID cargo_type) /* static */ bool AICargo::IsValidCargo(CargoID cargo_type)

View File

@ -13,7 +13,6 @@
#include "ai_cargo.hpp" #include "ai_cargo.hpp"
#include "../../company_func.h" #include "../../company_func.h"
#include "../../strings_func.h" #include "../../strings_func.h"
#include "../../vehicle_func.h"
#include "../../settings_type.h" #include "../../settings_type.h"
#include "../../rail.h" #include "../../rail.h"
#include "../../engine_base.h" #include "../../engine_base.h"

View File

@ -12,7 +12,6 @@
#include "stdafx.h" #include "stdafx.h"
#include "core/pool_func.hpp" #include "core/pool_func.hpp"
#include "economy_base.h" #include "economy_base.h"
#include "station_base.h"
/* Initialize the cargopacket-pool */ /* Initialize the cargopacket-pool */
CargoPacketPool _cargopacket_pool("CargoPacket"); CargoPacketPool _cargopacket_pool("CargoPacket");

View File

@ -10,7 +10,6 @@
/** @file company_cmd.cpp Handling of companies. */ /** @file company_cmd.cpp Handling of companies. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "engine_base.h" #include "engine_base.h"
#include "company_func.h" #include "company_func.h"
#include "company_gui.h" #include "company_gui.h"
@ -31,7 +30,6 @@
#include "autoreplace_func.h" #include "autoreplace_func.h"
#include "autoreplace_gui.h" #include "autoreplace_gui.h"
#include "rail.h" #include "rail.h"
#include "sprite.h"
#include "core/pool_func.hpp" #include "core/pool_func.hpp"
#include "settings_func.h" #include "settings_func.h"

View File

@ -20,7 +20,6 @@
#include "network/network.h" #include "network/network.h"
#include "network/network_gui.h" #include "network/network_gui.h"
#include "network/network_func.h" #include "network/network_func.h"
#include "sprite.h"
#include "economy_func.h" #include "economy_func.h"
#include "vehicle_base.h" #include "vehicle_base.h"
#include "newgrf.h" #include "newgrf.h"

View File

@ -10,7 +10,6 @@
/** @file console_cmds.cpp Implementation of the console hooks. */ /** @file console_cmds.cpp Implementation of the console hooks. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "console_internal.h" #include "console_internal.h"
#include "debug.h" #include "debug.h"
#include "engine_func.h" #include "engine_func.h"

View File

@ -10,7 +10,6 @@
/** @file date.cpp Handling of dates in our native format and transforming them to something human readable. */ /** @file date.cpp Handling of dates in our native format and transforming them to something human readable. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "variables.h" #include "variables.h"
#include "network/network.h" #include "network/network.h"
#include "network/network_func.h" #include "network/network_func.h"

View File

@ -10,7 +10,6 @@
/** @file date_gui.cpp Graphical selection of a date. */ /** @file date_gui.cpp Graphical selection of a date. */
#include "stdafx.h" #include "stdafx.h"
#include "core/math_func.hpp"
#include "strings_func.h" #include "strings_func.h"
#include "date_func.h" #include "date_func.h"
#include "gfx_func.h" #include "gfx_func.h"
@ -19,7 +18,6 @@
#include "date_gui.h" #include "date_gui.h"
#include "widgets/dropdown_type.h" #include "widgets/dropdown_type.h"
#include "widgets/dropdown_func.h"
#include "table/strings.h" #include "table/strings.h"

View File

@ -10,7 +10,6 @@
/** @file economy.cpp Handling of the economy. */ /** @file economy.cpp Handling of the economy. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "tile_cmd.h" #include "tile_cmd.h"
#include "company_func.h" #include "company_func.h"
#include "command_func.h" #include "command_func.h"

View File

@ -16,7 +16,6 @@
#include "aircraft.h" #include "aircraft.h"
#include "newgrf.h" #include "newgrf.h"
#include "newgrf_engine.h" #include "newgrf_engine.h"
#include "newgrf_cargo.h"
#include "group.h" #include "group.h"
#include "strings_func.h" #include "strings_func.h"
#include "gfx_func.h" #include "gfx_func.h"

View File

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

View File

@ -12,7 +12,6 @@
#include "stdafx.h" #include "stdafx.h"
#include "fontcache.h" #include "fontcache.h"
#include "blitter/factory.hpp" #include "blitter/factory.hpp"
#include "gfx_func.h"
#include "core/math_func.hpp" #include "core/math_func.hpp"
#include "table/sprites.h" #include "table/sprites.h"

View File

@ -10,7 +10,6 @@
/** @file gfx.cpp Handling of drawing text and other gfx related stuff. */ /** @file gfx.cpp Handling of drawing text and other gfx related stuff. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "gfx_func.h" #include "gfx_func.h"
#include "variables.h" #include "variables.h"
#include "fontcache.h" #include "fontcache.h"

View File

@ -11,7 +11,6 @@
#include "stdafx.h" #include "stdafx.h"
#include "debug.h" #include "debug.h"
#include "spritecache.h"
#include "fios.h" #include "fios.h"
#include "newgrf.h" #include "newgrf.h"
#include "3rdparty/md5/md5.h" #include "3rdparty/md5/md5.h"

View File

@ -10,7 +10,6 @@
/** @file misc.cpp Misc functions that shouldn't be here. */ /** @file misc.cpp Misc functions that shouldn't be here. */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "landscape.h" #include "landscape.h"
#include "news_func.h" #include "news_func.h"
#include "variables.h" #include "variables.h"
@ -27,7 +26,6 @@
#include "network/network_func.h" #include "network/network_func.h"
#include "window_func.h" #include "window_func.h"
#include "table/sprites.h"
extern TileIndex _cur_tileloop_tile; extern TileIndex _cur_tileloop_tile;
extern void MakeNewgameSettingsLive(); extern void MakeNewgameSettingsLive();

View File

@ -10,7 +10,6 @@
/** @file misc_cmd.cpp Some misc functions that are better fitted in other files, but never got moved there... */ /** @file misc_cmd.cpp Some misc functions that are better fitted in other files, but never got moved there... */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "command_func.h" #include "command_func.h"
#include "economy_func.h" #include "economy_func.h"
#include "window_func.h" #include "window_func.h"
@ -22,7 +21,6 @@
#include "gfx_func.h" #include "gfx_func.h"
#include "functions.h" #include "functions.h"
#include "vehicle_func.h" #include "vehicle_func.h"
#include "string_func.h"
#include "company_func.h" #include "company_func.h"
#include "company_gui.h" #include "company_gui.h"
#include "vehicle_base.h" #include "vehicle_base.h"

View File

@ -14,7 +14,6 @@
#ifdef ENABLE_NETWORK #ifdef ENABLE_NETWORK
#include "../../stdafx.h" #include "../../stdafx.h"
#include "../../openttd.h"
#include "../network_internal.h" #include "../network_internal.h"
#include "../../core/pool_func.hpp" #include "../../core/pool_func.hpp"

View File

@ -13,7 +13,6 @@
#ifdef ENABLE_NETWORK #ifdef ENABLE_NETWORK
#include "../openttd.h"
#include "../strings_func.h" #include "../strings_func.h"
#include "../command_func.h" #include "../command_func.h"
#include "../date_func.h" #include "../date_func.h"

View File

@ -13,7 +13,6 @@
#include "../stdafx.h" #include "../stdafx.h"
#include "../debug.h" #include "../debug.h"
#include "../openttd.h"
#include "network_internal.h" #include "network_internal.h"
#include "network_gui.h" #include "network_gui.h"
#include "../saveload/saveload.h" #include "../saveload/saveload.h"

View File

@ -11,7 +11,6 @@
#ifdef ENABLE_NETWORK #ifdef ENABLE_NETWORK
#include "../stdafx.h" #include "../stdafx.h"
#include "../openttd.h"
#include "../strings_func.h" #include "../strings_func.h"
#include "../date_func.h" #include "../date_func.h"
#include "../fios.h" #include "../fios.h"

View File

@ -28,7 +28,6 @@
#include "../company_func.h" #include "../company_func.h"
#include "../company_gui.h" #include "../company_gui.h"
#include "../window_func.h" #include "../window_func.h"
#include "../openttd.h"
#include "../cargotype.h" #include "../cargotype.h"
#include "table/strings.h" #include "table/strings.h"

View File

@ -18,7 +18,6 @@
#include "fileio_func.h" #include "fileio_func.h"
#include "engine_func.h" #include "engine_func.h"
#include "engine_base.h" #include "engine_base.h"
#include "spritecache.h"
#include "variables.h" #include "variables.h"
#include "bridge.h" #include "bridge.h"
#include "town.h" #include "town.h"

View File

@ -15,7 +15,6 @@
#include "variables.h" #include "variables.h"
#undef VARDEF #undef VARDEF
#include "openttd.h"
#include "blitter/factory.hpp" #include "blitter/factory.hpp"
#include "sound/sound_driver.hpp" #include "sound/sound_driver.hpp"
@ -59,9 +58,7 @@
#include "rev.h" #include "rev.h"
#include "highscore.h" #include "highscore.h"
#include "thread/thread.h" #include "thread/thread.h"
#include "base_station_base.h"
#include "station_base.h" #include "station_base.h"
#include "airport.h"
#include "crashlog.h" #include "crashlog.h"
#include "newgrf_commons.h" #include "newgrf_commons.h"

View File

@ -10,7 +10,6 @@
/** @file cargopacket_sl.cpp Code handling saving and loading of cargo packets */ /** @file cargopacket_sl.cpp Code handling saving and loading of cargo packets */
#include "../stdafx.h" #include "../stdafx.h"
#include "../cargopacket.h"
#include "../vehicle_base.h" #include "../vehicle_base.h"
#include "../station_base.h" #include "../station_base.h"

View File

@ -11,7 +11,6 @@
#include "../stdafx.h" #include "../stdafx.h"
#include "../order_base.h" #include "../order_base.h"
#include "../core/alloc_func.hpp"
#include "../settings_type.h" #include "../settings_type.h"
#include "saveload.h" #include "saveload.h"

View File

@ -10,8 +10,6 @@
/** @file strings_sl.cpp Code handling saving and loading of strings */ /** @file strings_sl.cpp Code handling saving and loading of strings */
#include "../stdafx.h" #include "../stdafx.h"
#include "../core/alloc_func.hpp"
#include "../core/math_func.hpp"
#include "../string_func.h" #include "../string_func.h"
#include "saveload_internal.h" #include "saveload_internal.h"

View File

@ -23,7 +23,6 @@
*/ */
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h"
#include "currency.h" #include "currency.h"
#include "screenshot.h" #include "screenshot.h"
#include "variables.h" #include "variables.h"

View File

@ -11,7 +11,6 @@
#include "stdafx.h" #include "stdafx.h"
#include "company_func.h" #include "company_func.h"
#include "newgrf_cargo.h"
#include "cargotype.h" #include "cargotype.h"
#include "roadveh.h" #include "roadveh.h"
#include "functions.h" #include "functions.h"

View File

@ -16,7 +16,6 @@
#include "viewport_func.h" #include "viewport_func.h"
#include "company_base.h" #include "company_base.h"
#include "town.h" #include "town.h"
#include "sprite.h"
#include "bridge_map.h" #include "bridge_map.h"
#include "genworld.h" #include "genworld.h"
#include "autoslope.h" #include "autoslope.h"

View File

@ -15,7 +15,6 @@
#include "window_gui.h" #include "window_gui.h"
#include "viewport_func.h" #include "viewport_func.h"
#include "zoom_func.h" #include "zoom_func.h"
#include "debug.h"
#include "strings_func.h" #include "strings_func.h"
#include "transparency.h" #include "transparency.h"

View File

@ -16,7 +16,6 @@
#include "../window_func.h" #include "../window_func.h"
#include "dropdown_type.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 void DropDownListItem::Draw(int left, int right, int top, int bottom, bool sel, int bg_colour) const
{ {