mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
Fixed and added some paths
This commit is contained in:
@@ -90,7 +90,6 @@ typedef Sint64 int64;
|
||||
typedef Uint64 uint64;
|
||||
typedef uint8 byte;
|
||||
|
||||
// !!! WINDOWS
|
||||
#else
|
||||
|
||||
typedef HWND WindowHandle;
|
||||
|
@@ -71,7 +71,6 @@ namespace Shared {
|
||||
void message(const string &message,bool isNonGraphicalModeEnabled, const string &writepath);
|
||||
void exceptionMessage(const exception &excp);
|
||||
|
||||
// WINDOWS
|
||||
#else
|
||||
|
||||
// =====================================================
|
||||
|
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user