Changeset - r14248:a9050881acd7
[Not reviewed]
master
! ! !
rubidium - 15 years ago 2010-01-15 16:41:15
rubidium@openttd.org
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
295 files changed with 308 insertions and 351 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_config.hpp
Show inline comments
 
@@ -15,6 +15,7 @@
 
#include <map>
 
#include "ai_info.hpp"
 
#include "../core/string_compare_type.hpp"
 
#include "../company_type.h"
 

	
 
class AIConfig {
 
private:
src/ai/ai_core.cpp
Show inline comments
 
@@ -17,7 +17,6 @@
 
#include "../network/network.h"
 
#include "../window_func.h"
 
#include "../command_func.h"
 
#include "ai.hpp"
 
#include "ai_scanner.hpp"
 
#include "ai_instance.hpp"
 
#include "ai_config.hpp"
src/ai/ai_gui.hpp
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef AI_GUI_HPP
 
#define AI_GUI_HPP
 

	
 
#include "../company_type.h"
 

	
 
void ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY);
 
void ShowAIConfigWindow();
 

	
src/ai/ai_info.cpp
Show inline comments
 
@@ -14,7 +14,6 @@
 
#include <squirrel.h>
 
#include "../script/squirrel.hpp"
 
#include "../script/squirrel_helper.hpp"
 
#include "ai.hpp"
 
#include "ai_info.hpp"
 
#include "ai_scanner.hpp"
 
#include "../settings_type.h"
src/ai/ai_instance.cpp
Show inline comments
 
@@ -11,10 +11,8 @@
 

	
 
#include "../stdafx.h"
 
#include "../debug.h"
 
#include "../vehicle_base.h"
 
#include "../saveload/saveload.h"
 
#include "../gui.h"
 
#include "table/strings.h"
 

	
 
#include <squirrel.h>
 
#include "../script/squirrel.hpp"
 
@@ -79,6 +77,7 @@
 
#include "api/ai_waypoint.hpp.sq"
 
#include "api/ai_waypointlist.hpp.sq"
 

	
 
#include "../company_base.h"
 
#include "../fileio_func.h"
 

	
 
AIStorage::~AIStorage()
src/ai/ai_instance.hpp
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef AI_INSTANCE_HPP
 
#define AI_INSTANCE_HPP
 

	
 
#include <squirrel.h>
 

	
 
/**
 
 * The callback function when an AI suspends.
 
 */
src/ai/ai_scanner.cpp
Show inline comments
 
@@ -19,7 +19,6 @@
 
#include "../script/squirrel.hpp"
 
#include "../script/squirrel_helper.hpp"
 
#include "../script/squirrel_class.hpp"
 
#include "ai.hpp"
 
#include "ai_info.hpp"
 
#include "ai_scanner.hpp"
 
#include "api/ai_controller.hpp"
src/ai/ai_scanner.hpp
Show inline comments
 
@@ -12,8 +12,10 @@
 
#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 AIScanner : public ScriptScanner {
src/ai/ai_storage.hpp
Show inline comments
 
@@ -19,8 +19,10 @@
 
#include "../signs_func.h"
 
#include "../tunnelbridge.h"
 
#include "../vehicle_func.h"
 
#include "../road_type.h"
 
#include "../group.h"
 

	
 
#include "table/strings.h"
 
#include <vector>
 

	
 
/**
src/ai/api/ai_abstractlist.cpp
Show inline comments
 
@@ -9,7 +9,6 @@
 

	
 
/** @file ai_abstractlist.cpp Implementation of AIAbstractList. */
 

	
 
#include <squirrel.h>
 
#include "ai_abstractlist.hpp"
 
#include "../../debug.h"
 
#include "../../script/squirrel.hpp"
src/ai/api/ai_controller.cpp
Show inline comments
 
@@ -13,9 +13,7 @@
 
#include "../../string_func.h"
 
#include "../../company_base.h"
 
#include "../../rev.h"
 
#include "table/strings.h"
 

	
 
#include "../ai.hpp"
 
#include "ai_controller.hpp"
 
#include "../ai_storage.hpp"
 
#include "../ai_instance.hpp"
src/ai/api/ai_engine.cpp
Show inline comments
 
@@ -14,7 +14,6 @@
 
#include "../../company_func.h"
 
#include "../../company_base.h"
 
#include "../../strings_func.h"
 
#include "../../settings_type.h"
 
#include "../../rail.h"
 
#include "../../engine_base.h"
 
#include "../../articulated_vehicles.h"
src/ai/api/ai_execmode.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file ai_execmode.cpp Implementation of AIExecMode. */
 

	
 
#include "ai_execmode.hpp"
 
#include "../../command_type.h"
 
#include "../../company_base.h"
 
#include "../../company_func.h"
 
#include "../ai_instance.hpp"
src/ai/api/ai_group.cpp
Show inline comments
 
@@ -16,7 +16,6 @@
 
#include "../../group.h"
 
#include "../../string_func.h"
 
#include "../../strings_func.h"
 
#include "../../command_func.h"
 
#include "../../autoreplace_func.h"
 
#include "../../settings_func.h"
 
#include "table/strings.h"
src/ai/api/ai_industrytype.cpp
Show inline comments
 
@@ -14,6 +14,7 @@
 
#include "../../command_type.h"
 
#include "../../strings_func.h"
 
#include "../../industry.h"
 
#include "../../core/random_func.hpp"
 

	
 
/* static */ bool AIIndustryType::IsValidIndustryType(IndustryType industry_type)
 
