![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <HeadUpDisplay.h>
Instance Methods | |
(id) | - initWithDictionary: |
(id) | - initWithDictionary:inFile: |
(void) | - resetGuis: |
(void) | - resetGuiPositions |
(NSString *) | - hudName |
(void) | - setHudName: |
(GLfloat) | - scannerZoom |
(void) | - setScannerZoom: |
(GLfloat) | - overallAlpha |
(void) | - setOverallAlpha: |
(BOOL) | - reticleTargetSensitive |
(void) | - setReticleTargetSensitive: |
(NSMutableDictionary *) | - propertiesReticleTargetSensitive |
(BOOL) | - isHidden |
(void) | - setHidden: |
(BOOL) | - allowBigGui |
(BOOL) | - hasHidden: |
(void) | - setHiddenSelector:hidden: |
(void) | - clearHiddenSelectors |
(BOOL) | - isCompassActive |
(void) | - setCompassActive: |
(BOOL) | - isUpdating |
(void) | - setDeferredHudName: |
(NSString *) | - deferredHudName |
(NSString *) | - crosshairDefinition |
(BOOL) | - setCrosshairDefinition: |
(void) | - addLegend: |
(void) | - addDial: |
(void) | - addMFD: |
(NSUInteger) | - mfdCount |
(void) | - renderHUD |
(void) | - refreshLastTransmitter |
(void) | - setLineWidth: |
(GLfloat) | - lineWidth |
(BOOL) | - minimalisticScanner |
(void) | - setMinimalisticScanner: |
(BOOL) | - nonlinearScanner |
(void) | - setNonlinearScanner: |
(BOOL) | - scannerUltraZoom |
(void) | - setScannerUltraZoom: |
(OOColor *) | - reticleColorForIndex: |
(BOOL) | - setReticleColorForIndex:toColor: |
(OOINLINE void) | - GLColorWithOverallAlpha [implementation] |
(void) | - dealloc [implementation] |
(void) | - resetGui:withInfo: [implementation] |
(void) | - resetGuiPosition:withInfo: [implementation] |
(void) | - drawLegends [implementation] |
(void) | - drawDials [implementation] |
(void) | - drawMFDs [implementation] |
(void) | - drawCrosshairs [implementation] |
(NSArray *) | - crosshairDefinitionForWeaponType: [implementation] |
(void) | - drawLegend: [implementation] |
(void) | - drawHUDItem: [implementation] |
(BOOL) | - checkPlayerInFlight [implementation] |
(BOOL) | - checkPlayerInSystemFlight [implementation] |
(void) | - drawScanner: [implementation] |
(void) | - drawScannerZoomIndicator: [implementation] |
(void) | - drawCompass: [implementation] |
(OOINLINE void) | - SetCompassBlipColor [implementation] |
(void) | - drawCompassPlanetBlipAt:Size:Alpha: [implementation] |
(void) | - drawCompassStationBlipAt:Size:Alpha: [implementation] |
(void) | - drawCompassSunBlipAt:Size:Alpha: [implementation] |
(void) | - drawCompassTargetBlipAt:Size:Alpha: [implementation] |
(void) | - drawCompassBeaconBlipAt:Size:Alpha: [implementation] |
(void) | - drawAegis: [implementation] |
(void) | - drawCustomBar: [implementation] |
(void) | - drawCustomText: [implementation] |
(void) | - drawCustomIndicator: [implementation] |
(void) | - drawCustomLight: [implementation] |
(void) | - drawCustomImage: [implementation] |
(void) | - drawSpeedBar: [implementation] |
(void) | - drawRollBar: [implementation] |
(void) | - drawPitchBar: [implementation] |
(void) | - drawYawBar: [implementation] |
(void) | - drawEnergyGauge: [implementation] |
(void) | - drawForwardShieldBar: [implementation] |
(void) | - drawAftShieldBar: [implementation] |
(void) | - drawFuelBar: [implementation] |
(void) | - drawWitchspaceDestination: [implementation] |
(void) | - drawCabinTempBar: [implementation] |
(void) | - drawWeaponTempBar: [implementation] |
(void) | - drawAltitudeBar: [implementation] |
(void) | - drawIconForMissile:selected:status:x:y:width:height:alpha: [implementation] |
(void) | - drawIconForEmptyPylonAtX:y:width:height:alpha: [implementation] |
(void) | - drawMissileDisplay: [implementation] |
(void) | - drawTargetReticle: [implementation] |
(void) | - drawSecondaryTargetReticle: [implementation] |
(void) | - drawWaypoints: [implementation] |
(void) | - drawStatusLight: [implementation] |
(void) | - drawDirectionCue: [implementation] |
(void) | - drawClock: [implementation] |
(void) | - drawPrimedEquipment: [implementation] |
(void) | - drawASCTarget: [implementation] |
(void) | - drawWeaponsOfflineText: [implementation] |
(void) | - drawFPSInfoCounter: [implementation] |
(void) | - drawScoopStatus: [implementation] |
(void) | - drawStickSensitivityIndicator: [implementation] |
(void) | - drawSurroundInternal:color: [implementation] |
(void) | - drawSurround: [implementation] |
(void) | - drawGreenSurround: [implementation] |
(void) | - drawYellowSurround: [implementation] |
(void) | - drawTrumbles: [implementation] |
(void) | - drawMultiFunctionDisplay:withText:asIndex: [implementation] |
(void) | - OOHUDResetTextEngine(void) [implementation] |
(NSRect) | - OORectFromString [implementation] |
(CGFloat) | - OOStringWidthInEm [implementation] |
(void) | - drawHighlight [implementation] |
(void) | - OODrawString [implementation] |
(void) | - OODrawStringAligned [implementation] |
(void) | - OOStartDrawingStrings [implementation] |
(void) | - OODrawStringQuadsAligned [implementation] |
(void) | - OOStopDrawingStrings [implementation] |
(void) | - OODrawHilightedString [implementation] |
(void) | - OODrawPlanetInfo [implementation] |
(void) | - OODrawHilightedPlanetInfo [implementation] |
(void) | - drawPrimedEquipmentText: [implementation] |
Class Methods | |
(Vector) | + nonlinearScannerScale:Zoom:Scale: |
(static GLfloat) | + drawCharacterQuad [implementation] |
(static void) | + InitTextEngine(void) [implementation] |
(static void) | + prefetchData [implementation] |
(static OOPolygonSprite *) | + IconForMissileRole [implementation] |
(static void) | + hudDrawIndicatorAt [implementation] |
(static void) | + hudDrawMarkerAt [implementation] |
(static void) | + hudDrawBarAt [implementation] |
(static void) | + hudDrawSurroundAt [implementation] |
(static void) | + hudDrawStatusIconAt [implementation] |
(static void) | + hudDrawReticleOnTarget [implementation] |
(static void) | + hudDrawWaypoint [implementation] |
(static void) | + hudRotateViewpointForVirtualDepth [implementation] |
(static void) | + InitTextEngine(void) [implementation] |
(static void) | + GLDrawNonlinearCascadeWeapon [implementation] |
(static GLfloat) | + nonlinearScannerFunc [implementation] |
(static void) | + drawScannerGrid [implementation] |
(static void) | + DrawSpecialOval [implementation] |
Private Attributes | |
NSMutableArray * | legendArray |
NSMutableArray * | dialArray |
NSMutableArray * | mfdArray |
GLfloat | scanner_zoom |
GLfloat | z1 |
GLfloat | lineWidth |
NSString * | hudName |
NSString * | deferredHudName |
BOOL | hudUpdating |
GLfloat | overallAlpha |
BOOL | reticleTargetSensitive |
NSMutableDictionary * | propertiesReticleTargetSensitive |
BOOL | cloakIndicatorOnStatusLight |
BOOL | hudHidden |
BOOL | allowBigGui |
int | last_transmitter |
NSMutableSet * | _hiddenSelectors |
OOCrosshairs * | _crosshairs |
OOWeaponType | _lastWeaponType |
GLfloat | _lastOverallAlpha |
BOOL | _lastWeaponsOnline |
NSDictionary * | _crosshairOverrides |
OOColor * | _crosshairColor |
GLfloat | _crosshairScale |
GLfloat | _crosshairWidth |
NSString * | crosshairDefinition |
BOOL | _compassActive |
NSMutableArray * | _reticleColors |
BOOL | minimalistic_scanner |
BOOL | nonlinear_scanner |
BOOL | scanner_ultra_zoom |
Definition at line 237 of file HeadUpDisplay.h.
- (void) addDial: | (NSDictionary *) | info |
Definition at line 753 of file HeadUpDisplay.m.
References hudName, nil, OOLogERR, prefetchData, and ResourceManager::whitelistDictionary.
Referenced by initWithDictionary:inFile:.
- (void) addLegend: | (NSDictionary *) | info |
Definition at line 705 of file HeadUpDisplay.m.
References OOTexture::dimensions, kOOLogFileNotFound, nil, OOLogERR, prefetchData, TEXT_KEY, and OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:.
Referenced by initWithDictionary:inFile:.
- (void) addMFD: | (NSDictionary *) | info |
Definition at line 795 of file HeadUpDisplay.m.
References prefetchData.
Referenced by initWithDictionary:inFile:.
- (BOOL) allowBigGui |
References allowBigGui, clearHiddenSelectors, isCompassActive, and isUpdating.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1150 of file HeadUpDisplay.m.
References HeadUpDisplay(Private)::checkPlayerInFlight.
Referenced by HeadUpDisplay(Private)::checkPlayerInFlight, HeadUpDisplay(Private)::checkPlayerInSystemFlight, HeadUpDisplay(Private)::drawPrimedEquipmentText:, and HeadUpDisplay(Private)::drawScanner:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1156 of file HeadUpDisplay.m.
References checkPlayerInFlight, HeadUpDisplay(Private)::checkPlayerInSystemFlight, and OOSunEntity::goneNova.
Referenced by HeadUpDisplay(Private)::checkPlayerInSystemFlight, HeadUpDisplay(Private)::drawASCTarget:, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawDials, and HeadUpDisplay(Private)::drawPrimedEquipmentText:.
- (void) clearHiddenSelectors |
Definition at line 668 of file HeadUpDisplay.m.
References clearHiddenSelectors.
Referenced by allowBigGui, and clearHiddenSelectors.
- (NSString *) crosshairDefinition |
References crosshairDefinition, mfdCount, refreshLastTransmitter, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 990 of file HeadUpDisplay.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, nil, and OOStringFromWeaponType().
Referenced by HeadUpDisplay(Private)::drawCrosshairs.
|
implementation |
Definition at line 343 of file HeadUpDisplay.m.
References _crosshairColor, _crosshairOverrides, _hiddenSelectors, _reticleColors, crosshairDefinition, dealloc, deferredHudName, DESTROY, dialArray, hudName, legendArray, mfdArray, and propertiesReticleTargetSensitive.
Referenced by dealloc.
- (NSString *) deferredHudName |
References deferredHudName.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3011 of file HeadUpDisplay.m.
References ASCTARGET_DISPLAY_HEIGHT, ASCTARGET_DISPLAY_WIDTH, ASCTARGET_DISPLAY_X, ASCTARGET_DISPLAY_Y, HeadUpDisplay(Private)::checkPlayerInSystemFlight, GetRGBAArrayFromInfo(), CachedInfo::height, OODrawStringAligned(), OOGL, PLAYER, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, and CachedInfo::y0.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Definition at line 3914 of file HeadUpDisplay.m.
References drawCharacterQuad, ONE_EIGHTH, ONE_SIXTEENTH, sGlyphWidths, x, and y.
Referenced by drawCharacterQuad, OODrawPlanetInfo, and OODrawStringQuadsAligned.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1589 of file HeadUpDisplay.m.
References _compassUpdated, HeadUpDisplay(Private)::checkPlayerInSystemFlight, COMPASS_CENTRE_X, COMPASS_CENTRE_Y, COMPASS_HALF_SIZE, drawCompassBeaconBlipAt:Size:Alpha:, drawCompassPlanetBlipAt:Size:Alpha:, drawCompassStationBlipAt:Size:Alpha:, drawCompassSunBlipAt:Size:Alpha:, 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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1756 of file HeadUpDisplay.m.
References OOGLBEGIN, and OOGLEND.
Referenced by HeadUpDisplay(Private)::drawCompass:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1700 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), and OOGL.
Referenced by HeadUpDisplay(Private)::drawCompass:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1717 of file HeadUpDisplay.m.
References OOGLBEGIN, and OOGLEND.
Referenced by HeadUpDisplay(Private)::drawCompass:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1730 of file HeadUpDisplay.m.
References GLDrawFilledOval(), GLDrawOval(), and OOGL.
Referenced by HeadUpDisplay(Private)::drawCompass:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1741 of file HeadUpDisplay.m.
References GLDrawOval(), OOGLBEGIN, and OOGLEND.
Referenced by HeadUpDisplay(Private)::drawCompass:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 918 of file HeadUpDisplay.m.
References crosshairDefinitionForWeaponType:, DESTROY, HeadUpDisplay(Private)::drawCrosshairs, nil, PLAYER, and UNIVERSE.
Referenced by HeadUpDisplay(Private)::drawCrosshairs, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 878 of file HeadUpDisplay.m.
References _compassUpdated, HeadUpDisplay(Private)::checkPlayerInSystemFlight, HeadUpDisplay(Private)::drawDials, drawHUDItem:, EXPECT_NOT, and sCurrentDrawItem.
Referenced by HeadUpDisplay(Private)::drawDials, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
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 HeadUpDisplay(Private)::drawTargetReticle:.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3318 of file HeadUpDisplay.m.
References drawSurroundInternal:color:.
|
implementation |
Definition at line 3962 of file HeadUpDisplay.m.
References OOGL, OOGLBEGIN, OOGLEND, x, and y.
Referenced by OODrawHilightedPlanetInfo, and OODrawHilightedString.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1109 of file HeadUpDisplay.m.
References EXPECT_NOT, nil, OOCheckOpenGLErrors(), OOVerifyOpenGLState, PLAYER, sCurrentDrawItem, and WIDGET_SELECTOR_NAME.
Referenced by HeadUpDisplay(Private)::drawDials.
|
implementation |
Definition at line 2631 of file HeadUpDisplay.m.
References GLColorWithOverallAlpha, IconForMissileRole, kDefaultMissileIconKey, lightgray_color, OOGLPopModelView(), OOGLPushModelView(), OOGLScaleModelView(), OOGLTranslateModelView(), x, y, and z1.
Referenced by HeadUpDisplay(Private)::drawMissileDisplay:.
|
implementation |
Definition at line 2580 of file HeadUpDisplay.m.
References black_color, GLColorWithOverallAlpha, green_color, IconForMissileRole, MISSILE_STATUS_ARMED, MISSILE_STATUS_SAFE, MISSILE_STATUS_TARGET_LOCKED, nil, OOGLPopModelView(), OOGLPushModelView(), OOGLScaleModelView(), OOGLTranslateModelView(), red_color, x, y, yellow_color, and z1.
Referenced by HeadUpDisplay(Private)::drawMissileDisplay:.
|
implementation |
Provided by category HeadUpDisplay(Private).
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 HeadUpDisplay(Private)::drawLegends.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 863 of file HeadUpDisplay.m.
References drawLegend:, HeadUpDisplay(Private)::drawLegends, and sCurrentDrawItem.
Referenced by HeadUpDisplay(Private)::drawLegends, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 902 of file HeadUpDisplay.m.
References HeadUpDisplay(Private)::drawMFDs, drawMultiFunctionDisplay:withText:asIndex:, nil, and sCurrentDrawItem.
Referenced by HeadUpDisplay(Private)::drawMFDs, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 2646 of file HeadUpDisplay.m.
References CachedInfo::alpha, drawIconForEmptyPylonAtX:y:width:height:alpha:, 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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3342 of file HeadUpDisplay.m.
References OOColor::colorWithDescription:, 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 HeadUpDisplay(Private)::drawMFDs.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Definition at line 2951 of file HeadUpDisplay.m.
References GetRGBAArrayFromInfo(), CachedInfo::height, OODrawString(), OOExpandKey, OOGL, overallAlpha, PLAYER, PRIMED_DISPLAY_HEIGHT, PRIMED_DISPLAY_WIDTH, PRIMED_DISPLAY_X, PRIMED_DISPLAY_Y, useDefined(), CachedInfo::width, CachedInfo::x, x, CachedInfo::x0, CachedInfo::y, y, CachedInfo::y0, and z1.
|
implementation |
Provided by category HeadUpDisplay(Private).
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 1180 of file HeadUpDisplay.m.
References blue_color, HeadUpDisplay(Private)::checkPlayerInFlight, Entity::collision_radius, drawScannerGrid(), DrawSpecialOval(), EXPECT_NOT, GetRGBAArrayFromInfo(), GLDrawFilledOval(), GLDrawNonlinearCascadeWeapon(), GLDrawOval(), ShipEntity::hasHostileTarget, CachedInfo::height, int(), ShipEntity::messageTime, nil, nonlinearScannerFunc(), 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.
|
implementation |
Definition at line 4242 of file HeadUpDisplay.m.
References MyOpenGLView::fov:, GLDrawOval(), GLScaledLineWidth(), nonlinearScannerFunc(), OOGL, OOGLBEGIN, OOGLEND, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, SCANNER_MAX_RANGE, MyOpenGLView::viewSize, x, and y.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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 HeadUpDisplay(Private)::drawTargetReticle:.
|
implementation |
Definition at line 4384 of file HeadUpDisplay.m.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3299 of file HeadUpDisplay.m.
References OOColor::blueComponent, OOColor::colorWithDescription:, drawSurroundInternal:color:, OOColor::greenComponent, nil, and OOColor::redComponent.
|
implementation |
Provided by category HeadUpDisplay(Private).
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 HeadUpDisplay(Private)::drawGreenSurround:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, HeadUpDisplay(Private)::drawSurround:, and HeadUpDisplay(Private)::drawYellowSurround:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 2716 of file HeadUpDisplay.m.
References drawDirectionCue:, drawSecondaryTargetReticle:, hudDrawReticleOnTarget(), nil, and PLAYER.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3330 of file HeadUpDisplay.m.
References OOTrumble::drawTrumble:, and PLAYER.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 2768 of file HeadUpDisplay.m.
References hudDrawWaypoint(), nil, and PLAYER.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
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.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 3324 of file HeadUpDisplay.m.
References drawSurroundInternal:color:.
|
implementation |
Definition at line 214 of file HeadUpDisplay.m.
References OOINLINE.
Referenced by drawIconForEmptyPylonAtX:y:width:height:alpha:, drawIconForMissile:selected:status:x:y:width:height:alpha:, hudDrawReticleOnTarget, and hudDrawWaypoint.
|
implementation |
Definition at line 4156 of file HeadUpDisplay.m.
References GLDrawPoints(), GLDrawQuadStrip(), M_PI, nonlinearScannerScale:Zoom:Scale:, OOGL, OOGLVector::x, x, OOGLVector::y, y, and OOGLVector::z.
- (BOOL) hasHidden: | (NSString *) | selectorName |
Definition at line 645 of file HeadUpDisplay.m.
References nil.
|
implementation |
Definition at line 3472 of file HeadUpDisplay.m.
|
implementation |
Definition at line 3418 of file HeadUpDisplay.m.
|
implementation |
Definition at line 3445 of file HeadUpDisplay.m.
|
implementation |
Definition at line 3533 of file HeadUpDisplay.m.
References ACCURACY_PROBABILITY_DECREASE_FACTOR, OOColor::alphaComponent, OOColor::blueComponent, PlayerEntity::clockTimeAdjusted, Entity::collision_radius, Entity::collisionRadius, WormholeEntity::estimatedArrivalTime, WormholeEntity::expiryTime, GLColorWithOverallAlpha, green_color, OOColor::greenColor, OOColor::greenComponent, ShipEntity::hasHostileTarget, hudRotateViewpointForVirtualDepth(), int(), MAX_ACCURACY_RANGE, MIN_PROBABILITY_ACCURACY, nil, OODrawString(), OOGLBEGIN, OOGLEND, OOGLPopModelView(), OOGLPushModelView(), PLAYER, ShipEntity::primaryTarget, propertiesReticleTargetSensitive, OOColor::redColor, OOColor::redComponent, reticleTargetSensitive, ShipEntity::scanDescription, UNIVERSE, WH_SCANINFO_ARRIVAL_TIME, WH_SCANINFO_COLLAPSE_TIME, WH_SCANINFO_DESTINATION, WH_SCANINFO_NONE, WH_SCANINFO_SCANNED, WH_SCANINFO_SHIP, z1, and Entity::zero_distance.
Definition at line 3515 of file HeadUpDisplay.m.
|
implementation |
Definition at line 3501 of file HeadUpDisplay.m.
|
implementation |
Definition at line 3747 of file HeadUpDisplay.m.
References blue_color, GLColorWithOverallAlpha, hudRotateViewpointForVirtualDepth(), OODrawString(), OOGLBEGIN, OOGLEND, OOGLPopModelView(), OOGLPushModelView(), and z1.
- (NSString *) hudName |
|
implementation |
Definition at line 3808 of file HeadUpDisplay.m.
References PlayerEntity::customViewForwardVector, PlayerEntity::customViewUpVector, kBasisYVector, kZeroVector, M_PI, OOGLLookAt(), OOGLMultModelView(), OOGLScaleModelView(), OOGLTranslateModelView(), OOMatrixForQuaternionRotation(), Entity::orientation, quaternion_multiply(), quaternion_rotate_about_axis(), UNIVERSE, and vector_up_from_quaternion().
|
implementation |
Definition at line 2541 of file HeadUpDisplay.m.
References kDefaultMineIconKey, kDefaultMissileIconKey, and nil.
Referenced by drawIconForEmptyPylonAtX:y:width:height:alpha:, and drawIconForMissile:selected:status:x:y:width:height:alpha:.
|
implementation |
|
implementation |
Definition at line 3874 of file HeadUpDisplay.m.
References count, ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, GLYPH_SCALE_FACTOR, nil, OOTexture::retain, sEncodingCoverter, sF6KernGovt, sF6KernTL, sFontTexture, sGlyphWidths, and OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:.
- (id) initWithDictionary: | (NSDictionary *) | hudinfo |
Definition at line 221 of file HeadUpDisplay.m.
References initWithDictionary:inFile:.
- (id) initWithDictionary: | (NSDictionary *) | hudinfo | |
inFile: | (NSString *) | hudFileName |
Definition at line 227 of file HeadUpDisplay.m.
References _compassActive, _crosshairColor, _crosshairOverrides, _crosshairScale, _crosshairWidth, _hiddenSelectors, _lastWeaponType, _reticleColors, addDial:, addLegend:, addMFD:, allowBigGui, cloakIndicatorOnStatusLight, OOColor::colorWithDescription:, crosshairDefinition, OOColor::cyanColor, deferredHudName, dialArray, OOColor::greenColor, hudHidden, hudName, hudUpdating, last_transmitter, legendArray, lineWidth, mfdArray, minimalistic_scanner, nil, NO_TARGET, nonlinear_scanner, overallAlpha, propertiesReticleTargetSensitive, OOColor::redColor, reticleTargetSensitive, scanner_ultra_zoom, SELECTOR_KEY, setCrosshairDefinition:, and sFontTexture.
Referenced by initWithDictionary:.
- (BOOL) isCompassActive |
Definition at line 674 of file HeadUpDisplay.m.
References _compassActive, and isCompassActive.
Referenced by allowBigGui, isCompassActive, and PlayerEntity::switchHudTo:.
- (BOOL) isHidden |
Definition at line 627 of file HeadUpDisplay.m.
References hudHidden, and isHidden.
Referenced by OODebugController::hideShowHUD:, isHidden, PlayerEntity(OOControlsPrivate)::pollApplicationControls, propertiesReticleTargetSensitive, PlayerEntity::switchHudTo:, and OODebugController::validateMenuItem:.
- (BOOL) isUpdating |
Definition at line 686 of file HeadUpDisplay.m.
References hudUpdating, and isUpdating.
Referenced by allowBigGui, and isUpdating.
- (GLfloat) lineWidth |
References lineWidth, minimalisticScanner, nonlinearScanner, and scannerUltraZoom.
- (NSUInteger) mfdCount |
Definition at line 803 of file HeadUpDisplay.m.
References mfdCount.
Referenced by crosshairDefinition, mfdCount, PlayerEntity::selectPreviousMultiFunctionDisplay, and PlayerEntity::switchHudTo:.
- (BOOL) minimalisticScanner |
Definition at line 1489 of file HeadUpDisplay.m.
References minimalistic_scanner, and minimalisticScanner.
Referenced by lineWidth, and minimalisticScanner.
- (BOOL) nonlinearScanner |
Definition at line 1509 of file HeadUpDisplay.m.
References nonlinear_scanner, and nonlinearScanner.
Referenced by lineWidth, and nonlinearScanner.
|
implementation |
Definition at line 4228 of file HeadUpDisplay.m.
References SCANNER_MAX_RANGE, and x.
+ (Vector) nonlinearScannerScale: | (Vector) | V | |
Zoom: | (GLfloat) | zoom | |
Scale: | (double) | scale |
Definition at line 1501 of file HeadUpDisplay.m.
References nonlinearScannerFunc().
Referenced by HeadUpDisplay(Private)::drawScanner:, and GLDrawNonlinearCascadeWeapon.
|
implementation |
Definition at line 4125 of file HeadUpDisplay.m.
References drawHighlight, OODrawPlanetInfo(), OOGL, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, sGlyphWidths, x, and y.
|
implementation |
Definition at line 4047 of file HeadUpDisplay.m.
References drawHighlight, OODrawString(), OOGL, OORectFromString(), OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, x, and y.
|
implementation |
Definition at line 4070 of file HeadUpDisplay.m.
References OOTexture::apply, OOTexture::applyNone, OOColor::colorWithRed:green:blue:alpha:, drawCharacterQuad, OOGL, OOGLBEGIN, OOGLEND, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, sF6KernGovt, sF6KernTL, x, and y.
|
implementation |
Definition at line 3993 of file HeadUpDisplay.m.
References OODrawStringAligned(), x, and y.
|
implementation |
Definition at line 3999 of file HeadUpDisplay.m.
References OODrawStringQuadsAligned(), OOStartDrawingStrings(), OOStopDrawingStrings(), x, and y.
|
implementation |
Definition at line 4015 of file HeadUpDisplay.m.
References OOEncodingConverter::convertString:, drawCharacterQuad, EXPECT_NOT, nil, OORectFromString(), x, and y.
|
implementation |
Definition at line 3907 of file HeadUpDisplay.m.
References DESTROY, sEncodingCoverter, and sFontTexture.
|
implementation |
Definition at line 3936 of file HeadUpDisplay.m.
References OOEncodingConverter::convertString:, nil, sGlyphWidths, x, and y.
|
implementation |
Definition at line 4006 of file HeadUpDisplay.m.
References OOTexture::apply, OOGL, OOGLBEGIN, OOSetOpenGLState, and OPENGL_STATE_OVERLAY.
|
implementation |
Definition at line 4037 of file HeadUpDisplay.m.
References OOTexture::applyNone, OOGL, OOGLEND, and OOVerifyOpenGLState.
|
implementation |
Definition at line 3956 of file HeadUpDisplay.m.
References GLYPH_SCALE_FACTOR, and OORectFromString().
- (GLfloat) overallAlpha |
References overallAlpha.
|
implementation |
Definition at line 1167 of file HeadUpDisplay.m.
References CachedInfo::alpha, CachedInfo::height, prefetchData, CachedInfo::width, CachedInfo::x, CachedInfo::x0, CachedInfo::y, and CachedInfo::y0.
Referenced by addDial:, addLegend:, addMFD:, InitTextEngine(void), and prefetchData.
- (NSMutableDictionary *) propertiesReticleTargetSensitive |
References isHidden, and propertiesReticleTargetSensitive.
- (void) refreshLastTransmitter |
Definition at line 1533 of file HeadUpDisplay.m.
References Entity::isShip, nil, refreshLastTransmitter, and ShipEntity::setMessageTime:.
Referenced by crosshairDefinition, and refreshLastTransmitter.
- (void) renderHUD |
Definition at line 835 of file HeadUpDisplay.m.
References _crosshairWidth, drawCrosshairs, drawDials, drawLegends, drawMFDs, GLScaledLineWidth(), hudUpdating, lineWidth, OOCheckOpenGLErrors(), OOGL, OOVerifyOpenGLState, and renderHUD.
Referenced by crosshairDefinition, Universe::drawUniverse, and renderHUD.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 363 of file HeadUpDisplay.m.
References ALPHA_KEY, BACKGROUND_RGBA_KEY, OOColor::colorFromString:, HEIGHT_KEY, 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 resetGuis:.
|
implementation |
Provided by category HeadUpDisplay(Private).
Definition at line 388 of file HeadUpDisplay.m.
References GuiDisplayGen::drawPosition, GuiDisplayGen::setDrawPosition:, X_KEY, and Y_KEY.
Referenced by HeadUpDisplay(Private)::resetGui:withInfo:, and resetGuiPositions.
- (void) resetGuiPositions |
Definition at line 404 of file HeadUpDisplay.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, hudName, resetGuiPosition:withInfo:, and resetGuiPositions.
Referenced by PlayerEntity::doGuiScreenResizeUpdates, and resetGuiPositions.
- (void) resetGuis: | (NSDictionary *) | info |
Definition at line 425 of file HeadUpDisplay.m.
References OOColor::colorFromString:, OOColor::colorWithDescription:, OOColor::colorWithRed:green:blue:alpha:, count, GuiDisplayGen::getLastLines, OOColor::greenColor, nil, GuiDisplayGen::printLongText:align:color:fadeTime:key:addToArray:, resetGui:withInfo:, GuiDisplayGen::resizeTo:characterHeight:title:, GuiDisplayGen::setAlpha:, GuiDisplayGen::setBackgroundColor:, GuiDisplayGen::setCharacterSize:, GuiDisplayGen::setCurrentRow:, GuiDisplayGen::setDrawPosition:, GuiDisplayGen::setTextColor:, GuiDisplayGen::setTextCommsColor:, GuiDisplayGen::stopFadeOuts, UNIVERSE, OOColor::whiteColor, and OOColor::yellowColor.
Referenced by PlayerEntity::deferredInit, and PlayerEntity::switchHudTo:.
- (OOColor *) reticleColorForIndex: | (NSUInteger) | idx |
Definition at line 565 of file HeadUpDisplay.m.
References _reticleColors, count, and nil.
Referenced by PlayerShipGetProperty().
- (BOOL) reticleTargetSensitive |
References reticleTargetSensitive.
- (BOOL) scannerUltraZoom |
Definition at line 1521 of file HeadUpDisplay.m.
References scanner_ultra_zoom, and scannerUltraZoom.
Referenced by lineWidth, and scannerUltraZoom.
- (GLfloat) scannerZoom |
Definition at line 586 of file HeadUpDisplay.m.
References scanner_zoom, and scannerZoom.
Referenced by PlayerEntity::commanderDataDictionary, PlayerEntity::doBookkeeping:, hudName, scannerZoom, and PlayerEntity::switchHudTo:.
- (void) setCompassActive: | (BOOL) | newValue |
Definition at line 680 of file HeadUpDisplay.m.
References _compassActive.
Referenced by PlayerEntity(OOPrivate)::noteCompassLostTarget, and PlayerEntity::switchHudTo:.
|
implementation |
- (BOOL) setCrosshairDefinition: | (NSString *) | newDefinition |
Definition at line 966 of file HeadUpDisplay.m.
References _crosshairOverrides, _crosshairs, count, crosshairDefinition, ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, and nil.
Referenced by initWithDictionary:inFile:.
- (void) setDeferredHudName: | (NSString *) | newDeferredHudName |
Definition at line 692 of file HeadUpDisplay.m.
References deferredHudName.
Referenced by PlayerEntity::switchHudTo:.
- (void) setHidden: | (BOOL) | newValue |
Definition at line 633 of file HeadUpDisplay.m.
References hudHidden.
Referenced by PlayerShipSetProperty(), PlayerEntity(OOControlsPrivate)::pollApplicationControls, PlayerEntity::setUpShipFromDictionary:, and PlayerEntity::switchHudTo:.
- (void) setHiddenSelector: | (NSString *) | selectorName | |
hidden: | (BOOL) | hide |
Definition at line 655 of file HeadUpDisplay.m.
Referenced by PlayerShipHideHUDSelector(), and PlayerShipShowHUDSelector().
- (void) setHudName: | (NSString *) | newHudName |
- (void) setLineWidth: | (GLfloat) | value |
Definition at line 4405 of file HeadUpDisplay.m.
References lineWidth.
Referenced by Universe::drawUniverse.
- (void) setMinimalisticScanner: | (BOOL) | newValue |
Definition at line 1495 of file HeadUpDisplay.m.
References minimalistic_scanner.
Referenced by PlayerShipSetProperty().
- (void) setNonlinearScanner: | (BOOL) | newValue |
Definition at line 1515 of file HeadUpDisplay.m.
References nonlinear_scanner.
Referenced by PlayerShipSetProperty().
- (void) setOverallAlpha: | (GLfloat) | newAlphaValue |
Definition at line 603 of file HeadUpDisplay.m.
References overallAlpha.
Referenced by Universe::drawUniverse.
- (BOOL) setReticleColorForIndex: | (NSUInteger) | idx | |
toColor: | (OOColor *) | newColor |
Definition at line 575 of file HeadUpDisplay.m.
References _reticleColors, and count.
Referenced by PlayerShipSetProperty().
- (void) setReticleTargetSensitive: | (BOOL) | newReticleTargetSensitiveValue |
Definition at line 615 of file HeadUpDisplay.m.
References reticleTargetSensitive.
Referenced by PlayerShipSetProperty().
- (void) setScannerUltraZoom: | (BOOL) | newValue |
Definition at line 1527 of file HeadUpDisplay.m.
References scanner_ultra_zoom.
Referenced by PlayerShipSetProperty().
- (void) setScannerZoom: | (GLfloat) | value |
Definition at line 592 of file HeadUpDisplay.m.
References scanner_zoom.
Referenced by PlayerEntity::doBookkeeping:, PlayerEntity::enterDock:, PlayerEntity::leaveDock:, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::switchHudTo:.
|
private |
Definition at line 281 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, isCompassActive, and setCompassActive:.
|
private |
Definition at line 277 of file HeadUpDisplay.h.
Referenced by dealloc, and initWithDictionary:inFile:.
|
private |
Definition at line 276 of file HeadUpDisplay.h.
Referenced by dealloc, initWithDictionary:inFile:, and setCrosshairDefinition:.
|
private |
Definition at line 272 of file HeadUpDisplay.h.
Referenced by setCrosshairDefinition:.
|
private |
Definition at line 278 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:.
|
private |
Definition at line 279 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, and renderHUD.
|
private |
Definition at line 269 of file HeadUpDisplay.h.
Referenced by dealloc, and initWithDictionary:inFile:.
|
private |
Definition at line 274 of file HeadUpDisplay.h.
|
private |
Definition at line 275 of file HeadUpDisplay.h.
|
private |
Definition at line 273 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:.
|
private |
Definition at line 283 of file HeadUpDisplay.h.
Referenced by dealloc, initWithDictionary:inFile:, reticleColorForIndex:, and setReticleColorForIndex:toColor:.
|
private |
Definition at line 639 of file HeadUpDisplay.m.
Referenced by allowBigGui, initWithDictionary:inFile:, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
|
private |
Definition at line 261 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:.
|
private |
Definition at line 960 of file HeadUpDisplay.m.
Referenced by crosshairDefinition, dealloc, initWithDictionary:inFile:, PlayerShipGetProperty(), and setCrosshairDefinition:.
|
private |
Definition at line 699 of file HeadUpDisplay.m.
Referenced by dealloc, deferredHudName, Universe::drawUniverse, initWithDictionary:inFile:, and setDeferredHudName:.
|
private |
Definition at line 241 of file HeadUpDisplay.h.
Referenced by dealloc, and initWithDictionary:inFile:.
|
private |
Definition at line 263 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, isHidden, and setHidden:.
|
private |
Definition at line 549 of file HeadUpDisplay.m.
Referenced by addDial:, dealloc, hudName, initWithDictionary:inFile:, PlayerShipGetProperty(), PlayerShipSetProperty(), resetGuiPositions, and setHudName:.
|
private |
Definition at line 254 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, isUpdating, and renderHUD.
|
private |
Definition at line 267 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:.
|
private |
Definition at line 240 of file HeadUpDisplay.h.
Referenced by dealloc, and initWithDictionary:inFile:.
|
private |
Definition at line 4411 of file HeadUpDisplay.m.
Referenced by initWithDictionary:inFile:, lineWidth, renderHUD, and setLineWidth:.
|
private |
Definition at line 242 of file HeadUpDisplay.h.
Referenced by dealloc, and initWithDictionary:inFile:.
|
private |
Definition at line 286 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, minimalisticScanner, and setMinimalisticScanner:.
|
private |
Definition at line 289 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, nonlinearScanner, and setNonlinearScanner:.
|
private |
Definition at line 597 of file HeadUpDisplay.m.
Referenced by drawPrimedEquipment:, Universe::drawUniverse, initWithDictionary:inFile:, overallAlpha, and setOverallAlpha:.
|
private |
Definition at line 621 of file HeadUpDisplay.m.
Referenced by dealloc, hudDrawReticleOnTarget, initWithDictionary:inFile:, and propertiesReticleTargetSensitive.
|
private |
Definition at line 609 of file HeadUpDisplay.m.
Referenced by hudDrawReticleOnTarget, initWithDictionary:inFile:, reticleTargetSensitive, and setReticleTargetSensitive:.
|
private |
Definition at line 290 of file HeadUpDisplay.h.
Referenced by initWithDictionary:inFile:, scannerUltraZoom, and setScannerUltraZoom:.
|
private |
Definition at line 245 of file HeadUpDisplay.h.
Referenced by scannerZoom, and setScannerZoom:.
|
private |
Definition at line 248 of file HeadUpDisplay.h.
Referenced by drawIconForEmptyPylonAtX:y:width:height:alpha:, drawIconForMissile:selected:status:x:y:width:height:alpha:, drawPrimedEquipment:, hudDrawReticleOnTarget, and hudDrawWaypoint.