summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-24 23:00:11 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-24 23:00:11 +0000
commit2f80a277eb88271f2f0534b85bb3fbe97b036e12 (patch)
tree0bb45167329807ec747b24cc185e85fc2dee3a18 /src/rail.h
parentff07598ce23d2126e6dbdf6eb4db2bb346e4de11 (diff)
downloadopenttd-2f80a277eb88271f2f0534b85bb3fbe97b036e12.tar.xz
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
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 e7d8f293c..8fa3164c2 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -237,4 +237,9 @@ RailType GetBestRailtype(const PlayerID p);
*/
RailTypes GetPlayerRailtypes(const PlayerID p);
+/**
+ * Reset all rail type information to its default values.
+ */
+void ResetRailTypes();
+
#endif /* RAIL_H */