about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-02 18:29:57 -0400
committerCharadon <dev@iotib.net>2022-06-02 18:29:57 -0400
commit2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23 (patch)
tree61c0defcc1f8f54f47759f04f41883e7343a096d /src/main.c
parent6a98c8dd4c10195e7b71602b15554bdc82ac0153 (diff)
downloadPong-C-2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23.tar.gz
QOL stuff and upped to version 0.2
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 5f733f5..a638248 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,13 +1,11 @@
 #include "pong.h"
 #include "sounds.h"
-#include <raylib.h>
-#include <setjmp.h>
-#include <threads.h>
 
 
 int Difficulty = 1;
 atomic_int Ticks = 0;
 bool GameGoing = true;
+char *VersionString;
 
 mtx_t AudioQueueBeingModified;
 
@@ -99,12 +97,15 @@ int main() {
 	//Raylib Init
 	InitWindow(1280, 720, "Pong");
 	SetTargetFPS(60);
-	SetExitKey(KEY_Q);
+	SetExitKey(KEY_NULL);
 	Image Icon = LoadImage("resources/ball.png");
 	SetWindowIcon(Icon);
 	SetWindowState(FLAG_VSYNC_HINT);
 	SetWindowState(FLAG_WINDOW_RESIZABLE);
 	SetWindowMinSize(1280, 720);
+
+	//Init Variables
+	strcpy(VersionString, "Version 0.2 - AEOLUS");
 	
 	//Populate Audio Queue
 	for(unsigned int i = 0; i < 20; i++) {