replaced input defines with statics

This commit is contained in:
Noel Berry
2020-08-27 19:43:23 -07:00
parent 3caa4a0ee1
commit 71043af92a
9 changed files with 136 additions and 91 deletions

View File

@ -30,8 +30,8 @@ using namespace Internal;
namespace
{
SDL_Window* window = nullptr;
SDL_Joystick* joysticks[BLAH_MAX_CONTROLLERS];
SDL_GameController* gamepads[BLAH_MAX_CONTROLLERS];
SDL_Joystick* joysticks[Blah::Input::max_controllers];
SDL_GameController* gamepads[Blah::Input::max_controllers];
char* basePath = nullptr;
char* userPath = nullptr;
bool displayed = false;