# HG changeset patch # User yexo # Date 2009-06-24 21:33:11 # Node ID eb1f720072c356c04348a53bbd9ca9adb7fbe383 # Parent ff582fb76dded46622fa43984bb463606cbf36ed (svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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"