|
Oolite 1.91.0.7712-251017-85ce217
|
import <Foundation/Foundation.h>import "OOFunctionAttributes.h"import "OOTypes.h"import "MyOpenGLView.h"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 37 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(), and PlayerEntity(OOPrivate)::showMarketScreenDataLine:forGood:inMarket:holdQuantity:.
| 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.
Referenced by PlayerEntity::dumpSelfState.
| 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.
| OOHDRToneMapper OOHDRToneMapperFromString | ( | NSString * | string | ) |
Definition at line 603 of file OOConstToString.m.
References OOHDR_TONEMAPPER_ACES_APPROX, OOHDR_TONEMAPPER_DICE, OOHDR_TONEMAPPER_NONE, OOHDR_TONEMAPPER_REINHARD, OOHDR_TONEMAPPER_UCHIMURA, and REVERSE_CASE.
Referenced by MyOpenGLView::init.
| OOLongRangeChartMode OOLongRangeChartModeFromString | ( | NSString * | string | ) |
Definition at line 190 of file OOConstToString.m.
References kOOLongRangeChartModeDefault.
Referenced by PlayerShipSetProperty().
| OOSDRToneMapper OOSDRToneMapperFromString | ( | NSString * | string | ) |
Definition at line 632 of file OOConstToString.m.
References OOSDR_TONEMAPPER_ACES, OOSDR_TONEMAPPER_AgX, OOSDR_TONEMAPPER_HEJLDAWSON, OOSDR_TONEMAPPER_NONE, OOSDR_TONEMAPPER_REINHARD, OOSDR_TONEMAPPER_UC2, OOSDR_TONEMAPPER_UCHIMURA, and REVERSE_CASE.
Referenced by MyOpenGLView::init.
| 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.
Referenced by Universe::setDetailLevel:.
| NSString * OOStringFromHDRToneMapper | ( | OOHDRToneMapper | toneMapper | ) |
Definition at line 588 of file OOConstToString.m.
References CASE, OOHDR_TONEMAPPER_ACES_APPROX, OOHDR_TONEMAPPER_DICE, OOHDR_TONEMAPPER_NONE, OOHDR_TONEMAPPER_REINHARD, and OOHDR_TONEMAPPER_UCHIMURA.
Referenced by OoliteGetProperty().
| NSString * OOStringFromLegalStatusReason | ( | OOLegalStatusReason | reason | ) |
Definition at line 125 of file OOConstToString.m.
Referenced by PlayerEntity::setBounty:withReason:, and ShipEntity::setBounty:withReason:.
| NSString * OOStringFromLongRangeChartMode | ( | OOLongRangeChartMode | chartMode | ) |
Definition at line 72 of file OOConstToString.m.
Referenced by PlayerShipGetProperty().
| NSString * OOStringFromSDRToneMapper | ( | OOSDRToneMapper | toneMapper | ) |
Definition at line 615 of file OOConstToString.m.
References CASE, OOSDR_TONEMAPPER_ACES, OOSDR_TONEMAPPER_AgX, OOSDR_TONEMAPPER_HEJLDAWSON, OOSDR_TONEMAPPER_NONE, OOSDR_TONEMAPPER_REINHARD, OOSDR_TONEMAPPER_UC2, and OOSDR_TONEMAPPER_UCHIMURA.
Referenced by OoliteGetProperty().
| 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.
Referenced by ShipEntity::setUpCargoType:.
| 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().