equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 /** @file openttd.h */ |
2 |
3 |
3 #ifndef OPENTTD_H |
4 #ifndef OPENTTD_H |
4 #define OPENTTD_H |
5 #define OPENTTD_H |
5 |
6 |
6 #ifndef VARDEF |
7 #ifndef VARDEF |
69 typedef uint16 VehicleID; |
70 typedef uint16 VehicleID; |
70 typedef byte PlayerID; |
71 typedef byte PlayerID; |
71 typedef byte OrderID; |
72 typedef byte OrderID; |
72 typedef byte CargoID; |
73 typedef byte CargoID; |
73 typedef uint16 StringID; |
74 typedef uint16 StringID; |
74 typedef uint32 SpriteID; |
75 typedef uint32 SpriteID; //! The number of a sprite, without mapping bits and colortables |
75 typedef uint32 PalSpriteID; |
76 typedef uint32 PalSpriteID; //! The number of a sprite plus all the mapping bits and colortables |
76 typedef uint32 CursorID; |
77 typedef uint32 CursorID; |
77 typedef uint16 EngineID; //! All enginenumbers should be of this type |
78 typedef uint16 EngineID; //! All enginenumbers should be of this type |
78 typedef uint16 UnitID; //! All unitnumber stuff is of this type (or anyway, should be) |
79 typedef uint16 UnitID; //! All unitnumber stuff is of this type (or anyway, should be) |
79 |
80 |
80 typedef uint32 WindowNumber; |
81 typedef uint32 WindowNumber; |