about summary refs log tree commit diff stats
path: root/src/pong.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pong.h')
-rw-r--r--src/pong.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/pong.h b/src/pong.h
index 76fa05d..15ba223 100644
--- a/src/pong.h
+++ b/src/pong.h
@@ -1,9 +1,14 @@
 #ifndef PONG_H
 #define PONG_H
+#include <SDL2/SDL_atomic.h>
 #define MOUSE_LEFT_BUTTON MOUSE_BUTTON_LEFT
 #include "raylib.h"
-#include "SDL2/SDL.h"
-#include "SDL2/SDL_mixer.h"
+#include <SDL2/SDL.h>
+#include <SDL2/SDL_atomic.h>
+#include <SDL2/SDL_audio.h>
+#include <SDL2/SDL_mixer.h>
+#include <SDL2/SDL_mutex.h>
+#include <SDL2/SDL_thread.h>
 #include "sounds.h"
 #include <stdatomic.h>
 #include <stdio.h>
@@ -37,7 +42,7 @@ struct Balls {
 
 extern int Difficulty;
 extern bool GameGoing;
-extern atomic_int Ticks;
+extern SDL_atomic_t Ticks;
 extern char VersionString[256];
 
 void enemy(struct Players *Enemy, struct Balls ball);