tron@10032: /* $Id$ */ tron@10032: tron@10032: #ifndef RAIL_MAP_H tron@10032: #define RAIL_MAP_H tron@10032: tron@10032: #include "tile.h" tron@10032: tron@10032: // TODO remove this by moving to the same bits as GetRailType() tron@10032: static inline RailType GetRailTypeCrossing(TileIndex t) tron@10032: { tron@10032: return (RailType)GB(_m[t].m4, 0, 4); tron@10032: } tron@10032: tron@10032: #endif