about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
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++) {