File diff r10227:5c84b06816db → r10228:40d85bf74068
src/station_map.h
Show inline comments
 
@@ -156,24 +156,29 @@ static inline DiagDirection GetRoadStopD
 
}
 

	
 
static inline bool IsOilRig(TileIndex t)
 
{
 
	return GetStationType(t) == STATION_OILRIG;
 
}
 

	
 
static inline bool IsDock(TileIndex t)
 
{
 
	return GetStationType(t) == STATION_DOCK;
 
}
 

	
 
static inline bool IsDockTile(TileIndex t)
 
{
 
	return IsTileType(t, MP_STATION) && GetStationType(t) == STATION_DOCK;
 
}
 

	
 
static inline bool IsBuoy(TileIndex t)
 
{
 
	return GetStationType(t) == STATION_BUOY;
 
}
 

	
 
static inline bool IsBuoyTile(TileIndex t)
 
{
 
	return IsTileType(t, MP_STATION) && IsBuoy(t);
 
}
 

	
 
static inline bool IsHangarTile(TileIndex t)
 
{