1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-05 09:20:15 +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

@@ -638,6 +638,7 @@ EX void initConfig() {
multi::scs[5].uicolor = 0x00C0C0FF;
multi::scs[6].uicolor = 0xC0C0C0FF;
#if CAP_CONFIG
addsaver(multi::players, "mode-number of players");
addsaver(alwaysuse, "use configured keys");
// unfortunately we cannot use key names here because SDL is not yet initialized
@@ -656,6 +657,7 @@ EX void initConfig() {
}
}
for(int i=0; i<7; i++) addsaver(multi::scs[i], "player"+its(i));
#endif
}
EX void handleInput(int delta) {