equal
deleted
inserted
replaced
39 int GetDisplaySpeed() const { return this->cur_speed * 10 / 32; } |
39 int GetDisplaySpeed() const { return this->cur_speed * 10 / 32; } |
40 int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 32; } |
40 int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 32; } |
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 }; |
45 }; |
45 |
46 |
46 #endif /* SHIP_H */ |
47 #endif /* SHIP_H */ |