![]() |
Oolite 1.91.0.7650-250121-affa790
|
#include <PlayerEntityControls.h>
Instance Methods | |
(void) | - initControls |
(void) | - initKeyConfigSettings |
(void) | - pollControls: |
(BOOL) | - handleGUIUpDownArrowKeys |
(void) | - clearPlanetSearchString |
(void) | - targetNewSystem: |
(void) | - switchToMainView |
(void) | - noteSwitchToView:fromView: |
(void) | - beginWitchspaceCountdown: |
(void) | - beginWitchspaceCountdown |
(void) | - cancelWitchspaceCountdown |
(NSArray *) | - processKeyCode: |
(BOOL) | - checkNavKeyPress: |
(BOOL) | - checkKeyPress: |
(BOOL) | - checkKeyPress:fKey_only: |
(BOOL) | - checkKeyPress:ignore_ctrl: |
(BOOL) | - checkKeyPress:fKey_only:ignore_ctrl: |
(int) | - getFirstKeyCode: |
(void) | - targetNewSystem:whileTyping: [implementation] |
Definition at line 30 of file PlayerEntityControls.h.
- (void) beginWitchspaceCountdown |
Extends class PlayerEntity.
Definition at line 891 of file PlayerEntityControls.m.
References beginWitchspaceCountdown, and PlayerEntity::beginWitchspaceCountdown:.
Referenced by beginWitchspaceCountdown, and beginWitchspaceCountdown:.
- (void) beginWitchspaceCountdown: | (int) | spin_time |
Extends class PlayerEntity.
Definition at line 856 of file PlayerEntityControls.m.
References beginWitchspaceCountdown, ShipEntity::doScriptEvent:withArguments:, PlayerEntity::nextHopTargetSystemID, PlayerEntity::playStandardHyperspace, and ShipEntity::setStatus:.
- (void) cancelWitchspaceCountdown |
Extends class PlayerEntity.
Definition at line 899 of file PlayerEntityControls.m.
References cancelWitchspaceCountdown, ShipEntity::doScriptEvent:, PlayerEntity::playHyperspaceAborted, and ShipEntity::setStatus:.
Referenced by cancelWitchspaceCountdown.
- (BOOL) checkKeyPress: | (NSArray*) | key_def |
Extends class PlayerEntity.
Definition at line 613 of file PlayerEntityControls.m.
References PlayerEntity::checkKeyPress:fKey_only:ignore_ctrl:.
- (BOOL) checkKeyPress: | (NSArray*) | key_def | |
fKey_only: | (BOOL) | fKey_only |
Extends class PlayerEntity.
Definition at line 619 of file PlayerEntityControls.m.
References PlayerEntity::checkKeyPress:fKey_only:ignore_ctrl:.
- (BOOL) checkKeyPress: | (NSArray*) | key_def | |
fKey_only: | (BOOL) | fKey_only | |
ignore_ctrl: | (BOOL) | ignore_ctrl |
Extends class PlayerEntity.
Definition at line 631 of file PlayerEntityControls.m.
References gvFunctionKey11.
- (BOOL) checkKeyPress: | (NSArray*) | key_def | |
ignore_ctrl: | (BOOL) | ignore_ctrl |
Extends class PlayerEntity.
Definition at line 625 of file PlayerEntityControls.m.
References PlayerEntity::checkKeyPress:fKey_only:ignore_ctrl:.
- (BOOL) checkNavKeyPress: | (NSArray*) | key_def |
Extends class PlayerEntity.
Definition at line 600 of file PlayerEntityControls.m.
- (void) clearPlanetSearchString |
Extends class PlayerEntity.
Definition at line 819 of file PlayerEntityControls.m.
References clearPlanetSearchString, and nil.
Referenced by clearPlanetSearchString.
- (int) getFirstKeyCode: | (NSArray*) | key_def |
Extends class PlayerEntity.
Definition at line 656 of file PlayerEntityControls.m.
References int().
- (BOOL) handleGUIUpDownArrowKeys |
Extends class PlayerEntity.
Definition at line 716 of file PlayerEntityControls.m.
References PlayerEntity::checkKeyPress:, MyOpenGLView::clearMouse, handleGUIUpDownArrowKeys, MyOpenGLView::isDown:, KEY_REPEAT_INTERVAL, PlayerEntity::playMenuNavigationDown, PlayerEntity::playMenuNavigationNot, PlayerEntity::playMenuNavigationUp, timeLastKeyPress, UNIVERSE, and upDownKeyPressed.
Referenced by handleGUIUpDownArrowKeys.
- (void) initControls |
Extends class PlayerEntity.
Definition at line 207 of file PlayerEntityControls.m.
References initControls, and PlayerEntity::initKeyConfigSettings.
Referenced by initControls.
- (void) initKeyConfigSettings |
Extends class PlayerEntity.
Definition at line 297 of file PlayerEntityControls.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:mergeMode:cache:, gvArrowKeyDown, gvArrowKeyLeft, gvArrowKeyRight, gvArrowKeyUp, gvEndKey, gvFunctionKey1, gvFunctionKey2, gvFunctionKey3, gvFunctionKey4, gvFunctionKey5, gvFunctionKey6, gvFunctionKey7, gvFunctionKey8, gvFunctionKey9, gvHomeKey, gvNumberPadKeyDivide, gvNumberPadKeyEnter, gvNumberPadKeyMinus, gvNumberPadKeyMultiply, gvNumberPadKeyPlus, gvPageDownKey, gvPageUpKey, initKeyConfigSettings, KEYCONFIG_CUSTOMEQUIP, LOAD_KEY_SETTING2, nil, and PlayerEntity::processKeyCode:.
Referenced by initKeyConfigSettings.
Extends class PlayerEntity.
Definition at line 849 of file PlayerEntityControls.m.
References PlayerEntity::switchToThisView:fromView:andProcessWeaponFacing:justNotify:.
- (void) pollControls: | (double) | delta_t |
Extends class PlayerEntity.
Definition at line 663 of file PlayerEntityControls.m.
References kOOLogException, OOLog, PlayerEntity::pollApplicationControls, PlayerEntity::pollAutopilotControls:, PlayerEntity::pollDemoControls:, PlayerEntity::pollDockedControls:, PlayerEntity::pollFlightControls:, and PlayerEntity::pollGameOverControls:.
- (NSArray *) processKeyCode: | (NSArray*) | key_def |
Extends class PlayerEntity.
Definition at line 524 of file PlayerEntityControls.m.
- (void) switchToMainView |
Extends class PlayerEntity.
Definition at line 833 of file PlayerEntityControls.m.
References MyOpenGLView::allowStringInput:, PlayerEntity::noteGUIDidChangeFrom:to:, PlayerEntity::setShowDemoShips:, and switchToMainView.
Referenced by switchToMainView.
- (void) targetNewSystem: | (int) | direction |
Extends class PlayerEntity.
Definition at line 827 of file PlayerEntityControls.m.
References PlayerEntity::targetNewSystem:whileTyping:.
|
implementation |
Extends class PlayerEntity.
Definition at line 804 of file PlayerEntityControls.m.
References PlayerEntity::clearPlanetSearchString, cursor_moving, and PlayerEntity::setInfoSystemID:moveChart:.