Oolite 1.91.0.7645-241119-222d325
|
Go to the source code of this file.
Enumerations | |
enum | { kOOCargoTypeDefault = CARGO_NOT_CARGO , kOOEnergyUnitTypeDefault = ENERGY_UNIT_NONE , kOORouteTypeDefault = OPTIMIZED_BY_JUMPS } |
anonymous enum |
Enumerator | |
---|---|
kOOCargoTypeDefault | |
kOOEnergyUnitTypeDefault | |
kOORouteTypeDefault |
Definition at line 36 of file OOConstToString.h.
NSString * CargoTypeToString | ( | OOCargoType | cargo | ) |
Definition at line 338 of file OOConstToString.m.
References CARGO_ALLOY, CARGO_CHARACTER, CARGO_MINERALS, CARGO_NOT_CARGO, CARGO_RANDOM, CARGO_SCRIPTED_ITEM, CARGO_SLAVES, CARGO_THARGOID, and CASE.
NSString * CommodityDisplayNameForCommodityArray | ( | NSArray * | commodityDefinition | ) |
Definition at line 513 of file OOConstToString.m.
References CommodityDisplayNameForSymbolicName(), and MARKET_NAME.
NSString * CommodityDisplayNameForSymbolicName | ( | NSString * | symbolicName | ) |
Definition at line 506 of file OOConstToString.m.
Referenced by CommodityDisplayNameForCommodityArray(), and GlobalDisplayNameForCommodity().
NSString * DisplayStringForMassUnit | ( | OOMassUnit | unit | ) |
Definition at line 519 of file OOConstToString.m.
References DESC, UNITS_GRAMS, UNITS_KILOGRAMS, and UNITS_TONS.
Referenced by DisplayStringForMassUnitForCommodity().
NSString * DisplayStringForMassUnitForCommodity | ( | OOCommodityType | commodity | ) |
Definition at line 532 of file OOConstToString.m.
References DisplayStringForMassUnit(), and UNIVERSE.
NSString * DockingClearanceStatusToString | ( | OODockingClearanceStatus | dockingClearanceStatus | ) |
Definition at line 548 of file OOConstToString.m.
References CASE, DOCKING_CLEARANCE_STATUS_GRANTED, DOCKING_CLEARANCE_STATUS_NONE, DOCKING_CLEARANCE_STATUS_NOT_REQUIRED, DOCKING_CLEARANCE_STATUS_REQUESTED, and DOCKING_CLEARANCE_STATUS_TIMING_OUT.
Referenced by PlayerGetProperty().
NSString * EnergyUnitTypeToString | ( | OOEnergyUnitType | unit | ) |
Definition at line 373 of file OOConstToString.m.
References CASE, ENERGY_UNIT_NAVAL, ENERGY_UNIT_NAVAL_DAMAGED, ENERGY_UNIT_NONE, ENERGY_UNIT_NORMAL, ENERGY_UNIT_NORMAL_DAMAGED, OLD_ENERGY_UNIT_NAVAL, and OLD_ENERGY_UNIT_NORMAL.
NSString * JSTypeToString | ( | int | type | ) |
Definition at line 246 of file OOConstToString.m.
References CASE.
OOCompassMode OOCompassModeFromString | ( | NSString * | string | ) |
Definition at line 151 of file OOConstToString.m.
References kOOCompassModeDefault.
OOGraphicsDetail OOGraphicsDetailFromString | ( | NSString * | string | ) |
Definition at line 577 of file OOConstToString.m.
References DETAIL_LEVEL_EXTRAS, DETAIL_LEVEL_MINIMUM, DETAIL_LEVEL_NORMAL, DETAIL_LEVEL_SHADERS, and REVERSE_CASE.
OOLongRangeChartMode OOLongRangeChartModeFromString | ( | NSString * | string | ) |
Definition at line 190 of file OOConstToString.m.
References kOOLongRangeChartModeDefault.
Referenced by PlayerShipSetProperty().
NSString * OOStringFromCompassMode | ( | OOCompassMode | mode | ) |
Definition at line 62 of file OOConstToString.m.
NSString * OOStringFromGraphicsDetail | ( | OOGraphicsDetail | detail | ) |
Definition at line 563 of file OOConstToString.m.
References CASE, DETAIL_LEVEL_EXTRAS, DETAIL_LEVEL_MINIMUM, DETAIL_LEVEL_NORMAL, and DETAIL_LEVEL_SHADERS.
NSString * OOStringFromLegalStatusReason | ( | OOLegalStatusReason | reason | ) |
Definition at line 125 of file OOConstToString.m.
NSString * OOStringFromLongRangeChartMode | ( | OOLongRangeChartMode | chartMode | ) |
Definition at line 72 of file OOConstToString.m.
Referenced by PlayerShipGetProperty().
NSString * RouteTypeToString | ( | OORouteType | routeType | ) |
Definition at line 201 of file OOConstToString.m.
References CASE, OPTIMIZED_BY_JUMPS, OPTIMIZED_BY_NONE, and OPTIMIZED_BY_TIME.
OOCargoType StringToCargoType | ( | NSString * | string | ) |
Definition at line 355 of file OOConstToString.m.
References CARGO_ALLOY, CARGO_CHARACTER, CARGO_MINERALS, CARGO_NOT_CARGO, CARGO_RANDOM, CARGO_SCRIPTED_ITEM, CARGO_SLAVES, CARGO_THARGOID, kOOCargoTypeDefault, and REVERSE_CASE.
OOEnergyUnitType StringToEnergyUnitType | ( | NSString * | string | ) |
Definition at line 392 of file OOConstToString.m.
References ENERGY_UNIT_NAVAL, ENERGY_UNIT_NAVAL_DAMAGED, ENERGY_UNIT_NONE, ENERGY_UNIT_NORMAL, ENERGY_UNIT_NORMAL_DAMAGED, kOOEnergyUnitTypeDefault, and REVERSE_CASE.
OORouteType StringToRouteType | ( | NSString * | string | ) |
Definition at line 538 of file OOConstToString.m.
References kOORouteTypeDefault, OPTIMIZED_BY_JUMPS, OPTIMIZED_BY_NONE, OPTIMIZED_BY_TIME, and REVERSE_CASE.
Referenced by SystemInfoRouteToSystem().