From 7ccda80b0bae730f17d6863df84e78ea455ff1db Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 7 May 2008 09:07:19 +0000 Subject: (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. --- src/openttd.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'src/openttd.h') diff --git a/src/openttd.h b/src/openttd.h index 3265bfb0c..de17ccd5d 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -9,10 +9,6 @@ #define VARDEF extern #endif -// Forward declarations of structs. -typedef byte LandscapeID; -typedef uint16 UnitID; - enum GameModes { GM_MENU, GM_NORMAL, @@ -48,22 +44,6 @@ enum InitializeGameModes { IG_DATE_RESET = 1, /* Reset the date when initializing a game */ }; -enum TransportType { - /* These constants are for now linked to the representation of bridges - * and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge. - * In an ideal world, these constants would be used everywhere when - * accessing tunnels and bridges. For now, you should just not change - * the values for road and rail. - */ - TRANSPORT_BEGIN = 0, - TRANSPORT_RAIL = TRANSPORT_BEGIN, - TRANSPORT_ROAD, - TRANSPORT_WATER, - TRANSPORT_AIR, - TRANSPORT_END, - INVALID_TRANSPORT = 0xff, -}; - /* Display Options */ enum { DO_SHOW_TOWN_NAMES = 0, @@ -74,16 +54,6 @@ enum { DO_WAYPOINTS = 6, }; -/* Landscape types */ -enum { - LT_TEMPERATE = 0, - LT_ARCTIC = 1, - LT_TROPIC = 2, - LT_TOYLAND = 3, - - NUM_LANDSCAPE = 4, -}; - struct ViewportSign { int32 left; int32 top; -- cgit v1.2.3-54-g00ecf