diff options
author | yexo <yexo@openttd.org> | 2009-06-24 21:33:11 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-06-24 21:33:11 +0000 |
commit | 44c15e4196d4f334659adf8bb50c452b8503d59d (patch) | |
tree | d4c90d13117f14bd46b47fa1dba4933f431264ac | |
parent | 05c695a647a3637925d24e4062b0cd4adcd1c851 (diff) | |
download | openttd-44c15e4196d4f334659adf8bb50c452b8503d59d.tar.xz |
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
-rw-r--r-- | src/aircraft_cmd.cpp | 1 | ||||
-rw-r--r-- | src/build_vehicle_gui.cpp | 1 | ||||
-rw-r--r-- | src/engine.cpp | 1 | ||||
-rw-r--r-- | src/newgrf_engine.cpp | 1 | ||||
-rw-r--r-- | src/newgrf_engine.h | 1 | ||||
-rw-r--r-- | src/newgrf_sound.cpp | 1 | ||||
-rw-r--r-- | src/roadveh_cmd.cpp | 1 | ||||
-rw-r--r-- | src/ship_cmd.cpp | 1 | ||||
-rw-r--r-- | src/vehicle_gui.cpp | 1 |
9 files changed, 8 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index e11bdd753..53a69db45 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -29,6 +29,7 @@ #include "effectvehicle_func.h" #include "settings_type.h" #include "station_base.h" +#include "cargotype.h" #include "table/strings.h" #include "table/sprites.h" diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index 763f2022f..458a6efc2 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -24,6 +24,7 @@ #include "window_gui.h" #include "engine_gui.h" #include "settings_type.h" +#include "cargotype.h" #include "table/sprites.h" #include "table/strings.h" diff --git a/src/engine.cpp b/src/engine.cpp index d39c86f6a..030b3ca8a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -9,6 +9,7 @@ #include "news_func.h" #include "variables.h" #include "aircraft.h" +#include "newgrf.h" #include "newgrf_engine.h" #include "group.h" #include "strings_func.h" diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index e99b04d76..ce7e7e6ea 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -7,6 +7,7 @@ #include "train.h" #include "roadveh.h" #include "company_func.h" +#include "newgrf.h" #include "newgrf_engine.h" #include "newgrf_spritegroup.h" #include "date_func.h" diff --git a/src/newgrf_engine.h b/src/newgrf_engine.h index 930d742ff..f712dd5b3 100644 --- a/src/newgrf_engine.h +++ b/src/newgrf_engine.h @@ -5,7 +5,6 @@ #ifndef NEWGRF_ENGINE_H #define NEWGRF_ENGINE_H -#include "newgrf.h" #include "direction_type.h" #include "newgrf_cargo.h" diff --git a/src/newgrf_sound.cpp b/src/newgrf_sound.cpp index f8eb1c79b..9859bd27b 100644 --- a/src/newgrf_sound.cpp +++ b/src/newgrf_sound.cpp @@ -4,6 +4,7 @@ #include "stdafx.h" #include "engine_base.h" +#include "newgrf.h" #include "newgrf_engine.h" #include "newgrf_sound.h" #include "vehicle_base.h" diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 891f3d380..edc1d3960 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -31,6 +31,7 @@ #include "effectvehicle_func.h" #include "settings_type.h" #include "roadstop_base.h" +#include "cargotype.h" #include "table/strings.h" #include "table/sprites.h" diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 332101a54..1f04cf3d0 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -30,6 +30,7 @@ #include "settings_type.h" #include "ai/ai.hpp" #include "pathfind.h" +#include "landscape_type.h" #include "table/strings.h" #include "table/sprites.h" diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 29bbce888..cffd8c7ef 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -31,6 +31,7 @@ #include "vehiclelist.h" #include "settings_type.h" #include "articulated_vehicles.h" +#include "cargotype.h" #include "table/sprites.h" #include "table/strings.h" |