summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2024-01-02 22:21:38 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2024-01-02 22:21:38 +0700
commit392dc964d94c211ac6af98e02c56371d6bb8a3cd (patch)
tree22cc4da1cad8e0957a54870015cb9d242fdc8696 /src/config.h
parente055021f3fb031c9d8851c3237019f7f0db55f77 (diff)
refactori-dont-know
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..8cbec33
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,18 @@
+//
+// Created by sid on 1/2/24.
+//
+
+#ifndef HMMM_CONFIG_H
+#define HMMM_CONFIG_H
+
+typedef struct Config {
+ int SCREEN_WIDTH;
+ int SCREEN_HEIGHT;
+ int ORIGIN_X;
+ int ORIGIN_Y;
+ char TITLE[20];
+ int TARGET_FPS;
+} Config;
+extern Config config;
+
+#endif //HMMM_CONFIG_H