summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-15 17:54:43 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-15 17:54:43 +0000
commit9d0e1b635a22903c0fc719909a9ec95a1990ae88 (patch)
tree0322a181ba444470d5defcf3fcdc45463c6c6cb5 /src/engine_type.h
parent03f260059aae105ff6b0246717537f5d34985b07 (diff)
downloadopenttd-9d0e1b635a22903c0fc719909a9ec95a1990ae88.tar.xz
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
Diffstat (limited to 'src/engine_type.h')
-rw-r--r--src/engine_type.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index 38392d313..c9eb56a5e 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -36,7 +36,7 @@ enum EngineClass {
struct RailVehicleInfo {
byte image_index;
RailVehicleTypes railveh_type;
- byte base_cost; ///< Purchase cost factor; For multiheaded engines the sum of both engine prices.
+ byte cost_factor; ///< Purchase cost factor; For multiheaded engines the sum of both engine prices.
RailTypeByte railtype;
uint16 max_speed;
uint16 power; ///< Power of engine; For multiheaded engines the sum of both engine powers.
@@ -61,7 +61,7 @@ struct RailVehicleInfo {
struct ShipVehicleInfo {
byte image_index;
- byte base_cost;
+ byte cost_factor;
uint16 max_speed;
CargoID cargo_type;
uint16 capacity;
@@ -81,7 +81,7 @@ enum {
struct AircraftVehicleInfo {
byte image_index;
- byte base_cost;
+ byte cost_factor;
byte running_cost;
byte subtype;
SoundFxByte sfx;
@@ -93,7 +93,7 @@ struct AircraftVehicleInfo {
struct RoadVehicleInfo {
byte image_index;
- byte base_cost;
+ byte cost_factor;
byte running_cost;
byte running_cost_class;
SoundFxByte sfx;