equal
deleted
inserted
replaced
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 */ |