aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-02 20:29:46 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-02 20:29:46 +0100
commit30e2f2436fb1bdc688101e97f65ec1cf49ddb35d (patch)
treedcd31c2c405b55a9c301f89eda71434e1c3e6a31 /src/window.hpp
downloadthreshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.gz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.bz2
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.xz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.zst
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.zip
initial commit
Diffstat (limited to '')
-rw-r--r--src/window.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/window.hpp b/src/window.hpp
new file mode 100644
index 0000000..82abd2a
--- /dev/null
+++ b/src/window.hpp
@@ -0,0 +1,15 @@
+#ifndef WINDOW_H_
+#define WINDOW_H_
+
+#include "raylib.h"
+
+int initWindow(void);
+
+#define SCREENWIDTH 800
+#define SCREENHEIGHT 450
+
+typedef enum gameState {
+TITLE = 0, GAMEPLAY, ENDING
+} gameState ;
+
+#endif // WINDOW_H_