src/station.h
branchNewGRF_ports
changeset 6870 ca3fd1fbe311
parent 6868 7eb395287b3d
child 6871 5a9dc001e1ad
equal deleted inserted replaced
6869:76282d3b748d 6870:ca3fd1fbe311
   182 
   182 
   183 	Station(TileIndex tile = 0);
   183 	Station(TileIndex tile = 0);
   184 	virtual ~Station();
   184 	virtual ~Station();
   185 
   185 
   186 	void AddFacility(byte new_facility_bit, TileIndex facil_xy);
   186 	void AddFacility(byte new_facility_bit, TileIndex facil_xy);
       
   187 
       
   188 	/**
       
   189 	 * Mark the sign of a station dirty for repaint.
       
   190 	 *
       
   191 	 * @ingroup dirty
       
   192 	 */
   187 	void MarkDirty() const;
   193 	void MarkDirty() const;
       
   194 
       
   195 	/**
       
   196 	 * Marks the tiles of the station as dirty.
       
   197 	 *
       
   198 	 * @ingroup dirty
       
   199 	 */
   188 	void MarkTilesDirty(bool cargo_change) const;
   200 	void MarkTilesDirty(bool cargo_change) const;
   189 	bool TileBelongsToRailStation(TileIndex tile) const;
   201 	bool TileBelongsToRailStation(TileIndex tile) const;
   190 	uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
   202 	uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
   191 	uint GetPlatformLength(TileIndex tile) const;
   203 	uint GetPlatformLength(TileIndex tile) const;
   192 	bool IsBuoy() const;
   204 	bool IsBuoy() const;