aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.cpp
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.cpp
downloadthreshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.gz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.bz2
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.xz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.zst
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.zip
initial commit
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
new file mode 100644
index 0000000..17731c0
--- /dev/null
+++ b/src/window.cpp
@@ -0,0 +1,11 @@
+#include "window.hpp"
+
+int
+initWindow(void) {
+ // Initialization
+ InitWindow(SCREENWIDTH, SCREENHEIGHT, "WIP -- coolspace");
+ InitAudioDevice();
+ SetTargetFPS(60);
+
+ return (0);
+}