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:01 -0400
committerCharadon <dev@iotib.net>2022-06-13 19:28:01 -0400
commite33f20ad8e35a736996eca1f6a3a63b85a38b3d0 (patch)
treebbe7ad6f4050304eb922abd6fc6fd89f6d0a7f40 /src/pong.h
parent01f47242692c8c5c413b876610061418249e2bd6 (diff)
downloadPong-C-e33f20ad8e35a736996eca1f6a3a63b85a38b3d0.tar.gz
Revert "Added liberapay link, and more fruitless work on the internal_clock"
This reverts commit 01f47242692c8c5c413b876610061418249e2bd6.
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