Changeset - r17142:9f8921b5eb4f
[Not reviewed]
master
! ! !
rubidium - 14 years ago 2011-01-22 14:52:20
rubidium@openttd.org
(svn r21890) -Cleanup: remove some unneeded includes
95 files changed with 14 insertions and 131 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_config.cpp
Show inline comments
 
@@ -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"
 

	
src/ai/ai_gui.cpp
Show inline comments
 
@@ -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"
src/ai/ai_info.cpp
Show inline comments
 
@@ -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"
 

	
src/ai/ai_instance.cpp
Show inline comments
 
@@ -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. */
src/ai/ai_scanner.hpp
Show inline comments
 
@@ -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.
src/ai/ai_storage.hpp
Show inline comments
 
@@ -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"
src/ai/api/ai_accounting.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef AI_ACCOUNTING_HPP
 
#define AI_ACCOUNTING_HPP
 

	
 
#include "../../stdafx.h"
 
#include "ai_object.hpp"
 

	
 
/**
src/ai/api/ai_controller.cpp
Show inline comments
 
@@ -10,13 +10,12 @@
 
/** @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"
src/ai/api/ai_engine.hpp
Show inline comments
 
@@ -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"
 

	
src/ai/api/ai_event_types.hpp
Show inline comments
 
@@ -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"
 

	
src/ai/api/ai_group.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef AI_GROUP_HPP
 
#define AI_GROUP_HPP
 

	
 
#include "ai_object.hpp"
 
#include "ai_vehicle.hpp"
 

	
 
/**
src/ai/api/ai_industrytypelist.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef AI_INDUSTRYTYPELIST_HPP
 
#define AI_INDUSTRYTYPELIST_HPP
 

	
 
#include "ai_list.hpp"
 
#include "ai_industrytype.hpp"
 

	
 
/**
src/ai/api/ai_object.cpp
Show inline comments
 
@@ -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"
src/ai/api/ai_order.cpp
Show inline comments
 
@@ -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"
src/ai/api/ai_sign.hpp
Show inline comments
 
@@ -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.
src/ai/api/ai_station.hpp
Show inline comments
 
@@ -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"
 

	
src/ai/api/ai_subsidy.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef AI_SUBSIDY_HPP
 
#define AI_SUBSIDY_HPP
 

	
 
#include "ai_object.hpp"
 
#include "ai_company.hpp"
 

	
 
/**
src/ai/api/ai_tunnel.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef AI_TUNNEL_HPP
 
#define AI_TUNNEL_HPP
 

	
 
#include "ai_object.hpp"
 
#include "ai_vehicle.hpp"
 

	
 
/**
src/ai/api/ai_vehicle.hpp
Show inline comments
 
@@ -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.
src/autoreplace_gui.cpp
Show inline comments
 
@@ -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"
src/autoslope.h
Show inline comments
 
@@ -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.
src/blitter/32bpp_optimized.hpp
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define BLITTER_32BPP_OPTIMIZED_HPP
 

	
 
#include "32bpp_simple.hpp"
 
#include "factory.hpp"
 

	
 
class Blitter_32bppOptimized : public Blitter_32bppSimple {
 
public:
src/blitter/null.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef BLITTER_NULL_HPP
 
#define BLITTER_NULL_HPP
 

	
 
#include "base.hpp"
 
#include "factory.hpp"
 

	
 
class Blitter_Null : public Blitter {
src/bridge_gui.cpp
Show inline comments
 
@@ -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"
src/cheat_gui.cpp
Show inline comments
 
@@ -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"
src/clear_cmd.cpp
Show inline comments
 
@@ -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"
src/command.cpp
Show inline comments
 
@@ -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"
src/console_cmds.cpp
Show inline comments
 
@@ -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"
src/console_internal.h
Show inline comments
 
@@ -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
src/core/overflowsafe_type.hpp
Show inline comments
 
@@ -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
src/core/smallvec_type.hpp
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "alloc_func.hpp"
 
#include "mem_func.hpp"
 
#include "math_func.hpp"
 

	
 
/**
 
 * Simple vector template class.
src/depot_gui.cpp
Show inline comments
 
@@ -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"
src/dock_gui.cpp
Show inline comments
 
@@ -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"
src/economy.cpp
Show inline comments
 
@@ -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"
src/fios.cpp
Show inline comments
 
@@ -13,7 +13,6 @@
 
 */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "fios.h"
 
#include "fileio_func.h"
 
#include "tar_type.h"
src/fios_gui.cpp
Show inline comments
 
@@ -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"
src/gamelog.cpp
Show inline comments
 
@@ -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"
src/genworld.cpp
Show inline comments
 
@@ -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"
src/genworld_gui.cpp
Show inline comments
 
@@ -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"
src/graph_gui.cpp
Show inline comments
 
@@ -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"
src/group_gui.cpp
Show inline comments
 
@@ -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"
src/highscore_gui.cpp
Show inline comments
 
@@ -21,7 +21,6 @@
 
#include "company_func.h"
 
#include "company_base.h"
 
#include "strings_func.h"
 
#include "openttd.h"
 
#include "hotkeys.h"
 

	
 
enum HighscoreWidgets {
src/industry_cmd.cpp
Show inline comments
 
@@ -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"
src/industry_gui.cpp
Show inline comments
 
@@ -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"
src/intro_gui.cpp
Show inline comments
 
@@ -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"
src/misc/blob.hpp
Show inline comments
 
@@ -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.
src/misc/str.hpp
Show inline comments
 
@@ -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 */
src/misc_gui.cpp
Show inline comments
 
@@ -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"
src/network/network_admin.cpp
Show inline comments
 
@@ -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. */
 

	
src/network/network_chat_gui.cpp
Show inline comments
 
@@ -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"
src/network/network_client.cpp
Show inline comments
 
@@ -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"
src/network/network_command.cpp
Show inline comments
 
@@ -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"
src/network/network_server.cpp
Show inline comments
 
@@ -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 */
 

	
src/newgrf_canal.h
Show inline comments
 
@@ -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'.
src/newgrf_commons.cpp
Show inline comments
 
@@ -23,7 +23,6 @@
 
#include "tunnelbridge_map.h"
 
#include "newgrf_object.h"
 
#include "genworld.h"
 
#include "core/mem_func.hpp"
 

	
 
/**
 
 * Constructor of generic class
src/newgrf_industrytiles.cpp
Show inline comments
 
@@ -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"
src/newgrf_industrytiles.h
Show inline comments
 
@@ -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"
 

	
src/newgrf_object.cpp
Show inline comments
 
@@ -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"
src/newgrf_object.h
Show inline comments
 
@@ -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"
src/newgrf_sound.cpp
Show inline comments
 
@@ -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;
 

	
src/newgrf_station.h
Show inline comments
 
@@ -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"
src/object_cmd.cpp
Show inline comments
 
@@ -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"
src/object_gui.cpp
Show inline comments
 
@@ -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"
src/openttd.cpp
Show inline comments
 
@@ -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"
src/order_gui.cpp
Show inline comments
 
@@ -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"
src/road.cpp
Show inline comments
 
@@ -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"
src/roadstop_base.h
Show inline comments
 
@@ -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;
src/roadveh.h
Show inline comments
 
@@ -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;
src/roadveh_cmd.cpp
Show inline comments
 
@@ -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"
src/saveload/misc_sl.cpp
Show inline comments
 
@@ -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"
src/saveload/oldloader.cpp
Show inline comments
 
@@ -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"
src/screenshot.cpp
Show inline comments
 
@@ -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"
src/settings.cpp
Show inline comments
 
@@ -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"
src/settings_gui.cpp
Show inline comments
 
@@ -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"
src/ship_cmd.cpp
Show inline comments
 
@@ -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"
 

	
src/sortlist_type.h
Show inline comments
 
@@ -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"
src/spriteloader/grf.cpp
Show inline comments
 
@@ -16,6 +16,7 @@
 
#include "../strings_func.h"
 
#include "table/strings.h"
 
#include "../gui.h"
 
#include "../core/math_func.hpp"
 
#include "grf.hpp"
 

	
 
/**
src/station_type.h
Show inline comments
 
@@ -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"
 

	
src/statusbar_gui.cpp
Show inline comments
 
@@ -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"
src/strgen/strgen.cpp
Show inline comments
 
@@ -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"
src/terraform_cmd.cpp
Show inline comments
 
@@ -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"
src/tilearea.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 

	
 
#include "map_func.h"
 
#include "tilearea_type.h"
 

	
 
/**
src/toolbar_gui.cpp
Show inline comments
 
@@ -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"
src/town_gui.cpp
Show inline comments
 
@@ -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;
src/tree_gui.cpp
Show inline comments
 
@@ -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"
src/vehicle.cpp
Show inline comments
 
@@ -52,7 +52,6 @@
 
#include "vehiclelist.h"
 
#include "tunnel_map.h"
 
#include "depot_map.h"
 
#include "ground_vehicle.hpp"
 

	
 
#include "table/strings.h"
 

	
src/vehicle_base.h
Show inline comments
 
@@ -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"
src/vehicle_func.h
Show inline comments
 
@@ -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"
 

	
src/vehicle_gui.cpp
Show inline comments
 
@@ -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"
src/vehiclelist.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file vehiclelist.cpp Lists of vehicles. */
 

	
 
#include "stdafx.h"
 
#include "vehicle_gui.h"
 
#include "train.h"
 
#include "vehiclelist.h"
 

	
src/viewport.cpp
Show inline comments
 
@@ -45,7 +45,6 @@
 
#include "window_func.h"
 
#include "tilehighlight_func.h"
 
#include "window_gui.h"
 
#include "terraform_gui.h"
 

	
 
#include "table/strings.h"
 

	
src/viewport_func.h
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "gfx_type.h"
 
#include "viewport_type.h"
 
#include "vehicle_type.h"
 
#include "window_type.h"
 
#include "tile_type.h"
 

	
src/viewport_gui.cpp
Show inline comments
 
@@ -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"
src/waypoint_func.h
Show inline comments
 
@@ -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"
src/window.cpp
Show inline comments
 
@@ -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.
0 comments (0 inline, 0 general)