{
src/ai/api/ai_list.cpp
Show inline comments
 
@@ -9,7 +9,6 @@
 

	
 
/** @file ai_list.cpp Implementation of AIList. */
 

	
 
#include <squirrel.h>
 
#include "ai_list.hpp"
 

	
 
void AIList::AddItem(int32 item, int32 value)
src/ai/api/ai_map.cpp
Show inline comments
 
@@ -9,7 +9,6 @@
 

	
 
/** @file ai_map.cpp Implementation of AIMap. */
 

	
 
#include "../../stdafx.h"
 
#include "ai_map.hpp"
 
#include "../../tile_map.h"
 

	
src/ai/api/ai_object.cpp
Show inline comments
 
@@ -14,8 +14,6 @@
 
#include "../../script/squirrel.hpp"
 
#include "../../company_base.h"
 

	
 
#include "table/strings.h"
 
#include "../ai.hpp"
 
#include "../ai_storage.hpp"
 
#include "../ai_instance.hpp"
 
#include "ai_error.hpp"
src/ai/api/ai_rail.cpp
Show inline comments
 
@@ -16,6 +16,7 @@
 
#include "../../debug.h"
 
#include "../../station_base.h"
 
#include "../../company_func.h"
 
#include "../../newgrf.h"
 
#include "../../newgrf_generic.h"
 
#include "../../newgrf_station.h"
 

	
src/ai/api/ai_road.cpp
Show inline comments
 
@@ -9,7 +9,6 @@
 

	
 
/** @file ai_road.cpp Implementation of AIRoad. */
 

	
 
#include "../../stdafx.h"
 
#include "ai_map.hpp"
 
#include "ai_station.hpp"
 
#include "ai_cargo.hpp"
src/ai/api/ai_station.cpp
Show inline comments
 
@@ -9,7 +9,6 @@
 

	
 
/** @file ai_station.cpp Implementation of AIStation. */
 

	
 
#include "../../stdafx.h"
 
#include "ai_station.hpp"
 
#include "ai_cargo.hpp"
 
#include "ai_map.hpp"
src/ai/api/ai_testmode.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file ai_testmode.cpp Implementation of AITestMode. */
 

	
 
#include "ai_testmode.hpp"
 
#include "../../command_type.h"
 
#include "../../company_base.h"
 
#include "../../company_func.h"
 
#include "../ai_instance.hpp"
src/ai/api/ai_tile.cpp
Show inline comments
 
@@ -14,7 +14,6 @@
 
#include "ai_town.hpp"
 
#include "../../station_func.h"
 
#include "../../company_func.h"
 
#include "../../road_map.h"
 
#include "../../water_map.h"
 
#include "../../clear_map.h"
 
#include "../../tree_map.h"
src/ai/api/ai_vehicle.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "../../roadveh.h"
 
#include "../../train.h"
 
#include "../../vehicle_func.h"
 
#include "../../engine_base.h"
 
#include "table/strings.h"
 

	
 
/* static */ bool AIVehicle::IsValidVehicle(VehicleID vehicle_id)
src/aircraft.h
Show inline comments
 
@@ -14,8 +14,6 @@
 

	
 
#include "station_map.h"
 
#include "vehicle_base.h"
 
#include "engine_func.h"
 
#include "engine_base.h"
 

	
 
struct Aircraft;
 

	
src/aircraft_cmd.cpp
Show inline comments
 
@@ -27,14 +27,15 @@
 
#include "sound_func.h"
 
#include "functions.h"
 
#include "cheat_type.h"
 
#include "autoreplace_func.h"
 
#include "company_base.h"
 
#include "autoreplace_gui.h"
 
#include "gfx_func.h"
 
#include "ai/ai.hpp"
 
#include "company_func.h"
 
#include "effectvehicle_func.h"
 
#include "station_base.h"
 
#include "cargotype.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/aircraft_gui.cpp
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "newgrf_engine.h"
 
#include "strings_func.h"
 
#include "vehicle_func.h"
 
#include "gfx_func.h"
 
#include "window_gui.h"
 
#include "spritecache.h"
 

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

	
 
#include "direction_type.h"
 
#include "map_type.h"
 
#include "tile_type.h"
 
#include "date_type.h"
 

	
 
/** Current limits for airports */
src/airport_gui.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "company_func.h"
 
#include "tilehighlight_func.h"
 
#include "company_base.h"
 
#include "station_type.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/articulated_vehicles.cpp
Show inline comments
 
@@ -14,6 +14,8 @@
 
#include "roadveh.h"
 
#include "newgrf_engine.h"
 
#include "vehicle_func.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/autoreplace_base.h
Show inline comments
 
@@ -14,6 +14,8 @@
 

	
 
#include "core/pool_type.hpp"
 
#include "autoreplace_type.h"
 
#include "engine_type.h"
 
#include "group_type.h"
 

	
 
typedef uint16 EngineRenewID;
 

	
src/autoreplace_cmd.cpp
Show inline comments
 
@@ -20,6 +20,7 @@
 
#include "functions.h"
 
#include "autoreplace_func.h"
 
#include "articulated_vehicles.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/autoreplace_func.h
Show inline comments
 
@@ -12,8 +12,10 @@
 
#ifndef AUTOREPLACE_FUNC_H
 
#define AUTOREPLACE_FUNC_H
 

	
 
#include "autoreplace_type.h"
 
#include "command_type.h"
 
#include "company_base.h"
 
#include "engine_type.h"
 
#include "group_type.h"
 

	
 
/**
 
 * Remove all engine replacement settings for the company.
src/autoreplace_gui.cpp
Show inline comments
 
@@ -18,13 +18,13 @@
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "autoreplace_func.h"
 
#include "gfx_func.h"
 
#include "company_func.h"
 
#include "widgets/dropdown_type.h"
 
#include "engine_base.h"
 
#include "window_gui.h"
 
#include "engine_gui.h"
 
#include "settings_func.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/autoreplace_gui.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef AUTOREPLACE_GUI_H
 
#define AUTOREPLACE_GUI_H
 

	
 
#include "engine_type.h"
 
#include "group_type.h"
 
#include "vehicle_type.h"
 

	
 
/**
src/autoslope.h
Show inline comments
 
@@ -12,10 +12,11 @@
 
#ifndef AUTOSLOPE_H
 
#define AUTOSLOPE_H
 

	
 
#include "settings_type.h"
 
#include "company_func.h"
 
#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/base_media_func.h
Show inline comments
 
@@ -10,8 +10,9 @@
 
/** @file base_media_func.h Generic function implementations for base data (graphics, sounds). */
 

	
 
#include "base_media_base.h"
 
#include "debug.h"
 
#include "ini_type.h"
 
#include "string_func.h"
 
#include "ini_type.h"
 

	
 
template <class Tbase_set> /* static */ const char *BaseMedia<Tbase_set>::ini_set;
 
template <class Tbase_set> /* static */ const Tbase_set *BaseMedia<Tbase_set>::used_set;
src/base_station_base.h
Show inline comments
 
@@ -12,12 +12,7 @@
 
#ifndef BASE_STATION_BASE_H
 
#define BASE_STATION_BASE_H
 

	
 
#include "station_type.h"
 
#include "core/pool_type.hpp"
 
#include "town_type.h"
 
#include "strings_type.h"
 
#include "date_type.h"
 
#include "company_type.h"
 
#include "viewport_type.h"
 
#include "station_map.h"
 

	
src/blitter/32bpp_anim.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "../stdafx.h"
 
#include "../core/math_func.hpp"
 
#include "../gfx_func.h"
 
#include "../video/video_driver.hpp"
 
#include "32bpp_anim.hpp"
 

	
src/blitter/32bpp_anim.hpp
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define BLITTER_32BPP_ANIM_HPP
 

	
 
#include "32bpp_optimized.hpp"
 
#include "factory.hpp"
 

	
 
class Blitter_32bppAnim : public Blitter_32bppOptimized {
 
private:
src/blitter/32bpp_base.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file 32bpp_base.cpp Implementation of base for 32 bpp blitters. */
 

	
 
#include "../stdafx.h"
 
#include "../gfx_func.h"
 
#include "32bpp_base.hpp"
 

	
 
void *Blitter_32bppBase::MoveTo(const void *video, int x, int y)
src/blitter/32bpp_base.hpp
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "base.hpp"
 
#include "../core/bitmath_func.hpp"
 
#include "../gfx_func.h"
 

	
 
class Blitter_32bppBase : public Blitter {
 
public:
src/blitter/32bpp_optimized.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "../stdafx.h"
 
#include "../zoom_func.h"
 
#include "../gfx_func.h"
 
#include "../core/math_func.hpp"
 
#include "32bpp_optimized.hpp"
 

	
src/blitter/32bpp_simple.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file 32bpp_simple.cpp Implementation of the simple 32 bpp blitter. */
 

	
 
#include "../stdafx.h"
 
#include "../gfx_func.h"
 
#include "../zoom_func.h"
 
#include "32bpp_simple.hpp"
 

	
src/blitter/base.hpp
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "../spritecache.h"
 
#include "../spriteloader/spriteloader.hpp"
 
#include "../zoom_type.h"
 

	
 
enum BlitterMode {
 
	BM_NORMAL,
src/bridge.h
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define BRIDGE_H
 

	
 
#include "gfx_type.h"
 
#include "direction_type.h"
 
#include "tile_cmd.h"
 

	
 
/** This enum is related to the definition of bridge pieces,
src/bridge_gui.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "command_func.h"
 
#include "economy_func.h"
 
#include "bridge.h"
 
@@ -22,6 +21,7 @@
 
#include "tunnelbridge.h"
 
#include "sortlist_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/bridge_map.h
Show inline comments
 
@@ -12,9 +12,6 @@
 
#ifndef BRIDGE_MAP_H
 
#define BRIDGE_MAP_H
 

	
 
#include "direction_func.h"
 
#include "rail_type.h"
 
#include "transport_type.h"
 
#include "road_map.h"
 
#include "bridge.h"
 

	
src/build_vehicle_gui.cpp
Show inline comments
 
@@ -9,10 +9,9 @@
 

	
 
/** @file build_vehicle_gui.cpp GUI for building vehicles. */
 

	
 
#include "train.h"
 
#include "roadveh.h"
 
#include "ship.h"
 
#include "aircraft.h"
 
#include "stdafx.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 
#include "station_base.h"
 
#include "articulated_vehicles.h"
 
#include "textbuf_gui.h"
 
@@ -26,9 +25,7 @@
 
#include "window_func.h"
 
#include "date_func.h"
 
#include "vehicle_func.h"
 
#include "gfx_func.h"
 
#include "widgets/dropdown_func.h"
 
#include "window_gui.h"
 
#include "engine_gui.h"
 
#include "cargotype.h"
 

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

	
 
#include "core/pool_type.hpp"
 
#include "economy_type.h"
 
#include "tile_type.h"
 
#include "station_type.h"
 
#include "cargo_type.h"
 
#include "vehicle_type.h"
src/clear_cmd.cpp
Show inline comments
 
@@ -21,6 +21,7 @@
 
#include "economy_func.h"
 
#include "viewport_func.h"
 
#include "water.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/company_base.h
Show inline comments
 
@@ -12,12 +12,9 @@
 
#ifndef COMPANY_BASE_H
 
#define COMPANY_BASE_H
 

	
 
#include "company_type.h"
 
#include "core/pool_type.hpp"
 
#include "road_type.h"
 
#include "rail_type.h"
 
#include "date_type.h"
 
#include "engine_type.h"
 
#include "livery.h"
 
#include "autoreplace_type.h"
 
#include "economy_type.h"
src/company_cmd.cpp
Show inline comments
 
@@ -34,6 +34,7 @@
 
#include "settings_func.h"
 
#include "vehicle_base.h"
 
#include "vehicle_func.h"
 
#include "sprite.h"
 

	
 
#include "table/strings.h"
 

	
src/company_func.h
Show inline comments
 
@@ -12,10 +12,8 @@
 
#ifndef COMPANY_FUNC_H
 
#define COMPANY_FUNC_H
 

	
 
#include "core/math_func.hpp"
 
#include "company_type.h"
 
#include "tile_type.h"
 
#include "strings_type.h"
 
#include "gfx_type.h"
 

	
 
void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner);
src/company_gui.cpp
Show inline comments
 
@@ -14,7 +14,6 @@
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "company_func.h"
 
#include "command_func.h"
 
#include "network/network.h"
 
@@ -28,6 +27,9 @@
 
#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 "table/strings.h"
 

	
src/console.cpp
Show inline comments
 
@@ -14,6 +14,7 @@
 
#include "network/network.h"
 
#include "network/network_func.h"
 
#include "debug.h"
 
#include "console_func.h"
 

	
 
#include <stdarg.h>
 

	
src/console_cmds.cpp
Show inline comments
 
@@ -34,6 +34,7 @@
 
#include "gamelog.h"
 
#include "ai/ai.hpp"
 
#include "ai/ai_config.hpp"
 
#include "console_func.h"
 

	
 
#ifdef ENABLE_NETWORK
 
	#include "table/strings.h"
src/console_gui.cpp
Show inline comments
 
@@ -18,6 +18,7 @@
 
#include "string_func.h"
 
#include "gfx_func.h"
 
#include "settings_type.h"
 
#include "console_func.h"
 
#include "rev.h"
 

	
 

	
src/console_internal.h
Show inline comments
 
@@ -12,7 +12,7 @@
 
#ifndef CONSOLE_INTERNAL_H
 
#define CONSOLE_INTERNAL_H
 

	
 
#include "console_func.h"
 
#include "console_type.h"
 

	
 
enum {
 
	ICON_CMDLN_SIZE     = 1024, ///< maximum length of a typed in command
src/core/mem_func.hpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef MEM_FUNC_HPP
 
#define MEM_FUNC_HPP
 

	
 
#include <string.h>
 
#include "math_func.hpp"
 

	
 
/**
src/core/sort_func.hpp
Show inline comments
 
@@ -12,8 +12,6 @@
 
#ifndef SORT_FUNC_HPP
 
#define SORT_FUNC_HPP
 

	
 
#include <stdlib.h>
 
#include "math_func.hpp"
 
#include "mem_func.hpp"
 

	
 
/**
src/crashlog.cpp
Show inline comments
 
@@ -26,12 +26,10 @@
 
#include "gfx_func.h"
 
#include "network/network.h"
 

	
 
#include <squirrel.h>
 
#include "ai/ai_info.hpp"
 
#include "company_base.h"
 
#include "company_func.h"
 

	
 
#include <time.h>
 

	
 
/* static */ const char *CrashLog::message = NULL;
 
/* static */ char *CrashLog::gamelog_buffer = NULL;
src/date_gui.cpp
Show inline comments
 
@@ -12,10 +12,10 @@
 
#include "stdafx.h"
 
#include "strings_func.h"
 
#include "date_func.h"
 
#include "gfx_func.h"
 
#include "window_func.h"
 
#include "window_gui.h"
 
#include "date_gui.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "widgets/dropdown_type.h"
 

	
src/date_gui.h
Show inline comments
 
@@ -12,6 +12,9 @@
 
#ifndef DATE_GUI_H
 
#define DATE_GUI_H
 

	
 
#include "date_type.h"
 
#include "window_type.h"
 

	
 
/**
 
 * Callback for when a date has been chosen
 
 * @param w the window that sends the callback
src/debug.cpp
Show inline comments
 
@@ -14,13 +14,13 @@
 
#include "console_func.h"
 
#include "debug.h"
 
#include "string_func.h"
 
#include "network/core/core.h"
 
#include "fileio_func.h"
 
#include "settings_type.h"
 

	
 
#include <time.h>
 

	
 
#if defined(ENABLE_NETWORK)
 
#include "network/core/os_abstraction.h"
 
SOCKET _debug_socket = INVALID_SOCKET;
 
#endif /* ENABLE_NETWORK */
 

	
src/depot_base.h
Show inline comments
 
@@ -12,10 +12,8 @@
 
#ifndef DEPOT_BASE_H
 
#define DEPOT_BASE_H
 

	
 
#include "tile_type.h"
 
#include "depot_map.h"
 
#include "core/pool_type.hpp"
 
#include "town_type.h"
 

	
 
typedef Pool<Depot, DepotID, 64, 64000> DepotPool;
 
extern DepotPool _depot_pool;
src/depot_func.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef DEPOT_FUNC_H
 
#define DEPOT_FUNC_H
 

	
 
#include "depot_type.h"
 
#include "tile_type.h"
 
#include "vehicle_type.h"
 
#include "direction_type.h"
src/depot_gui.cpp
Show inline comments
 
@@ -9,6 +9,8 @@
 

	
 
/** @file depot_gui.cpp The GUI for depots. */
 

	
 
#include "stdafx.h"
 
#include "engine_base.h"
 
#include "train.h"
 
#include "ship.h"
 
#include "aircraft.h"
 
@@ -16,7 +18,6 @@
 
#include "gui.h"
 
#include "textbuf_gui.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "command_func.h"
 
#include "depot_base.h"
 
#include "vehicle_gui.h"
src/depot_map.h
Show inline comments
 
@@ -12,9 +12,6 @@
 
#ifndef DEPOT_MAP_H
 
#define DEPOT_MAP_H
 

	
 
#include "road_map.h"
 
#include "rail_map.h"
 
#include "water_map.h"
 
#include "station_map.h"
 

	
 
/**
src/disaster_cmd.cpp
Show inline comments
 
@@ -41,6 +41,8 @@
 
#include "effectvehicle_func.h"
 
#include "roadveh.h"
 
#include "ai/ai.hpp"
 
#include "company_base.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/dock_gui.cpp
Show inline comments
 
@@ -26,6 +26,7 @@
 
#include "slope_func.h"
 
#include "tilehighlight_func.h"
 
#include "company_base.h"
 
#include "station_type.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/driver.cpp
Show inline comments
 
@@ -14,6 +14,7 @@
 
#include "sound/sound_driver.hpp"
 
#include "music/music_driver.hpp"
 
#include "video/video_driver.hpp"
 
#include "string_func.h"
 

	
 
VideoDriver *_video_driver;
 
char *_ini_videodriver;
src/driver.h
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "core/enum_type.hpp"
 
#include "core/string_compare_type.hpp"
 
#include "string_func.h"
 
#include <map>
 

	
 
const char *GetDriverParam(const char * const *parm, const char *name);
src/economy.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file economy.cpp Handling of the economy. */
 

	
 
#include "stdafx.h"
 
#include "tile_cmd.h"
 
#include "company_func.h"
 
#include "command_func.h"
 
#include "industry.h"
 
@@ -36,7 +35,6 @@
 
#include "date_func.h"
 
#include "vehicle_func.h"
 
#include "sound_func.h"
 
#include "gfx_func.h"
 
#include "autoreplace_func.h"
 
#include "company_gui.h"
 
#include "signs_base.h"
 
@@ -46,6 +44,8 @@
 
#include "waypoint_base.h"
 
#include "economy_base.h"
 
#include "core/pool_func.hpp"
 
#include "newgrf.h"
 
#include "engine_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/economy_func.h
Show inline comments
 
@@ -12,16 +12,11 @@
 
#ifndef ECONOMY_FUNC_H
 
#define ECONOMY_FUNC_H
 

	
 
#include "core/geometry_type.hpp"
 
#include "economy_type.h"
 
#include "station_type.h"
 
#include "cargo_type.h"
 
#include "vehicle_type.h"
 
#include "tile_type.h"
 
#include "town_type.h"
 
#include "industry_type.h"
 
#include "company_type.h"
 
#include "station_type.h"
 
#include "station_func.h"
 

	
 
void ResetPriceBaseMultipliers();
 
void SetPriceBaseMultiplier(Price price, int factor);
src/economy_type.h
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "core/overflowsafe_type.hpp"
 
#include "core/enum_type.hpp"
 
#include "cargo_type.h"
 

	
 
typedef OverflowSafeInt64 Money;
 

	
src/effectvehicle.cpp
Show inline comments
 
@@ -17,6 +17,7 @@
 
#include "sound_func.h"
 
#include "animated_tile_func.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 

	
 
#include "table/sprites.h"
 

	
src/effectvehicle_func.h
Show inline comments
 
@@ -12,7 +12,7 @@
 
#ifndef EFFECTVEHICLE_FUNC_H
 
#define EFFECTVEHICLE_FUNC_H
 

	
 
#include "effectvehicle_base.h"
 
#include "vehicle_type.h"
 

	
 
/** Effect vehicle types */
 
enum EffectVehicleType {
src/elrail.cpp
Show inline comments
 
@@ -54,7 +54,6 @@
 
 */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "station_map.h"
 
#include "viewport_func.h"
 
#include "landscape.h"
 
@@ -64,6 +63,7 @@
 
#include "tunnelbridge.h"
 
#include "elrail_func.h"
 
#include "engine_base.h"
 
#include "company_base.h"
 

	
 
#include "table/sprites.h"
 
#include "table/elrail_data.h"
src/elrail_func.h
Show inline comments
 
@@ -13,9 +13,8 @@
 
#define ELRAIL_FUNC_H
 

	
 
#include "rail.h"
 
#include "tile_cmd.h"
 
#include "transparency.h"
 
#include "tile_cmd.h"
 
#include "settings_type.h"
 

	
 
/**
 
 * Test if a rail type has catenary
src/engine.cpp
Show inline comments
 
@@ -18,7 +18,6 @@
 
#include "newgrf_engine.h"
 
#include "group.h"
 
#include "strings_func.h"
 
#include "gfx_func.h"
 
#include "core/random_func.hpp"
 
#include "window_func.h"
 
#include "date_func.h"
 
@@ -27,6 +26,9 @@
 
#include "ai/ai.hpp"
 
#include "core/pool_func.hpp"
 
#include "engine_gui.h"
 
#include "engine_func.h"
 
#include "engine_base.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/engines.h"
src/engine_base.h
Show inline comments
 
@@ -12,8 +12,9 @@
 
#ifndef ENGINE_BASE_H
 
#define ENGINE_BASE_H
 

	
 
#include "company_type.h"
 
#include "engine_type.h"
 
#include "economy_type.h"
 
#include "vehicle_type.h"
 
#include "core/pool_type.hpp"
 
#include "core/smallvec_type.hpp"
 

	
src/engine_func.h
Show inline comments
 
@@ -13,6 +13,8 @@
 
#define ENGINE_H
 

	
 
#include "engine_type.h"
 
#include "vehicle_type.h"
 
#include "company_type.h"
 

	
 
void SetupEngines();
 
void StartupEngines();
src/engine_gui.h
Show inline comments
 
@@ -12,7 +12,9 @@
 
#ifndef ENGINE_GUI_H
 
#define ENGINE_GUI_H
 

	
 
#include "engine_type.h"
 
#include "sortlist_type.h"
 
#include "gfx_type.h"
 

	
 
typedef GUIList<EngineID, CargoID> GUIEngineList;
 

	
src/engine_type.h
Show inline comments
 
@@ -15,11 +15,8 @@
 
#include "economy_type.h"
 
#include "rail_type.h"
 
#include "cargo_type.h"
 
#include "vehicle_type.h"
 
#include "gfx_type.h"
 
#include "date_type.h"
 
#include "sound_type.h"
 
#include "company_type.h"
 
#include "strings_type.h"
 

	
 
typedef uint16 EngineID;
src/fontcache.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef FONTCACHE_H
 
#define FONTCACHE_H
 

	
 
#include "gfx_type.h"
 
#include "spritecache.h"
 

	
 
/** Get the SpriteID mapped to the given font size and key */
src/functions.h
Show inline comments
 
@@ -12,8 +12,6 @@
 
#ifndef FUNCTIONS_H
 
#define FUNCTIONS_H
 

	
 
#include "core/random_func.hpp"
 
#include "command_type.h"
 
#include "tile_cmd.h"
 

	
 
/* clear_land.cpp */
src/gamelog.cpp
Show inline comments
 
@@ -16,7 +16,6 @@
 
#include "variables.h"
 
#include "string_func.h"
 
#include "settings_type.h"
 
#include "gamelog.h"
 
#include "gamelog_internal.h"
 
#include "console_func.h"
 
#include "debug.h"
src/gamelog_internal.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define GAMELOG_INTERNAL_H
 

	
 
#include "network/core/config.h"
 
#include "gamelog.h"
 

	
 
/** Type of logged change */
 
enum GamelogChangeType {
src/genworld.cpp
Show inline comments
 
@@ -33,6 +33,7 @@
 
#include "void_map.h"
 
#include "town.h"
 
#include "newgrf.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/sprites.h"
 

	
src/genworld_gui.cpp
Show inline comments
 
@@ -23,7 +23,6 @@
 
#include "sound_func.h"
 
#include "fios.h"
 
#include "string_func.h"
 
#include "gfx_func.h"
 
#include "widgets/dropdown_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "landscape_type.h"
 
@@ -31,6 +30,8 @@
 
#include "town.h"
 
#include "thread/thread.h"
 
#include "settings_func.h"
 
#include "core/geometry_func.hpp"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/gfx_type.h
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define GFX_TYPE_H
 

	
 
#include "core/endian_type.hpp"
 
#include "core/enum_type.hpp"
 
#include "core/geometry_type.hpp"
 
#include "zoom_type.h"
 

	
src/gfxinit.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file gfxinit.cpp Initializing of the (GRF) graphics. */
 

	
 
#include "stdafx.h"
 
#include "debug.h"
 
#include "fios.h"
 
#include "newgrf.h"
 
#include "3rdparty/md5/md5.h"
src/graph_gui.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "date_func.h"
 
#include "gfx_func.h"
 
#include "sortlist_type.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/group_gui.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "command_func.h"
 
#include "vehicle_gui.h"
 
@@ -21,12 +20,13 @@
 
#include "window_func.h"
 
#include "vehicle_func.h"
 
#include "autoreplace_gui.h"
 
#include "gfx_func.h"
 
#include "company_func.h"
 
#include "widgets/dropdown_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "tilehighlight_func.h"
 
#include "vehicle_gui_base.h"
 
#include "core/geometry_func.hpp"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/group_gui.h
Show inline comments
 
@@ -12,6 +12,7 @@
 
#ifndef GROUP_GUI_H
 
#define GROUP_GUI_H
 

	
 
#include "company_type.h"
 
#include "vehicle_type.h"
 

	
 
void ShowCompanyGroup(CompanyID company, VehicleType veh);
src/gui.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef GUI_H
 
#define GUI_H
 

	
 
#include "window_type.h"
 
#include "vehicle_type.h"
 
#include "gfx_type.h"
 
#include "economy_type.h"
src/highscore.cpp
Show inline comments
 
@@ -9,6 +9,7 @@
 

	
 
/** @file highscore.cpp Definition of functions used for highscore handling */
 

	
 
#include "stdafx.h"
 
#include "highscore.h"
 
#include "company_base.h"
 
#include "company_func.h"
src/highscore.h
Show inline comments
 
@@ -12,9 +12,7 @@
 
#ifndef HIGHSCORE_H
 
#define HIGHSCORE_H
 

	
 
#include "stdafx.h"
 
#include "strings_type.h"
 
#include "core/math_func.hpp"
 
#include "company_type.h"
 

	
 
struct HighScore {
src/highscore_gui.cpp
Show inline comments
 
@@ -9,6 +9,7 @@
 

	
 
/** @file highscore_gui.cpp Definition of the HighScore and EndGame windows */
 

	
 
#include "stdafx.h"
 
#include "highscore.h"
 
#include "table/strings.h"
 
#include "gfx_func.h"
src/industry.h
Show inline comments
 
@@ -13,13 +13,7 @@
 
#define INDUSTRY_H
 

	
 
#include "core/pool_type.hpp"
 
#include "core/random_func.hpp"
 
#include "newgrf_storage.h"
 
#include "cargo_type.h"
 
#include "economy_type.h"
 
#include "map_type.h"
 
#include "industry_type.h"
 
#include "tile_type.h"
 
#include "subsidy_type.h"
 
#include "industry_map.h"
 
#include "tilearea_type.h"
src/industry_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file industry_cmd.cpp Handling of industry tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "clear_map.h"
 
#include "industry.h"
 
#include "station_base.h"
 
@@ -30,7 +29,6 @@
 
#include "newgrf_industries.h"
 
#include "newgrf_industrytiles.h"
 
#include "autoslope.h"
 
#include "transparency.h"
 
#include "water.h"
 
#include "strings_func.h"
 
#include "functions.h"
 
@@ -40,6 +38,7 @@
 
#include "sound_func.h"
 
#include "animated_tile_func.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 
#include "ai/ai.hpp"
 
#include "core/pool_func.hpp"
 
#include "subsidy_func.h"
src/industry_gui.cpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "command_func.h"
 
#include "viewport_func.h"
 
@@ -31,6 +30,8 @@
 
#include "sortlist_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "company_base.h"
 
#include "core/geometry_func.hpp"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/industry_map.h
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define INDUSTRY_MAP_H
 

	
 
#include "industrytype.h"
 
#include "tile_map.h"
 
#include "water_map.h"
 

	
 

	
src/industrytype.h
Show inline comments
 
@@ -12,13 +12,13 @@
 
#ifndef INDUSTRYTYPE_H
 
#define INDUSTRYTYPE_H
 

	
 
#include "core/enum_type.hpp"
 
#include "economy_type.h"
 
#include "map_type.h"
 
#include "slope_type.h"
 
#include "industry_type.h"
 
#include "landscape_type.h"
 
#include "tile_type.h"
 
#include "strings_type.h"
 
#include "cargo_type.h"
 

	
 
enum {
 
	CLEAN_RANDOMSOUNDS,    ///< Free the dynamically allocated sounds table
src/intro_gui.cpp
Show inline comments
 
@@ -25,6 +25,7 @@
 
#include "functions.h"
 
#include "ai/ai_gui.hpp"
 
#include "gfx_func.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/landscape.cpp
Show inline comments
 
@@ -29,6 +29,7 @@
 
#include "effectvehicle_func.h"
 
#include "landscape_type.h"
 
#include "animated_tile_func.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/sprites.h"
 

	
src/landscape.h
Show inline comments
 
@@ -14,8 +14,6 @@
 

	
 
#include "core/geometry_type.hpp"
 
#include "tile_cmd.h"
 
#include "slope_type.h"
 
#include "direction_type.h"
 

	
 
enum {
 
	SNOW_LINE_MONTHS = 12, ///< Number of months in the snow line table.
src/main_gui.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file main_gui.cpp Handling of the main viewport. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "currency.h"
 
#include "spritecache.h"
 
#include "window_gui.h"
src/misc/array.hpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define  ARRAY_HPP
 

	
 
#include "fixedsizearray.hpp"
 
#include "str.hpp"
 

	
 
/** Flexible array with size limit. Implemented as fixed size
 
 *  array of fixed size arrays */
src/misc/blob.hpp
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "../core/alloc_func.hpp"
 
#include "../core/mem_func.hpp"
 
#include <new>
 

	
 
/** Base class for simple binary blobs.
 
 *  Item is byte.
src/misc/dbg_helpers.h
Show inline comments
 
@@ -12,13 +12,16 @@
 
#ifndef DBG_HELPERS_H
 
#define DBG_HELPERS_H
 

	
 
#include <new>
 
#include <map>
 
#include <stack>
 

	
 
#include "blob.hpp"
 
#include "str.hpp"
 

	
 
#include "../direction_type.h"
 
#include "../signal_type.h"
 
#include "../tile_type.h"
 
#include "../track_type.h"
 

	
 
/** Helper template class that provides C array length and item type */
 
template <typename T> struct ArrayT;
 

	
src/misc/fixedsizearray.hpp
Show inline comments
 
@@ -12,6 +12,7 @@
 
#ifndef  FIXEDSIZEARRAY_HPP
 
#define  FIXEDSIZEARRAY_HPP
 

	
 
#include "../core/alloc_func.hpp"
 

	
 
/** fixed size array
 
 *  Upon construction it preallocates fixed size block of memory
src/misc/str.hpp
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include <errno.h>
 
#include <stdarg.h>
 
#include "blob.hpp"
 
#include "../string_func.h"
 

	
 
/** Blob based case sensitive ANSI/UTF-8 string */
src/misc_gui.cpp
Show inline comments
 
@@ -33,6 +33,7 @@
 
#include "window_func.h"
 
#include "tilehighlight_func.h"
 
#include "querystring_gui.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/music.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file music.cpp The songs that OpenTTD knows. */
 

	
 
#include "stdafx.h"
 
#include "debug.h"
 

	
 
/* The type of set we're replacing */
 
#define SET_TYPE "music"
src/music/extmidi.cpp
Show inline comments
 
@@ -12,6 +12,7 @@
 
#ifndef __MORPHOS__
 
#include "../stdafx.h"
 
#include "../debug.h"
 
#include "../string_func.h"
 
#include "../sound/sound_driver.hpp"
 
#include "../video/video_driver.hpp"
 
#include "extmidi.h"
src/music/win32_m.cpp
Show inline comments
 
@@ -10,6 +10,7 @@
 
/** @file win32_m.cpp Music playback for Windows. */
 

	
 
#include "../stdafx.h"
 
#include "../string_func.h"
 
#include "win32_m.h"
 
#include <windows.h>
 
#include <mmsystem.h>
src/music_gui.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "fileio_func.h"
 
#include "base_media_base.h"
 
#include "music/music_driver.hpp"
 
#include "window_gui.h"
 
@@ -21,6 +20,8 @@
 
#include "gfx_func.h"
 
#include "core/random_func.hpp"
 
#include "gui.h"
 
#include "core/geometry_func.hpp"
 
#include "string_func.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/network/core/core.cpp
Show inline comments
 
@@ -15,6 +15,7 @@
 

	
 
#include "../../stdafx.h"
 
#include "../../debug.h"
 
#include "os_abstraction.h"
 
#include "packet.h"
 

	
 

	
src/network/core/core.h
Show inline comments
 
@@ -14,7 +14,6 @@
 
#ifndef NETWORK_CORE_H
 
#define NETWORK_CORE_H
 

	
 
#include "os_abstraction.h"
 
#include "../../newgrf_config.h"
 

	
 
#ifdef ENABLE_NETWORK
src/network/core/host.h
Show inline comments
 
@@ -14,6 +14,8 @@
 
#ifndef NETWORK_CORE_HOST_H
 
#define NETWORK_CORE_HOST_H
 

	
 
#include "address.h"
 

	
 
void NetworkFindBroadcastIPs(NetworkAddressList *broadcast);
 

	
 
#endif /* NETWORK_CORE_HOST_H */
src/network/core/tcp.h
Show inline comments
 
@@ -14,9 +14,7 @@
 
#ifndef NETWORK_CORE_TCP_H
 
#define NETWORK_CORE_TCP_H
 

	
 
#include "os_abstraction.h"
 
#include "address.h"
 
#include "core.h"
 
#include "packet.h"
 

	
 
#ifdef ENABLE_NETWORK
src/network/core/tcp_game.cpp
Show inline comments
 
@@ -15,6 +15,7 @@
 

	
 
#include "../../stdafx.h"
 

	
 
#include "../network.h"
 
#include "../network_internal.h"
 
#include "../../core/pool_func.hpp"
 

	
src/network/core/tcp_game.h
Show inline comments
 
@@ -16,7 +16,7 @@
 

	
 
#include "os_abstraction.h"
 
#include "tcp.h"
 
#include "packet.h"
 
#include "../network_type.h"
 
#include "../../core/pool_type.hpp"
 

	
 
#ifdef ENABLE_NETWORK
src/network/core/udp.cpp
Show inline comments
 
@@ -15,6 +15,7 @@
 

	
 
#include "../../stdafx.h"
 
#include "../../date_func.h"
 
#include "../../debug.h"
 
#include "udp.h"
 

	
 
/**
src/network/core/udp.h
Show inline comments
 
@@ -71,12 +71,9 @@
 
#ifndef NETWORK_CORE_UDP_H
 
#define NETWORK_CORE_UDP_H
 

	
 
#include "os_abstraction.h"
 
#include "address.h"
 
#include "core.h"
 
#include "game.h"
 
#include "packet.h"
 
#include "../../debug.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
src/network/network.cpp
Show inline comments
 
@@ -16,12 +16,12 @@
 
#include "../strings_func.h"
 
#include "../command_func.h"
 
#include "../date_func.h"
 
#include "network_internal.h"
 
#include "network_client.h"
 
#include "network_server.h"
 
#include "network_content.h"
 
#include "network_udp.h"
 
#include "network_gamelist.h"
 
#include "network_base.h"
 
#include "core/udp.h"
 
#include "core/host.h"
 
#include "network_gui.h"
src/network/network.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef NETWORK_H
 
#define NETWORK_H
 

	
 
#include "../company_type.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
src/network/network_base.h
Show inline comments
 
@@ -15,7 +15,9 @@
 
#ifdef ENABLE_NETWORK
 

	
 
#include "network_type.h"
 
#include "core/address.h"
 
#include "../core/pool_type.hpp"
 
#include "../company_type.h"
 

	
 
typedef Pool<NetworkClientInfo, ClientIndex, 8, MAX_CLIENT_SLOTS> NetworkClientInfoPool;
 
extern NetworkClientInfoPool _networkclientinfo_pool;
src/network/network_chat_gui.cpp
Show inline comments
 
@@ -24,8 +24,10 @@
 
#include "../querystring_gui.h"
 
#include "../town.h"
 
#include "../window_func.h"
 
#include "network_internal.h"
 
#include "../core/geometry_func.hpp"
 
#include "network.h"
 
#include "network_client.h"
 
#include "network_base.h"
 

	
 
#include "table/strings.h"
 

	
src/network/network_client.cpp
Show inline comments
 
@@ -26,6 +26,8 @@
 
#include "../company_base.h"
 
#include "../company_gui.h"
 
#include "../rev.h"
 
#include "network.h"
 
#include "network_base.h"
 

	
 
#include "table/strings.h"
 

	
src/network/network_client.h
Show inline comments
 
@@ -14,6 +14,8 @@
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
#include "network_internal.h"
 

	
 
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_GAME_INFO);
 
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_COMPANY_INFO);
 
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_COMMAND)(const CommandPacket *cp);
src/network/network_command.cpp
Show inline comments
 
@@ -13,13 +13,13 @@
 

	
 
#include "../stdafx.h"
 
#include "../debug.h"
 
#include "network_internal.h"
 
#include "network_client.h"
 
#include "network.h"
 
#include "../command_func.h"
 
#include "../company_func.h"
 

	
 
/** Table with all the callbacks we'll use for conversion*/
 
static const CommandCallback * const _callback_table[] = {
 
static CommandCallback * const _callback_table[] = {
 
	/* 0x00 */ NULL,
 
	/* 0x01 */ CcBuildPrimaryVehicle,
 
	/* 0x02 */ CcBuildAirport,
src/network/network_content.h
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define NETWORK_CONTENT_H
 

	
 
#include "core/tcp_content.h"
 
#include "../core/smallvec_type.hpp"
 

	
 
#if defined(ENABLE_NETWORK)
 

	
src/network/network_content_gui.cpp
Show inline comments
 
@@ -19,6 +19,7 @@
 
#include "../base_media_base.h"
 
#include "../sortlist_type.h"
 
#include "../querystring_gui.h"
 
#include "../core/geometry_func.hpp"
 
#include  "network_content.h"
 

	
 
#include "table/strings.h"
src/network/network_func.h
Show inline comments
 
@@ -16,8 +16,8 @@
 
#include "network_type.h"
 
#include "../console_type.h"
 
#include "../gfx_type.h"
 
#include "../core/smallvec_type.hpp"
 
#include "../openttd.h"
 
#include "../company_type.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
src/network/network_gui.cpp
Show inline comments
 
@@ -14,10 +14,11 @@
 
#include "../strings_func.h"
 
#include "../date_func.h"
 
#include "../fios.h"
 
#include "network_internal.h"
 
#include "network_client.h"
 
#include "network_gui.h"
 
#include "network_gamelist.h"
 
#include "network.h"
 
#include "network_base.h"
 
#include "../gui.h"
 
#include "network_udp.h"
 
#include "../window_func.h"
 
@@ -27,6 +28,7 @@
 
#include "../sortlist_type.h"
 
#include "../company_base.h"
 
#include "../company_func.h"
 
#include "../core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "../table/sprites.h"
src/network/network_gui.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef NETWORK_GUI_H
 
#define NETWORK_GUI_H
 

	
 
#include "../company_type.h"
 
#include "../economy_type.h"
 
#include "../window_type.h"
 
#include "network_type.h"
 

	
src/network/network_internal.h
Show inline comments
 
@@ -12,13 +12,7 @@
 
#ifndef NETWORK_INTERNAL_H
 
#define NETWORK_INTERNAL_H
 

	
 
#include "network.h"
 
#include "network_func.h"
 
#include "network_base.h"
 
#include "core/os_abstraction.h"
 
#include "core/core.h"
 
#include "core/config.h"
 
#include "core/packet.h"
 
#include "core/tcp_game.h"
 

	
 
#include "../command_type.h"
src/network/network_server.cpp
Show inline comments
 
@@ -14,12 +14,13 @@
 
#include "../stdafx.h"
 
#include "../debug.h"
 
#include "../strings_func.h"
 
#include "network_internal.h"
 
#include "../vehicle_base.h"
 
#include "../date_func.h"
 
#include "network_server.h"
 
#include "network_udp.h"
 
#include "network.h"
 
#include "network_base.h"
 
#include "../console_func.h"
 
#include "../company_base.h"
 
#include "../command_func.h"
 
#include "../saveload/saveload.h"
 
#include "../station_base.h"
src/network/network_server.h
Show inline comments
 
@@ -14,6 +14,8 @@
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
#include "network_internal.h"
 

	
 
DEF_SERVER_SEND_COMMAND(PACKET_SERVER_MAP);
 
DEF_SERVER_SEND_COMMAND_PARAM(PACKET_SERVER_ERROR_QUIT)(NetworkClientSocket *cs, ClientID client_id, NetworkErrorCode errorno);
 
DEF_SERVER_SEND_COMMAND_PARAM(PACKET_SERVER_ERROR)(NetworkClientSocket *cs, NetworkErrorCode error);
src/network/network_type.h
Show inline comments
 
@@ -12,9 +12,6 @@
 
#ifndef NETWORK_TYPE_H
 
#define NETWORK_TYPE_H
 

	
 
#include "../company_type.h"
 
#include "../economy_type.h"
 
#include "core/config.h"
 
#include "core/game.h"
 

	
 
#ifdef ENABLE_NETWORK
src/network/network_udp.cpp
Show inline comments
 
@@ -19,9 +19,11 @@
 
#include "../stdafx.h"
 
#include "../date_func.h"
 
#include "../map_func.h"
 
#include "../debug.h"
 
#include "network_gamelist.h"
 
#include "network_internal.h"
 
#include "network_udp.h"
 
#include "network.h"
 
#include "../core/endian_func.hpp"
 
#include "../company_base.h"
 
#include "../thread/thread.h"
src/network/network_udp.h
Show inline comments
 
@@ -14,6 +14,8 @@
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
#include "core/address.h"
 

	
 
void NetworkUDPInitialize();
 
void NetworkUDPSearchGame();
 
void NetworkUDPQueryMasterServer();
src/newgrf.cpp
Show inline comments
 
@@ -13,7 +13,6 @@
 

	
 
#include <stdarg.h>
 

	
 
#include "openttd.h"
 
#include "debug.h"
 
#include "fileio_func.h"
 
#include "engine_func.h"
 
@@ -26,6 +25,7 @@
 
#include "fontcache.h"
 
#include "currency.h"
 
#include "landscape.h"
 
#include "newgrf.h"
 
#include "newgrf_cargo.h"
 
#include "newgrf_house.h"
 
#include "newgrf_sound.h"
 
@@ -39,7 +39,6 @@
 
#include "fios.h"
 
#include "rail.h"
 
#include "strings_func.h"
 
#include "gfx_func.h"
 
#include "date_func.h"
 
#include "string_func.h"
 
#include "network/network.h"
src/newgrf.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef NEWGRF_H
 
#define NEWGRF_H
 

	
 
#include "town_type.h"
 
#include "newgrf_config.h"
 
#include "cargotype.h"
 
#include "industry_type.h"
src/newgrf_canal.cpp
Show inline comments
 
@@ -10,12 +10,10 @@
 
/** @file newgrf_canal.cpp Implementation of NewGRF canals. */
 

	
 
#include "stdafx.h"
 
#include "tile_type.h"
 
#include "debug.h"
 
#include "newgrf_commons.h"
 
#include "newgrf_spritegroup.h"
 
#include "newgrf_canal.h"
 
#include "tile_map.h"
 
#include "water_map.h"
 

	
 

	
src/newgrf_canal.h
Show inline comments
 
@@ -12,6 +12,10 @@
 
#ifndef NEWGRF_CANAL_H
 
#define NEWGRF_CANAL_H
 

	
 
#include "gfx_type.h"
 
#include "tile_type.h"
 
#include "newgrf_generic.h"
 

	
 
/** List of different canal 'features'.
 
 * Each feature gets an entry in the canal spritegroup table */
 
enum CanalFeature {
src/newgrf_cargo.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "debug.h"
 
#include "newgrf.h"
 
#include "newgrf_spritegroup.h"
 
#include "core/bitmath_func.hpp"
 

	
 
static uint32 CargoGetRandomBits(const ResolverObject *object)
 
{
src/newgrf_commons.h
Show inline comments
 
@@ -14,7 +14,6 @@
 
#ifndef NEWGRF_COMMONS_H
 
#define NEWGRF_COMMONS_H
 

	
 
#include "core/bitmath_func.hpp"
 
#include "tile_cmd.h"
 
#include "transparency.h"
 
#include "sprite.h"
src/newgrf_engine.cpp
Show inline comments
 
@@ -24,6 +24,8 @@
 
#include "aircraft.h"
 
#include "core/smallmap_type.hpp"
 
#include "station_base.h"
 
#include "engine_base.h"
 
#include "company_base.h"
 

	
 
struct WagonOverride {
 
	EngineID *train_id;
src/newgrf_engine.h
Show inline comments
 
@@ -15,6 +15,9 @@
 
#include "direction_type.h"
 
#include "newgrf_callbacks.h"
 
#include "newgrf_properties.h"
 
#include "vehicle_type.h"
 
#include "engine_type.h"
 
#include "gfx_type.h"
 

	
 
enum {
 
	TRAININFO_DEFAULT_VEHICLE_WIDTH = 29,
src/newgrf_generic.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "debug.h"
 
#include "newgrf.h"
 
#include "newgrf_spritegroup.h"
 
#include "core/bitmath_func.hpp"
 
#include <list>
 

	
 

	
src/newgrf_generic.h
Show inline comments
 
@@ -12,6 +12,9 @@
 
#ifndef NEWGRF_GENERIC_H
 
#define NEWGRF_GENERIC_H
 

	
 
#include "cargo_type.h"
 
#include "industry_type.h"
 

	
 
enum AIConstructionEvent {
 
	AICE_TRAIN_CHECK_RAIL_ENGINE     = 0x00, ///< Check if we should build an engine
 
	AICE_TRAIN_CHECK_ELRAIL_ENGINE   = 0x01,
src/newgrf_gui.cpp
Show inline comments
 
@@ -14,7 +14,6 @@
 
#include "newgrf.h"
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "gfx_func.h"
 
#include "gamelog.h"
 
#include "settings_func.h"
 
#include "widgets/dropdown_type.h"
 
@@ -22,6 +21,7 @@
 
#include "network/network_content.h"
 
#include "sortlist_type.h"
 
#include "querystring_gui.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/newgrf_house.cpp
Show inline comments
 
@@ -10,24 +10,22 @@
 
/** @file newgrf_house.cpp Implementation of NewGRF houses. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "variables.h"
 
#include "debug.h"
 
#include "viewport_func.h"
 
#include "landscape.h"
 
#include "sprite.h"
 
#include "newgrf.h"
 
#include "newgrf_house.h"
 
#include "newgrf_spritegroup.h"
 
#include "newgrf_town.h"
 
#include "newgrf_sound.h"
 
#include "newgrf_commons.h"
 
#include "transparency.h"
 
#include "functions.h"
 
#include "company_func.h"
 
#include "animated_tile_func.h"
 
#include "company_base.h"
 
#include "town.h"
 
#include "core/random_func.hpp"
 

	
 
static BuildingCounts<uint32> _building_counts;
 
static HouseClassMapping _class_mapping[HOUSE_CLASS_MAX];
src/newgrf_house.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef NEWGRF_HOUSE_H
 
#define NEWGRF_HOUSE_H
 

	
 
#include "town_type.h"
 
#include "newgrf_callbacks.h"
 
#include "tile_cmd.h"
 
#include "house_type.h"
src/newgrf_industries.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "debug.h"
 
#include "strings_type.h"
 
#include "industry.h"
 
#include "newgrf.h"
 
#include "newgrf_industries.h"
 
@@ -24,6 +23,7 @@
 
#include "command_func.h"
 
#include "gui.h"
 
#include "strings_func.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/newgrf_industries.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef NEWGRF_INDUSTRIES_H
 
#define NEWGRF_INDUSTRIES_H
 

	
 
#include "industry_type.h"
 
#include "newgrf_spritegroup.h"
 

	
 
/** When should the industry(tile) be triggered for random bits? */
src/newgrf_industrytiles.cpp
Show inline comments
 
@@ -10,21 +10,17 @@
 
/** @file newgrf_industrytiles.cpp NewGRF handling of industry tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "variables.h"
 
#include "debug.h"
 
#include "viewport_func.h"
 
#include "landscape.h"
 
#include "newgrf.h"
 
#include "core/random_func.hpp"
 
#include "newgrf_commons.h"
 
#include "newgrf_industries.h"
 
#include "newgrf_industrytiles.h"
 
#include "newgrf_sound.h"
 
#include "newgrf_text.h"
 
#include "industry.h"
 
#include "sprite.h"
 
#include "transparency.h"
 
#include "functions.h"
 
#include "town.h"
 
#include "command_func.h"
src/newgrf_industrytiles.h
Show inline comments
 
@@ -12,6 +12,11 @@
 
#ifndef NEWGRF_INDUSTRYTILES_H
 
#define NEWGRF_INDUSTRYTILES_H
 

	
 
#include "tile_cmd.h"
 
#include "industry_type.h"
 
#include "newgrf_callbacks.h"
 
#include "core/random_func.hpp"
 

	
 
enum IndustryAnimationTrigger {
 
	IAT_CONSTRUCTION_STATE_CHANGE,
 
	IAT_TILELOOP,
src/newgrf_sound.h
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "sound_type.h"
 
#include "tile_type.h"
 
#include "vehicle_type.h"
 

	
 
enum VehicleSoundEvent {
 
	VSE_START        = 1,
src/newgrf_spritegroup.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "newgrf.h"
 
#include "newgrf_spritegroup.h"
 
#include "sprite.h"
 
#include "core/bitmath_func.hpp"
 
#include "core/pool_func.hpp"
 

	
 
SpriteGroupPool _spritegroup_pool("SpriteGroup");
src/newgrf_spritegroup.h
Show inline comments
 
@@ -13,8 +13,6 @@
 
#define NEWGRF_SPRITEGROUP_H
 

	
 
#include "town_type.h"
 
#include "industry_type.h"
 
#include "core/bitmath_func.hpp"
 
#include "gfx_type.h"
 
#include "engine_type.h"
 
#include "tile_type.h"
src/newgrf_station.cpp
Show inline comments
 
@@ -23,13 +23,14 @@
 
#include "newgrf_sound.h"
 
#include "town.h"
 
#include "newgrf_town.h"
 
#include "gfx_func.h"
 
#include "date_func.h"
 
#include "company_func.h"
 
#include "animated_tile_func.h"
 
#include "functions.h"
 
#include "tunnelbridge_map.h"
 
#include "spritecache.h"
 
#include "newgrf.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/newgrf_station.h
Show inline comments
 
@@ -12,14 +12,13 @@
 
#ifndef NEWGRF_STATION_H
 
#define NEWGRF_STATION_H
 

	
 
#include "engine_type.h"
 
#include "newgrf_callbacks.h"
 
#include "tile_type.h"
 
#include "station_type.h"
 
#include "strings_type.h"
 
#include "sprite.h"
 
#include "direction_type.h"
 
#include "newgrf.h"
 
#include "cargo_type.h"
 
#include "strings_type.h"
 
#include "station_type.h"
 
#include "rail_type.h"
 

	
 
enum StationClassID {
 
	STAT_CLASS_BEGIN = 0,    ///< the lowest valid value
src/newgrf_text.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef NEWGRF_TEXT_H
 
#define NEWGRF_TEXT_H
 

	
 
#include "strings_type.h"
 

	
 
StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
 
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
 
const char *GetGRFStringPtr(uint16 stringid);
src/newgrf_town.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef NEWGRF_TOWN_H
 
#define NEWGRF_TOWN_H
 

	
 
#include "town_type.h"
 

	
 
/* Currently there is no direct town resolver; we only need to get town
 
 * variable results from inside stations, house tiles and industry tiles. */
 

	
src/news_gui.cpp
Show inline comments
 
@@ -10,12 +10,9 @@
 
/** @file news_gui.cpp GUI functions related to news messages. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "viewport_func.h"
 
#include "news_type.h"
 
#include "gfx_func.h"
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "date_func.h"
 
@@ -31,6 +28,7 @@
 
#include "company_manager_face.h"
 
#include "company_func.h"
 
#include "engine_gui.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/openttd.cpp
Show inline comments
 
@@ -60,6 +60,10 @@
 
#include "thread/thread.h"
 
#include "station_base.h"
 
#include "crashlog.h"
 
#include "company_base.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 
#include "core/random_func.hpp"
 

	
 
#include "newgrf_commons.h"
 

	
src/order_cmd.cpp
Show inline comments
 
@@ -26,7 +26,7 @@
 
#include "roadveh.h"
 
#include "station_base.h"
 
#include "waypoint_base.h"
 
#include "roadstop_base.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 

	
src/order_func.h
Show inline comments
 
@@ -16,7 +16,6 @@
 
#include "vehicle_type.h"
 
#include "tile_type.h"
 
#include "group_type.h"
 
#include "date_type.h"
 
#include "company_type.h"
 

	
 
struct BackuppedOrders {
src/order_gui.cpp
Show inline comments
 
@@ -10,12 +10,9 @@
 
/** @file order_gui.cpp GUI related to orders. */
 

	
 
#include "stdafx.h"
 
#include "window_gui.h"
 
#include "command_func.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "depot_base.h"
 
#include "vehicle_base.h"
 
#include "vehicle_gui.h"
 
#include "roadveh.h"
 
#include "timetable.h"
 
@@ -31,6 +28,7 @@
 
#include "network/network.h"
 
#include "station_base.h"
 
#include "waypoint_base.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/os/unix/unix.cpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#include "../../textbuf_gui.h"
 
#include "../../functions.h"
 
#include "../../crashlog.h"
 
#include "../../core/random_func.hpp"
 

	
 

	
 
#include <dirent.h>
src/pathfinder/follow_track.hpp
Show inline comments
 
@@ -12,13 +12,13 @@
 
#ifndef  FOLLOW_TRACK_HPP
 
#define  FOLLOW_TRACK_HPP
 

	
 
#include "../depot_map.h"
 
#include "../pbs.h"
 
#include "../roadveh.h"
 
#include "../station_base.h"
 
#include "../train.h"
 
#include "../tunnelbridge.h"
 
#include "../tunnelbridge_map.h"
 
#include "../depot_map.h"
 
#include "pf_performance_timer.hpp"
 

	
 
/** Track follower helper template class (can serve pathfinders and vehicle
src/pathfinder/npf/npf.cpp
Show inline comments
 
@@ -12,15 +12,9 @@
 
#include "../../stdafx.h"
 
#include "../../debug.h"
 
#include "../../landscape.h"
 
#include "../../depot_base.h"
 
#include "../../network/network.h"
 
#include "../../tunnelbridge_map.h"
 
#include "../../functions.h"
 
#include "../../tunnelbridge.h"
 
#include "../../pbs.h"
 
#include "../../roadveh.h"
 
#include "../../ship.h"
 
#include "../../train.h"
 
#include "../../roadstop_base.h"
 
#include "../pathfinder_func.h"
 
#include "../pathfinder_type.h"
src/pathfinder/npf/npf_func.h
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "../../track_type.h"
 
#include "../../direction_type.h"
 
#include "../../vehicle_type.h"
 
#include "../pathfinder_type.h"
 

	
 
/**
src/pathfinder/opf/opf_ship.cpp
Show inline comments
 
@@ -10,12 +10,10 @@
 
/** @file pathfind.cpp Implementation of the oldest supported pathfinder. */
 

	
 
#include "../../stdafx.h"
 
#include "../../debug.h"
 
#include "../../tunnelbridge_map.h"
 
#include "../../tunnelbridge.h"
 
#include "../../ship.h"
 
#include "../../core/random_func.hpp"
 
#include "opf_ship.h"
 

	
 
struct RememberData {
 
	uint16 cur_length;
src/pathfinder/opf/opf_ship.h
Show inline comments
 
@@ -12,6 +12,11 @@
 
#ifndef OPF_SHIP_H
 
#define OPF_SHIP_H
 

	
 
#include "../../direction_type.h"
 
#include "../../tile_type.h"
 
#include "../../track_type.h"
 
#include "../../vehicle_type.h"
 

	
 
/**
 
 * Finds the best path for given ship using OPF.
 
 * @param v        the ship that needs to find a path
src/pathfinder/pathfinder_func.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef PATHFINDER_FUNC_H
 
#define PATHFINDER_FUNC_H
 

	
 
#include "../station_base.h"
 
#include "../waypoint_base.h"
 

	
 
/**
src/pathfinder/pathfinder_type.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef PATHFINDER_TYPE_H
 
#define PATHFINDER_TYPE_H
 

	
 
#include "../tile_type.h"
 

	
 
/** Length (penalty) of one tile with NPF */
 
static const int NPF_TILE_LENGTH = 100;
 

	
src/pathfinder/yapf/yapf.h
Show inline comments
 
@@ -14,6 +14,8 @@
 

	
 
#include "../../direction_type.h"
 
#include "../../station_type.h"
 
#include "../../track_type.h"
 
#include "../../vehicle_type.h"
 
#include "../pathfinder_type.h"
 

	
 
/**
src/pbs.cpp
Show inline comments
 
@@ -13,7 +13,6 @@
 
#include "functions.h"
 
#include "vehicle_func.h"
 
#include "pathfinder/follow_track.hpp"
 
//#include "depot_map.h"
 

	
 
/**
 
 * Get the reserved trackbits for any tile, regardless of type.
src/rail.h
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "rail_type.h"
 
#include "track_type.h"
 
#include "vehicle_type.h"
 
#include "gfx_type.h"
 
#include "core/bitmath_func.hpp"
 
#include "economy_func.h"
src/rail_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file rail_cmd.cpp Handling of rail tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "cmd_helper.h"
 
#include "landscape.h"
 
#include "viewport_func.h"
 
@@ -34,6 +33,7 @@
 
#include "elrail_func.h"
 
#include "town.h"
 
#include "pbs.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/railtypes.h"
src/rail_gui.cpp
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "station_gui.h"
 
#include "terraform_gui.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "command_func.h"
 
#include "waypoint_func.h"
 
#include "newgrf_station.h"
 
@@ -30,6 +29,7 @@
 
#include "tunnelbridge.h"
 
#include "tilehighlight_func.h"
 
#include "spritecache.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "station_map.h"
 
#include "tunnelbridge_map.h"
src/rail_map.h
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "rail_type.h"
 
#include "depot_type.h"
 
#include "signal_func.h"
 
#include "direction_func.h"
 
#include "track_func.h"
 
#include "tile_map.h"
 
#include "signal_type.h"
src/road_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file road_cmd.cpp Commands related to road tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "cmd_helper.h"
 
#include "road_internal.h"
 
#include "landscape.h"
 
@@ -30,9 +29,12 @@
 
#include "cheat_type.h"
 
#include "functions.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 
#include "elrail_func.h"
 
#include "roadveh.h"
 
#include "town.h"
 
#include "company_base.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/road_cmd.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define ROAD_CMD_H
 

	
 
#include "direction_type.h"
 
#include "road_type.h"
 

	
 
void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt);
 
void UpdateNearestTownForRoadTiles(bool invalidate);
src/road_func.h
Show inline comments
 
@@ -14,8 +14,9 @@
 

	
 
#include "core/bitmath_func.hpp"
 
#include "road_type.h"
 
#include "direction_func.h"
 
#include "direction_type.h"
 
#include "company_type.h"
 
#include "tile_type.h"
 

	
 
/**
 
 * Whether the given roadtype is valid.
src/road_gui.cpp
Show inline comments
 
@@ -10,15 +10,12 @@
 
/** @file road_gui.cpp GUI for building roads. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "station_gui.h"
 
#include "terraform_gui.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "command_func.h"
 
#include "road_type.h"
 
#include "road_cmd.h"
 
#include "road_map.h"
 
#include "station_func.h"
src/road_internal.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define ROAD_INTERNAL_H
 

	
 
#include "tile_cmd.h"
 
#include "road_type.h"
 

	
 
/**
 
 * Clean up unneccesary RoadBits of a planed tile.
src/road_map.h
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "track_func.h"
 
#include "depot_type.h"
 
#include "rail_type.h"
 
#include "town_type.h"
 
#include "road_func.h"
 
#include "tile_map.h"
 

	
src/roadstop_base.h
Show inline comments
 
@@ -15,6 +15,8 @@
 
#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;
 
extern RoadStopPool _roadstop_pool;
src/roadveh.h
Show inline comments
 
@@ -13,9 +13,7 @@
 
#define ROADVEH_H
 

	
 
#include "vehicle_base.h"
 
#include "engine_func.h"
 
#include "engine_base.h"
 
#include "economy_func.h"
 
#include "road_type.h"
 

	
 
struct RoadVehicle;
 

	
src/roadveh_cmd.cpp
Show inline comments
 
@@ -30,14 +30,17 @@
 
#include "vehicle_func.h"
 
#include "sound_func.h"
 
#include "autoreplace_gui.h"
 
#include "gfx_func.h"
 
#include "ai/ai.hpp"
 
#include "depot_map.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 
#include "roadstop_base.h"
 
#include "cargotype.h"
 
#include "spritecache.h"
 
#include "debug.h"
 
#include "core/random_func.hpp"
 
#include "engine_base.h"
 
#include "company_base.h"
 
#include "engine_func.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/saveload/afterload.cpp
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "../depot_base.h"
 
#include "../window_func.h"
 
#include "../fios.h"
 
#include "../gamelog.h"
 
#include "../gamelog_internal.h"
 
#include "../network/network.h"
 
#include "../gfxinit.h"
 
@@ -23,8 +22,6 @@
 
#include "../industry.h"
 
#include "../clear_map.h"
 
#include "../vehicle_func.h"
 
#include "../newgrf_station.h"
 
#include "../openttd.h"
 
#include "../debug.h"
 
#include "../string_func.h"
 
#include "../date_func.h"
 
@@ -49,6 +46,10 @@
 
#include "../animated_tile_func.h"
 
#include "../subsidy_base.h"
 
#include "../subsidy_func.h"
 
#include "../company_base.h"
 
#include "../newgrf.h"
 
#include "../engine_base.h"
 
#include "../engine_func.h"
 

	
 
#include "table/strings.h"
 

	
src/saveload/autoreplace_sl.cpp
Show inline comments
 
@@ -10,8 +10,6 @@
 
/** @file autoreplace_sl.cpp Code handling saving and loading of autoreplace rules */
 

	
 
#include "../stdafx.h"
 
#include "../engine_type.h"
 
#include "../group_type.h"
 
#include "../autoreplace_base.h"
 

	
 
#include "saveload.h"
src/saveload/gamelog_sl.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file gamelog_sl.cpp Code handling saving and loading of gamelog data */
 

	
 
#include "../stdafx.h"
 
#include "../gamelog.h"
 
#include "../gamelog_internal.h"
 
#include "../core/alloc_func.hpp"
 

	
src/saveload/industry_sl.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file industry_sl.cpp Code handling saving and loading of industries */
 

	
 
#include "../stdafx.h"
 
#include "../strings_type.h"
 
#include "../industry.h"
 
#include "../newgrf_commons.h"
 

	
src/saveload/misc_sl.cpp
Show inline comments
 
@@ -20,7 +20,7 @@
 
#include "../viewport_func.h"
 
#include "../gfx_func.h"
 
#include "../company_base.h"
 
#include "../town.h"
 
#include "../core/random_func.hpp"
 

	
 
#include "saveload.h"
 

	
src/saveload/oldloader.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define OLDLOADER_H
 

	
 
#include "saveload.h"
 
#include "../tile_type.h"
 

	
 
enum {
 
	BUFFER_SIZE = 4096,
src/saveload/oldloader_sl.cpp
Show inline comments
 
@@ -22,13 +22,15 @@
 
#include "../subsidy_base.h"
 
#include "../debug.h"
 
#include "../depot_base.h"
 
#include "../zoom_func.h"
 
#include "../date_func.h"
 
#include "../vehicle_func.h"
 
#include "../variables.h"
 
#include "../effectvehicle_base.h"
 
#include "../core/mem_func.hpp"
 
#include "../core/alloc_type.hpp"
 
#include "../engine_base.h"
 
#include "../engine_func.h"
 
#include "../company_base.h"
 
#include "saveload_internal.h"
 
#include "oldloader.h"
 

	
src/saveload/saveload.cpp
Show inline comments
 
@@ -21,7 +21,6 @@
 
 * </ol>
 
 */
 
#include "../stdafx.h"
 
#include "../openttd.h"
 
#include "../debug.h"
 
#include "../station_base.h"
 
#include "../thread/thread.h"
 
@@ -30,7 +29,6 @@
 
#include "../variables.h"
 
#include "../window_func.h"
 
#include "../strings_func.h"
 
#include "../gfx_func.h"
 
#include "../core/endian_func.hpp"
 
#include "../vehicle_base.h"
 
#include "../company_func.h"
 
@@ -42,6 +40,7 @@
 
#include "../gamelog.h"
 
#include "../string_func.h"
 
#include "../engine_base.h"
 
#include "../company_base.h"
 

	
 
#include "table/strings.h"
 

	
src/saveload/saveload_internal.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef SAVELOAD_INTERNAL_H
 
#define SAVELOAD_INTERNAL_H
 

	
 
#include "../strings_type.h"
 
#include "../company_manager_face.h"
 
#include "../order_base.h"
 
#include "../engine_type.h"
src/saveload/signs_sl.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file signs_sl.cpp Code handling saving and loading of economy data */
 

	
 
#include "../stdafx.h"
 
#include "../company_func.h"
 
#include "../signs_base.h"
 

	
 
#include "saveload.h"
src/saveload/station_sl.cpp
Show inline comments
 
@@ -15,7 +15,6 @@
 
#include "../roadstop_base.h"
 
#include "../vehicle_base.h"
 
#include "../newgrf_station.h"
 
#include "../station_map.h"
 

	
 
#include "saveload.h"
 
#include "table/strings.h"
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -17,6 +17,7 @@
 
#include "../aircraft.h"
 
#include "../station_base.h"
 
#include "../effectvehicle_base.h"
 
#include "../engine_base.h"
 

	
 
#include "saveload.h"
 

	
src/saveload/waypoint_sl.cpp
Show inline comments
 
@@ -14,6 +14,7 @@
 
#include "../newgrf_station.h"
 
#include "../vehicle_base.h"
 
#include "../town.h"
 
#include "../newgrf.h"
 

	
 
#include "table/strings.h"
 

	
src/script/script_info.hpp
Show inline comments
 
@@ -12,6 +12,7 @@
 
#ifndef SCRIPT_INFO
 
#define SCRIPT_INFO
 

	
 
#include <squirrel.h>
 
#include "../misc/countedptr.hpp"
 

	
 
class ScriptFileInfo : public SimpleCountedObject {
src/sdl.h
Show inline comments
 
@@ -20,7 +20,6 @@ void SdlClose(uint32 x);
 
#endif
 

	
 
#ifdef DYNAMICALLY_LOADED_SDL
 
	#include <SDL.h>
 

	
 
	struct SDLProcs {
 
		int (SDLCALL *SDL_Init)(Uint32);
src/settings.cpp
Show inline comments
 
@@ -57,10 +57,11 @@
 
#include "gamelog.h"
 
#include "settings_func.h"
 
#include "ini_type.h"
 
#include "ai/ai.hpp"
 
#include "ai/ai_config.hpp"
 
#include "newgrf.h"
 
#include "ship.h"
 
#include "company_base.h"
 
#include "engine_base.h"
 

	
 
#include "void_map.h"
 
#include "station_base.h"
src/settings_func.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define SETTINGS_FUNC_H
 

	
 
#include "core/smallvec_type.hpp"
 
#include "company_type.h"
 

	
 
void IConsoleSetSetting(const char *name, const char *value);
 
void IConsoleSetSetting(const char *name, int32 value);
src/settings_gui.cpp
Show inline comments
 
@@ -10,10 +10,8 @@
 
/** @file settings_gui.cpp GUI for settings. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "currency.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "command_func.h"
 
#include "screenshot.h"
 
@@ -24,15 +22,15 @@
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "string_func.h"
 
#include "gfx_func.h"
 
#include "widgets/dropdown_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "station_func.h"
 
#include "openttd.h"
 
#include "highscore.h"
 
#include "base_media_base.h"
 
#include "company_base.h"
 
#include "company_func.h"
 
#include "viewport_func.h"
 
#include "core/geometry_func.hpp"
 
#include <map>
 

	
 
#include "table/sprites.h"
src/settings_internal.h
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "saveload/saveload.h"
 
#include "settings_type.h"
 
#include "strings_type.h"
 

	
 
/** Convention/Type of settings. This is then further specified if necessary
 
 * with the SLE_ (SLE_VAR/SLE_FILE) enums in saveload.h
src/ship.h
Show inline comments
 
@@ -13,9 +13,6 @@
 
#define SHIP_H
 

	
 
#include "vehicle_base.h"
 
#include "engine_func.h"
 
#include "engine_base.h"
 
#include "economy_func.h"
 

	
 
void RecalcShipStuff(Vehicle *v);
 
void GetShipSpriteSize(EngineID engine, uint &width, uint &height);
src/ship_cmd.cpp
Show inline comments
 
@@ -31,11 +31,14 @@
 
#include "vehicle_func.h"
 
#include "sound_func.h"
 
#include "autoreplace_gui.h"
 
#include "gfx_func.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 
#include "ai/ai.hpp"
 
#include "pathfinder/opf/opf_ship.h"
 
#include "landscape_type.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/signal.cpp
Show inline comments
 
@@ -16,6 +16,7 @@
 
#include "vehicle_func.h"
 
#include "functions.h"
 
#include "train.h"
 
#include "company_base.h"
 

	
 

	
 
/** these are the maximums used for updating signal blocks */
src/signs_base.h
Show inline comments
 
@@ -14,8 +14,8 @@
 

	
 
#include "signs_type.h"
 
#include "viewport_type.h"
 
#include "tile_type.h"
 
#include "core/pool_type.hpp"
 
#include "company_type.h"
 

	
 
typedef Pool<Sign, SignID, 16, 64000> SignPool;
 
extern SignPool _sign_pool;
src/signs_func.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define SIGNS_FUNC_H
 

	
 
#include "signs_type.h"
 
#include "tile_type.h"
 

	
 
extern SignID _new_sign_id;
 

	
src/signs_gui.cpp
Show inline comments
 
@@ -24,6 +24,7 @@
 
#include "querystring_gui.h"
 
#include "sortlist_type.h"
 
#include "string_func.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/smallmap_gui.cpp
Show inline comments
 
@@ -17,7 +17,6 @@
 
#include "window_gui.h"
 
#include "tree_map.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "town.h"
 
#include "blitter/factory.hpp"
 
#include "tunnelbridge_map.h"
 
@@ -26,6 +25,7 @@
 
#include "vehicle_base.h"
 
#include "sound_func.h"
 
#include "window_func.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/sound.cpp
Show inline comments
 
@@ -16,7 +16,6 @@
 
#include "fios.h"
 
#include "window_gui.h"
 
#include "vehicle_base.h"
 
#include "debug.h"
 

	
 
/* The type of set we're replacing */
 
#define SET_TYPE "sounds"
src/sound/allegro_s.cpp
Show inline comments
 
@@ -13,7 +13,6 @@
 

	
 
#include "../stdafx.h"
 

	
 
#include "../driver.h"
 
#include "../mixer.h"
 
#include "../debug.h"
 
#include "allegro_s.h"
src/sound/win32_s.cpp
Show inline comments
 
@@ -14,6 +14,7 @@
 
#include "../driver.h"
 
#include "../mixer.h"
 
#include "../core/alloc_func.hpp"
 
#include "../core/bitmath_func.hpp"
 
#include "win32_s.h"
 
#include <windows.h>
 
#include <mmsystem.h>
src/spritecache.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file spritecache.cpp Caching of sprites. */
 

	
 
#include "stdafx.h"
 
#include "gfx_type.h"
 
#include "fileio_func.h"
 
#include "spriteloader/grf.hpp"
 
#include "gfx_func.h"
src/spriteloader/png.cpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifdef WITH_PNG
 

	
 
#include "../stdafx.h"
 
#include "../gfx_func.h"
 
#include "../fileio_func.h"
 
#include "../debug.h"
 
#include "png.hpp"
src/spriteloader/spriteloader.hpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define SPRITELOADER_HPP
 

	
 
#include "../core/alloc_type.hpp"
 
#include "../gfx_type.h"
 

	
 
class SpriteLoader {
 
public:
src/station.cpp
Show inline comments
 
@@ -23,6 +23,7 @@
 
#include "station_base.h"
 
#include "roadstop_base.h"
 
#include "industry.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/station_base.h
Show inline comments
 
@@ -15,10 +15,7 @@
 
#include "base_station_base.h"
 
#include "airport.h"
 
#include "cargopacket.h"
 
#include "cargo_type.h"
 
#include "industry_type.h"
 
#include "core/geometry_type.hpp"
 
#include <list>
 

	
 
typedef Pool<BaseStation, StationID, 32, 64000> StationPool;
 
extern StationPool _station_pool;
src/station_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file station_cmd.cpp Handling of station tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "aircraft.h"
 
#include "bridge_map.h"
 
#include "cmd_helper.h"
 
@@ -45,6 +44,9 @@
 
#include "waypoint_func.h"
 
#include "pbs.h"
 
#include "debug.h"
 
#include "core/random_func.hpp"
 
#include "company_base.h"
 
#include "newgrf.h"
 

	
 
#include "table/strings.h"
 

	
src/station_func.h
Show inline comments
 
@@ -16,10 +16,9 @@
 
#include "sprite.h"
 
#include "rail_type.h"
 
#include "road_type.h"
 
#include "tile_type.h"
 
#include "cargo_type.h"
 
#include "vehicle_type.h"
 
#include "transparency.h"
 
#include "company_type.h"
 

	
 
void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius);
 

	
src/station_gui.cpp
Show inline comments
 
@@ -10,10 +10,8 @@
 
/** @file station_gui.cpp The GUI for stations. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "debug.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "company_func.h"
 
#include "command_func.h"
 
@@ -23,13 +21,13 @@
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "widgets/dropdown_func.h"
 
#include "station_base.h"
 
#include "waypoint_base.h"
 
#include "tilehighlight_func.h"
 
#include "company_base.h"
 
#include "sortlist_type.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/station_gui.h
Show inline comments
 
@@ -13,7 +13,8 @@
 
#define STATION_GUI_H
 

	
 
#include "command_type.h"
 
#include "station_type.h"
 
#include "tilearea_type.h"
 
#include "window_type.h"
 

	
 
/** Enum for StationView, referring to _station_view_widgets and _station_view_expanded_widgets */
 
enum StationViewWidgets {
src/station_type.h
Show inline comments
 
@@ -14,7 +14,6 @@
 

	
 
#include "core/enum_type.hpp"
 
#include "core/smallvec_type.hpp"
 
#include "tile_type.h"
 
#include "tilearea_type.h"
 

	
 
typedef uint16 StationID;
src/statusbar_gui.cpp
Show inline comments
 
@@ -25,6 +25,7 @@
 
#include "variables.h"
 
#include "window_func.h"
 
#include "statusbar_gui.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/strings.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file strings.cpp Handling of translated strings. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "currency.h"
 
#include "station_base.h"
 
#include "town.h"
 
@@ -29,11 +28,11 @@
 
#include "core/endian_func.hpp"
 
#include "date_func.h"
 
#include "vehicle_base.h"
 
#include "video/video_driver.hpp"
 
#include "engine_base.h"
 
#include "strgen/strgen.h"
 
#include "gfx_func.h"
 
#include "townname_func.h"
 
#include "string_func.h"
 
#include "company_base.h"
 

	
 
#include "table/strings.h"
 
#include "table/control_codes.h"
src/subsidy.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "subsidy_base.h"
 
#include "subsidy_func.h"
 
#include "core/pool_func.hpp"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/subsidy_func.h
Show inline comments
 
@@ -14,9 +14,8 @@
 

	
 
#include "core/geometry_type.hpp"
 
#include "station_type.h"
 
#include "town_type.h"
 
#include "industry_type.h"
 
#include "company_type.h"
 
#include "cargo_type.h"
 

	
 
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
 
void DeleteSubsidyWith(SourceType type, SourceID index);
src/subsidy_gui.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file subsidy_gui.cpp GUI for subsidies. */
 

	
 
#include "stdafx.h"
 
#include "strings_type.h"
 
#include "industry.h"
 
#include "town.h"
 
#include "window_gui.h"
 
@@ -21,6 +20,7 @@
 
#include "gui.h"
 
#include "subsidy_func.h"
 
#include "subsidy_base.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/strings.h"
 

	
src/terraform_gui.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file terraform_gui.cpp GUI related to terraforming the map. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "clear_map.h"
 
#include "company_func.h"
 
#include "company_base.h"
 
@@ -18,7 +17,6 @@
 
#include "window_gui.h"
 
#include "window_func.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "command_func.h"
 
#include "signs_func.h"
 
#include "variables.h"
src/texteff.cpp
Show inline comments
 
@@ -10,13 +10,9 @@
 
/** @file texteff.cpp Handling of text effects. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "strings_type.h"
 
#include "texteff.hpp"
 
#include "core/bitmath_func.hpp"
 
#include "transparency.h"
 
#include "strings_func.h"
 
#include "core/alloc_func.hpp"
 
#include "core/smallvec_type.hpp"
 
#include "viewport_func.h"
 
#include "settings_type.h"
src/texteff.hpp
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define TEXTEFF_HPP
 

	
 
#include "gfx_type.h"
 
#include "strings_type.h"
 

	
 
/**
 
 * Text effect modes.
src/tile_cmd.h
Show inline comments
 
@@ -12,17 +12,10 @@
 
#ifndef TILE_CMD_H
 
#define TILE_CMD_H
 

	
 
#include "slope_type.h"
 
#include "tile_type.h"
 
#include "command_type.h"
 
#include "vehicle_type.h"
 
#include "cargo_type.h"
 
#include "strings_type.h"
 
#include "date_type.h"
 
#include "company_type.h"
 
#include "direction_type.h"
 
#include "track_type.h"
 
#include "transport_type.h"
 
#include "tile_map.h"
 

	
 
/** The returned bits of VehicleEnterTile. */
src/tile_map.h
Show inline comments
 
@@ -12,9 +12,7 @@
 
#ifndef TILE_MAP_H
 
#define TILE_MAP_H
 

	
 
#include "tile_type.h"
 
#include "slope_type.h"
 
#include "company_type.h"
 
#include "map_func.h"
 
#include "core/bitmath_func.hpp"
 
#include "settings_type.h"
src/tile_type.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef TILE_TYPE_H
 
#define TILE_TYPE_H
 

	
 
#include "core/enum_type.hpp"
 

	
 
enum {
 
	TILE_SIZE      = 16,            ///< Tiles are 16x16 "units" in size
src/tilehighlight_func.h
Show inline comments
 
@@ -13,8 +13,6 @@
 
#define TILEHIGHLIGHT_FUNC_H
 

	
 
#include "gfx_type.h"
 
#include "window_type.h"
 
#include "viewport_type.h"
 
#include "tilehighlight_type.h"
 

	
 
typedef void PlaceProc(TileIndex tile);
src/tilehighlight_type.h
Show inline comments
 
@@ -13,9 +13,9 @@
 
#define TILEHIGHLIGHT_TYPE_H
 

	
 
#include "core/geometry_type.hpp"
 
#include "zoom_type.h"
 
#include "window_type.h"
 
#include "tile_type.h"
 
#include "viewport_type.h"
 

	
 
/** Highlighting draw styles */
 
enum HighLightStyle {
src/timetable.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define TIMETABLE_H
 

	
 
#include "date_type.h"
 
#include "vehicle_type.h"
 

	
 
void ShowTimetableWindow(const Vehicle *v);
 
void UpdateVehicleTimetable(Vehicle *v, bool travelling);
src/timetable_gui.cpp
Show inline comments
 
@@ -23,6 +23,7 @@
 
#include "date_func.h"
 
#include "date_gui.h"
 
#include "vehicle_gui.h"
 
#include "settings_type.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/toolbar_gui.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file toolbar_gui.cpp Code related to the (main) toolbar. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "window_func.h"
 
@@ -41,6 +40,7 @@
 
#include "tilehighlight_func.h"
 
#include "rail.h"
 
#include "widgets/dropdown_type.h"
 
#include "company_base.h"
 

	
 
#include "network/network.h"
 
#include "network/network_gui.h"
src/town.h
Show inline comments
 
@@ -13,18 +13,7 @@
 
#define TOWN_H
 

	
 
#include "core/pool_type.hpp"
 
#include "core/bitmath_func.hpp"
 
#include "core/random_func.hpp"
 
#include "cargo_type.h"
 
#include "tile_type.h"
 
#include "date_type.h"
 
#include "town_type.h"
 
#include "company_type.h"
 
#include "settings_type.h"
 
#include "strings_type.h"
 
#include "viewport_type.h"
 
#include "economy_type.h"
 
#include "map_type.h"
 
#include "command_type.h"
 
#include "town_map.h"
 
#include "subsidy_type.h"
src/town_cmd.cpp
Show inline comments
 
@@ -10,8 +10,6 @@
 
/** @file town_cmd.cpp Handling of town tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "road_type.h"
 
#include "road_internal.h" /* Cleaning up road bits */
 
#include "road_cmd.h"
 
#include "landscape.h"
 
@@ -30,7 +28,6 @@
 
#include "newgrf_commons.h"
 
#include "newgrf_text.h"
 
#include "autoslope.h"
 
#include "transparency.h"
 
#include "tunnelbridge_map.h"
 
#include "strings_func.h"
 
#include "window_func.h"
 
@@ -46,6 +43,7 @@
 
#include "town.h"
 
#include "townname_func.h"
 
#include "townname_type.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/town_land.h"
src/town_gui.cpp
Show inline comments
 
@@ -33,6 +33,7 @@
 
#include "window_func.h"
 
#include "townname_func.h"
 
#include "townname_type.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/town_map.h
Show inline comments
 
@@ -13,7 +13,6 @@
 
#define TOWN_MAP_H
 

	
 
#include "road_map.h"
 
#include "town_type.h"
 
#include "house.h"
 

	
 
/**
src/townname.cpp
Show inline comments
 
@@ -15,6 +15,7 @@
 
#include "town.h"
 
#include "core/alloc_func.hpp"
 
#include "strings_func.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/townname.h"
 

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

	
 
#include "core/bitmath_func.hpp"
 
#include "track_type.h"
 
#include "direction_type.h"
 
#include "slope_func.h"
 

	
 
/**
src/train.h
Show inline comments
 
@@ -12,8 +12,6 @@
 
#ifndef TRAIN_H
 
#define TRAIN_H
 

	
 
#include "stdafx.h"
 
#include "core/bitmath_func.hpp"
 
#include "vehicle_base.h"
 

	
 
struct Train;
src/train_cmd.cpp
Show inline comments
 
@@ -15,8 +15,6 @@
 
#include "command_func.h"
 
#include "pathfinder/npf/npf_func.h"
 
#include "pathfinder/yapf/yapf.hpp"
 
#include "pathfinder/follow_track.hpp"
 
#include "openttd.h"
 
#include "news_func.h"
 
#include "company_func.h"
 
#include "vehicle_gui.h"
 
@@ -31,13 +29,18 @@
 
#include "vehicle_func.h"
 
#include "sound_func.h"
 
#include "autoreplace_gui.h"
 
#include "gfx_func.h"
 
#include "ai/ai.hpp"
 
#include "newgrf_station.h"
 
#include "effectvehicle_func.h"
 
#include "effectvehicle_base.h"
 
#include "gamelog.h"
 
#include "network/network.h"
 
#include "spritecache.h"
 
#include "core/random_func.hpp"
 
#include "company_base.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 
#include "newgrf.h"
 

	
 
#include "table/strings.h"
 
#include "table/train_cmd.h"
src/train_gui.cpp
Show inline comments
 
@@ -19,6 +19,7 @@
 
#include "vehicle_func.h"
 
#include "engine_base.h"
 
#include "window_func.h"
 
#include "settings_type.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/transparency_gui.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file transparency_gui.cpp The transparency GUI. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "window_gui.h"
 
#include "transparency.h"
 
#include "sound_func.h"
src/tree_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file tree_cmd.cpp Handling of tree tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "clear_map.h"
 
#include "landscape.h"
 
#include "tree_map.h"
 
@@ -28,6 +27,7 @@
 
#include "water.h"
 
#include "landscape_type.h"
 
#include "company_base.h"
 
#include "core/random_func.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/tree_map.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef TREE_MAP_H
 
#define TREE_MAP_H
 

	
 
#include "tile_map.h"
 

	
 
/**
 
 * List of tree types along all landscape types.
 
 *
src/tunnel_map.h
Show inline comments
 
@@ -12,10 +12,6 @@
 
#ifndef TUNNEL_MAP_H
 
#define TUNNEL_MAP_H
 

	
 
#include "direction_func.h"
 
#include "rail_type.h"
 
#include "road_type.h"
 
#include "transport_type.h"
 
#include "road_map.h"
 

	
 

	
src/tunnelbridge.h
Show inline comments
 
@@ -12,7 +12,7 @@
 
#ifndef TUNNELBRIDGE_H
 
#define TUNNELBRIDGE_H
 

	
 
#include "tile_type.h"
 
#include "map_func.h"
 

	
 
/**
 
 * Calculates the length of a tunnel or a bridge (without end tiles)
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -13,7 +13,6 @@
 
 */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "rail_map.h"
 
#include "landscape.h"
 
#include "unmovable_map.h"
 
@@ -39,6 +38,8 @@
 
#include "elrail_func.h"
 
#include "landscape_type.h"
 
#include "pbs.h"
 
#include "company_base.h"
 
#include "engine_base.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/tunnelbridge_map.h
Show inline comments
 
@@ -12,13 +12,8 @@
 
#ifndef TUNNELBRIDGE_MAP_H
 
#define TUNNELBRIDGE_MAP_H
 

	
 
#include "direction_func.h"
 
#include "core/bitmath_func.hpp"
 
#include "tile_map.h"
 
#include "bridge_map.h"
 
#include "tunnel_map.h"
 
#include "transport_type.h"
 
#include "track_func.h"
 

	
 

	
 
/**
src/unmovable.h
Show inline comments
 
@@ -12,9 +12,8 @@
 
#ifndef UNMOVABLE_H
 
#define UNMOVABLE_H
 

	
 
#include "unmovable_map.h"
 
#include "economy_type.h"
 
#include "economy_func.h"
 
#include "strings_type.h"
 

	
 
void UpdateCompanyHQ(Company *c, uint score);
 

	
src/unmovable_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file unmovable_cmd.cpp Handling of unmovable tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "landscape.h"
 
#include "command_func.h"
 
#include "viewport_func.h"
 
@@ -28,6 +27,9 @@
 
#include "landscape_type.h"
 
#include "unmovable.h"
 
#include "cargopacket.h"
 
#include "sprite.h"
 
#include "core/random_func.hpp"
 
#include "unmovable_map.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
src/unmovable_map.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef UNMOVABLE_MAP_H
 
#define UNMOVABLE_MAP_H
 

	
 
#include "core/bitmath_func.hpp"
 
#include "tile_map.h"
 

	
 
/** Types of unmovable structure */
src/vehicle.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "gui.h"
 
#include "openttd.h"
 
#include "debug.h"
 
#include "roadveh.h"
 
#include "ship.h"
 
@@ -47,6 +46,9 @@
 
#include "economy_base.h"
 
#include "articulated_vehicles.h"
 
#include "roadstop_base.h"
 
#include "core/random_func.hpp"
 
#include "engine_base.h"
 
#include "newgrf.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/vehicle_base.h
Show inline comments
 
@@ -12,20 +12,12 @@
 
#ifndef VEHICLE_BASE_H
 
#define VEHICLE_BASE_H
 

	
 
#include "vehicle_type.h"
 
#include "track_type.h"
 
#include "cargo_type.h"
 
#include "direction_type.h"
 
#include "gfx_type.h"
 
#include "command_type.h"
 
#include "date_type.h"
 
#include "company_base.h"
 
#include "company_type.h"
 
#include "core/pool_type.hpp"
 
#include "order_base.h"
 
#include "cargopacket.h"
 
#include "texteff.hpp"
 
#include "group_type.h"
 
#include "engine_type.h"
 
#include "order_func.h"
 
#include "transport_type.h"
src/vehicle_cmd.cpp
Show inline comments
 
@@ -11,7 +11,6 @@
 

	
 
#include "stdafx.h"
 
#include "roadveh.h"
 
#include "gfx_func.h"
 
#include "news_func.h"
 
#include "airport.h"
 
#include "command_func.h"
 
@@ -27,6 +26,7 @@
 
#include "string_func.h"
 
#include "depot_map.h"
 
#include "vehiclelist.h"
 
#include "engine_base.h"
 

	
 
#include "table/strings.h"
 

	
src/vehicle_func.h
Show inline comments
 
@@ -12,16 +12,14 @@
 
#ifndef VEHICLE_FUNC_H
 
#define VEHICLE_FUNC_H
 

	
 
#include "tile_type.h"
 
#include "strings_type.h"
 
#include "gfx_type.h"
 
#include "direction_type.h"
 
#include "cargo_type.h"
 
#include "command_type.h"
 
#include "vehicle_type.h"
 
#include "engine_type.h"
 
#include "transport_type.h"
 
#include "newgrf_config.h"
 
#include "company_type.h"
 

	
 
#define is_custom_sprite(x) (x >= 0xFD)
 
#define IS_CUSTOM_FIRSTHEAD_SPRITE(x) (x == 0xFD)
src/vehicle_gui.cpp
Show inline comments
 
@@ -10,17 +10,14 @@
 
/** @file vehicle_gui.cpp The base GUI for all vehicles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "debug.h"
 
#include "company_func.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "command_func.h"
 
#include "vehicle_gui.h"
 
#include "vehicle_gui_base.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "newgrf_engine.h"
 
#include "newgrf_text.h"
 
#include "waypoint_base.h"
 
@@ -40,6 +37,10 @@
 
#include "articulated_vehicles.h"
 
#include "cargotype.h"
 
#include "spritecache.h"
 
#include "core/geometry_func.hpp"
 
#include "company_base.h"
 
#include "engine_base.h"
 
#include "engine_func.h"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/vehicle_gui.h
Show inline comments
 
@@ -17,7 +17,7 @@
 
#include "order_type.h"
 
#include "station_type.h"
 
#include "engine_type.h"
 
#include "tile_type.h"
 
#include "company_type.h"
 

	
 
void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order, Window *parent);
 

	
src/vehicle_gui_base.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define VEHICLE_GUI_BASE_H
 

	
 
#include "sortlist_type.h"
 
#include "window_gui.h"
 

	
 
typedef GUIList<const Vehicle*> GUIVehicleList;
 

	
src/vehiclelist.h
Show inline comments
 
@@ -13,6 +13,9 @@
 
#define VEHICLELIST_H
 

	
 
#include "core/smallvec_type.hpp"
 
#include "vehicle_type.h"
 
#include "company_type.h"
 
#include "tile_type.h"
 

	
 
typedef SmallVector<const Vehicle *, 32> VehicleList;
 

	
src/video/allegro_v.cpp
Show inline comments
 
@@ -18,16 +18,13 @@
 

	
 
#include "../stdafx.h"
 
#include "../openttd.h"
 
#include "../debug.h"
 
#include "../gfx_func.h"
 
#include "../variables.h"
 
#include "../rev.h"
 
#include "../blitter/factory.hpp"
 
#include "../network/network.h"
 
#include "../core/math_func.hpp"
 
#include "../core/random_func.hpp"
 
#include "../functions.h"
 
#include "../texteff.hpp"
 
#include "allegro_v.h"
 
#include <allegro.h>
 

	
src/video/dedicated_v.cpp
Show inline comments
 
@@ -13,8 +13,8 @@
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
#include "../openttd.h"
 
#include "../gfx_func.h"
 
#include "../network/network.h"
 
#include "../network/network_internal.h"
 
#include "../console_func.h"
 
#include "../variables.h"
src/video/sdl_v.cpp
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "../functions.h"
 
#include "../thread/thread.h"
 
#include "../genworld.h"
 
#include "../core/random_func.hpp"
 
#include "sdl_v.h"
 
#include <SDL.h>
 

	
src/viewport.cpp
Show inline comments
 
@@ -26,7 +26,6 @@
 
 */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "landscape.h"
 
#include "viewport_func.h"
 
#include "station_base.h"
 
@@ -38,7 +37,6 @@
 
#include "vehicle_base.h"
 
#include "vehicle_gui.h"
 
#include "blitter/factory.hpp"
 
#include "transparency.h"
 
#include "strings_func.h"
 
#include "zoom_func.h"
 
#include "vehicle_func.h"
src/water.h
Show inline comments
 
@@ -12,6 +12,10 @@
 
#ifndef WATER_H
 
#define WATER_H
 

	
 
#include "tile_type.h"
 
#include "company_type.h"
 
#include "slope_type.h"
 

	
 
void TileLoop_Water(TileIndex tile);
 
bool FloodHalftile(TileIndex t);
 
void DoFloodTile(TileIndex target);
src/water_cmd.cpp
Show inline comments
 
@@ -10,7 +10,6 @@
 
/** @file water_cmd.cpp Handling of water tiles. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "cmd_helper.h"
 
#include "landscape.h"
 
#include "viewport_func.h"
 
@@ -19,17 +18,11 @@
 
#include "news_func.h"
 
#include "depot_base.h"
 
#include "depot_func.h"
 
#include "vehicle_gui.h"
 
#include "train.h"
 
#include "roadveh.h"
 
#include "water.h"
 
#include "industry_map.h"
 
#include "cargotype.h"
 
#include "newgrf_canal.h"
 
#include "transparency.h"
 
#include "strings_func.h"
 
#include "functions.h"
 
#include "window_func.h"
 
#include "vehicle_func.h"
 
#include "sound_func.h"
 
#include "company_func.h"
 
@@ -40,6 +33,7 @@
 
#include "tunnelbridge_map.h"
 
#include "station_base.h"
 
#include "ai/ai.hpp"
 
#include "core/random_func.hpp"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/water_map.h
Show inline comments
 
@@ -14,6 +14,7 @@
 

	
 
#include "core/math_func.hpp"
 
#include "depot_type.h"
 
#include "tile_map.h"
 

	
 
enum WaterTileType {
 
	WATER_TILE_CLEAR,
src/waypoint_gui.cpp
Show inline comments
 
@@ -16,7 +16,6 @@
 
#include "vehicle_gui.h"
 
#include "viewport_func.h"
 
#include "strings_func.h"
 
#include "gfx_func.h"
 
#include "command_func.h"
 
#include "company_func.h"
 
#include "window_func.h"
src/widget.cpp
Show inline comments
 
@@ -10,13 +10,13 @@
 
/** @file widget.cpp Handling of the default/simple widgets. */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "company_func.h"
 
#include "window_gui.h"
 
#include "viewport_func.h"
 
#include "zoom_func.h"
 
#include "strings_func.h"
 
#include "transparency.h"
 
#include "core/geometry_func.hpp"
 

	
 
#include "table/sprites.h"
 
#include "table/strings.h"
src/widget_type.h
Show inline comments
 
@@ -12,9 +12,11 @@
 
#ifndef WIDGET_TYPE_H
 
#define WIDGET_TYPE_H
 

	
 
#include "core/alloc_type.hpp"
 
#include "core/bitmath_func.hpp"
 
#include "strings_type.h"
 
#include "gfx_type.h"
 
#include "window_type.h"
 

	
 
enum {
 
	WIDGET_LIST_END = -1, ///< indicate the end of widgets' list for vararg functions
src/widgets/dropdown.cpp
Show inline comments
 
@@ -12,7 +12,6 @@
 
#include "../stdafx.h"
 
#include "../window_gui.h"
 
#include "../strings_func.h"
 
#include "../gfx_func.h"
 
#include "../window_func.h"
 
#include "dropdown_type.h"
 

	
src/widgets/dropdown_func.h
Show inline comments
 
@@ -12,6 +12,8 @@
 
#ifndef WIDGETS_DROPDOWN_FUNC_H
 
#define WIDGETS_DROPDOWN_FUNC_H
 

	
 
#include "../window_gui.h"
 

	
 
/* Show drop down menu containing a fixed list of strings */
 
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0);
 

	
src/widgets/dropdown_type.h
Show inline comments
 
@@ -13,6 +13,7 @@
 
#define WIDGETS_DROPDOWN_TYPE_H
 

	
 
#include "../window_type.h"
 
#include "../gfx_func.h"
 
#include <list>
 

	
 
/**
src/window.cpp
Show inline comments
 
@@ -30,6 +30,7 @@
 
#include "querystring_gui.h"
 
#include "widgets/dropdown_func.h"
 
#include "strings_func.h"
 
#include "settings_type.h"
 

	
 
#include "table/sprites.h"
 

	
src/window_gui.h
Show inline comments
 
@@ -12,13 +12,10 @@
 
#ifndef WINDOW_GUI_H
 
#define WINDOW_GUI_H
 

	
 
#include "core/geometry_func.hpp"
 
#include "core/math_func.hpp"
 
#include "vehicle_type.h"
 
#include "viewport_type.h"
 
#include "company_type.h"
 
#include "core/alloc_type.hpp"
 
#include "window_type.h"
 
#include "tile_type.h"
 
#include "widget_type.h"
 

	
src/window_type.h
Show inline comments
 
@@ -12,7 +12,6 @@
 
#ifndef WINDOW_TYPE_H
 
#define WINDOW_TYPE_H
 

	
 
#include "core/enum_type.hpp"
 

	
 
/**
 
 * Window classes
0 comments (0 inline, 0 general)