shithub: rgbds

ref: 62d820c2612ecf8f51d71b0ec4a1d9862d9908f6
dir: /include/asm/charmap.h/

View raw version
#ifndef RGBDS_ASM_CHARMAP_H
#define RGBDS_ASM_CHARMAP_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, UBYTE output);
int charmap_Convert(char **input);

#endif