diff options
| author | kotorifan <kotorifan05@gmail.com> | 2026-01-23 15:15:48 +0100 |
|---|---|---|
| committer | kotorifan <kotorifan05@gmail.com> | 2026-02-04 09:02:16 +0100 |
| commit | 32837712fedf4557ff44df7d5b8ddbd40c5f7990 (patch) | |
| tree | 671d2b82f45d5e6de70ac5d15f59ea94b884d4b6 /src/Common.hpp | |
| download | gameboy-32837712fedf4557ff44df7d5b8ddbd40c5f7990.tar.gz | |
Stupid problems with the old git repo. New one, unfortunately.
Diffstat (limited to 'src/Common.hpp')
| -rw-r--r-- | src/Common.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Common.hpp b/src/Common.hpp new file mode 100644 index 0000000..82d37a9 --- /dev/null +++ b/src/Common.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include <SDL2/SDL.h> + +namespace DMG01 +{ + /** * + * @name PROGRAM_NAME + * @brief This has to be the same name as in the Makefile, + * or there will be inconsistencies at some places + */ + constexpr const char* PROGRAM_NAME = "gameboy"; + constexpr uint32_t MEMORY_SIZE = 0xffff; + constexpr uint32_t WINDOW_SIZE_X = 800; + constexpr uint32_t WINDOW_SIZE_Y = 600; + constexpr const char* WINDOW_NAME_DEBUG = "gameboy debugger"; + constexpr const char* FONT_DEFAULT_DEBUG = "./res/pixelated-elegance-font/PixelatedEleganceRegular-ovyAA.ttf"; + constexpr uint32_t FONT_SIZE_DEFAULT_DEBUG = 20; +} |
