| 63 | } |
| 64 | |
| 65 | void VideoConsole::Clear(uint8_t r, uint8_t g, uint8_t b){ |
| 66 | memset(characterBuffer,0, widthInCharacters*heightInCharacters*sizeof(ConsoleCharacter)); |
| 67 | cursorX = 0; |
| 68 | cursorY = 0; |
| 69 | } |
| 70 | |
| 71 | void VideoConsole::Print(const char* str, uint8_t r, uint8_t g, uint8_t b){ |
| 72 | while (*str != '\0'){ |