Mercurial > hg > openttd
changeset 11354:01a1d671f4d1 draft
(svn r15704) -Cleanup: remove further includes from recently split files
author | smatz <smatz@openttd.org> |
---|---|
date | Fri, 13 Mar 2009 23:48:07 +0000 |
parents | 4288cc964c53 |
children | 15471cd58e0a |
files | src/company_cmd.cpp src/misc_cmd.cpp src/road_cmd.cpp src/signs.cpp src/signs_cmd.cpp src/tunnelbridge_cmd.cpp src/vehicle.cpp src/vehicle_cmd.cpp src/waypoint.cpp src/waypoint_cmd.cpp src/waypoint_gui.cpp |
diffstat | 11 files changed, 2 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -13,7 +13,6 @@ #include "network/network.h" #include "network/network_func.h" #include "network/network_base.h" -#include "variables.h" #include "ai/ai.hpp" #include "company_manager_face.h" #include "group.h" @@ -23,7 +22,6 @@ #include "gfx_func.h" #include "date_func.h" #include "sound_func.h" -#include "core/alloc_func.hpp" #include "autoreplace_func.h" #include "autoreplace_gui.h" #include "string_func.h"
--- a/src/misc_cmd.cpp +++ b/src/misc_cmd.cpp @@ -16,7 +16,6 @@ #include "vehicle_func.h" #include "string_func.h" #include "company_func.h" -#include "company_base.h" #include "company_gui.h" #include "settings_type.h" #include "vehicle_base.h"
--- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -20,7 +20,6 @@ #include "window_func.h" #include "strings_func.h" #include "vehicle_func.h" -#include "vehicle_base.h" #include "sound_func.h" #include "tunnelbridge.h" #include "cheat_type.h"
--- a/src/signs.cpp +++ b/src/signs.cpp @@ -10,7 +10,6 @@ #include "viewport_func.h" #include "zoom_func.h" #include "functions.h" -#include "window_func.h" #include "oldpool_func.h" #include "table/strings.h"
--- a/src/signs_cmd.cpp +++ b/src/signs_cmd.cpp @@ -8,7 +8,6 @@ #include "signs_base.h" #include "signs_func.h" #include "command_func.h" -#include "strings_func.h" #include "tilehighlight_func.h" #include "window_func.h" #include "map_func.h"
--- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -9,7 +9,6 @@ #include "openttd.h" #include "rail_map.h" #include "landscape.h" -#include "town_type.h" #include "unmovable_map.h" #include "viewport_func.h" #include "command_func.h"
--- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -12,7 +12,6 @@ #include "landscape.h" #include "timetable.h" #include "viewport_func.h" -#include "gfx_func.h" #include "news_func.h" #include "command_func.h" #include "company_func.h" @@ -33,7 +32,6 @@ #include "autoreplace_func.h" #include "autoreplace_gui.h" #include "oldpool_func.h" -#include "depot_map.h" #include "ai/ai.hpp" #include "core/smallmap_type.hpp" #include "depot_func.h"
--- a/src/vehicle_cmd.cpp +++ b/src/vehicle_cmd.cpp @@ -3,24 +3,18 @@ /** @file vehicle_cmd.cpp Commands for vehicles. */ #include "stdafx.h" -#include "openttd.h" #include "roadveh.h" -#include "ship.h" #include "gfx_func.h" #include "news_func.h" #include "command_func.h" #include "company_func.h" #include "vehicle_gui.h" #include "train.h" -#include "aircraft.h" #include "newgrf_engine.h" #include "newgrf_text.h" -#include "group.h" #include "functions.h" -#include "date_func.h" #include "window_func.h" #include "vehicle_func.h" -#include "autoreplace_func.h" #include "string_func.h" #include "depot_map.h" #include "vehiclelist.h"
--- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -4,7 +4,7 @@ #include "stdafx.h" -#include "command_func.h" +#include "strings_type.h" #include "rail.h" #include "station_base.h" #include "town.h" @@ -12,7 +12,7 @@ #include "window_func.h" #include "newgrf_station.h" #include "oldpool_func.h" -#include "train.h" +#include "order_func.h" DEFINE_OLD_POOL_GENERIC(Waypoint, Waypoint)