Fixed and added some paths

This commit is contained in:
mathusummut
2019-04-05 23:37:26 +02:00
parent 3857de58b5
commit daeec74328
23 changed files with 96 additions and 91 deletions

View File

@@ -90,7 +90,6 @@ typedef Sint64 int64;
typedef Uint64 uint64;
typedef uint8 byte;
// !!! WINDOWS
#else
typedef HWND WindowHandle;

View File

@@ -71,7 +71,6 @@ namespace Shared {
void message(const string &message,bool isNonGraphicalModeEnabled, const string &writepath);
void exceptionMessage(const exception &excp);
// WINDOWS
#else
// =====================================================

View File

@@ -409,7 +409,7 @@ namespace Shared {
globfree(&globbuf);
if (results.empty() == true && errorOnNotFound == true) {
throw game_runtime_error("No files found in: " + mypath);
printf("%s", ("No files found in: " + mypath).c_str());
}
if (cutExtension) {

View File

@@ -83,7 +83,7 @@ namespace Shared {
if (fileStream.is_open() == false) {
if (SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem, "In [%s::%s Line: %d] path = [%s]\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__, path.c_str());
printf("%s", "\nFile NOT FOUND, can't open file: [" + path + "]\n");
printf("%s", ("\nFile NOT FOUND, can't open file: [" + path + "]\n").c_str());
}
if (clearCurrentProperties == true) {