src/station.h
changeset 7545 d44e19c5671e
parent 7498 16bf3e859669
child 7891 aef0c16244d7
equal deleted inserted replaced
7544:cac538ba670a 7545:d44e19c5671e
   171 
   171 
   172 	Station(TileIndex tile = 0);
   172 	Station(TileIndex tile = 0);
   173 	virtual ~Station();
   173 	virtual ~Station();
   174 
   174 
   175 	void AddFacility(byte new_facility_bit, TileIndex facil_xy);
   175 	void AddFacility(byte new_facility_bit, TileIndex facil_xy);
       
   176 
       
   177 	/**
       
   178 	 * Mark the sign of a station dirty for repaint.
       
   179 	 *
       
   180 	 * @ingroup dirty
       
   181 	 */
   176 	void MarkDirty() const;
   182 	void MarkDirty() const;
       
   183 
       
   184 	/**
       
   185 	 * Marks the tiles of the station as dirty.
       
   186 	 *
       
   187 	 * @ingroup dirty
       
   188 	 */
   177 	void MarkTilesDirty(bool cargo_change) const;
   189 	void MarkTilesDirty(bool cargo_change) const;
   178 	bool TileBelongsToRailStation(TileIndex tile) const;
   190 	bool TileBelongsToRailStation(TileIndex tile) const;
   179 	uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
   191 	uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
   180 	uint GetPlatformLength(TileIndex tile) const;
   192 	uint GetPlatformLength(TileIndex tile) const;
   181 	bool IsBuoy() const;
   193 	bool IsBuoy() const;