Introduce JabyEngine configuration file

This commit is contained in:
2024-01-02 20:29:36 -06:00
parent f1d4197762
commit 837073fcda
4 changed files with 28 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#include "../jabyegine_config.hpp"
#include "gpu_primitives.hpp"
namespace JabyEngine {
@@ -7,9 +8,8 @@ namespace JabyEngine {
// This size is by Hardware limitation
static constexpr auto Size = SizeU16::create(16, 16);
// The following two values can be easily changed
static constexpr auto TextureLoadPos = PositionU16::create(320, 256);
static constexpr auto CLUTLoadPos = PositionU16::create(320, 511);
static constexpr auto TextureLoadPos = Configuration::BIOSFont::TextureLoadPos;
static constexpr auto CLUTLoadPos = Configuration::BIOSFont::CLUTLoadPos;
static constexpr TexPage get_tex_page() {
return TexPage::create(BIOS_Font::TextureLoadPos, GPU::TexturePageColor::$4bit);