(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.

This commit is contained in:
rubidium
2007-07-01 19:24:54 +00:00
parent c0e341ee05
commit ec137f60ed
11 changed files with 40 additions and 46 deletions

View File

@@ -82,6 +82,7 @@ struct RoadVehicle : public Vehicle {
bool IsPrimaryVehicle() const { return IsRoadVehFront(this); }
bool HasFront() const { return true; }
int GetImage(Direction direction) const;
void Tick();
};
byte GetRoadVehLength(const Vehicle *v);