Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Functions | |
char * | loadTxt (const char *name, bool spiRam) |
Load a TXT from ROM to RAM. TXTs placed in the assets_image folder before compilation will be automatically flashed to ROM. | |
void | freeTxt (char *txtStr) |
Free an allocated TXT string. | |
char * loadTxt | ( | const char * | name, |
bool | spiRam ) |
Load a TXT from ROM to RAM. TXTs placed in the assets_image folder before compilation will be automatically flashed to ROM.
name | The filename of the TXT to load |
spiRam | true to load to SPI RAM, false to load to normal RAM. SPI RAM is more plentiful but slower to access than normal RAM |
void freeTxt | ( | char * | txtStr | ) |
Free an allocated TXT string.
txtStr | the TXT string to free |