src/ai/api/ai_station.hpp
branchnoai
changeset 9696 4384ed3de1f0
parent 9670 820b77e19bb3
child 9814 be51ea0adc29
equal deleted inserted replaced
9695:708f1e3cc4c4 9696:4384ed3de1f0
    43 	 * @post use IsValidStation to see if the station is valid.
    43 	 * @post use IsValidStation to see if the station is valid.
    44 	 */
    44 	 */
    45 	static StationID GetStationID(TileIndex tile);
    45 	static StationID GetStationID(TileIndex tile);
    46 
    46 
    47 	/**
    47 	/**
       
    48 	 * Get the name of a station.
       
    49 	 * @param station_id the station to get the name of.
       
    50 	 * @pre IsValidStation(station_id).
       
    51 	 * @return the name of the station.
       
    52 	 */
       
    53 	static char *GetName(StationID station_id);
       
    54 
       
    55 	/**
    48 	 * Get the current location of a station.
    56 	 * Get the current location of a station.
    49 	 * @param station_id the station to get the location of.
    57 	 * @param station_id the station to get the location of.
    50 	 * @pre IsValidStation(station_id).
    58 	 * @pre IsValidStation(station_id).
    51 	 * @return the tile the station is currently on.
    59 	 * @return the tile the station is currently on.
    52 	 */
    60 	 */