(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums

This commit is contained in:
tron
2006-04-23 13:48:16 +00:00
parent fa213c686e
commit dd180a1e18
28 changed files with 339 additions and 292 deletions

2
rail.h
View File

@@ -480,5 +480,5 @@ void DrawDefaultWaypointSprite(int x, int y, RailType railtype);
*/
void DrawCatenary(const TileInfo *ti);
uint GetRailFoundation(uint tileh, TrackBits bits);
uint GetRailFoundation(Slope tileh, TrackBits bits);
#endif /* RAIL_H */