src/ship.h
changeset 10126 bed2d9d38577
parent 9323 9bc423363f6a
child 10293 b3ca071d6716
equal deleted inserted replaced
10125:64de1e83efa8 10126:bed2d9d38577
    41 	Money GetRunningCost() const { return ShipVehInfo(this->engine_type)->running_cost * _price.ship_running; }
    41 	Money GetRunningCost() const { return ShipVehInfo(this->engine_type)->running_cost * _price.ship_running; }
    42 	bool IsInDepot() const { return this->u.ship.state == 0x80; }
    42 	bool IsInDepot() const { return this->u.ship.state == 0x80; }
    43 	void Tick();
    43 	void Tick();
    44 	void OnNewDay();
    44 	void OnNewDay();
    45 	TileIndex GetOrderStationLocation(StationID station);
    45 	TileIndex GetOrderStationLocation(StationID station);
       
    46 	bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
    46 };
    47 };
    47 
    48 
    48 #endif /* SHIP_H */
    49 #endif /* SHIP_H */