OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GameConfig::Keybindings Class Reference

#include <GameConfig.h>

Inheritance diagram for GameConfig::Keybindings:
ConfigSection

Public Member Functions

 Keybindings (GameConfig *config)
 
- Public Member Functions inherited from ConfigSection
 ConfigSection (Config *config, std::string_view name)
 
 ConfigSection (const ConfigSection &other)=delete
 
 ConfigSection (ConfigSection &&other)=delete
 
Configconfig () const
 
const std::string & name () const
 
void registerEntry (AnyConfigEntry *entry)
 
AnyConfigEntryentry (std::string_view name) const
 
std::vector< AnyConfigEntry * > entries () const
 

Public Attributes

Key AlwaysRun = {this, "always_run", PlatformKey::KEY_U, "Always run toggle key."}
 
Key Attack = {this, "attack", PlatformKey::KEY_A, "Attack key."}
 
Key AutoNotes = {this, "auto_notes", PlatformKey::KEY_N, "Open autonotes key."}
 
Key Backward = {this, "backward", PlatformKey::KEY_DOWN, "Walk backwards key."}
 
Key Cast = {this, "cast", PlatformKey::KEY_C, "Cast a spell from spellbook key."}
 
Key CastReady = {this, "cast_ready", PlatformKey::KEY_S, "Cast a quick spell key."}
 
Key CenterView = {this, "center_view", PlatformKey::KEY_END, "Center view key."}
 
Key CharCycle = {this, "char_cycle", PlatformKey::KEY_TAB, "Switch between characters key."}
 
Key Combat = {this, "combat", PlatformKey::KEY_RETURN, "Switch between realtime and turn-based modes key."}
 
Key EventTrigger = {this, "event_trigger", PlatformKey::KEY_SPACE, "Interaction key."}
 
Key FlyDown = {this, "fly_down", PlatformKey::KEY_INSERT, "Fly down key."}
 
Key FlyUp = {this, "fly_up", PlatformKey::KEY_PAGEUP, "Fly up key."}
 
Key Forward = {this, "forward", PlatformKey::KEY_UP, "Move forward key."}
 
Key Jump = {this, "jump", PlatformKey::KEY_X, "Jump key."}
 
Key Land = {this, "land", PlatformKey::KEY_HOME, "Land key."}
 
Key Left = {this, "left", PlatformKey::KEY_LEFT, "Turn left key."}
 
Key LookDown = {this, "look_down", PlatformKey::KEY_DELETE, "Look down key."}
 
Key LookUp = {this, "look_up", PlatformKey::KEY_PAGEDOWN, "Look up key."}
 
Key MapBook = {this, "map_book", PlatformKey::KEY_M, "Open map key."}
 
Key Pass = {this, "pass", PlatformKey::KEY_B, "Pass turn key."}
 
Key Quest = {this, "quest", PlatformKey::KEY_Q, "Open quest book key."}
 
Key QuickReference = {this, "quick_reference", PlatformKey::KEY_Z, "Open quick reference menu key."}
 
Key Rest = {this, "rest", PlatformKey::KEY_R, "Rest key."}
 
Key Right = {this, "right", PlatformKey::KEY_RIGHT, "Turn right key."}
 
Key StepLeft = {this, "step_left", PlatformKey::KEY_LEFTBRACKET, "Strafe left key."}
 
Key StepRight = {this, "step_right", PlatformKey::KEY_RIGHTBRACKET, "Strafe right key."}
 
Key TimeCalendar = {this, "time_calendar", PlatformKey::KEY_T, "Open calendar key."}
 
Key Yell = {this, "yell", PlatformKey::KEY_Y, "Yell key."}
 
Key ZoomIn = {this, "zoom_in", PlatformKey::KEY_ADD, "Zoom in automap key."}
 
Key ZoomOut = {this, "zoom_out", PlatformKey::KEY_SUBTRACT, "Zoom out automap key."}
 
Key QuickSave = {this, "quick_save", PlatformKey::KEY_F5, "Quick save key."}
 
Key QuickLoad = {this, "quick_load", PlatformKey::KEY_F9, "Quick load key."}
 
Key History = {this, "history", PlatformKey::KEY_H, "History book key."}
 
Key Stats = {this, "stats", PlatformKey::KEY_C, "Stats tab key."}
 
