summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h22
1 files changed, 1 insertions, 21 deletions
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<TransportType> : MakeEnumPropsT<TransportType, byt
typedef TinyEnumT<TransportType> 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,