1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 01:58:06 +00:00

fixed the compilation without CAP_COMMANDLINE or without CAP_SVG or fakemobile

This commit is contained in:
Zeno Rogue
2018-07-22 12:50:03 +02:00
parent 4d2f79ba95
commit 329a2fa783
7 changed files with 26 additions and 16 deletions

View File

@@ -780,7 +780,7 @@ namespace mapeditor {
else if(doexiton(sym, uni)) popScreen();
};
}
void handleKeyMap(int sym, int uni) {
handlePanning(sym, uni);
@@ -1795,11 +1795,12 @@ namespace mapeditor {
}
#if CAP_EDIT
#if CAP_COMMANDLINE
string levelfile = "hyperrogue.lev";
const char *loadlevel = NULL;
string picfile = "hyperrogue.pic";
#if CAP_COMMANDLINE
int read_editor_args() {
using namespace arg;
if(argis("-lev")) { shift(); levelfile = args(); }