1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

made the web version compile

This commit is contained in:
Zeno Rogue
2018-06-14 00:06:54 +02:00
parent b342159475
commit 1eaaac4d77
4 changed files with 9 additions and 4 deletions

View File

@@ -98,7 +98,9 @@ int arg::readCommon() {
else if(argis("-s")) { PHASE(1); shift(); scorefile = argcs(); }
else if(argis("-m")) { PHASE(1); shift(); musicfile = argcs(); }
else if(argis("-nogui")) { PHASE(1); noGUI = true; }
#ifndef EMSCRIPTEN
else if(argis("-font")) { PHASE(1); shift(); fontpath = args(); }
#endif
#if CAP_SDLAUDIO
else if(argis("-se")) { PHASE(1); shift(); wheresounds = args(); }
#endif