From 32837712fedf4557ff44df7d5b8ddbd40c5f7990 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Fri, 23 Jan 2026 15:15:48 +0100 Subject: Stupid problems with the old git repo. New one, unfortunately. --- src/Common.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Common.hpp (limited to 'src/Common.hpp') 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 + +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; +} -- cgit v1.3