summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 00:28:01 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 00:28:01 +0000
commita78d73805f467d3ced0a70a1758435498fd1dbac (patch)
treea6f7dc27debf05db7b7a9dad906e02a054c38796 /src/openttd.h
parentaa1d429d7f8d94a3fba4b413fc9f15021ddda6a4 (diff)
downloadopenttd-a78d73805f467d3ced0a70a1758435498fd1dbac.tar.xz
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/openttd.h b/src/openttd.h
index aea9a5336..40114baf6 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -8,7 +8,6 @@
#define VARDEF extern
#endif
-#include "core/enum_type.hpp"
#include "strings_type.h"
// Forward declarations of structs.
@@ -95,10 +94,6 @@ enum TransportType {
INVALID_TRANSPORT = 0xff,
};
-/** Define basic enum properties */
-template <> struct EnumPropsT<TransportType> : MakeEnumPropsT<TransportType, byte, TRANSPORT_BEGIN, TRANSPORT_END, INVALID_TRANSPORT> {};
-typedef TinyEnumT<TransportType> TransportTypeByte;
-
/* Display Options */
enum {
DO_SHOW_TOWN_NAMES = 0,