1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

mymake now works with Emscripten

This commit is contained in:
Zeno Rogue
2020-10-12 01:28:50 +02:00
parent 9a2b464778
commit 35d26d1595
6 changed files with 48 additions and 16 deletions

View File

@@ -127,11 +127,11 @@ unsigned char fonttable[] = {
unsigned char *ftv = fonttable;
void resetTabFont() {
EX void resetTabFont() {
ftv = fonttable;
}
void loadCompressedChar(int &otwidth, int &otheight, unsigned char *tpix) {
EX void loadCompressedChar(int &otwidth, int &otheight, unsigned char *tpix) {
if(*ftv == 255) {
fprintf(stderr, "There is something wrong with the font table\n");
exit(1);