From 9efa9a51eda66f212847ce3e5576a8d3078ca899 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Sat, 31 Jan 2026 14:13:10 +0000 Subject: init --- source/main.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 source/main.c (limited to 'source/main.c') 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 + +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; +} -- cgit v1.2.3