summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-25 23:42:52 +0000
committerrubidium <rubidium@openttd.org>2007-12-25 23:42:52 +0000
commitaac835171e2ef3b72e3706754153c1b9304268a8 (patch)
tree070c07001872a2ff901cc931aa615cd0c58aca13 /src/openttd.h
parent6cb68b9144a3c0cd22b4fd3392c519a4217b2f72 (diff)
downloadopenttd-aac835171e2ef3b72e3706754153c1b9304268a8.tar.xz
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
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,