![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <PlayerEntityKeyMapper.h>
Definition at line 66 of file PlayerEntityKeyMapper.h.
|
implementation |
Extends class PlayerEntity.
Definition at line 1583 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1700 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1679 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1300 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 827 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 327 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 322 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1566 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 316 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 335 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 362 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 386 of file PlayerEntityKeyMapper.m.
- (void) handleKeyboardLayoutEntryKeys: | (GuiDisplayGen *) | gui | |
view: | (MyOpenGLView *) | gameView |
Extends class PlayerEntity.
Definition at line 1194 of file PlayerEntityKeyMapper.m.
References PlayerEntity::checkKeyPress:, MyOpenGLView::clearKeys, MyOpenGLView::clearMouse, current_row, GUI_ROW_KC_FUNCSTART, gvMouseDoubleClick, PlayerEntity::handleGUIUpDownArrowKeys, PlayerEntity::initCheckingDictionary, PlayerEntity::initKeyConfigSettings, MyOpenGLView::isDown:, GuiDisplayGen::keyForRow:, MAX_ROWS_KC_FUNCTIONS, GuiDisplayGen::selectedRow, PlayerEntity::setGuiToKeyboardLayoutScreen:, and PlayerEntity::setGuiToKeyMapperScreen:resetCurrentRow:.
- (void) handleKeyConfigEntryKeys: | (GuiDisplayGen *) | gui | |
view: | (MyOpenGLView *) | gameView |
Extends class PlayerEntity.
Definition at line 645 of file PlayerEntityKeyMapper.m.
References MyOpenGLView::clearKeys, OOColor::cyanColor, PlayerEntity::handleGUIUpDownArrowKeys, last_shift, GuiDisplayGen::setColor:forRow:, PlayerEntity::setGuiToKeyConfigScreen:, GuiDisplayGen::setText:forRow:, MyOpenGLView::suppressKeysUntilKeyUp, MyOpenGLView::typedString, and PlayerEntity::updateKeyDefinition:index:.
- (void) handleKeyConfigKeys: | (GuiDisplayGen *) | gui | |
view: | (MyOpenGLView *) | gameView |
Extends class PlayerEntity.
Definition at line 551 of file PlayerEntityKeyMapper.m.
References PlayerEntity::checkKeyPress:, MyOpenGLView::clearMouse, GUI_ROW_KC_CANCEL, GUI_ROW_KC_KEY, GUI_ROW_KC_MOD1, GUI_ROW_KC_MOD2, GUI_ROW_KC_SAVE, GUI_ROW_KC_SHIFT, gvMouseDoubleClick, PlayerEntity::handleGUIUpDownArrowKeys, MyOpenGLView::isDown:, key_index, PlayerEntity::reloadPage, PlayerEntity::saveKeySetting:, GuiDisplayGen::selectedRow, PlayerEntity::setGuiToKeyConfigEntryScreen, PlayerEntity::setGuiToKeyConfigScreen, and PlayerEntity::updateShiftKeyDefinition:index:.
- (void) handleKeyMapperConfirmClearKeys: | (GuiDisplayGen *) | gui | |
view: | (MyOpenGLView *) | gameView |
Extends class PlayerEntity.
Definition at line 796 of file PlayerEntityKeyMapper.m.
References PlayerEntity::checkKeyPress:, MyOpenGLView::clearMouse, PlayerEntity::deleteAllKeySettings, GUI_ROW_KC_CONFIRMCLEAR_NO, GUI_ROW_KC_CONFIRMCLEAR_YES, gvMouseDoubleClick, PlayerEntity::handleGUIUpDownArrowKeys, MyOpenGLView::isDown:, PlayerEntity::setGuiToKeyMapperScreen:resetCurrentRow:, and MyOpenGLView::suppressKeysUntilKeyUp.
- (void) initCheckingDictionary |
Extends class PlayerEntity.
Definition at line 77 of file PlayerEntityKeyMapper.m.
References camera_keys, ResourceManager::dictionaryFromFilesNamed:inFolder:mergeMode:cache:, initCheckingDictionary, kdic_check, nav_keys, nil, and PlayerEntity::processKeyCode:.
Referenced by initCheckingDictionary.
|
implementation |
Extends class PlayerEntity.
Definition at line 1234 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1252 of file PlayerEntityKeyMapper.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:mergeMode:cache:, PlayerEntity::keyboardDescription:, keyboardLayoutList, and nil.
Referenced by keyboardLayoutList.
|
implementation |
Extends class PlayerEntity.
Definition at line 963 of file PlayerEntityKeyMapper.m.
- (void) keyMapperInputHandler: | (GuiDisplayGen *) | gui | |
view: | (MyOpenGLView *) | gameView |
Extends class PlayerEntity.
Definition at line 198 of file PlayerEntityKeyMapper.m.
References PlayerEntity::checkKeyPress:, MyOpenGLView::clearKeys, MyOpenGLView::clearMouse, current_row, CUSTOMEQUIP_KEYACTIVATE, CUSTOMEQUIP_KEYMODE, OOEquipmentType::defaultActivateKey, OOEquipmentType::defaultModeKey, PlayerEntity::deleteKeySetting:, OOEquipmentType::equipmentTypeWithIdentifier:, PlayerEntity::getCustomEquipArray:, PlayerEntity::getCustomEquipIndex:, GUI_ROW_KC_FUNCSTART, gvMouseDoubleClick, PlayerEntity::handleGUIUpDownArrowKeys, has_error, MyOpenGLView::isDown:, key_list, GuiDisplayGen::keyForRow:, MAX_ROWS_KC_FUNCTIONS, nil, PlayerEntity::reloadPage, selected_entry, GuiDisplayGen::selectedRow, PlayerEntity::setGuiToConfirmClearScreen, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToKeyboardLayoutScreen:, PlayerEntity::setGuiToKeyConfigScreen:, PlayerEntity::setGuiToKeyMapperScreen:, and PlayerEntity::unsetKeySetting:.
|
implementation |
Extends class PlayerEntity.
Definition at line 1729 of file PlayerEntityKeyMapper.m.
- (NSDictionary *) makeKeyGuiDict: | (NSString *) | what | |
keyDef: | (NSString *) | keyDef |
Extends class PlayerEntity.
Definition at line 1133 of file PlayerEntityKeyMapper.m.
- (NSDictionary *) makeKeyGuiDictHeader: | (NSString *) | header |
Extends class PlayerEntity.
Definition at line 1143 of file PlayerEntityKeyMapper.m.
- (void) outputKeyDefinition: | (NSString *) | key | |
shift: | (NSString *) | shift | |
mod1: | (NSString *) | mod1 | |
mod2: | (NSString *) | mod2 | |
skiprows: | (NSUInteger) | skiprows |
Extends class PlayerEntity.
Definition at line 505 of file PlayerEntityKeyMapper.m.
References camera_keys, DESC, KEY_KC_DEFINITION, nav_keys, selected_entry, GuiDisplayGen::setArray:forRow:, and GuiDisplayGen::setKey:forRow:.
|
implementation |
Extends class PlayerEntity.
Definition at line 1737 of file PlayerEntityKeyMapper.m.
- (void) resetKeyFunctions |
Extends class PlayerEntity.
Definition at line 115 of file PlayerEntityKeyMapper.m.
References nil, and resetKeyFunctions.
Referenced by resetKeyFunctions.
|
implementation |
Extends class PlayerEntity.
Definition at line 1597 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1529 of file PlayerEntityKeyMapper.m.
- (void) setGuiToConfirmClearScreen |
Extends class PlayerEntity.
Definition at line 764 of file PlayerEntityKeyMapper.m.
References GuiDisplayGen::addLongText:startingAtRow:align:, GuiDisplayGen::clear, PlayerEntity::noteGUIDidChangeFrom:to:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setForegroundTextureKey:, setGuiToConfirmClearScreen, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, and Entity::status.
Referenced by setGuiToConfirmClearScreen.
- (void) setGuiToKeyboardLayoutScreen: | (unsigned) | skip |
Extends class PlayerEntity.
Definition at line 1153 of file PlayerEntityKeyMapper.m.
References PlayerEntity::setGuiToKeyboardLayoutScreen:resetCurrentRow:.
- (void) setGuiToKeyboardLayoutScreen: | (unsigned) | skip | |
resetCurrentRow: | (BOOL) | resetCurrentRow |
Extends class PlayerEntity.
Definition at line 1159 of file PlayerEntityKeyMapper.m.
References GuiDisplayGen::clear, MyOpenGLView::clearKeys, MyOpenGLView::clearMouse, PlayerEntity::displayKeyboardLayoutList:skip:, PlayerEntity::noteGUIDidChangeFrom:to:, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setForegroundTextureKey:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setTitle:, and Entity::status.
- (void) setGuiToKeyConfigEntryScreen |
Extends class PlayerEntity.
Definition at line 593 of file PlayerEntityKeyMapper.m.
References GuiDisplayGen::addLongText:startingAtRow:align:, GuiDisplayGen::clear, MyOpenGLView::clearKeys, MyOpenGLView::clearMouse, count, OOColor::cyanColor, key_index, key_list, PlayerEntity::keyCodeDescriptionShort:, PlayerEntity::noteGUIDidChangeFrom:to:, MyOpenGLView::resetTypedString, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setCurrentRow:, GuiDisplayGen::setForegroundTextureKey:, setGuiToKeyConfigEntryScreen, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setShowTextCursor:, MyOpenGLView::setStringInput:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, MyOpenGLView::setTypedString:, Entity::status, and MyOpenGLView::typedString.
Referenced by setGuiToKeyConfigEntryScreen.
- (void) setGuiToKeyConfigScreen |
Extends class PlayerEntity.
Definition at line 400 of file PlayerEntityKeyMapper.m.
References setGuiToKeyConfigScreen, and PlayerEntity::setGuiToKeyConfigScreen:.
Referenced by setGuiToKeyConfigScreen, and setGuiToKeyConfigScreen:.
- (void) setGuiToKeyConfigScreen: | (BOOL) | resetSelectedRow |
Extends class PlayerEntity.
Definition at line 406 of file PlayerEntityKeyMapper.m.
References GuiDisplayGen::addLongText:startingAtRow:align:, camera_keys, GuiDisplayGen::clear, count, DESC, OOColor::greenColor, KEY_KC_DEFINITION, key_list, PlayerEntity::keyCodeDescription:, nav_keys, nil, PlayerEntity::noteGUIDidChangeFrom:to:, OOColor::orangeColor, PlayerEntity::outputKeyDefinition:shift:mod1:mod2:skiprows:, selected_entry, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setForegroundTextureKey:, setGuiToKeyConfigScreen, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setText:forRow:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, Entity::status, and PlayerEntity::validateKey:checkKeys:.
- (void) setGuiToKeyMapperScreen: | (unsigned) | skip |
Extends class PlayerEntity.
Definition at line 122 of file PlayerEntityKeyMapper.m.
References PlayerEntity::setGuiToKeyMapperScreen:resetCurrentRow:.
- (void) setGuiToKeyMapperScreen: | (unsigned) | skip | |
resetCurrentRow: | (BOOL) | resetCurrentRow |
Extends class PlayerEntity.
Definition at line 127 of file PlayerEntityKeyMapper.m.
References GuiDisplayGen::clear, MyOpenGLView::clearKeys, MyOpenGLView::clearMouse, count, PlayerEntity::displayKeyFunctionList:skip:, has_error, PlayerEntity::initCheckingDictionary, kdic_check, KEY_KC_HEADER, PlayerEntity::keyboardDescription:, PlayerEntity::noteGUIDidChangeFrom:to:, OOColor::redColor, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setBackgroundTextureKey:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setForegroundTextureKey:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setTabStops:, GuiDisplayGen::setText:forRow:align:, GuiDisplayGen::setTitle:, Entity::status, validateAllKeys, and OOColor::yellowColor.
|
implementation |
Extends class PlayerEntity.
Definition at line 1656 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 678 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 710 of file PlayerEntityKeyMapper.m.
|
implementation |
Extends class PlayerEntity.
Definition at line 1371 of file PlayerEntityKeyMapper.m.
Referenced by setGuiToKeyMapperScreen:resetCurrentRow:.
- (NSString *) validateKey: | (NSString*) | key | |
checkKeys: | (NSArray*) | check_keys |
Extends class PlayerEntity.
Definition at line 1391 of file PlayerEntityKeyMapper.m.
References nil, and PlayerEntity::searchArrayForMatch:key:checkKeys:.