mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-14 02:21:00 +00:00
Little path correction for win32, this repairs screenshot and frame dumping functions.
This commit is contained in:
parent
d903e74bf6
commit
e6e33f2f9d
4 changed files with 80 additions and 15 deletions
|
@ -184,14 +184,13 @@ DSQ::DSQ(std::string fileSystem) : Core(fileSystem, LR_MAX, APPNAME, PARTICLE_AM
|
|||
Linux_CopyTree(core->adjustFilenameCase("_mods").c_str(), core->adjustFilenameCase(fn).c_str());
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(BBGE_BUILD_UNIX)
|
||||
std::string p1 = getUserDataFolder();
|
||||
std::string p2 = getUserDataFolder() + "/save";
|
||||
#if defined(BBGE_BUILD_UNIX)
|
||||
mkdir(p1.c_str(), S_IRWXU);
|
||||
mkdir(p2.c_str(), S_IRWXU);
|
||||
|
||||
//debugLogPath = ;
|
||||
#elif defined(BBGE_BUILD_WINDOWS)
|
||||
CreateDirectoryA(p2.c_str(), NULL);
|
||||
#endif
|
||||
|
||||
difficulty = DIFF_NORMAL;
|
||||
|
@ -4918,11 +4917,7 @@ void DSQ::clearEntities()
|
|||
|
||||
std::string DSQ::getSaveDirectory()
|
||||
{
|
||||
#if defined(BBGE_BUILD_WINDOWS)
|
||||
return "save";
|
||||
#elif defined(BBGE_BUILD_UNIX)
|
||||
return getUserDataFolder() + "/save";
|
||||
#endif
|
||||
}
|
||||
|
||||
void DSQ::spawnParticleEffect(const std::string &name, Vector position, float rotz, float t, int layer, float follow)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue