diff options
author | rubidium <rubidium@openttd.org> | 2009-02-19 09:45:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-19 09:45:44 +0000 |
commit | a5f30dd553edd6ea6cdd554ba1082d517e8e61df (patch) | |
tree | c9ee92ae7cbfe93892ebfded0c1f663c6a2f9e99 /src/engine_base.h | |
parent | 459a855e6074bca02a7aca174ab37778acc9f55d (diff) | |
download | openttd-a5f30dd553edd6ea6cdd554ba1082d517e8e61df.tar.xz |
(svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle.
Diffstat (limited to 'src/engine_base.h')
-rw-r--r-- | src/engine_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine_base.h b/src/engine_base.h index 787ae804b..dbbb2c308 100644 --- a/src/engine_base.h +++ b/src/engine_base.h @@ -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) |