|
Oolite
|
Definition at line 112 of file HeadUpDisplay.m.
| - (BOOL) checkPlayerInFlight |
Extends class HeadUpDisplay.
Definition at line 1028 of file HeadUpDisplay.m.
References checkPlayerInFlight.
Referenced by checkPlayerInFlight, checkPlayerInSystemFlight, drawPrimedEquipmentText:, and drawScanner:.
| - (BOOL) checkPlayerInSystemFlight |
Extends class HeadUpDisplay.
Definition at line 1033 of file HeadUpDisplay.m.
References HeadUpDisplay::checkPlayerInFlight, checkPlayerInSystemFlight, and OOSunEntity::goneNova.
Referenced by checkPlayerInSystemFlight, drawASCTarget:, drawCompass:, drawDials, and drawPrimedEquipmentText:.
| - (NSArray *) crosshairDefinitionForWeaponType: | (OOWeaponType) | weapon |
Extends class HeadUpDisplay.
Definition at line 888 of file HeadUpDisplay.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, nil, and OOStringFromWeaponType().
Referenced by drawCrosshairs.
| - (void) drawAegis: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1641 of file HeadUpDisplay.m.
References AEGIS_CENTRE_X, AEGIS_CENTRE_Y, AEGIS_HEIGHT, AEGIS_IN_DOCKING_RANGE, AEGIS_WIDTH, CachedInfo::alpha, CachedInfo::height, make_vector(), nil, OOGL, OOGLBEGIN, OOGLEND, OOGLPopModelView(), OOGLPushModelView(), OOGLScaleModelView(), OOGLTranslateModelView(), PLAYER, UNIVERSE, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawAftShieldBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2082 of file HeadUpDisplay.m.
References AFT_SHIELD_BAR_CENTRE_X, AFT_SHIELD_BAR_CENTRE_Y, AFT_SHIELD_BAR_HEIGHT, AFT_SHIELD_BAR_WIDTH, CachedInfo::alpha, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawAltitudeBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2265 of file HeadUpDisplay.m.
References CachedInfo::alpha, ALTITUDE_BAR_CENTRE_X, ALTITUDE_BAR_CENTRE_Y, ALTITUDE_BAR_HEIGHT, ALTITUDE_BAR_WIDTH, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), int(), red_color, redplus_color, SET_COLOR_CRITICAL, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, UNIVERSE, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawASCTarget: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2757 of file HeadUpDisplay.m.
References ASCTARGET_DISPLAY_HEIGHT, ASCTARGET_DISPLAY_WIDTH, ASCTARGET_DISPLAY_X, ASCTARGET_DISPLAY_Y, checkPlayerInSystemFlight, GetRGBAArrayFromInfo(), CachedInfo::height, OODrawStringAligned(), OOGL, PLAYER, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawCabinTempBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2191 of file HeadUpDisplay.m.
References CachedInfo::alpha, CABIN_TEMP_BAR_CENTRE_X, CABIN_TEMP_BAR_CENTRE_Y, CABIN_TEMP_BAR_HEIGHT, CABIN_TEMP_BAR_WIDTH, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), int(), red_color, redplus_color, SET_COLOR_CRITICAL, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, UNIVERSE, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawClock: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2685 of file HeadUpDisplay.m.
References CLOCK_DISPLAY_HEIGHT, CLOCK_DISPLAY_WIDTH, CLOCK_DISPLAY_X, CLOCK_DISPLAY_Y, GetRGBAArrayFromInfo(), CachedInfo::height, OODrawString(), OOGL, PLAYER, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawCompass: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1455 of file HeadUpDisplay.m.
References _compassUpdated, checkPlayerInSystemFlight, COMPASS_CENTRE_X, COMPASS_CENTRE_Y, COMPASS_HALF_SIZE, HeadUpDisplay::drawCompassBeaconBlipAt:Size:Alpha:, HeadUpDisplay::drawCompassPlanetBlipAt:Size:Alpha:, HeadUpDisplay::drawCompassStationBlipAt:Size:Alpha:, HeadUpDisplay::drawCompassSunBlipAt:Size:Alpha:, HeadUpDisplay::drawCompassTargetBlipAt:Size:Alpha:, GetRGBAArrayFromInfo(), GLDrawOval(), GLScaledLineWidth(), CachedInfo::height, kBasisZVector, OOGL, OOGLBEGIN, OOGLEND, OOVectorMultiplyMatrix(), PLAYER, useDefined(), vector_normal_or_fallback(), CachedInfo::width, CachedInfo::x, Vector::x, x, CachedInfo::x0, CachedInfo::y, Vector::y, y, and CachedInfo::y0.
| - (void) drawCompassBeaconBlipAt: | (Vector) | relativePosition | |
| Size: | (NSSize) | siz | |
| Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1613 of file HeadUpDisplay.m.
References OOGLBEGIN, OOGLEND, Vector::x, Vector::y, and Vector::z.
Referenced by drawCompass:.
| - (void) drawCompassPlanetBlipAt: | (Vector) | relativePosition | |
| Size: | (NSSize) | siz | |
| Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1564 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), OOGL, Vector::x, Vector::y, and Vector::z.
Referenced by drawCompass:.
| - (void) drawCompassStationBlipAt: | (Vector) | relativePosition | |
| Size: | (NSSize) | siz | |
| Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1577 of file HeadUpDisplay.m.
References OOGLBEGIN, OOGLEND, Vector::x, Vector::y, and Vector::z.
Referenced by drawCompass:.
| - (void) drawCompassSunBlipAt: | (Vector) | relativePosition | |
| Size: | (NSSize) | siz | |
| Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1589 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), OOGL, Vector::x, Vector::y, and Vector::z.
Referenced by drawCompass:.
| - (void) drawCompassTargetBlipAt: | (Vector) | relativePosition | |
| Size: | (NSSize) | siz | |
| Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1599 of file HeadUpDisplay.m.
References GLDrawOval(), OOGLBEGIN, OOGLEND, Vector::x, Vector::y, and Vector::z.
Referenced by drawCompass:.
| - (void) drawCrosshairs |
Extends class HeadUpDisplay.
Definition at line 826 of file HeadUpDisplay.m.
References HeadUpDisplay::crosshairDefinitionForWeaponType:, DESTROY, drawCrosshairs, nil, PLAYER, and UNIVERSE.
Referenced by drawCrosshairs, and HeadUpDisplay::renderHUD.
| - (void) drawCustomBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1691 of file HeadUpDisplay.m.
References CachedInfo::alpha, CUSTOM_DIAL_KEY, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), OOClamp_0_1_f(), PLAYER, red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawCustomImage: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1816 of file HeadUpDisplay.m.
References CachedInfo::alpha, OOTextureSprite::blitCentredToX:Y:Z:alpha:, OOTexture::dimensions, CachedInfo::height, kOOLogFileNotFound, nil, OOLogERR, OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawCustomIndicator: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1753 of file HeadUpDisplay.m.
References CachedInfo::alpha, CUSTOM_DIAL_KEY, green_color, CachedInfo::height, hudDrawIndicatorAt(), hudDrawSurroundAt(), OOClamp_n1_1_f(), PLAYER, SET_COLOR, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawCustomLight: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1782 of file HeadUpDisplay.m.
References CachedInfo::alpha, OOColor::getRed:green:blue:alpha:, CachedInfo::height, hudDrawStatusIconAt(), OOGL, OOGLBEGIN, OOGLEND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawCustomText: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1727 of file HeadUpDisplay.m.
References CachedInfo::alpha, CachedInfo::height, OODrawStringAligned(), SET_COLOR, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawDials |
Extends class HeadUpDisplay.
Definition at line 792 of file HeadUpDisplay.m.
References _compassUpdated, checkPlayerInSystemFlight, drawDials, HeadUpDisplay::drawHUDItem:, EXPECT_NOT, and sCurrentDrawItem.
Referenced by drawDials, and HeadUpDisplay::renderHUD.
| - (void) drawDirectionCue: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2599 of file HeadUpDisplay.m.
References CachedInfo::alpha, OOColor::alphaComponent, OOColor::blueComponent, CROSSHAIR_SIZE, dot_product(), OOColor::greenComponent, Entity::isWormhole, kBasisXVector, kBasisZVector, kZeroVector, nil, ONE_EIGHTH, OO_RETICLE_COLOR_TARGET, OO_RETICLE_COLOR_WORMHOLE, OOClamp_0_1_f(), OOGLBEGIN, OOGLEND, OOVectorMultiplyMatrix(), OOColor::redComponent, UNIVERSE, vector_flip(), vector_normal(), Vector::x, Vector::y, and Vector::z.
Referenced by drawTargetReticle:.
| - (void) drawEnergyGauge: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1977 of file HeadUpDisplay.m.
References CachedInfo::alpha, PlayerEntity::dialEnergy, PlayerEntity::dialMaxEnergy, ENERGY_GAUGE_CENTRE_X, ENERGY_GAUGE_CENTRE_Y, ENERGY_GAUGE_HEIGHT, ENERGY_GAUGE_WIDTH, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), OODrawString(), PLAYER, red_color, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawForwardShieldBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2048 of file HeadUpDisplay.m.
References CachedInfo::alpha, FORWARD_SHIELD_BAR_CENTRE_X, FORWARD_SHIELD_BAR_CENTRE_Y, FORWARD_SHIELD_BAR_HEIGHT, FORWARD_SHIELD_BAR_WIDTH, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawFPSInfoCounter: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2821 of file HeadUpDisplay.m.
References FPSINFO_DISPLAY_HEIGHT, FPSINFO_DISPLAY_WIDTH, FPSINFO_DISPLAY_X, FPSINFO_DISPLAY_Y, GetRGBAArrayFromInfo(), CachedInfo::height, OODrawString(), OOGL, PLAYER, UNIVERSE, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawFuelBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2116 of file HeadUpDisplay.m.
References CachedInfo::alpha, FUEL_BAR_CENTRE_X, FUEL_BAR_CENTRE_Y, FUEL_BAR_HEIGHT, FUEL_BAR_WIDTH, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawMarkerAt(), hudDrawSurroundAt(), PLAYER, red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawGreenSurround: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3048 of file HeadUpDisplay.m.
References HeadUpDisplay::drawSurroundInternal:color:.
| - (void) drawHUDItem: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 992 of file HeadUpDisplay.m.
References EXPECT_NOT, nil, OOCheckOpenGLErrors(), OOVerifyOpenGLState, PLAYER, sCurrentDrawItem, and WIDGET_SELECTOR_NAME.
Referenced by drawDials.
| - (void) drawLegend: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 929 of file HeadUpDisplay.m.
References CachedInfo::alpha, OOTextureSprite::blitCentredToX:Y:Z:alpha:, DIAL_REQUIRED_KEY, green_color, CachedInfo::height, nil, OODrawStringAligned(), PLAYER, SET_COLOR, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
Referenced by drawLegends.
| - (void) drawLegends |
Extends class HeadUpDisplay.
Definition at line 779 of file HeadUpDisplay.m.
References HeadUpDisplay::drawLegend:, drawLegends, and sCurrentDrawItem.
Referenced by drawLegends, and HeadUpDisplay::renderHUD.
| - (void) drawMFDs |
Extends class HeadUpDisplay.
Definition at line 813 of file HeadUpDisplay.m.
References drawMFDs, HeadUpDisplay::drawMultiFunctionDisplay:withText:asIndex:, nil, and sCurrentDrawItem.
Referenced by drawMFDs, and HeadUpDisplay::renderHUD.
| - (void) drawMissileDisplay: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2420 of file HeadUpDisplay.m.
References CachedInfo::alpha, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, green_color, CachedInfo::height, MISSILE_ICON_HEIGHT, MISSILE_ICON_WIDTH, MISSILE_STATUS_ARMED, MISSILE_STATUS_SAFE, MISSILE_STATUS_TARGET_LOCKED, MISSILES_DISPLAY_X, MISSILES_DISPLAY_Y, OODrawString(), OOGLBEGIN, OOGLEND, PLAYER, red_color, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawMultiFunctionDisplay: | (NSDictionary *) | info | |
| withText: | (NSString *) | text | |
| asIndex: | (NSUInteger) | index |
Extends class HeadUpDisplay.
Definition at line 3068 of file HeadUpDisplay.m.
References OOColor::colorWithDescription:, HeadUpDisplay::drawSurroundInternal:color:, OOColor::getRed:green:blue:alpha:, CachedInfo::height, MFD_TEXT_HEIGHT, MFD_TEXT_WIDTH, nil, OODrawString(), OOGLBEGIN, OOGLEND, OORectFromString(), PLAYER, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
Referenced by drawMFDs.
| - (void) drawPitchBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1922 of file HeadUpDisplay.m.
References CachedInfo::alpha, green_color, CachedInfo::height, hudDrawIndicatorAt(), hudDrawSurroundAt(), PITCH_BAR_CENTRE_X, PITCH_BAR_CENTRE_Y, PITCH_BAR_HEIGHT, PITCH_BAR_WIDTH, PLAYER, SET_COLOR, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawPrimedEquipmentText: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
References checkPlayerInFlight, and checkPlayerInSystemFlight.
| - (void) drawRollBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1895 of file HeadUpDisplay.m.
References CachedInfo::alpha, green_color, CachedInfo::height, hudDrawIndicatorAt(), hudDrawSurroundAt(), PLAYER, ROLL_BAR_CENTRE_X, ROLL_BAR_CENTRE_Y, ROLL_BAR_HEIGHT, ROLL_BAR_WIDTH, SET_COLOR, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawScanner: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1056 of file HeadUpDisplay.m.
References blue_color, checkPlayerInFlight, Entity::collision_radius, drawScannerGrid(), DrawSpecialOval(), EXPECT_NOT, GetRGBAArrayFromInfo(), GLDrawFilledOval(), GLDrawNonlinearCascadeWeapon(), GLDrawOval(), ShipEntity::hasHostileTarget, CachedInfo::height, int(), make_vector(), BoundingBox::max, ShipEntity::messageTime, BoundingBox::min, nil, nonlinearScannerFunc(), HeadUpDisplay::nonlinearScannerScale:Zoom:Scale:, OO_POSTFX_NONE, OODrawString(), OOGL, OOGLBEGIN, OOGLEND, OOVectorMultiplyMatrix(), OOVectorRandomRadial(), OOVerifyOpenGLState, PLAYER, ShipEntity::primaryTarget, scale_vector(), Entity::scanClass, SCANNER_CENTRE_X, SCANNER_CENTRE_Y, SCANNER_HEIGHT, SCANNER_MAX_RANGE, SCANNER_SCALE, SCANNER_WIDTH, OOVisualEffectEntity::scannerDisplayColor1, ShipEntity::scannerDisplayColor1, OOVisualEffectEntity::scannerDisplayColor2, ShipEntity::scannerDisplayColor2, ShipEntity::scannerDisplayColorForShip:isHostile:flash:scannerDisplayColor1:scannerDisplayColor2:scannerDisplayColorH1:scannerDisplayColorH2:, OOVisualEffectEntity::scannerDisplayColorForShip:scannerDisplayColor1:scannerDisplayColor2:, ShipEntity::scannerDisplayColorHostile1, ShipEntity::scannerDisplayColorHostile2, ShipEntity::totalBoundingBox, Entity::universalID, UNIVERSE, useDefined(), ShipEntity::v_forward, ShipEntity::v_right, ShipEntity::v_up, vector_add(), CachedInfo::width, CachedInfo::x, Vector::x, x, CachedInfo::x0, CachedInfo::y, Vector::y, y, CachedInfo::y0, Vector::z, and Entity::zero_distance.
| - (void) drawScannerZoomIndicator: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1408 of file HeadUpDisplay.m.
References OOTexture::apply, OOTexture::applyNone, GetRGBAArrayFromInfo(), CachedInfo::height, OOGL, OOGLBEGIN, OOGLEND, SCANNER_ZOOM_LEVELS, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, ZOOM_INDICATOR_CENTRE_X, ZOOM_INDICATOR_CENTRE_Y, ZOOM_INDICATOR_HEIGHT, and ZOOM_INDICATOR_WIDTH.
| - (void) drawScoopStatus: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2860 of file HeadUpDisplay.m.
References darkgreen_color, green_color, CachedInfo::height, OOGL, OOGLBEGIN, OOGLEND, red_color, SCOOP_STATUS_ACTIVE, SCOOP_STATUS_FULL_HOLD, SCOOP_STATUS_NOT_INSTALLED, SCOOP_STATUS_OKAY, SCOOPSTATUS_CENTRE_X, SCOOPSTATUS_CENTRE_Y, SCOOPSTATUS_HEIGHT, SCOOPSTATUS_WIDTH, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawSecondaryTargetReticle: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2503 of file HeadUpDisplay.m.
References hudDrawReticleOnTarget(), nil, PLAYER, PLAYER_TARGET_MEMORY_SIZE, ShipEntity::primaryTarget, SCANNER_MAX_RANGE2, PlayerEntity::targetMemory, and OOWeakReference::weakRefUnderlyingObject.
Referenced by drawTargetReticle:.
| - (void) drawSpeedBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1859 of file HeadUpDisplay.m.
References CachedInfo::alpha, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, SPEED_BAR_CENTRE_X, SPEED_BAR_CENTRE_Y, SPEED_BAR_HEIGHT, SPEED_BAR_WIDTH, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawStatusLight: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2545 of file HeadUpDisplay.m.
References ALERT_CONDITION_DOCKED, ALERT_CONDITION_GREEN, ALERT_CONDITION_RED, ALERT_CONDITION_YELLOW, CachedInfo::alpha, blue_color, green_color, CachedInfo::height, hudDrawStatusIconAt(), OOGL, OOGLBEGIN, OOGLEND, red_color, STATUS_LIGHT_CENTRE_X, STATUS_LIGHT_CENTRE_Y, STATUS_LIGHT_HEIGHT, UNIVERSE, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawStickSensitivityIndicator: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2961 of file HeadUpDisplay.m.
References CachedInfo::alpha, black_color, OOJoystickManager::getSensitivity, GLDrawFilledOval(), GLDrawOval(), GLScaledLineWidth(), green_color, CachedInfo::height, lightgray_color, OOGL, OOJoystickManager::sharedStickHandler, STATUS_LIGHT_CENTRE_X, STATUS_LIGHT_CENTRE_Y, STATUS_LIGHT_HEIGHT, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawSurround: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3032 of file HeadUpDisplay.m.
References OOColor::blueComponent, OOColor::colorWithDescription:, HeadUpDisplay::drawSurroundInternal:color:, OOColor::greenComponent, nil, and OOColor::redComponent.
| - (void) drawSurroundInternal: | (NSDictionary *) | info | |
| color: | (const GLfloat) | color[4] |
Extends class HeadUpDisplay.
Definition at line 3008 of file HeadUpDisplay.m.
References CachedInfo::alpha, CachedInfo::height, hudDrawSurroundAt(), NOT_DEFINED, useDefined(), WEAPONSOFFLINETEXT_HEIGHT, WEAPONSOFFLINETEXT_WIDTH, CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
Referenced by drawGreenSurround:, drawMultiFunctionDisplay:withText:asIndex:, drawSurround:, and drawYellowSurround:.
| - (void) drawTargetReticle: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2489 of file HeadUpDisplay.m.
References HeadUpDisplay::drawDirectionCue:, HeadUpDisplay::drawSecondaryTargetReticle:, hudDrawReticleOnTarget(), nil, and PLAYER.
| - (void) drawTrumbles: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3058 of file HeadUpDisplay.m.
References OOTrumble::drawTrumble:, and PLAYER.
| - (void) drawWaypoints: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2532 of file HeadUpDisplay.m.
References hudDrawWaypoint(), nil, PLAYER, and UNIVERSE.
| - (void) drawWeaponsOfflineText: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2789 of file HeadUpDisplay.m.
References DESC, GetRGBAArrayFromInfo(), CachedInfo::height, OODrawString(), OOGL, PLAYER, UNIVERSE, useDefined(), WEAPONSOFFLINETEXT_DISPLAY_X, WEAPONSOFFLINETEXT_DISPLAY_Y, WEAPONSOFFLINETEXT_HEIGHT, WEAPONSOFFLINETEXT_WIDTH, CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawWeaponTempBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2232 of file HeadUpDisplay.m.
References CachedInfo::alpha, green_color, CachedInfo::height, hudDrawBarAt(), hudDrawSurroundAt(), red_color, SET_COLOR_HIGH, SET_COLOR_LOW, SET_COLOR_MEDIUM, SET_COLOR_SURROUND, useDefined(), WEAPON_TEMP_BAR_CENTRE_X, WEAPON_TEMP_BAR_CENTRE_Y, WEAPON_TEMP_BAR_HEIGHT, WEAPON_TEMP_BAR_WIDTH, CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawWitchspaceDestination: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2157 of file HeadUpDisplay.m.
References CachedInfo::alpha, DESC, green_color, CachedInfo::height, OO_SYSTEMCONCEALMENT_NONAME, OODrawStringAligned(), PLAYER, SET_COLOR, useDefined(), CachedInfo::width, WITCHDEST_CENTRE_X, WITCHDEST_CENTRE_Y, WITCHDEST_HEIGHT, WITCHDEST_WIDTH, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
| - (void) drawYawBar: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1949 of file HeadUpDisplay.m.
References CachedInfo::alpha, green_color, CachedInfo::height, hudDrawIndicatorAt(), hudDrawSurroundAt(), PITCH_BAR_CENTRE_X, PITCH_BAR_CENTRE_Y, PITCH_BAR_HEIGHT, PITCH_BAR_WIDTH, PLAYER, SET_COLOR, SET_COLOR_SURROUND, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and yellow_color.
| - (void) drawYellowSurround: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3053 of file HeadUpDisplay.m.
References HeadUpDisplay::drawSurroundInternal:color:.
| - (void) resetGui: | (GuiDisplayGen *) | gui | |
| withInfo: | (NSDictionary *) | gui_info |
Extends class HeadUpDisplay.
Definition at line 345 of file HeadUpDisplay.m.
References ALPHA_KEY, BACKGROUND_RGBA_KEY, OOColor::colorFromString:, HEIGHT_KEY, HeadUpDisplay::resetGuiPosition:withInfo:, GuiDisplayGen::resizeTo:characterHeight:title:, ROW_HEIGHT_KEY, GuiDisplayGen::rowHeight, GuiDisplayGen::setBackgroundColor:, GuiDisplayGen::setMaxAlpha:, GuiDisplayGen::size, GuiDisplayGen::title, TITLE_KEY, and WIDTH_KEY.
Referenced by HeadUpDisplay::resetGuis:.
| - (void) resetGuiPosition: | (GuiDisplayGen *) | gui | |
| withInfo: | (NSDictionary *) | gui_info |
Extends class HeadUpDisplay.
Definition at line 369 of file HeadUpDisplay.m.
References GuiDisplayGen::drawPosition, GuiDisplayGen::setDrawPosition:, Vector::x, X_KEY, Vector::y, and Y_KEY.
Referenced by resetGui:withInfo:.