(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h

This commit is contained in:
tron
2005-07-21 18:44:27 +00:00
parent 377c3a510c
commit b0779b4b65
22 changed files with 23 additions and 4 deletions

View File

@@ -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 */