summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-02-06 13:33:37 +0000
committer0undefined <oscar@nelin.dk>2025-02-26 12:50:01 +0000
commitb2bd9bccd8fffaae76c7f2f8373e641a6dd029d2 (patch)
tree38760758cc632353c53e7b9707a7463310650976 /src
Initial commit
Diffstat (limited to 'src')
-rw-r--r--src/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..b72d678
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,17 @@
+#include <engine/engine.h>
+#include <rogue/resources.h>
+
+#define MEMORY_SIZE 65536
+
+int main(void) {
+
+ Platform *p = engine_init("rogue",
+ 0,0,
+ 1.f, 0,
+ MEMORY_SIZE,
+ NULL,
+ NULL);
+
+ engine_run(p, STATE_titlescreen);
+ engine_stop(p);
+}