|
Oolite
|
import "GuiDisplayGen.h"import "OOCommodityMarket.h"import "OOJSPropID.h"import "OOTypes.h"import "ShipEntity.h"import "WormholeEntity.h"import <Foundation/Foundation.h>#include "OOGUIScreenID.tbl"#include "OOGalacticHyperspaceBehaviour.tbl"Go to the source code of this file.
Classes | |
| class | PlayerEntity |
Typedefs | |
| typedef uint16_t | OOAlertFlags |
Functions | |
| OOINLINE PlayerEntity * | OOGetPlayer (void) INLINE_CONST_FUNC |
| NSString * | OODisplayRatingStringFromKillCount (unsigned kills) |
| NSString * | KillCountToRatingAndKillString (unsigned kills) |
| NSString * | OODisplayStringFromLegalStatus (int legalStatus) |
| NSString * | OOStringFromGUIScreenID (OOGUIScreenID screen) CONST_FUNC |
| OOGUIScreenID | OOGUIScreenIDFromString (NSString *string) PURE_FUNC |
| OOGalacticHyperspaceBehaviour | OOGalacticHyperspaceBehaviourFromString (NSString *string) PURE_FUNC |
| NSString * | OOStringFromGalacticHyperspaceBehaviour (OOGalacticHyperspaceBehaviour behaviour) CONST_FUNC |
| #define AFT_FACING_STRING DESC(@"aft-facing-string") |
Definition at line 307 of file PlayerEntity.h.
Referenced by PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:.
| #define ALLOW_CUSTOM_VIEWS_WHILE_PAUSED 1 |
Definition at line 44 of file PlayerEntity.h.
| #define CHART_CLIP_BORDER 10.0 |
Definition at line 101 of file PlayerEntity.h.
Referenced by GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:.
| #define CHART_HEIGHT_AT_MAX_ZOOM 64.0 |
Definition at line 95 of file PlayerEntity.h.
Referenced by PlayerEntity::adjusted_chart_centre, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, and GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:.
| #define CHART_MAX_ZOOM (256.0 / CHART_WIDTH_AT_MAX_ZOOM) |
Definition at line 97 of file PlayerEntity.h.
Referenced by PlayerEntity::adjusted_chart_centre, GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:, MissionRunScreen(), MissionRunScreen(), PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollGuiScreenControlsWithFKeyAlias:, and PlayerEntity::setGuiToLongRangeChartScreen.
| #define CHART_SCREEN_VERTICAL_CENTRE (10 * MAIN_GUI_ROW_HEIGHT) |
Definition at line 102 of file PlayerEntity.h.
Referenced by GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| #define CHART_SCREEN_VERTICAL_CENTRE_COMPACT (7 * MAIN_GUI_ROW_HEIGHT) |
Definition at line 103 of file PlayerEntity.h.
Referenced by GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:.
| #define CHART_SCROLL_AT_X 25.0 |
Definition at line 99 of file PlayerEntity.h.
Referenced by PlayerEntity::adjusted_chart_centre, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| #define CHART_SCROLL_AT_Y 31.0 |
Definition at line 100 of file PlayerEntity.h.
Referenced by PlayerEntity::adjusted_chart_centre, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| #define CHART_WIDTH_AT_MAX_ZOOM 64.0 |
Definition at line 94 of file PlayerEntity.h.
Referenced by PlayerEntity::adjusted_chart_centre, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, and GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:.
| #define CHART_ZOOM_SHOW_LABELS 2.0 |
| #define CHART_ZOOM_SPEED_FACTOR 1.05 |
Definition at line 104 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| #define CONTRACTS_BAD_KEY @"contracts_expired" |
Definition at line 318 of file PlayerEntity.h.
| #define CONTRACTS_GOOD_KEY @"contracts_fulfilled" |
Definition at line 317 of file PlayerEntity.h.
| #define CONTRACTS_UNKNOWN_KEY @"contracts_unknown" |
Definition at line 319 of file PlayerEntity.h.
| #define CUSTOM_VIEW_MAX_ZOOM_IN 1.5 |
Definition at line 56 of file PlayerEntity.h.
Referenced by PlayerEntity::customViewZoomIn:.
| #define CUSTOM_VIEW_MAX_ZOOM_OUT 25 |
Definition at line 57 of file PlayerEntity.h.
Referenced by PlayerEntity::customViewZoomOut:.
| #define CUSTOMEQUIP_BUTTONACTIVATE @"buttonActivate" |
| #define CUSTOMEQUIP_BUTTONMODE @"buttonMode" |
| #define CUSTOMEQUIP_EQUIPKEY @"equipmentKey" |
| #define CUSTOMEQUIP_EQUIPNAME @"equipmentName" |
Definition at line 117 of file PlayerEntity.h.
| #define CUSTOMEQUIP_KEYACTIVATE @"keyActivate" |
| #define CUSTOMEQUIP_KEYMODE @"keyMode" |
| #define ECM_DURATION 2.5f |
Definition at line 271 of file PlayerEntity.h.
Referenced by PlayerEntity::doBookkeeping:.
| #define ECM_ENERGY_DRAIN_FACTOR 20.0f |
Definition at line 270 of file PlayerEntity.h.
Referenced by PlayerEntity::doBookkeeping:.
| #define ENTRY | ( | label, | |
| value ) |
Definition at line 59 of file PlayerEntity.h.
| #define ESCAPE_SEQUENCE_TIME 10.0 |
Definition at line 304 of file PlayerEntity.h.
Referenced by PlayerEntity::doBookkeeping:.
| #define FORWARD_FACING_STRING DESC(@"forward-facing-string") |
Definition at line 306 of file PlayerEntity.h.
Referenced by PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:.
| #define GALACTIC_HYPERSPACE_ENTRY | ( | label, | |
| value ) |
Definition at line 65 of file PlayerEntity.h.
| #define GRAMS_PER_POD (KILOGRAMS_PER_POD * 1000) |
Definition at line 1300 of file PlayerEntity.h.
Referenced by PlayerEntity::cargoQuantityOnBoard, PlayerEntity::loadCargoPodsForType:amount:, PlayerEntity::loadCargoPodsForType:fromManifest:, PlayerEntity::setCargoQuantityForType:amount:, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::tryBuyingCommodity:all:.
| #define GUI_FIRST_ROW | ( | GROUP | ) |
Definition at line 52 of file PlayerEntity.h.
Referenced by PlayerEntity::setGuiToGameOptionsScreen.
| #define GUI_ROW | ( | GROUP, | |
| ITEM ) |
Definition at line 54 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity::setGuiToGameOptionsScreen, and PlayerEntity::setGuiToLoadSaveScreen.
| #define GUI_ROW_INIT | ( | GUI | ) |
Definition at line 51 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity::setGuiToGameOptionsScreen, and PlayerEntity::setGuiToLoadSaveScreen.
| #define HYPERSPEED_FACTOR [PLAYER hyperspeedFactor] |
Definition at line 295 of file PlayerEntity.h.
Referenced by PlayerEntity::doBookkeeping:, PlayerEntity(OOPrivate)::performInFlightUpdates:, ShipSetProperty(), ShipSetProperty(), and DustEntity::warpVector.
| #define KEY_REPEAT_INTERVAL 0.20 |
Definition at line 311 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(Controls)::handleGUIUpDownArrowKeys, PlayerEntity(OOControlsPrivate)::pollFlightControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity(OOControlsPrivate)::pollMarketScreenControls.
| #define KEYCONFIG_CUSTOMEQUIP @"CustomEquipActivation" |
Definition at line 122 of file PlayerEntity.h.
Referenced by PlayerEntity(Controls)::initKeyConfigSettings.
| #define KILOGRAMS_PER_POD 1000 |
Definition at line 1298 of file PlayerEntity.h.
Referenced by PlayerEntity::cargoQuantityOnBoard, PlayerEntity::loadCargoPodsForType:amount:, PlayerEntity::loadCargoPodsForType:fromManifest:, PlayerEntity::setCargoQuantityForType:amount:, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::tryBuyingCommodity:all:.
| #define MANIFEST_SCREEN_ROW_BACK 1 |
Definition at line 335 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity(Contracts)::setGuiToManifestScreen.
| #define MANIFEST_SCREEN_ROW_NEXT ([[PLAYER hud] isHidden] ? 27 : 20) |
Definition at line 336 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity(Contracts)::setGuiToManifestScreen.
| #define MAX_GRAMS_IN_SAFE ((GRAMS_PER_POD / 2) - 1) |
Definition at line 1301 of file PlayerEntity.h.
Referenced by PlayerEntity::cargoQuantityOnBoard, PlayerEntity::loadCargoPodsForType:amount:, PlayerEntity::loadCargoPodsForType:fromManifest:, PlayerEntity::setCargoQuantityForType:amount:, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::tryBuyingCommodity:all:.
| #define MAX_HYPERSPEED_FACTOR 1024.0 |
Definition at line 297 of file PlayerEntity.h.
Referenced by PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
| #define MAX_KILOGRAMS_IN_SAFE ((KILOGRAMS_PER_POD / 2) - 1) |
Definition at line 1299 of file PlayerEntity.h.
Referenced by PlayerEntity::cargoQuantityOnBoard, PlayerEntity::loadCargoPodsForType:amount:, PlayerEntity::loadCargoPodsForType:fromManifest:, PlayerEntity::setCargoQuantityForType:amount:, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::tryBuyingCommodity:all:.
| #define MIN_HYPERSPEED_FACTOR 32.0 |
Definition at line 296 of file PlayerEntity.h.
Referenced by ShipEntity::decrease_flight_speed:, ShipSetProperty(), ShipSetProperty(), and PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
| #define MISSION_DEST_LEGACY @"__oolite_legacy_destinations" |
Definition at line 338 of file PlayerEntity.h.
| #define OO_RESOLUTION_OPTION 1 |
Definition at line 112 of file PlayerEntity.h.
| #define OO_VARIABLE_TORUS_SPEED 1 |
Definition at line 48 of file PlayerEntity.h.
| #define PARCEL_BAD_KEY @"parcels_expired" |
Definition at line 324 of file PlayerEntity.h.
| #define PARCEL_GOOD_KEY @"parcels_fulfilled" |
Definition at line 323 of file PlayerEntity.h.
| #define PARCEL_UNKNOWN_KEY @"parcels_unknown" |
Definition at line 325 of file PlayerEntity.h.
| #define PASSAGE_BAD_KEY @"passage_expired" |
Definition at line 321 of file PlayerEntity.h.
| #define PASSAGE_GOOD_KEY @"passage_fulfilled" |
Definition at line 320 of file PlayerEntity.h.
| #define PASSAGE_UNKNOWN_KEY @"passage_unknown" |
Definition at line 322 of file PlayerEntity.h.
| #define PITCH_DAMPING_FACTOR 1.0f |
Definition at line 274 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:.
| #define PLAYER OOGetPlayer() |
Definition at line 1296 of file PlayerEntity.h.
Referenced by DockEntity::abortAllDockings, StationEntity::abortAllDockings, DockEntity::abortDockingForShip:, StationEntity::acceptDockingClearanceRequestFrom:, Universe::addCommsMessage:forCount:andShowComms:logOnly:, Universe::addEntity:, Universe::addMessage:forCount:forceDisplay:, Universe::addWitchspaceJumpEffectForShip:, ShipEntity::becomeExplosion, StationEntity::becomeExplosion, Universe::breakPatternHide, ShipEntity::broadcastMessage:withUnpilotedOverride:, WormholeEntity::canCollide, Universe::carryPlayerOn:inWormhole:, ShipEntity::checkShipsInVicinityForWitchJumpExit, Universe::defineWaypoint:forKey:, WormholeEntity::disgorgeShips, StationEntity::dockingInstructionsForShip:, GameController(OOPrivate)::doPerformGameTick, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawASCTarget:, HeadUpDisplay(Private)::drawClock:, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawCrosshairs, HeadUpDisplay(Private)::drawCustomBar:, HeadUpDisplay(Private)::drawCustomIndicator:, OOSunEntity::drawDirectVisionSunGlare, HeadUpDisplay(Private)::drawEnergyGauge:, GuiDisplayGen(Internal)::drawEquipmentList:z:, HeadUpDisplay(Private)::drawFPSInfoCounter:, HeadUpDisplay(Private)::drawFuelBar:, GuiDisplayGen(Internal)::drawGLDisplay:y:z:alpha:, GuiDisplayGen::drawGUI:drawCursor:, HeadUpDisplay(Private)::drawHUDItem:, DustEntity::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawLegend:, HeadUpDisplay(Private)::drawMissileDisplay:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, HeadUpDisplay(Private)::drawPitchBar:, HeadUpDisplay::drawPrimedEquipment:, HeadUpDisplay(Private)::drawRollBar:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay(Private)::drawSecondaryTargetReticle:, GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, HeadUpDisplay(Private)::drawTargetReticle:, HeadUpDisplay(Private)::drawTrumbles:, Universe::drawUniverse, HeadUpDisplay(Private)::drawWaypoints:, HeadUpDisplay(Private)::drawWeaponsOfflineText:, HeadUpDisplay(Private)::drawWitchspaceDestination:, HeadUpDisplay(Private)::drawYawBar:, Universe::enterGUIViewModeWithMouseInteraction:, Universe::entityForUniversalID:, ExpandStringKeySpecial(), Universe::findSystemNumberAtCoords:withGalaxy:includingHidden:, ShipEntity::fireTurretCannon:, Universe::firstEntityTargetedByPlayer, Universe::firstEntityTargetedByPlayerPrecisely, ShipEntity::fuelChargeRate, StationEntity::generateShipyard:, Universe::getActiveViewMatrix:forwardVector:upVector:, GlobalPauseGame(), GlobalPauseGame(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), Universe::handleOoliteException:, StationEntity::hasClearDock, StationEntity::hasEligibleDock, HeadUpDisplay::hudDrawReticleOnTarget, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, WormholeEntity::initWormholeTo:fromShip:, ShipEntity::launchCascadeMine, OOShipRegistry(OODataLoader)::loadDemoShips, LookUpLegacySelector(), Universe::makeDemoShipWithRole:spinning:, ShipEntity::manageCollisions, StationEntity::noteDockedShip:, OOPlayerForScripting(), Universe::pauseGame, PlayerEntity(Scripting)::PerformActionStatment, PlayerEndScenario(), PlayerEndScenario(), PlayerEntity(OOControlsPrivate)::pollCustomViewControls, Universe::populateNormalSpace, Universe(OOPrivate)::populateSpaceFromActiveWormholes, ShipEntity::realAlertCondition, Universe::reinitAndShowDemo:, Entity::relativePosition, Universe::removeEntity:, Universe::repopulateSystem, ShipEntity(PureAI)::safeScriptActionOnTarget:, ShipEntity::scoopUpProcess:processEvents:processMessages:, ShipEntity(PureAI)::scriptActionOnTarget:, OOProbabilisticTextureManager::selectTexture, ShipEntity(AI)::setAITo:, Universe::setBlockJSPlayerShipProps:, GuiDisplayGen::setStarChartTitle, Universe::setSystemTo:, PlanetEntity(OOPrivate)::setTextureColorForPlanet:inSystem:, Universe::setUpBreakPattern:orientation:forDocking:, Universe(OOPrivate)::setUpInitialUniverse, Universe::setupIntroFirstGo:, Universe::setUpUniverseFromStation, Universe::setUpWitchspaceBetweenSystem:andSystem:, ShipEnterWormhole(), ShipEnterWormhole(), DockEntity::shipIsInDockingCorridor:, ShipSetProperty(), ShipSetProperty(), Universe::shipsForSaleForSystem:withTL:atTime:, ShipThreatAssessment(), ShipThreatAssessment(), SoundFromJSValue(), SoundFromJSValue(), Universe::speakWithSubstitutions:, StationAddShipToShipyard(), StationAddShipToShipyard(), StationRemoveShipFromShipyard(), StationRemoveShipFromShipyard(), StationSetMarketPrice(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetMarketQuantity(), WormholeEntity::suckInShip:, GuiDisplayGen::targetNextFoundSystem:, PlayerEntity(Scripting)::TestScriptConditions, Entity::update:, OOQuiriumCascadeEntity::update:, OOSunEntity::update:, ShipEntity::update:, SkyEntity::update:, StationEntity::update:, Universe::update:, WormholeEntity::update:, Entity::updateCameraRelativePosition, OOSunEntity::updateCameraRelativePosition, ValidateContracts(), ValidateContracts(), VisualEffectSetProperty(), VisualEffectSetProperty(), DustEntity::warpVector, WaypointSetProperty(), and WaypointSetProperty().
| #define PLAYER_DIAL_MAX_ALTITUDE 40000.0 |
Definition at line 287 of file PlayerEntity.h.
Referenced by PlayerEntity::dialAltitude, and PlayerEntity::insideAtmosphereFraction.
| #define PLAYER_DOCKING_AI_NAME @"oolite-player-AI.plist" |
Definition at line 333 of file PlayerEntity.h.
Referenced by PlayerEntity::resetAutopilotAI.
| #define PLAYER_INTERNAL_DAMAGE_FACTOR 31 |
Definition at line 331 of file PlayerEntity.h.
Referenced by PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, and PlayerEntity::takeScrapeDamage:from:.
| #define PLAYER_MAX_FUEL 70 |
Definition at line 282 of file PlayerEntity.h.
Referenced by PlayerEntity::dialHyperRange, EquipmentInfoGetProperty(), EquipmentInfoGetProperty(), ShipEntity::fuelCapacity, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, and PlayerEntity::setUpAndConfirmOK:saveGame:.
| #define PLAYER_MAX_MISSILES 16 |
Definition at line 284 of file PlayerEntity.h.
Referenced by PlayerEntity::dealloc, PlayerEntity::deferredInit, PlayerEntity::setCommanderDataFromDictionary:, PlayerEntity::setUpShipFromDictionary:, and PlayerEntity::tidyMissilePylons.
| #define PLAYER_MAX_TRUMBLES 24 |
Definition at line 290 of file PlayerEntity.h.
Referenced by PlayerEntity::addEquipmentItem:withValidation:inContext:, PlayerEntity::addTrumble:, PlayerEntity::dealloc, PlayerEntity::setTrumbleValueFrom:, PlayerEntity::setUpTrumbles, and PlayerEntity::trumbleValue.
| #define PLAYER_MAX_WEAPON_TEMP 256.0f |
Definition at line 277 of file PlayerEntity.h.
Referenced by PlayerEntity::fireMainWeapon, PlayerEntity::laserHeatLevel, PlayerEntity::laserHeatLevelAft, PlayerEntity::laserHeatLevelForward, PlayerEntity::laserHeatLevelPort, and PlayerEntity::laserHeatLevelStarboard.
| #define PLAYER_SHIP_CLOCK_START (2084004 * 86400.0) |
Definition at line 313 of file PlayerEntity.h.
Referenced by PlayerEntity::setUpAndConfirmOK:saveGame:, and PlayerEntity(OOLoadSavePrivate)::showCommanderShip:.
| #define PLAYER_SHIP_DESC @"cobra3-player" |
Definition at line 302 of file PlayerEntity.h.
Referenced by PlayerEntity::deferredInit.
| #define PLAYER_SHIP_SUBENTITY_TRADE_IN_VALUE 3 |
Definition at line 315 of file PlayerEntity.h.
Referenced by ShipRestoreSubEntities(), and ShipRestoreSubEntities().
| #define PLAYER_STARTING_MAX_MISSILES 4 |
Definition at line 285 of file PlayerEntity.h.
Referenced by PlayerEntity::setUpAndConfirmOK:saveGame:.
| #define PLAYER_STARTING_MISSILES 3 |
Definition at line 286 of file PlayerEntity.h.
Referenced by PlayerEntity::setUpAndConfirmOK:saveGame:.
| #define PLAYER_SUPER_ALTITUDE2 10000000000.0 |
Definition at line 288 of file PlayerEntity.h.
| #define PLAYER_TARGET_MEMORY_SIZE 16 |
Definition at line 292 of file PlayerEntity.h.
Referenced by PlayerEntity::addTarget:, PlayerEntity::clearTargetMemory, HeadUpDisplay(Private)::drawSecondaryTargetReticle:, and PlayerEntity::moveTargetMemoryBy:.
| #define PORT_FACING_STRING DESC(@"port-facing-string") |
Definition at line 308 of file PlayerEntity.h.
Referenced by PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:.
| #define ROLL_DAMPING_FACTOR 1.0f |
Definition at line 273 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:.
| #define SCANNER_ECM_FUZZINESS 1.25 |
Definition at line 329 of file PlayerEntity.h.
Referenced by PlayerEntity::scannerFuzziness.
| #define SCANNER_ZOOM_RATE_DOWN -8.0 |
Definition at line 328 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollViewControls, and PlayerEntity(ScriptMethods)::resetScannerZoom.
| #define SCANNER_ZOOM_RATE_UP 2.0 |
Definition at line 327 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollViewControls.
| #define SCRIPT_TIMER_INTERVAL 10.0 |
Definition at line 45 of file PlayerEntity.h.
Referenced by PlayerEntity(Scripting)::resetScriptTimer, and PlayerEntity::setUpAndConfirmOK:saveGame:.
| #define STARBOARD_FACING_STRING DESC(@"starboard-facing-string") |
Definition at line 309 of file PlayerEntity.h.
Referenced by PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:.
| #define YAW_DAMPING_FACTOR 1.0f |
Definition at line 275 of file PlayerEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:.
| typedef uint16_t OOAlertFlags |
Definition at line 231 of file PlayerEntity.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ALERT_FLAG_DOCKED | |
| ALERT_FLAG_MASS_LOCK | |
| ALERT_FLAG_YELLOW_LIMIT | |
| ALERT_FLAG_TEMP | |
| ALERT_FLAG_ALT | |
| ALERT_FLAG_ENERGY | |
| ALERT_FLAG_HOSTILES | |
Definition at line 222 of file PlayerEntity.h.
| anonymous enum |
Definition at line 124 of file PlayerEntity.h.
| anonymous enum |
Definition at line 170 of file PlayerEntity.h.
| anonymous enum |
| Enumerator | |
|---|---|
| kOOGUIScreenIDDefault | |
| kOOGalacticHyperspaceBehaviourDefault | |
Definition at line 76 of file PlayerEntity.h.
| anonymous enum |
| Enumerator | |
|---|---|
| GUI_ROW_GAMEOPTIONS_HDRPAPERWHITE | |
| GUI_ROW_GAMEOPTIONS_HDRMAXBRIGHTNESS | |
Definition at line 209 of file PlayerEntity.h.
| enum OOFuelScoopStatus |
| Enumerator | |
|---|---|
| SCOOP_STATUS_NOT_INSTALLED | |
| SCOOP_STATUS_FULL_HOLD | |
| SCOOP_STATUS_OKAY | |
| SCOOP_STATUS_ACTIVE | |
Definition at line 214 of file PlayerEntity.h.
| Enumerator | |
|---|---|
| GALACTIC_HYPERSPACE_MAX | |
Definition at line 67 of file PlayerEntity.h.
| enum OOGUIScreenID |
Definition at line 61 of file PlayerEntity.h.
| enum OOMarketFilterMode |
| Enumerator | |
|---|---|
| MARKET_FILTER_MODE_OFF | |
| MARKET_FILTER_MODE_TRADE | |
| MARKET_FILTER_MODE_HOLD | |
| MARKET_FILTER_MODE_STOCK | |
| MARKET_FILTER_MODE_LEGAL | |
| MARKET_FILTER_MODE_RESTRICTED | |
| MARKET_FILTER_MODE_MAX | |
Definition at line 248 of file PlayerEntity.h.
| enum OOMarketSorterMode |
| Enumerator | |
|---|---|
| MARKET_SORTER_MODE_OFF | |
| MARKET_SORTER_MODE_ALPHA | |
| MARKET_SORTER_MODE_PRICE | |
| MARKET_SORTER_MODE_STOCK | |
| MARKET_SORTER_MODE_HOLD | |
| MARKET_SORTER_MODE_UNIT | |
| MARKET_SORTER_MODE_MAX | |
Definition at line 259 of file PlayerEntity.h.
| enum OOMissileStatus |
| Enumerator | |
|---|---|
| MISSILE_STATUS_SAFE | |
| MISSILE_STATUS_ARMED | |
| MISSILE_STATUS_TARGET_LOCKED | |
Definition at line 233 of file PlayerEntity.h.
| Enumerator | |
|---|---|
| PLAYER_FLEEING_UNLIKELY | |
| PLAYER_FLEEING_NONE | |
| PLAYER_FLEEING_MAYBE | |
| PLAYER_FLEEING_CARGO | |
| PLAYER_FLEEING_LIKELY | |
Definition at line 240 of file PlayerEntity.h.
| Enumerator | |
|---|---|
| OOPRIMEDEQUIP_ACTIVATED | |
| OOPRIMEDEQUIP_MODE | |
Definition at line 82 of file PlayerEntity.h.
| enum OOSpeechSettings |
| Enumerator | |
|---|---|
| OOSPEECHSETTINGS_OFF | |
| OOSPEECHSETTINGS_COMMS | |
| OOSPEECHSETTINGS_ALL | |
Definition at line 87 of file PlayerEntity.h.
| NSString * KillCountToRatingAndKillString | ( | unsigned | kills | ) |
Definition at line 403 of file OOConstToString.m.
Referenced by PlayerEntity::setGuiToStatusScreen, and PlayerEntity(OOLoadSavePrivate)::showCommanderShip:.
| NSString * OODisplayRatingStringFromKillCount | ( | unsigned | kills | ) |
Definition at line 377 of file OOConstToString.m.
References nil.
Referenced by PlayerEntity(Scripting)::commanderRank_string, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerGetProperty(), and PlayerGetProperty().
| NSString * OODisplayStringFromLegalStatus | ( | int | legalStatus | ) |
Definition at line 408 of file OOConstToString.m.
References nil.
Referenced by PlayerEntity(Scripting)::commanderLegalStatus_string, PlayerGetProperty(), PlayerGetProperty(), PlayerEntity::setGuiToStatusScreen, and PlayerEntity(OOLoadSavePrivate)::showCommanderShip:.
| OOGalacticHyperspaceBehaviour OOGalacticHyperspaceBehaviourFromString | ( | NSString * | string | ) |
Definition at line 156 of file OOConstToString.m.
References kOOGalacticHyperspaceBehaviourDefault, and OOGalacticHyperspaceBehaviourFromString().
Referenced by OOGalacticHyperspaceBehaviourFromString(), and PlayerEntity(Scripting)::setGalacticHyperspaceBehaviourTo:.
| OOINLINE PlayerEntity * OOGetPlayer | ( | void | ) |
Definition at line 1288 of file PlayerEntity.h.
| OOGUIScreenID OOGUIScreenIDFromString | ( | NSString * | string | ) |
Definition at line 170 of file OOConstToString.m.
References kOOGUIScreenIDDefault.
| NSString * OOStringFromGalacticHyperspaceBehaviour | ( | OOGalacticHyperspaceBehaviour | behaviour | ) |
Definition at line 87 of file OOConstToString.m.
| NSString * OOStringFromGUIScreenID | ( | OOGUIScreenID | screen | ) |
Definition at line 96 of file OOConstToString.m.
Referenced by PlayerEntity(Scripting)::gui_screen_string.