aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-07-10 12:51:33 +0200
committerkdx <kikoodx@paranoici.org>2023-07-10 12:51:42 +0200
commit993420e792c273a80eb2c9df81f6f1c075597543 (patch)
treec7cd2a78e4ad7494856a272d13c3b30653c14ac0 /headers
parent74bfb703a6c58285aeb3f9480ca8bbe22c7186ba (diff)
downloadtzr-993420e792c273a80eb2c9df81f6f1c075597543.tar.gz
reusable reserve module & joystick begins
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR_globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/headers/TZR_globals.h b/headers/TZR_globals.h
index 2406ff5..db03ce8 100644
--- a/headers/TZR_globals.h
+++ b/headers/TZR_globals.h
@@ -2,6 +2,7 @@
#include "TZR_types.h"
#include <stddef.h>
#include <SDL2/SDL_scancode.h>
+#include <SDL2/SDL_joystick.h>
extern TZR_Config ___tzr_config;
extern TZR_Color ___tzr_color;
@@ -23,3 +24,6 @@ extern float ___tzr_scale;
extern int ___tzr_off_x;
extern int ___tzr_off_y;
extern Mix_Music *___tzr_music;
+extern SDL_Joystick **___tzr_joysticks;
+extern size_t ___tzr_joysticks_capacity;
+extern size_t ___tzr_joysticks_size;