![]() |
Oolite 1.91.0.7650-250121-affa790
|
Definition at line 118 of file HeadUpDisplay.m.
- (BOOL) checkPlayerInFlight |
Extends class HeadUpDisplay.
Definition at line 1150 of file HeadUpDisplay.m.
References checkPlayerInFlight.
Referenced by checkPlayerInFlight, checkPlayerInSystemFlight, drawPrimedEquipmentText:, and drawScanner:.
- (BOOL) checkPlayerInSystemFlight |
Extends class HeadUpDisplay.
Definition at line 1156 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 990 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 1785 of file HeadUpDisplay.m.
References AEGIS_CENTRE_X, AEGIS_CENTRE_Y, AEGIS_HEIGHT, AEGIS_IN_DOCKING_RANGE, AEGIS_WIDTH, CachedInfo::alpha, CachedInfo::height, 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 2278 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 2488 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 3011 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 2406 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 2929 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 1589 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(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
- (void) drawCompassBeaconBlipAt: | (Vector) | relativePosition | |
Size: | (NSSize) | siz | |
Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1756 of file HeadUpDisplay.m.
References OOGLBEGIN, and OOGLEND.
Referenced by drawCompass:.
- (void) drawCompassPlanetBlipAt: | (Vector) | relativePosition | |
Size: | (NSSize) | siz | |
Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1700 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), and OOGL.
Referenced by drawCompass:.
- (void) drawCompassStationBlipAt: | (Vector) | relativePosition | |
Size: | (NSSize) | siz | |
Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1717 of file HeadUpDisplay.m.
References OOGLBEGIN, and OOGLEND.
Referenced by drawCompass:.
- (void) drawCompassSunBlipAt: | (Vector) | relativePosition | |
Size: | (NSSize) | siz | |
Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1730 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), and OOGL.
Referenced by drawCompass:.
- (void) drawCompassTargetBlipAt: | (Vector) | relativePosition | |
Size: | (NSSize) | siz | |
Alpha: | (GLfloat) | alpha |
Extends class HeadUpDisplay.
Definition at line 1741 of file HeadUpDisplay.m.
References GLDrawOval(), OOGLBEGIN, and OOGLEND.
Referenced by drawCompass:.
- (void) drawCrosshairs |
Extends class HeadUpDisplay.
Definition at line 918 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 1837 of file HeadUpDisplay.m.
References CachedInfo::alpha, CUSTOM_DIAL_KEY, green_color, CachedInfo::height, hudDrawBarAt(), 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) drawCustomImage: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1977 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 1911 of file HeadUpDisplay.m.
References CachedInfo::alpha, CUSTOM_DIAL_KEY, green_color, CachedInfo::height, hudDrawIndicatorAt(), hudDrawSurroundAt(), 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 1942 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 1880 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 878 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 2841 of file HeadUpDisplay.m.
References CachedInfo::alpha, OOColor::alphaComponent, OOColor::blueComponent, CROSSHAIR_SIZE, OOColor::greenComponent, Entity::isWormhole, kBasisXVector, kBasisZVector, kZeroVector, nil, ONE_EIGHTH, OO_RETICLE_COLOR_TARGET, OO_RETICLE_COLOR_WORMHOLE, OOGLBEGIN, OOGLEND, OOVectorMultiplyMatrix(), OOColor::redComponent, and UNIVERSE.
Referenced by drawTargetReticle:.
- (void) drawEnergyGauge: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2155 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 2237 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 3089 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 2319 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 3318 of file HeadUpDisplay.m.
References HeadUpDisplay::drawSurroundInternal:color:.
- (void) drawHUDItem: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1109 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 1034 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 863 of file HeadUpDisplay.m.
References HeadUpDisplay::drawLegend:, drawLegends, and sCurrentDrawItem.
Referenced by drawLegends, and HeadUpDisplay::renderHUD.
- (void) drawMFDs |
Extends class HeadUpDisplay.
Definition at line 902 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 2646 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 3342 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 2096 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 2067 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 1180 of file HeadUpDisplay.m.
References blue_color, checkPlayerInFlight, Entity::collision_radius, drawScannerGrid(), DrawSpecialOval(), EXPECT_NOT, GetRGBAArrayFromInfo(), GLDrawFilledOval(), GLDrawNonlinearCascadeWeapon(), GLDrawOval(), ShipEntity::hasHostileTarget, CachedInfo::height, int(), ShipEntity::messageTime, nil, nonlinearScannerFunc(), HeadUpDisplay::nonlinearScannerScale:Zoom:Scale:, OO_POSTFX_NONE, OODrawString(), OOGL, OOGLBEGIN, OOGLEND, OOVectorMultiplyMatrix(), OOVectorRandomRadial(), OOVerifyOpenGLState, PLAYER, ShipEntity::primaryTarget, 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::scannerDisplayColorHostile1, ShipEntity::scannerDisplayColorHostile2, ShipEntity::totalBoundingBox, Entity::universalID, UNIVERSE, useDefined(), ShipEntity::v_forward, ShipEntity::v_right, ShipEntity::v_up, CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and Entity::zero_distance.
- (void) drawScannerZoomIndicator: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 1544 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 3128 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 2733 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 2023 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 2785 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 3221 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 3299 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 3273 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 2716 of file HeadUpDisplay.m.
References HeadUpDisplay::drawDirectionCue:, HeadUpDisplay::drawSecondaryTargetReticle:, hudDrawReticleOnTarget(), nil, and PLAYER.
- (void) drawTrumbles: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3330 of file HeadUpDisplay.m.
References OOTrumble::drawTrumble:, and PLAYER.
- (void) drawWaypoints: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 2768 of file HeadUpDisplay.m.
References hudDrawWaypoint(), nil, and PLAYER.
- (void) drawWeaponsOfflineText: | (NSDictionary *) | info |
Extends class HeadUpDisplay.
Definition at line 3049 of file HeadUpDisplay.m.
References CachedInfo::alpha, 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 2453 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 2367 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 2125 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 3324 of file HeadUpDisplay.m.
References HeadUpDisplay::drawSurroundInternal:color:.
- (void) resetGui: | (GuiDisplayGen *) | gui | |
withInfo: | (NSDictionary *) | gui_info |
Extends class HeadUpDisplay.
Definition at line 363 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 388 of file HeadUpDisplay.m.
References GuiDisplayGen::drawPosition, GuiDisplayGen::setDrawPosition:, X_KEY, and Y_KEY.
Referenced by resetGui:withInfo:, and HeadUpDisplay::resetGuiPositions.