Integrate all the progress into master #6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue