(svn r21890) -Cleanup: remove some unneeded includes

pull/155/head
rubidium 14 years ago
parent d021a6b834
commit 05199a641a

@ -10,10 +10,8 @@
/** @file ai_config.cpp Implementation of AIConfig. */
#include "../stdafx.h"
#include "../openttd.h"
#include "../settings_type.h"
#include "../core/random_func.hpp"
#include "../core/math_func.hpp"
#include "ai.hpp"
#include "ai_config.hpp"

@ -10,7 +10,6 @@
/** @file ai_gui.cpp Window for configuring the AIs */
#include "../stdafx.h"
#include "../openttd.h"
#include "../table/sprites.h"
#include "../gui.h"
#include "../querystring_gui.h"

@ -15,7 +15,6 @@
#include "ai_info.hpp"
#include "ai_scanner.hpp"
#include "../settings_type.h"
#include "../openttd.h"
#include "../debug.h"
#include "../rev.h"

@ -74,6 +74,7 @@
#include "api/ai_waypointlist.hpp.sq"
#include "../company_base.h"
#include "../company_func.h"
#include "../fileio_func.h"
/** The maximum number of operations for saving or loading the data of an AI. */

@ -12,11 +12,8 @@
#ifndef AI_SCANNER_HPP
#define AI_SCANNER_HPP
#include <squirrel.h>
#include "../script/script_scanner.hpp"
#include "../core/string_compare_type.hpp"
#include "ai.hpp"
#include <map>
/**
* Class that scans for available AIs.

@ -12,12 +12,7 @@
#ifndef AI_STORAGE_HPP
#define AI_STORAGE_HPP
#include "../command_func.h"
#include "../map_func.h"
#include "../network/network.h"
#include "../company_func.h"
#include "../signs_func.h"
#include "../tunnelbridge.h"
#include "../vehicle_func.h"
#include "../road_type.h"
#include "../group.h"

@ -12,7 +12,6 @@
#ifndef AI_ACCOUNTING_HPP
#define AI_ACCOUNTING_HPP
#include "../../stdafx.h"
#include "ai_object.hpp"
/**

@ -9,14 +9,13 @@
/** @file ai_controller.cpp Implementation of AIControler. */
#include "../../stdafx.h"
#include "../../stdafx.h"
#include "../../string_func.h"
#include "../../company_base.h"
#include "../../company_func.h"
#include "../../rev.h"
#include "ai_controller.hpp"
#include "../ai_storage.hpp"
#include "../ai_instance.hpp"
#include "../ai_config.hpp"
#include "ai_log.hpp"

@ -12,9 +12,7 @@
#ifndef AI_ENGINE_HPP
#define AI_ENGINE_HPP
#include "ai_object.hpp"
#include "ai_vehicle.hpp"
#include "ai_road.hpp"
#include "ai_rail.hpp"
#include "ai_airport.hpp"

@ -12,7 +12,6 @@
#ifndef AI_EVENT_TYPES_HPP
#define AI_EVENT_TYPES_HPP
#include "ai_object.hpp"
#include "ai_event.hpp"
#include "ai_company.hpp"

@ -12,7 +12,6 @@
#ifndef AI_GROUP_HPP
#define AI_GROUP_HPP
#include "ai_object.hpp"
#include "ai_vehicle.hpp"
/**

@ -12,7 +12,6 @@
#ifndef AI_INDUSTRYTYPELIST_HPP
#define AI_INDUSTRYTYPELIST_HPP
#include "ai_list.hpp"
#include "ai_industrytype.hpp"
/**

@ -11,7 +11,11 @@
#include "../../stdafx.h"
#include "../../script/squirrel.hpp"
#include "../../command_func.h"
#include "../../company_base.h"
#include "../../company_func.h"
#include "../../network/network.h"
#include "../../tunnelbridge.h"
#include "../ai_storage.hpp"
#include "../ai_instance.hpp"

@ -10,6 +10,7 @@
/** @file ai_order.cpp Implementation of AIOrder. */
#include "../../stdafx.h"
#include "ai_order.hpp"
#include "ai_vehicle.hpp"
#include "../ai_instance.hpp"
#include "../../debug.h"

@ -12,9 +12,7 @@
#ifndef AI_SIGN_HPP
#define AI_SIGN_HPP
#include "ai_object.hpp"
#include "ai_error.hpp"
#include "ai_company.hpp"
/**
* Class that handles all sign related functions.

@ -12,8 +12,6 @@
#ifndef AI_STATION_HPP
#define AI_STATION_HPP
#include "ai_object.hpp"
#include "ai_error.hpp"
#include "ai_road.hpp"
#include "ai_basestation.hpp"

@ -12,7 +12,6 @@
#ifndef AI_SUBSIDY_HPP
#define AI_SUBSIDY_HPP
#include "ai_object.hpp"
#include "ai_company.hpp"
/**

@ -12,7 +12,6 @@
#ifndef AI_TUNNEL_HPP
#define AI_TUNNEL_HPP
#include "ai_object.hpp"
#include "ai_vehicle.hpp"
/**

@ -12,10 +12,7 @@
#ifndef AI_VEHICLE_HPP
#define AI_VEHICLE_HPP
#include "ai_object.hpp"
#include "ai_error.hpp"
#include "ai_road.hpp"
#include "ai_order.hpp"
/**
* Class that handles all vehicle related functions.

@ -19,7 +19,6 @@
#include "window_func.h"
#include "autoreplace_func.h"
#include "company_func.h"
#include "widgets/dropdown_type.h"
#include "engine_base.h"
#include "window_gui.h"
#include "engine_gui.h"

@ -16,7 +16,6 @@
#include "depot_func.h"
#include "slope_func.h"
#include "tile_map.h"
#include "openttd.h"
/**
* Autoslope check for tiles with an entrance on an edge.

@ -13,7 +13,6 @@
#define BLITTER_32BPP_OPTIMIZED_HPP
#include "32bpp_simple.hpp"
#include "factory.hpp"
class Blitter_32bppOptimized : public Blitter_32bppSimple {
public:

@ -12,7 +12,6 @@
#ifndef BLITTER_NULL_HPP
#define BLITTER_NULL_HPP
#include "base.hpp"
#include "factory.hpp"
class Blitter_Null : public Blitter {

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "gui.h"
#include "command_func.h"
#include "bridge.h"
#include "rail.h"
#include "strings_func.h"
#include "window_func.h"
@ -22,7 +21,6 @@
#include "sortlist_type.h"
#include "widgets/dropdown_func.h"
#include "core/geometry_func.hpp"
#include "openttd.h"
#include "cmd_helper.h"
#include "tunnelbridge_map.h"
#include "road_gui.h"

@ -14,11 +14,10 @@
#include "cheat_type.h"
#include "company_base.h"
#include "company_func.h"
#include "gfx_func.h"
#include "date_func.h"
#include "saveload/saveload.h"
#include "textbuf_gui.h"
#include "window_gui.h"
#include "querystring_gui.h"
#include "newgrf.h"
#include "string_func.h"
#include "strings_func.h"

@ -10,7 +10,6 @@
/** @file clear_cmd.cpp Commands related to clear tiles. */
#include "stdafx.h"
#include "openttd.h"
#include "clear_map.h"
#include "command_func.h"
#include "landscape.h"

@ -10,7 +10,6 @@
/** @file command.cpp Handling of commands. */
#include "stdafx.h"
#include "openttd.h"
#include "landscape.h"
#include "gui.h"
#include "command_func.h"

@ -29,7 +29,6 @@
#include "viewport_func.h"
#include "window_func.h"
#include "date_func.h"
#include "vehicle_func.h"
#include "company_func.h"
#include "gamelog.h"
#include "ai/ai.hpp"

@ -12,7 +12,7 @@
#ifndef CONSOLE_INTERNAL_H
#define CONSOLE_INTERNAL_H
#include "console_type.h"
#include "gfx_type.h"
static const uint ICON_CMDLN_SIZE = 1024; ///< maximum length of a typed in command
static const uint ICON_MAX_STREAMSIZE = 2048; ///< maximum length of a totally expanded command

@ -12,7 +12,6 @@
#ifndef OVERFLOWSAFE_TYPE_HPP
#define OVERFLOWSAFE_TYPE_HPP
#include "math_func.hpp"
/**
* Overflow safe template for integers, i.e. integers that will never overflow

@ -14,7 +14,6 @@
#include "alloc_func.hpp"
#include "mem_func.hpp"
#include "math_func.hpp"
/**
* Simple vector template class.

@ -13,7 +13,6 @@
#include "train.h"
#include "ship.h"
#include "aircraft.h"
#include "roadveh.h"
#include "gui.h"
#include "textbuf_gui.h"
#include "viewport_func.h"

@ -10,7 +10,6 @@
/** @file dock_gui.cpp GUI to create amazing water objects. */
#include "stdafx.h"
#include "openttd.h"
#include "terraform_gui.h"
#include "window_gui.h"
#include "station_gui.h"

@ -20,10 +20,11 @@
#include "vehicle_gui.h"
#include "ai/ai.hpp"
#include "aircraft.h"
#include "train.h"
#include "newgrf_engine.h"
#include "engine_base.h"
#include "ground_vehicle.hpp"
#include "newgrf_cargo.h"
#include "newgrf_sound.h"
#include "newgrf_industries.h"
#include "newgrf_industrytiles.h"
#include "newgrf_station.h"
#include "newgrf_airporttiles.h"

@ -13,7 +13,6 @@
*/
#include "stdafx.h"
#include "openttd.h"
#include "fios.h"
#include "fileio_func.h"
#include "tar_type.h"

@ -10,7 +10,6 @@
/** @file fios_gui.cpp GUIs for loading/saving games, scenarios, heightmaps, ... */
#include "stdafx.h"
#include "openttd.h"
#include "saveload/saveload.h"
#include "gui.h"
#include "gfx_func.h"

@ -10,7 +10,6 @@
/** @file gamelog.cpp Definition of functions used for logging of important changes in the game */
#include "stdafx.h"
#include "openttd.h"
#include "saveload/saveload.h"
#include "string_func.h"
#include "settings_type.h"

@ -10,7 +10,6 @@
/** @file genworld.cpp Functions to generate a map. */
#include "stdafx.h"
#include "openttd.h"
#include "landscape.h"
#include "company_func.h"
#include "thread/thread.h"

@ -10,7 +10,6 @@
/** @file genworld_gui.cpp GUI to configure and show progress during map generation. */
#include "stdafx.h"
#include "openttd.h"
#include "heightmap.h"
#include "debug.h"
#include "genworld.h"

@ -10,7 +10,6 @@
/** @file graph_gui.cpp GUI that shows performance graphs. */
#include "stdafx.h"
#include "openttd.h"
#include "graph_gui.h"
#include "window_gui.h"
#include "company_base.h"

@ -10,7 +10,6 @@
/** @file group_gui.cpp GUI for the group window. */
#include "stdafx.h"
#include "openttd.h"
#include "textbuf_gui.h"
#include "command_func.h"
#include "vehicle_gui.h"

