File diff r23496:661d21df67d7 → r23497:a0ab44ebd2fa
src/waypoint_base.h
Show inline comments
 
@@ -22,29 +22,29 @@ struct Waypoint FINAL : SpecializedStati
 
	 * Create a waypoint at the given tile.
 
	 * @param tile The location of the waypoint.
 
	 */
 
	Waypoint(TileIndex tile = INVALID_TILE) : SpecializedStation<Waypoint, true>(tile) { }
 
	~Waypoint();
 

	
 
	void UpdateVirtCoord();
 
	void UpdateVirtCoord() override;
 

	
 
	/* virtual */ inline bool TileBelongsToRailStation(TileIndex tile) const
 
	inline bool TileBelongsToRailStation(TileIndex tile) const override
 
	{
 
		return IsRailWaypointTile(tile) && GetStationIndex(tile) == this->index;
 
	}
 

	
 
	/* virtual */ uint32 GetNewGRFVariable(const struct ResolverObject &object, byte variable, byte parameter, bool *available) const;
 
	uint32 GetNewGRFVariable(const struct ResolverObject &object, byte variable, byte parameter, bool *available) const override;
 

	
 
	/* virtual */ void GetTileArea(TileArea *ta, StationType type) const;
 
	void GetTileArea(TileArea *ta, StationType type) const override;
 

	
 
	/* virtual */ uint GetPlatformLength(TileIndex tile, DiagDirection dir) const
 
	uint GetPlatformLength(TileIndex tile, DiagDirection dir) const override
 
	{
 
		return 1;
 
	}
 

	
 
	/* virtual */ uint GetPlatformLength(TileIndex tile) const
 
	uint GetPlatformLength(TileIndex tile) const override
 
	{
 
		return 1;
 
	}
 

	
 
	/**
 
	 * Is this a single tile waypoint?