(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.

This commit is contained in:
peter1138
2008-08-15 17:54:43 +00:00
parent 1659719f31
commit 550fc3a3f5
8 changed files with 30 additions and 30 deletions

View File

@@ -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;