summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-26 22:41:56 +0000
committerDarkvater <darkvater@openttd.org>2006-03-26 22:41:56 +0000
commit2ba792d64447968bbd18c755a6e4d1720728c5ae (patch)
tree9bd460410009e4e5c945bf15b225b476092a0fe6 /openttd.h
parentfa86dff4c3f02a8dbdc339b421a7096d10bae368 (diff)
downloadopenttd-2ba792d64447968bbd18c755a6e4d1720728c5ae.tar.xz
(svn r4130) - CodeChange: Add proper semantics for TownID for such variables instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID.
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openttd.h b/openttd.h
index b32d5c540..31f8c35df 100644
--- a/openttd.h
+++ b/openttd.h
@@ -61,6 +61,7 @@ typedef struct NewsItem NewsItem;
typedef struct Industry Industry;
typedef struct DrawPixelInfo DrawPixelInfo;
typedef uint16 VehicleID;
+typedef uint16 TownID;
typedef byte PlayerID;
typedef byte OrderID;
typedef byte CargoID;