Key Skills = {this, "skills", PlatformKey::KEY_S, "Skills tab key."}
 
Key Inventory = {this, "inventory", PlatformKey::KEY_I, "Inventory tab key."}
 
Key Awards = {this, "awards", PlatformKey::KEY_A, "Stats tab key."}
 
Key NewGame = {this, "new_game", PlatformKey::KEY_N, "New Game menu key."}
 
Key SaveGame = {this, "save_game", PlatformKey::KEY_S, "Save Game menu key."}
 
Key LoadGame = {this, "load_game", PlatformKey::KEY_L, "Load Game menu key."}
 
Key ExitGame = {this, "exit_game", PlatformKey::KEY_Q, "Exit Game key."}
 
Key ReturnToGame = {this, "return_to_game", PlatformKey::KEY_R, "Return to Game mode key."}
 
Key Controls = {this, "controls", PlatformKey::KEY_C, "Controls change menu key."}
 
Key Options = {this, "options", PlatformKey::KEY_O, "Options menu key."}
 
Key Credits = {this, "credits", PlatformKey::KEY_C, "Credits menu key."}
 
Key Clear = {this, "clear", PlatformKey::KEY_C, "Clear button in New Party Creation menu."}
 
Key Return = {this, "return", PlatformKey::KEY_RETURN, "Ok button in New Party Creation menu."}
 
Key Minus = {this, "minus", PlatformKey::KEY_SUBTRACT, "Minus button in New Party Creation menu."}
 
Key Plus = {this, "plus", PlatformKey::KEY_ADD, "Plus button in New Party Creation menu."}
 
Key Yes = {this, "yes", PlatformKey::KEY_Y, "Yes answer key."}
 
Key No = {this, "no", PlatformKey::KEY_N, "No answer key."}
 
Key Rest8Hours = {this, "rest_8_hours", PlatformKey::KEY_R, "Rest for 8 hours key in Rest menu."}
 
Key WaitTillDawn = {this, "wait_till_dawn", PlatformKey::KEY_D, "Wait till dawn key in Rest menu."}
 
Key WaitHour = {this, "wait_hour", PlatformKey::KEY_H, "Wait one hour key in Rest menu."}
 
Key Wait5Minutes = {this, "wait_5_minutes", PlatformKey::KEY_M, "Wait 5 minutes key in Rest menu."}
 
Key Screenshot = {this, "screenshot", PlatformKey::KEY_F2, "Make screenshot key."}
 
Key Console = {this, "console", PlatformKey::KEY_TILDE, "Show/Hide overlays key."}
 
Key ToggleMouseGrab = {this, "toggle_mouse_grab", PlatformKey::KEY_F1, "Toggle mouse grab key."}
 
Key ToggleBorderless = {this, "toggle_borderless", PlatformKey::KEY_F3, "Toggle window borderless key."}
 
Key ToggleFullscreen = {this, "toggle_fullscreen", PlatformKey::KEY_F4, "Toggle window fullscreen key."}
 
Key ToggleResizable = {this, "toggle_resizable", PlatformKey::KEY_F6, "Toggle window resizable key."}
 
Key CycleFilter = {this, "cycle_filter", PlatformKey::KEY_F7, "Cycle rescale filter modes key."}
 
Key ReloadShaders = {this, "reload_shaders", PlatformKey::KEY_BACKSPACE, "Reload shaders key."}
 
Key SelectChar1 = {this, "select_char_1", PlatformKey::KEY_DIGIT_1, "Select 1 character key."}
 
Key SelectChar2 = {this, "select_char_2", PlatformKey::KEY_DIGIT_2, "Select 2 character key."}
 
Key SelectChar3 = {this, "select_char_3", PlatformKey::KEY_DIGIT_3, "Select 3 character key."}
 
Key SelectChar4 = {this, "select_char_4", PlatformKey::KEY_DIGIT_4, "Select 4 character key."}
 
Key SelectNPC1 = {this, "select_npc_1", PlatformKey::KEY_DIGIT_5, "Select 1 hireling key."}
 
Key SelectNPC2 = {this, "select_npc_2", PlatformKey::KEY_DIGIT_6, "Select 2 hireling key."}
 
Key DialogUp = {this, "dialog_up", PlatformKey::KEY_UP, "Dialog up key."}
 
