From 9d0e1b635a22903c0fc719909a9ec95a1990ae88 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 15 Aug 2008 17:54:43 +0000 Subject: (svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is. --- src/engine_type.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/engine_type.h') 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; -- cgit v1.2.3-54-g00ecf