summaryrefslogtreecommitdiff
path: root/src/newgrf_railtype.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-02-07 22:22:54 +0000
committerpeter1138 <peter1138@openttd.org>2010-02-07 22:22:54 +0000
commit898e879bd90e34505cd7083acecf341fd798d02c (patch)
treef9c016c9dcb7d2e78726296e15aceb6adf4a0e2c /src/newgrf_railtype.h
parent01474412fc95b69ea6595a94eeb8baa0db575e16 (diff)
downloadopenttd-898e879bd90e34505cd7083acecf341fd798d02c.tar.xz
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
Diffstat (limited to 'src/newgrf_railtype.h')
-rw-r--r--src/newgrf_railtype.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/newgrf_railtype.h b/src/newgrf_railtype.h
new file mode 100644
index 000000000..8dcd4fed0
--- /dev/null
+++ b/src/newgrf_railtype.h
@@ -0,0 +1,12 @@
+/* $Id$ */
+
+#ifndef NEWGRF_RAILTYPE_H
+#define NEWGRF_RAILTYPE_H
+
+#include "rail.h"
+
+SpriteID GetCustomRailSprite(const RailtypeInfo *rti, TileIndex tile, RailTypeSpriteGroup rtsg);
+
+uint8 GetReverseRailTypeTranslation(RailType railtype, const GRFFile *grffile);
+
+#endif /* NEWGRF_RAILTYPE_H */