From 392dc964d94c211ac6af98e02c56371d6bb8a3cd Mon Sep 17 00:00:00 2001 From: Rosyid Haryadi Date: Tue, 2 Jan 2024 22:21:38 +0700 Subject: refactor --- src/config.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/config.h (limited to 'src/config.h') 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 -- cgit v1.2.3-70-g09d2