(svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle.

This commit is contained in:
rubidium
2009-02-19 09:45:44 +00:00
parent 9a507acf37
commit 02c52430c8
3 changed files with 19 additions and 3 deletions

View File

@@ -55,6 +55,7 @@ struct Engine : PoolItem<Engine, EngineID, &_Engine_pool> {
uint GetDisplayMaxSpeed() const;
uint GetPower() const;
uint GetDisplayWeight() const;
uint GetDisplayMaxTractiveEffort() const;
};
static inline bool IsEngineIndex(uint index)