From e63f3e9f71f7b0b01982f3e468b84a0eddfa45cd Mon Sep 17 00:00:00 2001 From: Victor Gamper Date: Sat, 8 Feb 2020 12:32:26 +0100 Subject: added an fps counter --- catch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'catch.h') diff --git a/catch.h b/catch.h index 1f2dd36..73d9710 100644 --- a/catch.h +++ b/catch.h @@ -12,6 +12,7 @@ #endif #include #include +#include #include #include #include @@ -39,7 +40,7 @@ #define STATE_GAME_OVER 3 #define GAME_TIME 60 -#define TICK_SPEED 20 +#define TICK_SPEED 18 #define TICKS_PER_SECOND 1000 / TICK_SPEED // cat and bird structures -- cgit v1.2.3