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:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user