mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 19:42:08 +00:00
Not all occurrences have been replaced, in some cases they have been left as they were before (like in rgbgfx and when they are in the interface of a C standard library function). Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
21 lines
410 B
C
21 lines
410 B
C
#ifndef RGBDS_ASM_CHARMAP_H
|
|
#define RGBDS_ASM_CHARMAP_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define MAXCHARMAPS 512
|
|
#define CHARMAPLENGTH 16
|
|
|
|
struct Charmap {
|
|
int32_t count;
|
|
char input[MAXCHARMAPS][CHARMAPLENGTH + 1];
|
|
char output[MAXCHARMAPS];
|
|
};
|
|
|
|
int32_t readUTF8Char(char *destination, char *source);
|
|
void charmap_Sort();
|
|
int32_t charmap_Add(char *input, uint8_t output);
|
|
int32_t charmap_Convert(char **input);
|
|
|
|
#endif
|