Integrate all the progress into master #6

Merged
jaby merged 595 commits from ToolBox into main 2025-01-01 13:17:44 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 2f76e7a71e - Show all commits

View File

@ -54,13 +54,16 @@ namespace JabyEngine {
}
};
// Letters are actually only 16x15 but should be treated 16x16
struct Letter : public GPU::internal::LinkedElementCreator<Letter> {
CPU2VRAM cmd;
Line lines[FontSize.height];
Line lines[FontSize.height - 1];
Line empty_line;
void setup(const SizeU16& size) {
this->cmd.cmd = GPU_IO::Command::CPU2VRAM_Blitting();
this->cmd.size = GPU_IO::Command::WidthHeight(size);
this->empty_line.load(0);
}
void load_to(const PositionU16& pos, const uint16_t* bit_map) {