OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
KeyboardInputHandler.cpp File Reference
#include "KeyboardInputHandler.h"
#include <memory>
#include <string>
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Weather.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/CharacterEnumFunctions.h"
#include "Engine/Party.h"
#include "Engine/Spells/CastSpellInfo.h"
#include "Engine/Spells/Spells.h"
#include "Engine/TurnEngine/TurnEngine.h"
#include "Engine/Engine.h"
#include "GUI/GUIWindow.h"
#include "GUI/GUIMessageQueue.h"

Functions

static bool PartyDoTurnBasedAwareAction (PartyAction action)
 
static bool PartyStrafe (PartyAction direction)
 
static bool PartyMove (PartyAction direction)
 

Variables

static constexpr Duration DELAY_TOGGLE_TIME_FIRST = Duration::fromRealtimeMilliseconds(500)
 
static constexpr Duration DELAY_TOGGLE_TIME_PERIOD = Duration::fromRealtimeMilliseconds(67)
 
std::shared_ptr< Io::KeyboardInputHandlerkeyboardInputHandler = nullptr
 
Io::InputAction currently_selected_action_for_binding
 

Function Documentation

◆ PartyDoTurnBasedAwareAction()

static bool PartyDoTurnBasedAwareAction ( PartyAction  action)
static

◆ PartyMove()

static bool PartyMove ( PartyAction  direction)
static

◆ PartyStrafe()

static bool PartyStrafe ( PartyAction  direction)
static

Variable Documentation

◆ currently_selected_action_for_binding

Io::InputAction currently_selected_action_for_binding
extern

◆ DELAY_TOGGLE_TIME_FIRST

constexpr Duration DELAY_TOGGLE_TIME_FIRST = Duration::fromRealtimeMilliseconds(500)
staticconstexpr

◆ DELAY_TOGGLE_TIME_PERIOD

constexpr Duration DELAY_TOGGLE_TIME_PERIOD = Duration::fromRealtimeMilliseconds(67)
staticconstexpr

◆ keyboardInputHandler

std::shared_ptr<Io::KeyboardInputHandler> keyboardInputHandler = nullptr