strings.c
branchcustombridgeheads
changeset 5592 fd60d4ecc921
parent 5296 6a4aaa66eed3
equal deleted inserted replaced
5591:8cd83b10634f 5592:fd60d4ecc921
   545 	StringID force;    ///< String for force
   545 	StringID force;    ///< String for force
   546 } Units;
   546 } Units;
   547 
   547 
   548 /* Unit conversions */
   548 /* Unit conversions */
   549 static const Units units[] = {
   549 static const Units units[] = {
   550 	{ // Imperial (Original, mph, hp, metric ton, litre, metric ton force)
   550 	{ // Imperial (Original, mph, hp, metric ton, litre, kN)
   551 		  10,  4, STR_UNITS_VELOCITY_IMPERIAL,
   551 		  10,  4, STR_UNITS_VELOCITY_IMPERIAL,
   552 		   1,  0, STR_UNITS_POWER_IMPERIAL,
   552 		   1,  0, STR_UNITS_POWER_IMPERIAL,
   553 		   1,  0, STR_UNITS_WEIGHT_SHORT_METRIC, STR_UNITS_WEIGHT_LONG_METRIC,
   553 		   1,  0, STR_UNITS_WEIGHT_SHORT_METRIC, STR_UNITS_WEIGHT_LONG_METRIC,
   554 		1000,  0, STR_UNITS_VOLUME_SHORT_METRIC, STR_UNITS_VOLUME_LONG_METRIC,
   554 		1000,  0, STR_UNITS_VOLUME_SHORT_METRIC, STR_UNITS_VOLUME_LONG_METRIC,
   555 		 835, 13, STR_UNITS_FORCE_METRIC,
   555 		   1,  0, STR_UNITS_FORCE_SI,
   556 	},
   556 	},
   557 	{ // Metric (km/h, hp, metric ton, litre, metric ton force)
   557 	{ // Metric (km/h, hp, metric ton, litre, kN)
   558 		   1,  0, STR_UNITS_VELOCITY_METRIC,
   558 		   1,  0, STR_UNITS_VELOCITY_METRIC,
   559 		   1,  0, STR_UNITS_POWER_METRIC,
   559 		   1,  0, STR_UNITS_POWER_METRIC,
   560 		   1,  0, STR_UNITS_WEIGHT_SHORT_METRIC, STR_UNITS_WEIGHT_LONG_METRIC,
   560 		   1,  0, STR_UNITS_WEIGHT_SHORT_METRIC, STR_UNITS_WEIGHT_LONG_METRIC,
   561 		1000,  0, STR_UNITS_VOLUME_SHORT_METRIC, STR_UNITS_VOLUME_LONG_METRIC,
   561 		1000,  0, STR_UNITS_VOLUME_SHORT_METRIC, STR_UNITS_VOLUME_LONG_METRIC,
   562 		 835, 13, STR_UNITS_FORCE_METRIC,
   562 		   1,  0, STR_UNITS_FORCE_SI,
   563 	},
   563 	},
   564 	{ // SI (m/s, kilowatt, kilogram, cubic metres, kilonewton)
   564 	{ // SI (m/s, kilowatt, kilogram, cubic metres, kilonewton)
   565 		 284, 10, STR_UNITS_VELOCITY_SI,
   565 		 284, 10, STR_UNITS_VELOCITY_SI,
   566 		 764, 10, STR_UNITS_POWER_SI,
   566 		 764, 10, STR_UNITS_POWER_SI,
   567 		1000,  0, STR_UNITS_WEIGHT_SHORT_SI, STR_UNITS_WEIGHT_LONG_SI,
   567 		1000,  0, STR_UNITS_WEIGHT_SHORT_SI, STR_UNITS_WEIGHT_LONG_SI,