src/station_map.h
branchNewGRF_ports
changeset 10731 67db0d431d5e
parent 10724 68a692eacf22
equal deleted inserted replaced
10724:68a692eacf22 10731:67db0d431d5e
   132 {
   132 {
   133 	assert(IsDriveThroughStopTile(t));
   133 	assert(IsDriveThroughStopTile(t));
   134 	return HasBit(_m[t].m6, 2);
   134 	return HasBit(_m[t].m6, 2);
   135 }
   135 }
   136 
   136 
       
   137 static inline void SetStopBuiltOnTownRoad(TileIndex t, bool on_town_road)
       
   138 {
       
   139 	assert(IsDriveThroughStopTile(t));
       
   140 	SB(_m[t].m6, 2, 1, on_town_road);
       
   141 }
       
   142 
   137 
   143 
   138 /**
   144 /**
   139  * Gets the direction the road stop entrance points towards.
   145  * Gets the direction the road stop entrance points towards.
   140  */
   146  */
   141 static inline DiagDirection GetRoadStopDir(TileIndex t)
   147 static inline DiagDirection GetRoadStopDir(TileIndex t)