mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
21 lines
395 B
C
21 lines
395 B
C
#ifndef RGBDS_ASM_CHARMAP_H
|
|
#define RGBDS_ASM_CHARMAP_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define MAXCHARMAPS 512
|
|
#define CHARMAPLENGTH 16
|
|
|
|
struct Charmap {
|
|
int count;
|
|
char input[MAXCHARMAPS][CHARMAPLENGTH + 1];
|
|
char output[MAXCHARMAPS];
|
|
};
|
|
|
|
int readUTF8Char(char *destination, char *source);
|
|
void charmap_Sort();
|
|
int charmap_Add(char *input, uint8_t output);
|
|
int charmap_Convert(char **input);
|
|
|
|
#endif
|