(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class

This commit is contained in:
glx
2008-02-01 22:02:14 +00:00
parent f725b795af
commit 7ce12e50da
11 changed files with 78 additions and 93 deletions

View File

@@ -41,6 +41,7 @@ struct Ship: public Vehicle {
Money GetRunningCost() const { return ShipVehInfo(this->engine_type)->running_cost * _price.ship_running; }
bool IsInDepot() const { return this->u.ship.state == 0x80; }
void Tick();
void OnNewDay();
};
#endif /* SHIP_H */