@ -21,7 +21,6 @@
#include "company_func.h"
#include "company_base.h"
#include "strings_func.h"
#include "openttd.h"
#include "hotkeys.h"
enum HighscoreWidgets {

@ -23,7 +23,6 @@
#include "tree_map.h"
#include "newgrf_cargo.h"
#include "newgrf_debug.h"
#include "newgrf_industries.h"
#include "newgrf_industrytiles.h"
#include "autoslope.h"
#include "water.h"

@ -10,7 +10,6 @@
/** @file industry_gui.cpp GUIs related to industries. */
#include "stdafx.h"
#include "openttd.h"
#include "gui.h"
#include "sound_func.h"
#include "window_func.h"

@ -10,7 +10,6 @@
/** @file intro_gui.cpp The main menu GUI. */
#include "stdafx.h"
#include "openttd.h"
#include "gui.h"
#include "window_gui.h"
#include "textbuf_gui.h"

@ -13,8 +13,6 @@
#define BLOB_HPP
#include "../core/alloc_func.hpp"
#include "../core/mem_func.hpp"
#include <new>
/**
* Base class for simple binary blobs.

@ -15,6 +15,7 @@
#include <errno.h>
#include <stdarg.h>
#include "blob.hpp"
#include "../core/math_func.hpp"
#include "../string_func.h"
/** Blob based case sensitive ANSI/UTF-8 string */

@ -26,7 +26,6 @@
#include "strings_func.h"
#include "zoom_func.h"
#include "window_func.h"
#include "tilehighlight_func.h"
#include "querystring_gui.h"
#include "console_func.h"
#include "core/geometry_func.hpp"

@ -12,11 +12,9 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../debug.h"
#include "../strings_func.h"
#include "../date_func.h"
#include "network_admin.h"
#include "network.h"
#include "network_base.h"
#include "network_server.h"
#include "../command_func.h"
@ -26,8 +24,6 @@
#include "../map_func.h"
#include "../rev.h"
#include "table/strings.h"
#include "network_client.h"
/* This file handles all the admin network commands. */

@ -14,7 +14,6 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../date_func.h"
#include "../gfx_func.h"
#include "../strings_func.h"
#include "../blitter/factory.hpp"

@ -13,14 +13,11 @@
#include "../stdafx.h"
#include "../debug.h"
#include "network_internal.h"
#include "network_gui.h"
#include "../saveload/saveload.h"
#include "../saveload/saveload_filter.h"
#include "../command_func.h"
#include "../console_func.h"
#include "../fileio_func.h"
#include "../3rdparty/md5/md5.h"
#include "../strings_func.h"
#include "../window_func.h"
#include "../company_func.h"

@ -12,11 +12,9 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../debug.h"
#include "network_admin.h"
#include "network_client.h"
#include "network_server.h"
#include "network.h"
#include "../command_func.h"
#include "../company_func.h"
#include "../settings_type.h"

@ -12,13 +12,11 @@
#ifdef ENABLE_NETWORK
#include "../stdafx.h"
#include "../debug.h"
#include "../strings_func.h"
#include "../date_func.h"
#include "network_admin.h"
#include "network_server.h"
#include "network_udp.h"
#include "network.h"
#include "network_base.h"
#include "../console_func.h"
#include "../company_base.h"
@ -27,7 +25,6 @@
#include "../saveload/saveload_filter.h"
#include "../station_base.h"
#include "../genworld.h"
#include "../fileio_func.h"
#include "../company_func.h"
#include "../company_gui.h"
#include "../window_func.h"
@ -37,7 +34,6 @@
#include "../core/random_func.hpp"
#include "../rev.h"
#include "table/strings.h"
/* This file handles all the server-commands */

@ -15,7 +15,6 @@
#include "gfx_type.h"
#include "tile_type.h"
#include "newgrf_generic.h"
#include "newgrf_callbacks.h"
/**
* List of different canal 'features'.

@ -23,7 +23,6 @@
#include "tunnelbridge_map.h"
#include "newgrf_object.h"
#include "genworld.h"
#include "core/mem_func.hpp"
/**
* Constructor of generic class

@ -14,7 +14,6 @@
#include "viewport_func.h"
#include "landscape.h"
#include "newgrf.h"
#include "newgrf_industries.h"
#include "newgrf_industrytiles.h"
#include "newgrf_sound.h"
#include "newgrf_text.h"

@ -13,9 +13,7 @@
#define NEWGRF_INDUSTRYTILES_H
#include "tile_cmd.h"
#include "industry_type.h"
#include "newgrf_animation_type.h"
#include "newgrf_callbacks.h"
#include "newgrf_industries.h"
#include "core/random_func.hpp"

@ -12,7 +12,6 @@
#include "stdafx.h"
#include "company_base.h"
#include "company_func.h"
#include "core/mem_func.hpp"
#include "debug.h"
#include "newgrf.h"
#include "newgrf_class_func.h"

@ -13,9 +13,7 @@
#define NEWGRF_OBJECT_H
#include "newgrf_callbacks.h"
#include "date_type.h"
#include "economy_func.h"
#include "strings_type.h"
#include "tile_cmd.h"
#include "object_type.h"
#include "newgrf_animation_type.h"

@ -16,7 +16,6 @@
#include "newgrf_sound.h"
#include "vehicle_base.h"
#include "sound_func.h"
#include "core/mem_func.hpp"
static SmallVector<SoundEntry, 8> _sounds;

@ -17,7 +17,6 @@
#include "newgrf_class.h"
#include "newgrf_commons.h"
#include "sprite.h"
#include "direction_type.h"
#include "cargo_type.h"
#include "station_type.h"
#include "rail_type.h"

@ -30,7 +30,6 @@
#include "core/pool_func.hpp"
#include "object_map.h"
#include "object_base.h"
#include "newgrf.h"
#include "newgrf_config.h"
#include "newgrf_object.h"
#include "date_func.h"

@ -11,14 +11,12 @@
#include "stdafx.h"
#include "command_func.h"
#include "core/geometry_func.hpp"
#include "newgrf.h"
#include "newgrf_object.h"
#include "newgrf_text.h"
#include "sprite.h"
#include "strings_func.h"
#include "viewport_func.h"
#include "widgets/dropdown_type.h"
#include "window_gui.h"
#include "table/strings.h"

@ -45,7 +45,6 @@
#include "date_func.h"
#include "vehicle_func.h"
#include "gamelog.h"
#include "cheat_type.h"
#include "animated_tile_func.h"
#include "roadstop_base.h"
#include "functions.h"

@ -18,7 +18,6 @@
#include "timetable.h"
#include "strings_func.h"
#include "window_func.h"
#include "vehicle_func.h"
#include "company_func.h"
#include "widgets/dropdown_func.h"
#include "textbuf_gui.h"

@ -10,7 +10,6 @@
/** @file road.cpp Generic road related functions. */
#include "stdafx.h"
#include "openttd.h"
#include "rail_map.h"
#include "road_map.h"
#include "water_map.h"

@ -15,7 +15,6 @@
#include "station_type.h"
#include "core/pool_type.hpp"
#include "core/bitmath_func.hpp"
#include "direction_type.h"
#include "vehicle_type.h"
typedef Pool<RoadStop, RoadStopID, 32, 64000> RoadStopPool;

@ -17,7 +17,6 @@
#include "cargotype.h"
#include "track_func.h"
#include "road_type.h"
#include "newgrf_properties.h"
#include "newgrf_engine.h"
struct RoadVehicle;

@ -18,7 +18,6 @@
#include "company_func.h"
#include "vehicle_gui.h"
#include "articulated_vehicles.h"
#include "newgrf_engine.h"
#include "newgrf_sound.h"
#include "pathfinder/yapf/yapf.h"
#include "strings_func.h"

@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../date_func.h"
#include "../openttd.h"
#include "../zoom_func.h"
#include "../vehicle_func.h"
#include "../window_gui.h"

@ -10,7 +10,6 @@
/** @file oldloader.cpp Functions for handling of TTO/TTD/TTDP savegames. */
#include "../stdafx.h"
#include "../openttd.h"
#include "../debug.h"
#include "../strings_type.h"
#include "../string_func.h"

@ -10,7 +10,6 @@
/** @file screenshot.cpp The creation of screenshots! */
#include "stdafx.h"
#include "openttd.h"
#include "fileio_func.h"
#include "viewport_func.h"
#include "gfx_func.h"
@ -18,7 +17,6 @@
#include "blitter/factory.hpp"
#include "zoom_func.h"
#include "core/endian_func.hpp"
#include "map_func.h"
#include "saveload/saveload.h"
#include "company_func.h"
#include "strings_func.h"

@ -36,7 +36,6 @@
#include "train.h"
#include "news_func.h"
#include "window_func.h"
#include "strings_func.h"
#include "vehicle_func.h"
#include "sound_func.h"
#include "company_func.h"

@ -24,7 +24,6 @@
#include "string_func.h"
#include "widgets/dropdown_type.h"
#include "widgets/dropdown_func.h"
#include "openttd.h"
#include "highscore.h"
#include "base_media_base.h"
#include "company_base.h"
@ -33,7 +32,6 @@
#include "core/geometry_func.hpp"
#include "ai/ai.hpp"
#include "language.h"
#include <map>
#include "table/sprites.h"
#include "table/strings.h"

@ -13,7 +13,6 @@
#include "ship.h"
#include "landscape.h"
#include "timetable.h"
#include "command_func.h"
#include "news_func.h"
#include "company_func.h"
#include "pathfinder/npf/npf_func.h"
@ -32,7 +31,6 @@
#include "sound_func.h"
#include "ai/ai.hpp"
#include "pathfinder/opf/opf_ship.h"
#include "landscape_type.h"
#include "engine_base.h"
#include "company_base.h"

@ -14,7 +14,6 @@
#include "core/enum_type.hpp"
#include "core/bitmath_func.hpp"
#include "core/mem_func.hpp"
#include "core/sort_func.hpp"
#include "core/smallvec_type.hpp"
#include "date_type.h"

@ -16,6 +16,7 @@
#include "../strings_func.h"
#include "table/strings.h"
#include "../gui.h"
#include "../core/math_func.hpp"
#include "grf.hpp"
/**

@ -12,7 +12,6 @@
#ifndef STATION_TYPE_H
#define STATION_TYPE_H
#include "core/enum_type.hpp"
#include "core/smallvec_type.hpp"
#include "tilearea_type.h"

@ -10,7 +10,6 @@
/** @file statusbar_gui.cpp The GUI for the bottom status bar. */
#include "stdafx.h"
#include "openttd.h"
#include "date_func.h"
#include "gfx_func.h"
#include "news_func.h"

@ -10,10 +10,7 @@
/** @file strgen.cpp Tool to create computer readable (stand-alone) translation files. */
#include "../stdafx.h"
#include "../core/alloc_func.hpp"
#include "../core/endian_func.hpp"
#include "../core/math_func.hpp"
#include "../core/mem_func.hpp"
#include "../string_func.h"
#include "../strings_type.h"
#include "../language.h"

@ -10,7 +10,6 @@
/** @file terraform_cmd.cpp Commands related to terraforming. */
#include "stdafx.h"
#include "openttd.h"
#include "command_func.h"
#include "tunnel_map.h"
#include "bridge_map.h"

@ -11,7 +11,6 @@
#include "stdafx.h"
#include "map_func.h"
#include "tilearea_type.h"
/**

@ -37,8 +37,6 @@
#include "news_gui.h"
#include "ai/ai_gui.hpp"
#include "tilehighlight_func.h"
#include "rail.h"
#include "widgets/dropdown_type.h"
#include "smallmap_gui.h"
#include "graph_gui.h"
#include "textbuf_gui.h"

@ -10,10 +10,8 @@
/** @file town_gui.cpp GUI for towns. */
#include "stdafx.h"
#include "openttd.h"
#include "town.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "gui.h"
#include "command_func.h"
#include "company_func.h"
@ -36,7 +34,6 @@
#include "genworld.h"
#include "sprite.h"
#include "table/sprites.h"
#include "table/strings.h"
typedef GUIList<const Town*> GUITownList;

@ -10,7 +10,6 @@
/** @file tree_gui.cpp GUIs for building trees. */
#include "stdafx.h"
#include "openttd.h"
#include "window_gui.h"
#include "gfx_func.h"
#include "tilehighlight_func.h"

@ -52,7 +52,6 @@
#include "vehiclelist.h"
#include "tunnel_map.h"
#include "depot_map.h"
#include "ground_vehicle.hpp"
#include "table/strings.h"

@ -13,7 +13,6 @@
#define VEHICLE_BASE_H
#include "track_type.h"
#include "direction_type.h"
#include "command_type.h"
#include "order_base.h"
#include "cargopacket.h"

@ -19,7 +19,6 @@
#include "engine_type.h"
#include "transport_type.h"
#include "newgrf_config.h"
#include "company_type.h"
#include "track_type.h"
#include "livery.h"

@ -32,7 +32,6 @@
#include "string_func.h"
#include "widgets/dropdown_func.h"
#include "timetable.h"
#include "vehiclelist.h"
#include "articulated_vehicles.h"
#include "spritecache.h"
#include "core/geometry_func.hpp"

@ -10,7 +10,6 @@
/** @file vehiclelist.cpp Lists of vehicles. */
#include "stdafx.h"
#include "vehicle_gui.h"
#include "train.h"
#include "vehiclelist.h"

@ -45,7 +45,6 @@
#include "window_func.h"
#include "tilehighlight_func.h"
#include "window_gui.h"
#include "terraform_gui.h"
#include "table/strings.h"

@ -14,7 +14,6 @@
#include "gfx_type.h"
#include "viewport_type.h"
#include "vehicle_type.h"
#include "window_type.h"
#include "tile_type.h"

@ -13,11 +13,9 @@
#include "landscape.h"
#include "window_gui.h"
#include "viewport_func.h"
#include "gfx_func.h"
#include "strings_func.h"
#include "zoom_func.h"
#include "window_func.h"
#include "tilehighlight_func.h"
#include "table/strings.h"
#include "table/sprites.h"

@ -12,7 +12,6 @@
#ifndef WAYPOINT_FUNC_H
#define WAYPOINT_FUNC_H
#include "direction_type.h"
#include "rail_type.h"
#include "command_type.h"
#include "station_type.h"

@ -11,7 +11,6 @@
#include "stdafx.h"
#include <stdarg.h>
#include "openttd.h"
#include "company_func.h"
#include "gfx_func.h"
#include "console_func.h"
@ -20,9 +19,7 @@
#include "genworld.h"
#include "blitter/factory.hpp"
#include "zoom_func.h"
#include "map_func.h"
#include "vehicle_base.h"
#include "cheat_type.h"
#include "window_func.h"
#include "tilehighlight_func.h"
#include "network/network.h"
@ -35,7 +32,6 @@
#include "toolbar_gui.h"
#include "statusbar_gui.h"
#include "table/sprites.h"
static Point _drag_delta; ///< delta between mouse cursor and upper left corner of dragged window
static Window *_mouseover_last_w = NULL; ///< Window of the last #MOUSEOVER event.

Loading…
Cancel
Save