Key DialogDown = {this, "dialog_down", PlatformKey::KEY_DOWN, "Dialog down key."}
 
Key DialogLeft = {this, "dialog_left", PlatformKey::KEY_LEFT, "Dialog left key."}
 
Key DialogRight = {this, "dialog_right", PlatformKey::KEY_RIGHT, "Dialog right key."}
 
Key DialogSelect = {this, "dialog_select", PlatformKey::KEY_RETURN, "Dialog select key."}
 
Key Escape = {this, "escape", PlatformKey::KEY_ESCAPE, "Escape key."}
 

Constructor & Destructor Documentation

◆ Keybindings()

GameConfig::Keybindings::Keybindings ( GameConfig config)
inlineexplicit

Member Data Documentation

◆ AlwaysRun

Key GameConfig::Keybindings::AlwaysRun = {this, "always_run", PlatformKey::KEY_U, "Always run toggle key."}

◆ Attack

Key GameConfig::Keybindings::Attack = {this, "attack", PlatformKey::KEY_A, "Attack key."}

◆ AutoNotes

Key GameConfig::Keybindings::AutoNotes = {this, "auto_notes", PlatformKey::KEY_N, "Open autonotes key."}

◆ Awards

Key GameConfig::Keybindings::Awards = {this, "awards", PlatformKey::KEY_A, "Stats tab key."}

◆ Backward

Key GameConfig::Keybindings::Backward = {this, "backward", PlatformKey::KEY_DOWN, "Walk backwards key."}

◆ Cast

Key GameConfig::Keybindings::Cast = {this, "cast", PlatformKey::KEY_C, "Cast a spell from spellbook key."}

◆ CastReady

Key GameConfig::Keybindings::CastReady = {this, "cast_ready", PlatformKey::KEY_S, "Cast a quick spell key."}

◆ CenterView

Key GameConfig::Keybindings::CenterView = {this, "center_view", PlatformKey::KEY_END, "Center view key."}

◆ CharCycle

Key GameConfig::Keybindings::CharCycle = {this, "char_cycle", PlatformKey::KEY_TAB, "Switch between characters key."}

◆ Clear

Key GameConfig::Keybindings::Clear = {this, "clear", PlatformKey::KEY_C, "Clear button in New Party Creation menu."}

◆ Combat

Key GameConfig::Keybindings::Combat = {this, "combat", PlatformKey::KEY_RETURN, "Switch between realtime and turn-based modes key."}

◆ Console

Key GameConfig::Keybindings::Console = {this, "console", PlatformKey::KEY_TILDE, "Show/Hide overlays key."}

◆ Controls

Key GameConfig::Keybindings::Controls = {this, "controls", PlatformKey::KEY_C, "Controls change menu key."}

◆ Credits

Key GameConfig::Keybindings::Credits = {this, "credits", PlatformKey::KEY_C, "Credits menu key."}

◆ CycleFilter

Key GameConfig::Keybindings::CycleFilter = {this, "cycle_filter", PlatformKey::KEY_F7, "Cycle rescale filter modes key."}

◆ DialogDown

Key GameConfig::Keybindings::DialogDown = {this, "dialog_down", PlatformKey::KEY_DOWN, "Dialog down key."}

◆ DialogLeft

Key GameConfig::Keybindings::DialogLeft = {this, "dialog_left", PlatformKey::KEY_LEFT, "Dialog left key."}

◆ DialogRight

Key GameConfig::Keybindings::DialogRight = {this, "dialog_right", PlatformKey::KEY_RIGHT, "Dialog right key."}

◆ DialogSelect

Key GameConfig::Keybindings::DialogSelect = {this, "dialog_select", PlatformKey::KEY_RETURN, "Dialog select key."}

◆ DialogUp

Key GameConfig::Keybindings::DialogUp = {this, "dialog_up", PlatformKey::KEY_UP, "Dialog up key."}

◆ Escape

Key GameConfig::Keybindings::Escape = {this, "escape", PlatformKey::KEY_ESCAPE, "Escape key."}

◆ EventTrigger

Key GameConfig::Keybindings::EventTrigger = {this, "event_trigger", PlatformKey::KEY_SPACE, "Interaction key."}

◆ ExitGame

