diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-26 22:55:27 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-26 22:55:27 +0000 |
commit | 2c27f45cdc31c0466d72eb8d1539448b93af0d5b (patch) | |
tree | 5375ce61c67417cfbafdc80258742b527d4675c3 /openttd.h | |
parent | 2ba792d64447968bbd18c755a6e4d1720728c5ae (diff) | |
download | openttd-2c27f45cdc31c0466d72eb8d1539448b93af0d5b.tar.xz |
(svn r4131) - CodeChange: Add proper semantics for StationID for such variables instead of using the general uint16-type. StationID was added for depots, waypoints and stations where necessary. We probably need to change GetDepot(), IsDepotIndex(), IsStationIndex(), GetWaypoint() and IsWaypointIndex() as well to use StationID.
Diffstat (limited to 'openttd.h')
-rw-r--r-- | openttd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ typedef struct NewsItem NewsItem; typedef struct Industry Industry; typedef struct DrawPixelInfo DrawPixelInfo; typedef uint16 VehicleID; +typedef uint16 StationID; typedef uint16 TownID; typedef byte PlayerID; typedef byte OrderID; |