(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max speed for vehicles.
This commit is contained in:
@@ -398,6 +398,12 @@ public:
|
||||
*/
|
||||
virtual int GetDisplayMaxSpeed() const { return 0; }
|
||||
|
||||
/**
|
||||
* Calculates the maximum speed of the vehicle under its current conditions.
|
||||
* @return Current maximum speed in native units.
|
||||
*/
|
||||
virtual int GetCurrentMaxSpeed() const { return 0; }
|
||||
|
||||
/**
|
||||
* Gets the running cost of a vehicle
|
||||
* @return the vehicle's running cost
|
||||
|
||||
Reference in New Issue
Block a user