mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-22 11:08:42 +00:00
map editor
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user