TBTR: Tidy up includes
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
#include "gfx_type.h"
|
#include "gfx_type.h"
|
||||||
#include "vehicle_type.h"
|
#include "vehicle_type.h"
|
||||||
#include "engine_base.h"
|
#include "engine_base.h"
|
||||||
|
#include "window_type.h"
|
||||||
|
|
||||||
struct GUIEngineListItem {
|
struct GUIEngineListItem {
|
||||||
EngineID engine_id; ///< Engine to display in build purchase list
|
EngineID engine_id; ///< Engine to display in build purchase list
|
||||||
|
@@ -8,45 +8,37 @@
|
|||||||
/** @file tbtr_template_gui_main.cpp Template-based train replacement: main GUI. */
|
/** @file tbtr_template_gui_main.cpp Template-based train replacement: main GUI. */
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "command_func.h"
|
|
||||||
#include "vehicle_gui.h"
|
|
||||||
#include "newgrf_engine.h"
|
|
||||||
#include "group.h"
|
|
||||||
#include "rail.h"
|
|
||||||
#include "strings_func.h"
|
|
||||||
#include "window_func.h"
|
|
||||||
#include "autoreplace_func.h"
|
#include "autoreplace_func.h"
|
||||||
|
#include "command_func.h"
|
||||||
#include "company_func.h"
|
#include "company_func.h"
|
||||||
#include "engine_base.h"
|
|
||||||
#include "window_gui.h"
|
|
||||||
#include "viewport_func.h"
|
|
||||||
#include "tilehighlight_func.h"
|
|
||||||
#include "engine_gui.h"
|
|
||||||
#include "settings_func.h"
|
|
||||||
#include "core/geometry_func.hpp"
|
|
||||||
#include "rail_gui.h"
|
|
||||||
#include "network/network.h"
|
|
||||||
#include "zoom_func.h"
|
|
||||||
#include "textbuf_gui.h"
|
|
||||||
#include "core/backup_type.hpp"
|
#include "core/backup_type.hpp"
|
||||||
|
#include "core/geometry_func.hpp"
|
||||||
|
#include "core/pool_func.hpp"
|
||||||
|
#include "engine_base.h"
|
||||||
|
#include "engine_func.h"
|
||||||
|
#include "engine_gui.h"
|
||||||
|
#include "gfx_type.h"
|
||||||
|
#include "group.h"
|
||||||
|
#include "network/network.h"
|
||||||
|
#include "newgrf_engine.h"
|
||||||
|
#include "rail_gui.h"
|
||||||
|
#include "rail.h"
|
||||||
|
#include "settings_func.h"
|
||||||
|
#include "spritecache.h"
|
||||||
|
#include "strings_func.h"
|
||||||
#include "table/sprites.h"
|
#include "table/sprites.h"
|
||||||
#include "table/strings.h"
|
#include "table/strings.h"
|
||||||
|
#include "textbuf_gui.h"
|
||||||
// test creating pool -> creating vehicles
|
#include "tilehighlight_func.h"
|
||||||
#include "core/pool_func.hpp"
|
|
||||||
|
|
||||||
#include "vehicle_gui_base.h"
|
|
||||||
#include "vehicle_base.h"
|
|
||||||
#include "train.h"
|
#include "train.h"
|
||||||
|
#include "vehicle_base.h"
|
||||||
#include "vehicle_func.h"
|
#include "vehicle_func.h"
|
||||||
|
#include "vehicle_gui_base.h"
|
||||||
#include "gfx_type.h"
|
#include "vehicle_gui.h"
|
||||||
|
#include "viewport_func.h"
|
||||||
#include "engine_func.h"
|
#include "window_func.h"
|
||||||
|
#include "window_gui.h"
|
||||||
// drawing the vehicle length based on occupied tiles
|
#include "zoom_func.h"
|
||||||
#include "spritecache.h"
|
|
||||||
|
|
||||||
#include "tbtr_template_gui_main.h"
|
#include "tbtr_template_gui_main.h"
|
||||||
#include "tbtr_template_gui_create.h"
|
#include "tbtr_template_gui_create.h"
|
||||||
|
@@ -8,38 +8,30 @@
|
|||||||
/** @file tbtr_template_vehicle.cpp Template-based train replacement: template vehicle. */
|
/** @file tbtr_template_vehicle.cpp Template-based train replacement: template vehicle. */
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "company_func.h"
|
#include "articulated_vehicles.h"
|
||||||
#include "train.h"
|
|
||||||
#include "command_func.h"
|
|
||||||
#include "engine_func.h"
|
|
||||||
#include "vehicle_func.h"
|
|
||||||
#include "autoreplace_func.h"
|
#include "autoreplace_func.h"
|
||||||
#include "autoreplace_gui.h"
|
#include "autoreplace_gui.h"
|
||||||
#include "group.h"
|
#include "command_func.h"
|
||||||
#include "articulated_vehicles.h"
|
#include "company_func.h"
|
||||||
#include "core/random_func.hpp"
|
|
||||||
#include "core/pool_type.hpp"
|
|
||||||
#include "engine_type.h"
|
|
||||||
#include "group_type.h"
|
|
||||||
#include "core/pool_func.hpp"
|
#include "core/pool_func.hpp"
|
||||||
|
#include "core/pool_type.hpp"
|
||||||
#include "table/strings.h"
|
#include "core/random_func.hpp"
|
||||||
|
#include "engine_func.h"
|
||||||
|
#include "engine_type.h"
|
||||||
|
#include "group.h"
|
||||||
|
#include "group_type.h"
|
||||||
|
#include "newgrf_cargo.h"
|
||||||
|
#include "newgrf_engine.h"
|
||||||
#include "newgrf.h"
|
#include "newgrf.h"
|
||||||
|
#include "newgrf_spritegroup.h"
|
||||||
#include "vehicle_type.h"
|
#include "table/strings.h"
|
||||||
|
#include "table/train_cmd.h"
|
||||||
|
#include "tbtr_template_vehicle_func.h"
|
||||||
|
#include "tbtr_template_vehicle.h"
|
||||||
|
#include "train.h"
|
||||||
#include "vehicle_base.h"
|
#include "vehicle_base.h"
|
||||||
#include "vehicle_func.h"
|
#include "vehicle_func.h"
|
||||||
|
#include "vehicle_type.h"
|
||||||
#include "table/train_cmd.h"
|
|
||||||
|
|
||||||
#include "tbtr_template_vehicle.h"
|
|
||||||
#include "tbtr_template_vehicle_func.h"
|
|
||||||
|
|
||||||
// since doing stuff with sprites
|
|
||||||
#include "newgrf_spritegroup.h"
|
|
||||||
#include "newgrf_engine.h"
|
|
||||||
#include "newgrf_cargo.h"
|
|
||||||
|
|
||||||
#include "3rdparty/robin_hood/robin_hood.h"
|
#include "3rdparty/robin_hood/robin_hood.h"
|
||||||
|
|
||||||
|
@@ -8,35 +8,31 @@
|
|||||||
/** @file tbtr_template_vehicle_func.cpp Template-based train replacement: template vehicle functions. */
|
/** @file tbtr_template_vehicle_func.cpp Template-based train replacement: template vehicle functions. */
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "window_gui.h"
|
|
||||||
#include "gfx_func.h"
|
|
||||||
#include "window_func.h"
|
|
||||||
#include "command_func.h"
|
|
||||||
#include "vehicle_gui.h"
|
|
||||||
#include "train.h"
|
|
||||||
#include "strings_func.h"
|
|
||||||
#include "vehicle_func.h"
|
|
||||||
#include "core/geometry_type.hpp"
|
|
||||||
#include "debug.h"
|
|
||||||
#include "zoom_func.h"
|
|
||||||
#include "core/backup_type.hpp"
|
|
||||||
#include "core/random_func.hpp"
|
|
||||||
|
|
||||||
#include "table/sprites.h"
|
|
||||||
#include "table/strings.h"
|
|
||||||
|
|
||||||
#include "cargoaction.h"
|
|
||||||
#include "train.h"
|
|
||||||
#include "company_func.h"
|
|
||||||
#include "newgrf.h"
|
|
||||||
#include "spritecache.h"
|
|
||||||
#include "articulated_vehicles.h"
|
#include "articulated_vehicles.h"
|
||||||
#include "autoreplace_func.h"
|
#include "autoreplace_func.h"
|
||||||
|
#include "cargoaction.h"
|
||||||
|
#include "command_func.h"
|
||||||
|
#include "company_func.h"
|
||||||
|
#include "core/backup_type.hpp"
|
||||||
|
#include "core/geometry_type.hpp"
|
||||||
|
#include "core/random_func.hpp"
|
||||||
|
#include "debug.h"
|
||||||
#include "depot_base.h"
|
#include "depot_base.h"
|
||||||
|
#include "gfx_func.h"
|
||||||
#include "tbtr_template_vehicle.h"
|
#include "newgrf.h"
|
||||||
|
#include "spritecache.h"
|
||||||
|
#include "strings_func.h"
|
||||||
|
#include "table/sprites.h"
|
||||||
|
#include "table/strings.h"
|
||||||
#include "tbtr_template_vehicle_func.h"
|
#include "tbtr_template_vehicle_func.h"
|
||||||
|
#include "tbtr_template_vehicle.h"
|
||||||
|
#include "train.h"
|
||||||
|
#include "vehicle_func.h"
|
||||||
|
#include "vehicle_gui.h"
|
||||||
|
#include "window_func.h"
|
||||||
|
#include "window_gui.h"
|
||||||
|
#include "zoom_func.h"
|
||||||
|
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user