--- a/src/openttd.h Mon May 05 12:35:38 2008 +0000
+++ b/src/openttd.h Wed May 07 21:09:51 2008 +0000
@@ -1,6 +1,6 @@
/* $Id$ */
-/** @file openttd.h */
+/** @file openttd.h Some generic types. */
#ifndef OPENTTD_H
#define 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,21 +44,6 @@
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 = 0,
- TRANSPORT_ROAD = 1,
- TRANSPORT_WATER, // = 2
- TRANSPORT_END,
- INVALID_TRANSPORT = 0xff,
-};
-
/* Display Options */
enum {
DO_SHOW_TOWN_NAMES = 0,
@@ -73,22 +54,6 @@
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;
- byte width_1, width_2;
-};
-
enum {
SORT_ASCENDING = 0,
SORT_DESCENDING = 1,