Key GameConfig::Keybindings::ExitGame = {this, "exit_game", PlatformKey::KEY_Q, "Exit Game key."}

◆ FlyDown

Key GameConfig::Keybindings::FlyDown = {this, "fly_down", PlatformKey::KEY_INSERT, "Fly down key."}

◆ FlyUp

Key GameConfig::Keybindings::FlyUp = {this, "fly_up", PlatformKey::KEY_PAGEUP, "Fly up key."}

◆ Forward

Key GameConfig::Keybindings::Forward = {this, "forward", PlatformKey::KEY_UP, "Move forward key."}

◆ History

Key GameConfig::Keybindings::History = {this, "history", PlatformKey::KEY_H, "History book key."}

◆ Inventory

Key GameConfig::Keybindings::Inventory = {this, "inventory", PlatformKey::KEY_I, "Inventory tab key."}

◆ Jump

Key GameConfig::Keybindings::Jump = {this, "jump", PlatformKey::KEY_X, "Jump key."}

◆ Land

Key GameConfig::Keybindings::Land = {this, "land", PlatformKey::KEY_HOME, "Land key."}

◆ Left

Key GameConfig::Keybindings::Left = {this, "left", PlatformKey::KEY_LEFT, "Turn left key."}

◆ LoadGame

Key GameConfig::Keybindings::LoadGame = {this, "load_game", PlatformKey::KEY_L, "Load Game menu key."}

◆ LookDown

Key GameConfig::Keybindings::LookDown = {this, "look_down", PlatformKey::KEY_DELETE, "Look down key."}

◆ LookUp

Key GameConfig::Keybindings::LookUp = {this, "look_up", PlatformKey::KEY_PAGEDOWN, "Look up key."}

◆ MapBook

Key GameConfig::Keybindings::MapBook = {this, "map_book", PlatformKey::KEY_M, "Open map key."}

◆ Minus

Key GameConfig::Keybindings::Minus = {this, "minus", PlatformKey::KEY_SUBTRACT, "Minus button in New Party Creation menu."}

◆ NewGame

Key GameConfig::Keybindings::NewGame = {this, "new_game", PlatformKey::KEY_N, "New Game menu key."}

◆ No

Key GameConfig::Keybindings::No = {this, "no", PlatformKey::KEY_N, "No answer key."}

◆ Options

Key GameConfig::Keybindings::Options = {this, "options", PlatformKey::KEY_O, "Options menu key."}

◆ Pass

Key GameConfig::Keybindings::Pass = {this, "pass", PlatformKey::KEY_B, "Pass turn key."}

◆ Plus

Key GameConfig::Keybindings::Plus = {this, "plus", PlatformKey::KEY_ADD, "Plus button in New Party Creation menu."}

◆ Quest

Key GameConfig::Keybindings::Quest = {this, "quest", PlatformKey::KEY_Q, "Open quest book key."}

◆ QuickLoad

Key GameConfig::Keybindings::QuickLoad = {this, "quick_load", PlatformKey::KEY_F9, "Quick load key."}

◆ QuickReference

Key GameConfig::Keybindings::QuickReference = {this, "quick_reference", PlatformKey::KEY_Z, "Open quick reference menu key."}

◆ QuickSave

Key GameConfig::Keybindings::QuickSave = {this, "quick_save", PlatformKey::KEY_F5, "Quick save key."}

◆ ReloadShaders

Key GameConfig::Keybindings::ReloadShaders = {this, "reload_shaders", PlatformKey::KEY_BACKSPACE, "Reload shaders key."}

◆ Rest

Key GameConfig::Keybindings::Rest = {this, "rest", PlatformKey::KEY_R, "Rest key."}

◆ Rest8Hours

Key GameConfig::Keybindings::Rest8Hours = {this, "rest_8_hours", PlatformKey::KEY_R, "Rest for 8 hours key in Rest menu."}

◆ Return

Key GameConfig::Keybindings::Return = {this, "return", PlatformKey::KEY_RETURN, "Ok button in New Party Creation menu."}

◆ ReturnToGame

Key GameConfig::Keybindings::ReturnToGame = {this, "return_to_game", PlatformKey::KEY_R, "Return to Game mode key."}

◆ Right

Key GameConfig::Keybindings::Right = {this, "right", PlatformKey::KEY_RIGHT, "Turn right key."}

