18#ifndef INCLUDED_PS_GLOBALS
19#define INCLUDED_PS_GLOBALS
25#include <unordered_map>
47extern std::unordered_map<int32_t, bool>
g_scancodes;
bool g_mouse_buttons[MOUSE_LAST - MOUSE_BASE]
g_mouse_buttons: Mouse buttons states, indexed by SDL_BUTTON_* constants.
Definition: Globals.cpp:34
int g_mouse_y
Definition: Globals.h:34
std::unordered_map< int32_t, bool > g_scancodes
g_scancodes: Key states, indexed by SDL_Scancode constants.
Definition: Globals.cpp:28
int g_mouse_x
Definition: Globals.cpp:30
bool g_app_has_focus
Definition: Globals.cpp:26
PIFrequencyFilter g_frequencyFilter
Definition: Globals.cpp:36
bool g_app_minimized
Definition: Globals.cpp:25
bool g_mouse_active
Indicates whether the mouse is focused on the game window (mouse positions should usually be consider...
Definition: Globals.cpp:31
InReaction GlobalsInputHandler(const SDL_Event_ *ev)
Definition: Globals.cpp:39
@ MOUSE_LAST
Definition: KeyName.h:54
@ MOUSE_BASE
Definition: KeyName.h:45
std::shared_ptr< IFrequencyFilter > PIFrequencyFilter
Definition: frequency_filter.h:40