diff options
author | Victor Gamper <victor@wenzeslaus.de> | 2020-02-03 20:52:50 +0100 |
---|---|---|
committer | Victor Gamper <victor@wenzeslaus.de> | 2020-02-03 20:52:50 +0100 |
commit | 28eaf649d1b359c34b57a344de8c1ec279292fd6 (patch) | |
tree | ac3dd5229b92928a339f64f0710c9a7ea017c9c2 /catch.h | |
parent | 562df1c63ab343aedd0249a0af391541c3890899 (diff) | |
download | c-catch-r1.tar.gz c-catch-r1.zip |
Added windows compatibilityr1
Diffstat (limited to 'catch.h')
-rw-r--r-- | catch.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,12 @@ * Created on: 25.01.2020 * Author: victor */ + +#ifdef WIN32 +#include <SDL.h> +#else #include <SDL/SDL.h> +#endif #include <stdbool.h> #include <unistd.h> #include <string.h> @@ -34,7 +39,7 @@ #define STATE_GAME_OVER 3 #define GAME_TIME 10 -#define TICK_SPEED 50 +#define TICK_SPEED 100 #define TICKS_PER_SECOND 10000 / TICK_SPEED // cat and bird structures |