summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-21 18:44:27 +0000
committertron <tron@openttd.org>2005-07-21 18:44:27 +0000
commit284d9ed7fb9704f043220414efe0886aa2fa158e (patch)
tree40c76d5b06cedd6690c474d31ee1fed9d3ab7b55 /openttd.h
parent31e87de71e945c55b70695eda79510d9530d4eb6 (diff)
downloadopenttd-284d9ed7fb9704f043220414efe0886aa2fa158e.tar.xz
(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openttd.h b/openttd.h
index 1936a13aa..46d125705 100644
--- a/openttd.h
+++ b/openttd.h
@@ -72,6 +72,8 @@ typedef uint16 StringID;
typedef uint16 SpriteID;
typedef uint32 PalSpriteID;
typedef uint32 CursorID;
+typedef uint16 EngineID; //! All enginenumbers should be of this type
+typedef uint16 UnitID; //! All unitnumber stuff is of this type (or anyway, should be)
typedef uint32 WindowNumber;
typedef byte WindowClass;
@@ -546,6 +548,5 @@ enum {
VARDEF byte _no_scroll;
#include "functions.h"
-#include "variables.h"
#endif /* OPENTTD_H */