equal
deleted
inserted
replaced
296 WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; } |
296 WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; } |
297 void PlayLeaveStationSound() const; |
297 void PlayLeaveStationSound() const; |
298 bool IsPrimaryVehicle() const { return IsFrontEngine(this); } |
298 bool IsPrimaryVehicle() const { return IsFrontEngine(this); } |
299 bool HasFront() const { return true; } |
299 bool HasFront() const { return true; } |
300 int GetImage(Direction direction) const; |
300 int GetImage(Direction direction) const; |
301 int GetDisplaySpeed() const { return this->cur_speed * 10 / 16; } |
301 int GetDisplaySpeed() const { return this->u.rail.last_speed * 10 / 16; } |
302 int GetDisplayMaxSpeed() const { return this->u.rail.cached_max_speed * 10 / 16; } |
302 int GetDisplayMaxSpeed() const { return this->u.rail.cached_max_speed * 10 / 16; } |
303 Money GetRunningCost() const; |
303 Money GetRunningCost() const; |
304 bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; } |
304 bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; } |
305 bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; } |
305 bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; } |
306 void Tick(); |
306 void Tick(); |