equal
deleted
inserted
replaced
271 void PlayLeaveStationSound() const; |
271 void PlayLeaveStationSound() const; |
272 bool IsPrimaryVehicle() const { return IsFrontEngine(this); } |
272 bool IsPrimaryVehicle() const { return IsFrontEngine(this); } |
273 bool HasFront() const { return true; } |
273 bool HasFront() const { return true; } |
274 int GetImage(Direction direction) const; |
274 int GetImage(Direction direction) const; |
275 int GetDisplaySpeed() const { return this->cur_speed * 10 / 16; } |
275 int GetDisplaySpeed() const { return this->cur_speed * 10 / 16; } |
|
276 int GetDisplayMaxSpeed() const { return this->u.rail.cached_max_speed * 10 / 16; } |
276 void Tick(); |
277 void Tick(); |
277 }; |
278 }; |
278 |
279 |
279 #endif /* TRAIN_H */ |
280 #endif /* TRAIN_H */ |