summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-26 19:40:40 +0000
committertruelight <truelight@openttd.org>2006-08-26 19:40:40 +0000
commit5d991a87d498a9f088e9fa2d56e8b5911d6e0147 (patch)
tree6b4066468d403e8f17da102624a352080baf45e2 /openttd.h
parentf25e5e90d29515341d192af32e5da5cc8949b9c0 (diff)
downloadopenttd-5d991a87d498a9f088e9fa2d56e8b5911d6e0147.tar.xz
(svn r6154) -Cleanup: ordered the IDs that have to do with pools from the others
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/openttd.h b/openttd.h
index 9ed4db102..5dd28c909 100644
--- a/openttd.h
+++ b/openttd.h
@@ -35,26 +35,28 @@ typedef struct Town Town;
typedef struct NewsItem NewsItem;
typedef struct Industry Industry;
typedef struct DrawPixelInfo DrawPixelInfo;
-typedef uint16 VehicleID;
-typedef uint16 StationID;
-typedef uint16 RoadStopID;
-typedef uint16 TownID;
-typedef uint16 IndustryID;
-typedef uint16 DepotID;
-typedef uint16 WaypointID;
-typedef uint16 OrderID;
typedef byte PlayerID;
typedef byte VehicleOrderID; ///< The index of an order within its current vehicle (not pool related)
typedef byte CargoID;
typedef byte LandscapeID;
-typedef uint16 StringID;
typedef uint32 SpriteID; ///< The number of a sprite, without mapping bits and colortables
typedef uint32 PalSpriteID; ///< The number of a sprite plus all the mapping bits and colortables
typedef uint32 CursorID;
typedef uint16 EngineID;
-typedef uint16 EngineRenewID;
-typedef uint16 SignID;
typedef uint16 UnitID;
+typedef uint16 StringID;
+
+/* IDs used in Pools */
+typedef uint16 VehicleID;
+typedef uint16 StationID;
+typedef uint16 RoadStopID;
+typedef uint16 TownID;
+typedef uint16 IndustryID;
+typedef uint16 DepotID;
+typedef uint16 WaypointID;
+typedef uint16 OrderID;
+typedef uint16 SignID;
+typedef uint16 EngineRenewID;
typedef union DestinationID {
StationID station;