Introduce JabyEngine configuration file
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user