From aac835171e2ef3b72e3706754153c1b9304268a8 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 25 Dec 2007 23:42:52 +0000 Subject: (svn r11700) -Codechange: reduce the amount of unnecessary includes. --- src/openttd.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/openttd.h') diff --git a/src/openttd.h b/src/openttd.h index a067f312d..c99b68d78 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -8,11 +8,9 @@ #define VARDEF extern #endif +#include "core/enum_type.hpp" #include "strings_type.h" -#include "map.h" -#include "slope_type.h" - // Forward declarations of structs. struct Depot; struct Waypoint; @@ -144,15 +142,6 @@ template <> struct EnumPropsT : MakeEnumPropsT TransportTypeByte; -struct TileInfo { - uint x; - uint y; - Slope tileh; - TileIndex tile; - uint z; -}; - - /* Display Options */ enum { DO_SHOW_TOWN_NAMES = 0, @@ -216,21 +205,12 @@ struct GameDifficulty { GDType town_council_tolerance; // minimum required town ratings to be allowed to demolish stuff }; -struct TileDesc { - StringID str; - Owner owner; - Date build_date; - uint64 dparam[2]; -}; - struct ViewportSign { int32 left; int32 top; byte width_1, width_2; }; -typedef void PlaceProc(TileIndex tile); - enum { SORT_ASCENDING = 0, SORT_DESCENDING = 1, -- cgit v1.2.3-70-g09d2