void unloadPalette()
Unload the current palettes.
int extractIntValue(const std::string &line, const std::string &key)
Extract an integer value from a line of text based on a specified key.
void loadDefaultPalette()
Loads the predefined default palette.
bool loadPalette(std::string *paletteFilePath, bool sub=false)
Load a palette from a file.
std::unique_ptr< Font > loadFont(std::string *name, int size)
Load a font from a file.
void clearScreen(uint16_t *videoBuffer)
Clear the text layer by filling the video buffer with black.
bool loadFontMetadata(std::string *path, Font *font, bool forBoldBitmap=false)
Load the font metadata from a file.
std::uint8_t * loadFontBitmap(std::string *path)
Load the font bitmap from a file.