From 284d9ed7fb9704f043220414efe0886aa2fa158e Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 21 Jul 2005 18:44:27 +0000 Subject: (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h --- openttd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openttd.h') 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 */ -- cgit v1.2.3-54-g00ecf