|
Oolite
|
#include <MyOpenGLView.h>
Class Methods | |
| (BOOL) | + pollShiftKey |
Definition at line 164 of file MyOpenGLView.h.
| - (void) adjustColorSaturation: | (float) | colorSaturationAdjustment |
Definition at line 1008 of file MyOpenGLView.m.
References _colorSaturation, MAX_COLOR_SATURATION, and OOClamp_0_max_f().
Referenced by PlayerEntity(OOPrivate)::gameOverFadeToBW, OoliteSetProperty(), and OoliteSetProperty().
| - (void) allowStringInput: | (BOOL) | value |
Provided by category MyOpenGLView(Input).
Definition at line 63 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollApplicationControls, PlayerEntity(OOControlsPrivate)::pollDemoControls:, PlayerEntity(OOControlsPrivate)::pollDockedControls:, PlayerEntity(OOControlsPrivate)::pollFlightControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity(Controls)::switchToMainView.
| - (void) autoShowMouse |
Provided by category MyOpenGLView(Input).
Definition at line 48 of file MyOpenGLView+Input.m.
Referenced by endSplashScreen, init, initialiseGLWithSize:, and MyOpenGLView(Input)::noteMouseInteractionModeChangedFrom:to:.
| - (NSSize) backingViewSize |
Definition at line 642 of file MyOpenGLView.m.
References backingViewSize, and bounds.
Referenced by backingViewSize, Universe::drawUniverse, Universe::gameSettings, Universe::initWithGameView:, and viewSize.
| - (void) clearCommandF |
Provided by category MyOpenGLView(Input).
Definition at line 221 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollApplicationControls.
| - (void) clearKey: | (int) | theKey |
Provided by category MyOpenGLView(Input).
Definition at line 115 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightControls:.
| - (void) clearKeys |
Provided by category MyOpenGLView(Input).
Definition at line 102 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(KeyMapper)::handleKeyboardLayoutEntryKeys:view:, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, PlayerEntity(OOControlsPrivate)::pollFlightControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollGuiScreenControlsWithFKeyAlias:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(OOControlsPrivate)::setGuiToMissionEndScreen, and MyOpenGLView(Input)::suppressKeysUntilKeyUp.
| - (void) clearMouse |
Provided by category MyOpenGLView(Input).
Definition at line 109 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(Controls)::handleGUIUpDownArrowKeys, PlayerEntity(KeyMapper)::handleKeyboardLayoutEntryKeys:view:, PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:, PlayerEntity(KeyMapper)::handleKeyMapperConfirmClearKeys:view:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, PlayerEntity(OOControlsPrivate)::pollDemoControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollGuiScreenControlsWithFKeyAlias:, PlayerEntity(OOControlsPrivate)::pollMarketScreenControls, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, and MyOpenGLView(Input)::suppressKeysUntilKeyUp.
| - (float) colorSaturation |
Definition at line 1003 of file MyOpenGLView.m.
References _colorSaturation, and colorSaturation.
Referenced by colorSaturation, gameController, PlayerEntity(OOPrivate)::gameOverFadeToBW, OoliteSetProperty(), and OoliteSetProperty().
| - (void) createWindowWithSize: | (NSSize) | size |
Definition at line 106 of file MyOpenGLView.m.
References _colorSaturation, _hdrOutput, _sdrToneMapper, bitsPerColorComponent, bounds, getWindowCaption, glContext, OOHDRToneMapperFromString(), OOLITE_WINDOWS, OOLog, OOLogERR, OOLogWARN, OOSDRToneMapperFromString(), vSyncPreference, and window.
Referenced by endSplashScreen, initialiseGLWithSize:, and initSplashScreen.
| - (NSDictionary *) currentScreenMode |
Definition at line 1276 of file MyOpenGLView.m.
References currentScreenMode.
Referenced by currentScreenMode, and modeAsSize:.
| - (NSSize) currentScreenSize |
Definition at line 1264 of file MyOpenGLView.m.
References currentScreenSize, kOODisplayHeight, kOODisplayWidth, OOLog, WINDOW_SIZE_DEFAULT_HEIGHT, and WINDOW_SIZE_DEFAULT_WIDTH.
Referenced by currentScreenSize, and modeAsSize:.
|
implementation |
Definition at line 601 of file MyOpenGLView.m.
References dealloc, glContext, keyMappings_normal, keyMappings_shifted, matrixManager, screenSizes, typedString, and window.
Referenced by dealloc, and init.
| - (void) dumpGrayAlphaToFileNamed: | (NSString*) | name | |
| bytes: | (uint8_t*) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes |
Definition at line 1383 of file MyOpenGLView.m.
Referenced by OODumpPixMap().
| - (void) dumpGrayToFileNamed: | (NSString*) | name | |
| bytes: | (uint8_t*) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes |
Definition at line 1355 of file MyOpenGLView.m.
Referenced by dumpRGBAToRGBFileNamed:andGrayFileNamed:bytes:width:height:rowBytes:, and OODumpPixMap().
| - (void) dumpRGBAToFileNamed: | (NSString*) | name | |
| bytes: | (uint8_t*) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes |
Definition at line 1319 of file MyOpenGLView.m.
References nil.
| - (void) dumpRGBAToRGBFileNamed: | (NSString*) | rgbName | |
| andGrayFileNamed: | (NSString*) | grayName | |
| bytes: | (uint8_t*) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes |
Definition at line 1411 of file MyOpenGLView.m.
References dumpGrayToFileNamed:bytes:width:height:rowBytes:, dumpRGBToFileNamed:bytes:width:height:rowBytes:, nil, x, and y.
Referenced by OODumpPixMap().
| - (void) dumpRGBToFileNamed: | (NSString*) | name | |
| bytes: | (uint8_t*) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes |
Definition at line 1337 of file MyOpenGLView.m.
References nil.
Referenced by dumpRGBAToRGBFileNamed:andGrayFileNamed:bytes:width:height:rowBytes:.
| - (void) endSplashScreen |
Definition at line 425 of file MyOpenGLView.m.
References autoShowMouse, createWindowWithSize:, endSplashScreen, GameController::exitAppWithContext:, fullScreen, glContext, hdrOutput, initialiseGLWithSize:, isOutputDisplayHDREnabled, OOLog, showSplashScreen, updateScreen, and window.
Referenced by GameController::endSplashScreen, endSplashScreen, and initSplashScreen.
| - (int) findDisplayModeForWidth: | (unsigned int) | d_width | |
| Height: | (unsigned int) | d_height | |
| Refresh: | (unsigned int) | d_refresh |
Definition at line 1240 of file MyOpenGLView.m.
References int(), OOLog, and screenSizes.
Referenced by loadFullscreenSettings.
| - (float) fov: | (BOOL) | inFraction |
Definition at line 1287 of file MyOpenGLView.m.
Referenced by HeadUpDisplay::drawScannerGrid, Universe::drawUniverse, Universe::gameSettings, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, and PlayerEntity::setGuiToGameOptionsScreen.
| - (GameController *) gameController |
References colorSaturation, gameController, getDisplayId, getNativeSize, hdrOutput, isOutputDisplayHDREnabled, isRunningOnPrimaryDisplayDevice, sdrToneMapper, and updateScreen.
| - (void) getDisplayDimensions: | (unsigned*) | width | |
| height: | (unsigned*) | height |
Definition at line 858 of file MyOpenGLView.m.
References window.
Referenced by PlayerEntity::setGuiToGameOptionsScreen.
| - (SDL_DisplayID) getDisplayId |
Definition at line 59 of file MyOpenGLView.m.
References getDisplayId, OOLog, and window.
Referenced by gameController, getDisplayId, getNativeSize, and populateFullScreenModelist.
| - (NSMutableDictionary *) getNativeSize |
Definition at line 77 of file MyOpenGLView.m.
References getDisplayId, getNativeSize, and OOLog.
Referenced by gameController, getNativeSize, and populateFullScreenModelist.
| - (OOOpenGLMatrixManager *) getOpenGLMatrixManager |
Definition at line 1302 of file MyOpenGLView.m.
References getOpenGLMatrixManager, and matrixManager.
Referenced by getOpenGLMatrixManager, and modeAsSize:.
| - (NSMutableArray *) getScreenSizeArray |
References getScreenSizeArray, and populateFullScreenModelist.
Referenced by getScreenSizeArray.
| - (NSString *) getWindowCaption |
Definition at line 100 of file MyOpenGLView.m.
References getWindowCaption.
Referenced by createWindowWithSize:, and getWindowCaption.
| - (void) grabMouseInsideGameWindow: | (BOOL) | value |
Definition at line 883 of file MyOpenGLView.m.
References grabMouseStatus, and window.
Referenced by PlayerEntity(OOControlsPrivate)::pollApplicationControls.
| - (void) handleStringInput: | (SDL_KeyboardEvent*) | kbd_event | |
| keyID: | (Uint16) | key_id |
Provided by category MyOpenGLView(Input).
Definition at line 862 of file MyOpenGLView+Input.m.
Referenced by MyOpenGLView(Input)::pollControls.
| - (BOOL) hdrOutput |
Definition at line 977 of file MyOpenGLView.m.
References hdrOutput.
Referenced by endSplashScreen, gameController, hdrOutput, and snapShot:.
| - (BOOL) inFullScreenMode |
Definition at line 672 of file MyOpenGLView.m.
References fullScreen, and inFullScreenMode.
Referenced by inFullScreenMode, and setFullScreenMode:.
| - (void) initialiseGLWithSize: | (NSSize) | v_size |
Definition at line 553 of file MyOpenGLView.m.
References autoShowMouse, createWindowWithSize:, fullScreen, OOLog, setUpBasicOpenGLStateWithSize, squareX, updateGLSize:, viewSize, and window.
Referenced by endSplashScreen, and init.
| - (void) initKeyMappingData |
Provided by category MyOpenGLView(Input).
Definition at line 30 of file MyOpenGLView+Input.m.
Referenced by init.
| - (void) initSplashScreen |
Definition at line 745 of file MyOpenGLView.m.
References ResourceManager::builtInPath, createWindowWithSize:, endSplashScreen, initSplashScreen, OOLog, OOLogWARN, OOSetOpenGLState, OOVerifyOpenGLState, OPENGL_STATE_OVERLAY, OOOpenGLMatrixManager::orthoLeft:right:bottom:top:near:far:, OOOpenGLMatrixManager::resetModelView, OOOpenGLMatrixManager::resetProjection, showSplashScreen, OOOpenGLMatrixManager::syncModelView, OOOpenGLMatrixManager::syncProjection, and window.
Referenced by GameController::beginSplashScreen, and initSplashScreen.
| - (BOOL) isCapsLockOn |
Provided by category MyOpenGLView(Input).
Definition at line 178 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:.
| - (BOOL) isCommandDown |
Provided by category MyOpenGLView(Input).
Definition at line 170 of file MyOpenGLView+Input.m.
| - (BOOL) isCommandFDown |
Provided by category MyOpenGLView(Input).
Definition at line 217 of file MyOpenGLView+Input.m.
|
implementation |
Provided by category MyOpenGLView(OOLoadSaveExtensions).
Definition at line 1132 of file PlayerEntityLoadSave.m.
| - (BOOL) isCommandQDown |
Provided by category MyOpenGLView(Input).
Definition at line 213 of file MyOpenGLView+Input.m.
| - (BOOL) isCtrlDown |
Provided by category MyOpenGLView(Input).
Definition at line 166 of file MyOpenGLView+Input.m.
Referenced by MyOpenGLView(OOLoadSaveExtensions)::isCommandModifierKeyDown, PlayerEntity(OOControlsPrivate)::pollCustomViewControls, PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| - (BOOL) isDown: | (int) | key |
Provided by category MyOpenGLView(Input).
Definition at line 152 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(Controls)::handleGUIUpDownArrowKeys, PlayerEntity(KeyMapper)::handleKeyboardLayoutEntryKeys:view:, PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:, PlayerEntity(KeyMapper)::handleKeyMapperConfirmClearKeys:view:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, and PlayerEntity(StickMapper)::stickMapperInputHandler:view:.
| - (BOOL) isOptDown |
Provided by category MyOpenGLView(Input).
Definition at line 162 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| - (BOOL) isOutputDisplayHDREnabled |
Definition at line 982 of file MyOpenGLView.m.
References isOutputDisplayHDREnabled.
Referenced by endSplashScreen, gameController, and isOutputDisplayHDREnabled.
| - (BOOL) isRunningOnPrimaryDisplayDevice |
Definition at line 871 of file MyOpenGLView.m.
References isRunningOnPrimaryDisplayDevice, and window.
Referenced by gameController, isRunningOnPrimaryDisplayDevice, and PlayerEntity::setGuiToGameOptionsScreen.
| - (BOOL) isShiftDown |
Provided by category MyOpenGLView(Input).
Definition at line 174 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollCustomViewControls, and PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:.
| - (BOOL) lastKeyWasShifted |
Provided by category MyOpenGLView(Input).
Definition at line 188 of file MyOpenGLView+Input.m.
| - (int) loadFullscreenSettings |
Definition at line 1205 of file MyOpenGLView.m.
References currentSize, findDisplayModeForWidth:Height:Refresh:, fullScreen, int(), and loadFullscreenSettings.
Referenced by init, loadFullscreenSettings, and modeAsSize:.
| - (NSSize) loadWindowSize |
Definition at line 1191 of file MyOpenGLView.m.
References currentWindowSize, loadWindowSize, WINDOW_SIZE_DEFAULT_HEIGHT, and WINDOW_SIZE_DEFAULT_WIDTH.
Referenced by init, loadWindowSize, and modeAsSize:.
| - (NSSize) modeAsSize: | (int) | sizeIndex |
References currentScreenMode, currentScreenSize, getOpenGLMatrixManager, int(), loadFullscreenSettings, loadWindowSize, msaa, and pollShiftKey.
| - (float) mouseWheelDelta |
Provided by category MyOpenGLView(Input).
Definition at line 205 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity::doBookkeeping:.
| - (int) mouseWheelState |
Provided by category MyOpenGLView(Input).
Definition at line 196 of file MyOpenGLView+Input.m.
| - (BOOL) msaa |
Definition at line 1292 of file MyOpenGLView.m.
Referenced by modeAsSize:, and msaa.
| - (void) noteMouseInteractionModeChangedFrom: | (OOMouseInteractionMode) | oldMode | |
| to: | (OOMouseInteractionMode) | newMode |
Provided by category MyOpenGLView(Input).
Definition at line 86 of file MyOpenGLView+Input.m.
Referenced by GameController::setMouseInteractionMode:.
| - (int) numKeys |
Provided by category MyOpenGLView(Input).
Definition at line 192 of file MyOpenGLView+Input.m.
Referenced by MyOpenGLView(Input)::clearKeys.
| - (void) pollControls |
Provided by category MyOpenGLView(Input).
Definition at line 225 of file MyOpenGLView+Input.m.
Referenced by GameController::performGameTick:.
| + (BOOL) pollShiftKey |
Definition at line 1307 of file MyOpenGLView.m.
References pollShiftKey.
Referenced by modeAsSize:, and pollShiftKey.
| - (void) populateFullScreenModelist |
Definition at line 1145 of file MyOpenGLView.m.
References getDisplayId, getNativeSize, OOLog, populateFullScreenModelist, and screenSizes.
Referenced by getScreenSizeArray, init, and populateFullScreenModelist.
| - (void) resetMouse |
Provided by category MyOpenGLView(Input).
Definition at line 121 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollApplicationControls, MyOpenGLView(Input)::pollControls, and PlayerEntity(OOControlsPrivate)::pollCustomViewControls.
| - (void) resetTypedString |
Provided by category MyOpenGLView(Input).
Definition at line 78 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and PlayerEntity(Scripting)::setMissionChoiceByTextEntry:.
| - (void) saveWindowSize: | (NSSize) | windowSize |
Definition at line 1183 of file MyOpenGLView.m.
References currentWindowSize.
Referenced by MyOpenGLView(Input)::pollControls.
| - (OOSDRToneMapper) sdrToneMapper |
Definition at line 989 of file MyOpenGLView.m.
References _sdrToneMapper, and sdrToneMapper.
Referenced by gameController, Universe::gameSettings, and sdrToneMapper.
| - (void) setDisplayMode: | (int) | mode | |
| fullScreen: | (BOOL) | fsm |
| - (void) setFov: | (float) | value | |
| fromFraction: | (BOOL) | fromFraction |
Definition at line 1282 of file MyOpenGLView.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, and Universe::initWithGameView:.
| - (void) setFullScreenMode: | (BOOL) | fsm |
| - (void) setGameController: | (GameController*) | controller |
Definition at line 667 of file MyOpenGLView.m.
References gameController.
Referenced by GameController::beginSplashScreen, and GameController::setGameView:.
| - (void) setMouseInDeltaMode: | (BOOL) | inDelta |
Provided by category MyOpenGLView(Input).
Definition at line 897 of file MyOpenGLView+Input.m.
Referenced by MyOpenGLView(Input)::noteMouseInteractionModeChangedFrom:to:.
| - (void) setMouseWheelDelta: | (float) | newWheelDelta |
Provided by category MyOpenGLView(Input).
Definition at line 209 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity::doBookkeeping:.
| - (void) setMsaa: | (BOOL) | newMsaa |
Definition at line 1297 of file MyOpenGLView.m.
References _msaa.
Referenced by Universe::initWithGameView:.
| - (void) setScreenSize: | (int) | sizeIndex |
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys.
| - (void) setSDRToneMapper: | (OOSDRToneMapper) | newToneMapper |
Definition at line 994 of file MyOpenGLView.m.
References _sdrToneMapper, OOSDR_TONEMAPPER_NONE, and OOSDR_TONEMAPPER_REINHARD.
Referenced by OoliteSetProperty(), and OoliteSetProperty().
| - (void) setStringInput: | (enum StringInput) | value |
Provided by category MyOpenGLView(Input).
Definition at line 59 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(OOControlsPrivate)::pollDemoControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:.
| - (void) setTypedString: | (NSString*) | value |
Provided by category MyOpenGLView(Input).
Definition at line 82 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(LoadSave)::saveCommanderInputHandler, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:.
|
implementation |
Definition at line 516 of file MyOpenGLView.m.
References OOGL, setUpBasicOpenGLStateWithSize, OOOpenGLExtensionManager::sharedManager, and UNIVERSE.
Referenced by initialiseGLWithSize:, and setUpBasicOpenGLStateWithSize.
| - (void) setVirtualJoystick: | (double) | vmx | |
| vmy: | (double) | vmy |
Provided by category MyOpenGLView(Input).
Definition at line 91 of file MyOpenGLView+Input.m.
Referenced by MyOpenGLView(Input)::pollControls, and MyOpenGLView(Input)::resetMouse.
| - (BOOL) snapShot: | (NSString*) | filename |
Definition at line 1014 of file MyOpenGLView.m.
References hdrOutput, nil, OOGL, OOLog, SaveEXRSnapshot(), SNAPSHOTHDR_EXTENSION_DEFAULT, SNAPSHOTHDR_EXTENSION_EXR, SNAPSHOTHDR_EXTENSION_HDR, stbi_write_hdr(), window, and y.
Referenced by PlayerEntity(OOControlsPrivate)::pollApplicationControls.
| - (void) stringToClipboard: | (NSString*) | stringToCopy |
Definition at line 889 of file MyOpenGLView.m.
References OOLog.
| - (void) suppressKeysUntilKeyUp |
Provided by category MyOpenGLView(Input).
Definition at line 143 of file MyOpenGLView+Input.m.
Referenced by PlayerEntity(LoadSave)::commanderSelector, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, PlayerEntity(KeyMapper)::handleKeyMapperConfirmClearKeys:view:, PlayerEntity(LoadSave)::saveCommanderInputHandler, and PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:.
| - (void) toggleScreenMode |
References toggleScreenMode.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, MyOpenGLView(Input)::pollControls, and toggleScreenMode.
| - (void) updateGLSize: | (NSSize) | size |
Definition at line 493 of file MyOpenGLView.m.
References bounds, display_z, MAX_CLEAR_DEPTH, OOGL, OOGLFrustum(), OOGLResetProjection(), viewSize, x_offset, and y_offset.
Referenced by initialiseGLWithSize:, and MyOpenGLView(Input)::pollControls.
| - (void) updateScreen |
Definition at line 733 of file MyOpenGLView.m.
References UNIVERSE, updateScreen, and window.
Referenced by GameController::beginSplashScreen, endSplashScreen, gameController, updateScreen, and GameController::windowDidResize:.
| - (NSSize) viewSize |
|
protected |
Definition at line 232 of file MyOpenGLView.h.
Referenced by adjustColorSaturation:, colorSaturation, and createWindowWithSize:.
|
protected |
Definition at line 200 of file MyOpenGLView.h.
Referenced by fov:, and setFov:fromFraction:.
|
protected |
Definition at line 234 of file MyOpenGLView.h.
Referenced by createWindowWithSize:.
|
protected |
Definition at line 191 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 245 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 201 of file MyOpenGLView.h.
|
protected |
Definition at line 230 of file MyOpenGLView.h.
Referenced by createWindowWithSize:, sdrToneMapper, and setSDRToneMapper:.
|
protected |
Provided by category MyOpenGLView(Input).
Definition at line 174 of file MyOpenGLView.h.
References MyOpenGLView(Input)::allowingStringInput.
Referenced by MyOpenGLView(Input)::allowingStringInput, MyOpenGLView(Input)::allowStringInput:, MyOpenGLView(Input)::handleStringInput:keyID:, init, MyOpenGLView(Input)::pollControls, and MyOpenGLView(Input)::setStringInput:.
|
protected |
Definition at line 214 of file MyOpenGLView.h.
Referenced by createWindowWithSize:, and init.
|
protected |
Definition at line 632 of file MyOpenGLView.m.
Referenced by backingViewSize, createWindowWithSize:, and updateGLSize:.
|
protected |
Definition at line 173 of file MyOpenGLView.h.
|
protected |
Definition at line 173 of file MyOpenGLView.h.
|
protected |
Definition at line 205 of file MyOpenGLView.h.
Referenced by init, and loadFullscreenSettings.
|
protected |
Definition at line 209 of file MyOpenGLView.h.
Referenced by init, loadWindowSize, and saveWindowSize:.
|
protected |
Definition at line 647 of file MyOpenGLView.m.
Referenced by display_z, OOSunEntity::drawDirectVisionSunGlare, OOSunEntity::drawStarGlare, and updateGLSize:.
|
protected |
Definition at line 185 of file MyOpenGLView.h.
|
protected |
Definition at line 238 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 206 of file MyOpenGLView.h.
Referenced by endSplashScreen, inFullScreenMode, init, initialiseGLWithSize:, and loadFullscreenSettings.
|
protected |
Definition at line 662 of file MyOpenGLView.m.
Referenced by gameController, Universe::gameController, PlayerEntity(LoadSave)::quicksavePlayer, setGameController:, and PlayerEntity::setGuiToLoadSaveScreen.
|
protected |
Definition at line 213 of file MyOpenGLView.h.
Referenced by createWindowWithSize:, dealloc, and endSplashScreen.
|
protected |
Definition at line 236 of file MyOpenGLView.h.
Referenced by grabMouseInsideGameWindow:, and init.
|
protected |
Provided by category MyOpenGLView(Input).
Definition at line 175 of file MyOpenGLView.h.
References MyOpenGLView(Input)::isAlphabetKeyDown.
Referenced by MyOpenGLView(Input)::handleStringInput:keyID:, init, and MyOpenGLView(Input)::isAlphabetKeyDown.
|
protected |
Definition at line 177 of file MyOpenGLView.h.
|
protected |
Definition at line 168 of file MyOpenGLView.h.
Referenced by dealloc.
|
protected |
Definition at line 169 of file MyOpenGLView.h.
Referenced by dealloc.
|
protected |
Definition at line 166 of file MyOpenGLView.h.
|
protected |
Definition at line 173 of file MyOpenGLView.h.
|
protected |
Definition at line 240 of file MyOpenGLView.h.
Referenced by dealloc, getOpenGLMatrixManager, and init.
|
protected |
Definition at line 179 of file MyOpenGLView.h.
|
protected |
Definition at line 243 of file MyOpenGLView.h.
|
protected |
Definition at line 181 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 173 of file MyOpenGLView.h.
Definition at line 167 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 204 of file MyOpenGLView.h.
Referenced by dealloc, findDisplayModeForWidth:Height:Refresh:, and populateFullScreenModelist.
|
protected |
Definition at line 173 of file MyOpenGLView.h.
|
protected |
Definition at line 211 of file MyOpenGLView.h.
Referenced by endSplashScreen, init, and initSplashScreen.
|
protected |
Definition at line 197 of file MyOpenGLView.h.
Referenced by initialiseGLWithSize:.
|
protected |
Definition at line 197 of file MyOpenGLView.h.
|
protected |
Definition at line 171 of file MyOpenGLView.h.
|
protected |
Definition at line 183 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Definition at line 184 of file MyOpenGLView.h.
Referenced by init.
|
protected |
Provided by category MyOpenGLView(Input).
Definition at line 187 of file MyOpenGLView.h.
References MyOpenGLView(Input)::typedString.
Referenced by dealloc, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, MyOpenGLView(Input)::handleStringInput:keyID:, init, PlayerEntity(OOControlsPrivate)::pollDemoControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(Scripting)::refreshMissionScreenTextEntry, PlayerEntity(LoadSave)::saveCommanderInputHandler, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and MyOpenGLView(Input)::typedString.
|
protected |
Definition at line 637 of file MyOpenGLView.m.
Referenced by OOSunEntity::drawDirectVisionSunGlare, HeadUpDisplay::drawScannerGrid, OOSunEntity::drawStarGlare, init, initialiseGLWithSize:, updateGLSize:, and viewSize.
|
protected |
Provided by category MyOpenGLView(Input).
Definition at line 189 of file MyOpenGLView.h.
References MyOpenGLView(Input)::virtualJoystickPosition.
Referenced by init, MyOpenGLView(Input)::pollControls, PlayerEntity(OOControlsPrivate)::pollCustomViewControls, PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, MyOpenGLView(Input)::setVirtualJoystick:vmy:, and MyOpenGLView(Input)::virtualJoystickPosition.
|
protected |
Definition at line 215 of file MyOpenGLView.h.
Referenced by createWindowWithSize:, and init.
|
protected |
Definition at line 212 of file MyOpenGLView.h.
Referenced by createWindowWithSize:, dealloc, endSplashScreen, getDisplayDimensions:height:, getDisplayId, grabMouseInsideGameWindow:, initialiseGLWithSize:, initSplashScreen, isRunningOnPrimaryDisplayDevice, snapShot:, and updateScreen.
|
protected |
Definition at line 652 of file MyOpenGLView.m.
Referenced by updateGLSize:, and x_offset.
|
protected |
Definition at line 657 of file MyOpenGLView.m.
Referenced by updateGLSize:, and y_offset.