◆ SaveGame

Key GameConfig::Keybindings::SaveGame = {this, "save_game", PlatformKey::KEY_S, "Save Game menu key."}

◆ Screenshot

Key GameConfig::Keybindings::Screenshot = {this, "screenshot", PlatformKey::KEY_F2, "Make screenshot key."}

◆ SelectChar1

Key GameConfig::Keybindings::SelectChar1 = {this, "select_char_1", PlatformKey::KEY_DIGIT_1, "Select 1 character key."}

◆ SelectChar2

Key GameConfig::Keybindings::SelectChar2 = {this, "select_char_2", PlatformKey::KEY_DIGIT_2, "Select 2 character key."}

◆ SelectChar3

Key GameConfig::Keybindings::SelectChar3 = {this, "select_char_3", PlatformKey::KEY_DIGIT_3, "Select 3 character key."}

◆ SelectChar4

Key GameConfig::Keybindings::SelectChar4 = {this, "select_char_4", PlatformKey::KEY_DIGIT_4, "Select 4 character key."}

◆ SelectNPC1

Key GameConfig::Keybindings::SelectNPC1 = {this, "select_npc_1", PlatformKey::KEY_DIGIT_5, "Select 1 hireling key."}

◆ SelectNPC2

Key GameConfig::Keybindings::SelectNPC2 = {this, "select_npc_2", PlatformKey::KEY_DIGIT_6, "Select 2 hireling key."}

◆ Skills

Key GameConfig::Keybindings::Skills = {this, "skills", PlatformKey::KEY_S, "Skills tab key."}

◆ Stats

Key GameConfig::Keybindings::Stats = {this, "stats", PlatformKey::KEY_C, "Stats tab key."}

◆ StepLeft

Key GameConfig::Keybindings::StepLeft = {this, "step_left", PlatformKey::KEY_LEFTBRACKET, "Strafe left key."}

◆ StepRight

Key GameConfig::Keybindings::StepRight = {this, "step_right", PlatformKey::KEY_RIGHTBRACKET, "Strafe right key."}

◆ TimeCalendar

Key GameConfig::Keybindings::TimeCalendar = {this, "time_calendar", PlatformKey::KEY_T, "Open calendar key."}

◆ ToggleBorderless

Key GameConfig::Keybindings::ToggleBorderless = {this, "toggle_borderless", PlatformKey::KEY_F3, "Toggle window borderless key."}

◆ ToggleFullscreen

Key GameConfig::Keybindings::ToggleFullscreen = {this, "toggle_fullscreen", PlatformKey::KEY_F4, "Toggle window fullscreen key."}

◆ ToggleMouseGrab

Key GameConfig::Keybindings::ToggleMouseGrab = {this, "toggle_mouse_grab", PlatformKey::KEY_F1, "Toggle mouse grab key."}

◆ ToggleResizable

Key GameConfig::Keybindings::ToggleResizable = {this, "toggle_resizable", PlatformKey::KEY_F6, "Toggle window resizable key."}

◆ Wait5Minutes

Key GameConfig::Keybindings::Wait5Minutes = {this, "wait_5_minutes", PlatformKey::KEY_M, "Wait 5 minutes key in Rest menu."}

◆ WaitHour

Key GameConfig::Keybindings::WaitHour = {this, "wait_hour", PlatformKey::KEY_H, "Wait one hour key in Rest menu."}

◆ WaitTillDawn

Key GameConfig::Keybindings::WaitTillDawn = {this, "wait_till_dawn", PlatformKey::KEY_D, "Wait till dawn key in Rest menu."}

◆ Yell

Key GameConfig::Keybindings::Yell = {this, "yell", PlatformKey::KEY_Y, "Yell key."}

◆ Yes

Key GameConfig::Keybindings::Yes = {this, "yes", PlatformKey::KEY_Y, "Yes answer key."}

◆ ZoomIn

Key GameConfig::Keybindings::ZoomIn = {this, "zoom_in", PlatformKey::KEY_ADD, "Zoom in automap key."}

◆ ZoomOut

Key GameConfig::Keybindings::ZoomOut = {this, "zoom_out", PlatformKey::KEY_SUBTRACT, "Zoom out automap key."}

The documentation for this class was generated from the following file: