diff options
author | frosch <frosch@openttd.org> | 2008-07-26 22:00:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-07-26 22:00:59 +0000 |
commit | ef208241aba2efdb9758bbe11d3f4a7c87347bee (patch) | |
tree | a987c601962f070fc22977351feff696bc0daa4a /src/engine_type.h | |
parent | 0e91a2f52fd39c705bc1a35d20aef005db578c40 (diff) | |
download | openttd-ef208241aba2efdb9758bbe11d3f4a7c87347bee.tar.xz |
(svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window.
Diffstat (limited to 'src/engine_type.h')
-rw-r--r-- | src/engine_type.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine_type.h b/src/engine_type.h index db923d8b9..e6ed58377 100644 --- a/src/engine_type.h +++ b/src/engine_type.h @@ -36,15 +36,15 @@ enum EngineClass { struct RailVehicleInfo { byte image_index; RailVehicleTypes railveh_type; - byte base_cost; + byte base_cost; ///< Purchase cost factor; For multiheaded engines the sum of both engine prices. RailTypeByte railtype; uint16 max_speed; - uint16 power; - uint16 weight; - byte running_cost; + uint16 power; ///< Power of engine; For multiheaded engines the sum of both engine powers. + uint16 weight; ///< Weight of vehicle; For multiheaded engines the weight of each single engine. + byte running_cost; ///< Running cost of engine; For multiheaded engines the sum of both running costs. byte running_cost_class; EngineClass engclass; ///< Class of engine for this vehicle - byte capacity; + byte capacity; ///< Cargo capacity of vehicle; For multiheaded engines the capacity of each single engine. CargoID cargo_type; byte ai_rank; byte ai_passenger_only; ///< Bit value to tell AI that this engine is for passenger use only |