diff options
Diffstat (limited to 'src/pong.h')
-rw-r--r-- | src/pong.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/pong.h b/src/pong.h index b847a8a..eef1150 100644 --- a/src/pong.h +++ b/src/pong.h @@ -8,7 +8,6 @@ #include <SDL2/SDL_mutex.h> #include <SDL2/SDL_thread.h> #include <SDL2/SDL_atomic.h> -#include <SDL2/SDL_timer.h> #include <stdio.h> #include <time.h> #include <unistd.h> @@ -51,16 +50,10 @@ extern struct Settings GlobalSettings; extern int Difficulty; extern bool GameGoing; +extern SDL_atomic_t Ticks; extern char VersionString[256]; extern SDL_atomic_t AudioInitializing; -//Clock -extern double NewTime; -extern double OldTime; -extern double Milliseconds; -extern double DeltaTime; -extern int Ticks; - void enemy(struct Players *Enemy, struct Balls ball); void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerScore, int *EnemyScore); bool play_audio(int SoundEffect); @@ -68,6 +61,5 @@ int title_screen(); void versus_main(); void marathon_main(); void set_screen_mode(); -int internal_clock(); #endif |