summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-09-29 20:20:34 +0000
committerpeter1138 <peter1138@openttd.org>2005-09-29 20:20:34 +0000
commitf8d1267d717f81d8c453edc7fb305344391f230e (patch)
tree9df4075377b3c11c827f509876ac636064d12fbd /rail.h
parente33faa5ed5d015bfdc56bc3a98ac866dbf887daf (diff)
downloadopenttd-f8d1267d717f81d8c453edc7fb305344391f230e.tar.xz
(svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into a separate function to be used elsewhere. (Deja vu?)
Diffstat (limited to 'rail.h')
-rw-r--r--rail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rail.h b/rail.h
index d7a7d6908..be03813be 100644
--- a/rail.h
+++ b/rail.h
@@ -576,4 +576,6 @@ static inline bool IsCompatibleRail(RailType enginetype, RailType tiletype)
return HASBIT(GetRailTypeInfo(enginetype)->compatible_railtypes, tiletype);
}
+void DrawTrackBits(TileInfo *ti, TrackBits track, bool earth, bool snow, bool flat);
+
#endif /* RAIL_H */