summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-01-30 21:49:22 +0000
committerpeter1138 <peter1138@openttd.org>2010-01-30 21:49:22 +0000
commit32ef582c37e3fda64c61b36acb398c235f8292a2 (patch)
tree1ec6619223efc5014137e26228c412d7441af617 /src/rail.h
parent84c6616ee06884ec06609dc7256738c03a06197c (diff)
downloadopenttd-32ef582c37e3fda64c61b36acb398c235f8292a2.tar.xz
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h
index 6c6feee40..0507dad2b 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -281,4 +281,9 @@ RailType GetRailTypeByLabel(RailTypeLabel label);
*/
void ResetRailTypes();
+/**
+ * Allocate a new rail type label
+ */
+RailType AllocateRailType(RailTypeLabel label);
+
#endif /* RAIL_H */