Introduce Kern space
This commit is contained in:
@@ -4,20 +4,13 @@
|
||||
|
||||
namespace JabyEngine {
|
||||
struct DefaultFont {
|
||||
static constexpr auto Info = FontInfo {
|
||||
.texture_size = {64, 80},
|
||||
.font_size = {12, 16}
|
||||
};
|
||||
static constexpr auto Info = FontInfo::create(Make::SizeU16(64, 80), Make::SizeU8(12, 16));
|
||||
|
||||
static void load(uint32_t* work_area, SimpleTIM vram_dst);
|
||||
};
|
||||
|
||||
struct BIOSFont {
|
||||
static constexpr auto Info = FontInfo {
|
||||
.texture_size = {64, 96},
|
||||
.font_size = {16, 16}
|
||||
};
|
||||
|
||||
static constexpr auto TIM = SimpleTIM(JabyEngine::GPU::BIOS_Font::TextureLoadPos.x, JabyEngine::GPU::BIOS_Font::TextureLoadPos.y, JabyEngine::GPU::BIOS_Font::CLUTLoadPos.x, JabyEngine::GPU::BIOS_Font::CLUTLoadPos.y);
|
||||
static constexpr auto Info = FontInfo::create(Make::SizeU16(64, 96), Make::SizeU8(16, 16), Make::SizeU8(12, 16));
|
||||
static constexpr auto TIM = SimpleTIM(JabyEngine::GPU::BIOS_Font::TextureLoadPos.x, JabyEngine::GPU::BIOS_Font::TextureLoadPos.y, JabyEngine::GPU::BIOS_Font::CLUTLoadPos.x, JabyEngine::GPU::BIOS_Font::CLUTLoadPos.y);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user