rail_map.h
changeset 3530 8a3d95689ce1
parent 3528 ca3ce10452d8
child 3575 867df1ec208a
equal deleted inserted replaced
3529:0e04dacbf70d 3530:8a3d95689ce1
   142 static inline void ClearCustomWaypointSprite(TileIndex t)
   142 static inline void ClearCustomWaypointSprite(TileIndex t)
   143 {
   143 {
   144 	CLRBIT(_m[t].m3, 4);
   144 	CLRBIT(_m[t].m3, 4);
   145 }
   145 }
   146 
   146 
       
   147 static inline bool IsCustomWaypoint(TileIndex t)
       
   148 {
       
   149 	return HASBIT(_m[t].m3, 4);
       
   150 }
       
   151 
   147 static inline Axis GetWaypointAxis(TileIndex t)
   152 static inline Axis GetWaypointAxis(TileIndex t)
   148 {
   153 {
   149 	return HASBIT(_m[t].m5, 0) ? AXIS_Y : AXIS_X;
   154 	return HASBIT(_m[t].m5, 0) ? AXIS_Y : AXIS_X;
   150 }
   155 }
   151 
   156