about summary refs log tree commit diff stats
path: root/src/pong.h
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-13 19:28:37 -0400
committerCharadon <dev@iotib.net>2022-06-13 19:28:37 -0400
commit520a610a8db7c07423fec086806b48ff2890c9c0 (patch)
treebbe7ad6f4050304eb922abd6fc6fd89f6d0a7f40 /src/pong.h
parent0e1a3565cd077a297c07bad7466f317025758b31 (diff)
downloadPong-C-520a610a8db7c07423fec086806b48ff2890c9c0.tar.gz
Revert "Revert "Revert "Revert "Revert "Added liberapay link, and more fruitless work on the internal_clock"""""
This reverts commit 0e1a3565cd077a297c07bad7466f317025758b31.
Diffstat (limited to 'src/pong.h')
-rw-r--r--src/pong.h10
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