aboutsummaryrefslogtreecommitdiff
path: root/source/main.c
diff options
context:
space:
mode:
authorEmil Williams2026-01-31 14:13:10 +0000
committerEmil Williams2026-01-31 14:13:10 +0000
commit9efa9a51eda66f212847ce3e5576a8d3078ca899 (patch)
tree34dd60911d3cee81e27b866fc6fbc4e46b2e398a /source/main.c
downloadEUROPAXI-9efa9a51eda66f212847ce3e5576a8d3078ca899.tar.xz
EUROPAXI-9efa9a51eda66f212847ce3e5576a8d3078ca899.tar.zst
init
Diffstat (limited to 'source/main.c')
-rw-r--r--source/main.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/source/main.c b/source/main.c
new file mode 100644
index 0000000..552b906
--- /dev/null
+++ b/source/main.c
@@ -0,0 +1,27 @@
+#include <raylib.h>
+
+int main (int count, char ** arguments)
+{
+ /* :config */
+ int horizontal = 1920, vertical = 1080;
+
+ /* this idented (DENTED) style is autistic and dumb but I like it visually */
+ {
+ SetConfigFlags(FLAG_WINDOW_RESIZABLE);
+ /* tell raylib to shut up */
+ /* SetTraceLogLevel(LOG_NONE); */
+ InitWindow(horizontal, vertical, arguments[0]);
+ SetWindowState(FLAG_WINDOW_HIDDEN);
+ InitAudioDevice();
+ SetWindowPosition(0, 0);
+ }
+ /* loop to end all loops */
+ {
+
+ }
+stop:
+ SetWindowState(FLAG_WINDOW_HIDDEN);
+ CloseAudioDevice();
+ CloseWindow();
+ return 0;
+}