(svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into a separate function to be used elsewhere. (Deja vu?)

This commit is contained in:
peter1138
2005-09-29 20:20:34 +00:00
parent d11e5bf7fb
commit fdebfbe8d5
2 changed files with 86 additions and 60 deletions

2
rail.h
View File

@@ -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 */