aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-09-24 20:30:10 +1000
committerquou <quou@disroot.org>2024-09-24 20:30:10 +1000
commitab731535e11040b0970015d6b00aee822dca6441 (patch)
tree955daab6d1e4fd9b4c1da588810a7e026edaae9d
parent7b21e266928f10b771bdbb23835410a900ab3587 (diff)
game name #define
-rw-r--r--1bitjam.c2
-rw-r--r--config.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/1bitjam.c b/1bitjam.c
index bd0e21d..e811cba 100644
--- a/1bitjam.c
+++ b/1bitjam.c
@@ -22,7 +22,7 @@ int entrypoint(int argc, const char** argv, Arena* m) {
arena_alloc(m, app_memory_size),
app_memory_size
);
- a = new_app(&h, "1 bit jam");
+ a = new_app(&h, game_name);
init_fps(&f, default_mpf);
while (a->o) {
fps_begin(&f);
diff --git a/config.h b/config.h
index ed03b67..73df5f6 100644
--- a/config.h
+++ b/config.h
@@ -1,6 +1,8 @@
#ifndef config_h
#define config_h
+#define game_name "1bit Game Jam"
+
#define memory_size (1024 * 8)
#define app_memory_size (1024 * 4)