Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Functions | |
long | remove_chars (char *str, long len, char c) |
Removes all instances of a given char from a string. Modifies the string in-place and sets a new null terminator, if needed. Also strips non-ASCII characters. | |
bool | process_txt (processorInput_t *arg) |
Variables | |
const assetProcessor_t | textProcessor |
The text processor strips out any carriage returns (\r ) or non-ASCII characters from the input file and saves it uncompressed. | |
long remove_chars | ( | char * | str, |
long | len, | ||
char | c ) |
Removes all instances of a given char from a string. Modifies the string in-place and sets a new null terminator, if needed. Also strips non-ASCII characters.
str | string to remove chars from |
len | number of chars in the string, including null terminator |
c | char to remove |
bool process_txt | ( | processorInput_t * | arg | ) |
const assetProcessor_t textProcessor |
The text processor strips out any carriage returns (\r
) or non-ASCII characters from the input file and saves it uncompressed.