|
Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Functions | |
| char * | loadTxt (cnfsFileIdx_t fIdx, 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 | ( | cnfsFileIdx_t | fIdx, |
| bool | spiRam ) |
Load a TXT from ROM to RAM. TXTs placed in the assets_image folder before compilation will be automatically flashed to ROM.
| fIdx | The cnfsFileIdx_t 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 |