|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
#include "./asw/modules/action.h"#include <algorithm>#include <string_view>#include <unordered_map>#include <vector>Go to the source code of this file.
Classes | |
| struct | anonymous_namespace{action.cpp}::ActionData |
| struct | anonymous_namespace{action.cpp}::NameHash |
Namespaces | |
| namespace | anonymous_namespace{action.cpp} |
Functions | |
| bool | anonymous_namespace{action.cpp}::binding_is_down (const asw::input::ActionBinding &binding, float &out_strength) |
| Returns true if the binding is currently active, and updates out_strength. | |
| bool | anonymous_namespace{action.cpp}::binding_is_pressed (const asw::input::ActionBinding &binding) |
| bool | anonymous_namespace{action.cpp}::binding_is_released (const asw::input::ActionBinding &binding) |
| Returns true if the binding was released this frame (digital sources only). | |
Variables | |
| std::unordered_map< std::string, ActionData, NameHash, std::equal_to<> > | anonymous_namespace{action.cpp}::action_map |