1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

map editor

This commit is contained in:
Zeno Rogue 2017-08-06 15:48:20 +02:00
parent 5dbfaff068
commit 75558a904b

View File

@ -27,6 +27,7 @@ void gdpush(int t);
void shareScore(MOBPAR_FORMAL); void shareScore(MOBPAR_FORMAL);
const char *scorefile, *conffile; const char *scorefile, *conffile;
string levelfile, picfile;
bool settingsChanged = false; bool settingsChanged = false;
@ -137,6 +138,8 @@ Java_com_roguetemple_hyperroid_HyperRogue_setFilesDir(MOBPAR_FORMAL, jstring dir
sscorefile = nativeString; sscorefile += "/hyperrogue.log"; sscorefile = nativeString; sscorefile += "/hyperrogue.log";
sconffile = nativeString; sconffile += "/hyperrogue.ini"; sconffile = nativeString; sconffile += "/hyperrogue.ini";
scachefile = nativeString; scachefile += "/scorecache.txt"; scachefile = nativeString; scachefile += "/scorecache.txt";
levelfile = nativeString; levelfile += "/hyperrogue.lev";
picfile = nativeString; picfile += "/hyperrogue.pic";
scorefile = sscorefile.c_str(); scorefile = sscorefile.c_str();
conffile = sconffile.c_str(); conffile = sconffile.c_str();
chmod(scorefile, 0777); chmod(scorefile, 0777);