fixes building in Mac OS X (I hope so)
This commit is contained in:
@@ -1682,6 +1682,8 @@
|
|||||||
AAFF41A60F5BD4AD00FFDB67 /* ScreenOptionsExportPackage.h in Headers */ = {isa = PBXBuildFile; fileRef = AAFF41A20F5BD4AD00FFDB67 /* ScreenOptionsExportPackage.h */; };
|
AAFF41A60F5BD4AD00FFDB67 /* ScreenOptionsExportPackage.h in Headers */ = {isa = PBXBuildFile; fileRef = AAFF41A20F5BD4AD00FFDB67 /* ScreenOptionsExportPackage.h */; };
|
||||||
B75CE3B5137963350076A82D /* SongPosition.h in Headers */ = {isa = PBXBuildFile; fileRef = B75CE3B3137963350076A82D /* SongPosition.h */; };
|
B75CE3B5137963350076A82D /* SongPosition.h in Headers */ = {isa = PBXBuildFile; fileRef = B75CE3B3137963350076A82D /* SongPosition.h */; };
|
||||||
B75CE3B6137963350076A82D /* SongPosition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B75CE3B4137963350076A82D /* SongPosition.cpp */; };
|
B75CE3B6137963350076A82D /* SongPosition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B75CE3B4137963350076A82D /* SongPosition.cpp */; };
|
||||||
|
B773AE6D140AAB1800C68DDD /* SpecialDirs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B773AE6B140AAB1800C68DDD /* SpecialDirs.cpp */; };
|
||||||
|
B773AE6E140AAB1800C68DDD /* SpecialDirs.h in Headers */ = {isa = PBXBuildFile; fileRef = B773AE6C140AAB1800C68DDD /* SpecialDirs.h */; };
|
||||||
EE2153A910A75BEE0074B01B /* NotesLoaderPMS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = EE2153A710A75BEE0074B01B /* NotesLoaderPMS.cpp */; };
|
EE2153A910A75BEE0074B01B /* NotesLoaderPMS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = EE2153A710A75BEE0074B01B /* NotesLoaderPMS.cpp */; };
|
||||||
EE2153AA10A75BEE0074B01B /* NotesLoaderPMS.h in Headers */ = {isa = PBXBuildFile; fileRef = EE2153A810A75BEE0074B01B /* NotesLoaderPMS.h */; };
|
EE2153AA10A75BEE0074B01B /* NotesLoaderPMS.h in Headers */ = {isa = PBXBuildFile; fileRef = EE2153A810A75BEE0074B01B /* NotesLoaderPMS.h */; };
|
||||||
EE879B60132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = EE879B5C132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp */; };
|
EE879B60132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = EE879B5C132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp */; };
|
||||||
@@ -3108,6 +3110,8 @@
|
|||||||
AAFF5542054E736D00D02EE9 /* Attack.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; name = Attack.h; path = ../src/Attack.h; sourceTree = "<group>"; };
|
AAFF5542054E736D00D02EE9 /* Attack.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; name = Attack.h; path = ../src/Attack.h; sourceTree = "<group>"; };
|
||||||
B75CE3B3137963350076A82D /* SongPosition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SongPosition.h; path = ../src/SongPosition.h; sourceTree = SOURCE_ROOT; };
|
B75CE3B3137963350076A82D /* SongPosition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SongPosition.h; path = ../src/SongPosition.h; sourceTree = SOURCE_ROOT; };
|
||||||
B75CE3B4137963350076A82D /* SongPosition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SongPosition.cpp; path = ../src/SongPosition.cpp; sourceTree = SOURCE_ROOT; };
|
B75CE3B4137963350076A82D /* SongPosition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SongPosition.cpp; path = ../src/SongPosition.cpp; sourceTree = SOURCE_ROOT; };
|
||||||
|
B773AE6B140AAB1800C68DDD /* SpecialDirs.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SpecialDirs.cpp; path = archutils/Darwin/SpecialDirs.cpp; sourceTree = "<group>"; };
|
||||||
|
B773AE6C140AAB1800C68DDD /* SpecialDirs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpecialDirs.h; path = archutils/Darwin/SpecialDirs.h; sourceTree = "<group>"; };
|
||||||
EE2153A710A75BEE0074B01B /* NotesLoaderPMS.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NotesLoaderPMS.cpp; path = ../src/NotesLoaderPMS.cpp; sourceTree = SOURCE_ROOT; };
|
EE2153A710A75BEE0074B01B /* NotesLoaderPMS.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NotesLoaderPMS.cpp; path = ../src/NotesLoaderPMS.cpp; sourceTree = SOURCE_ROOT; };
|
||||||
EE2153A810A75BEE0074B01B /* NotesLoaderPMS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NotesLoaderPMS.h; path = ../src/NotesLoaderPMS.h; sourceTree = SOURCE_ROOT; };
|
EE2153A810A75BEE0074B01B /* NotesLoaderPMS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NotesLoaderPMS.h; path = ../src/NotesLoaderPMS.h; sourceTree = SOURCE_ROOT; };
|
||||||
EE879B5C132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RageDisplay_Legacy_Helpers.cpp; path = ../src/RageDisplay_Legacy_Helpers.cpp; sourceTree = SOURCE_ROOT; };
|
EE879B5C132DEE720078FDDC /* RageDisplay_Legacy_Helpers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RageDisplay_Legacy_Helpers.cpp; path = ../src/RageDisplay_Legacy_Helpers.cpp; sourceTree = SOURCE_ROOT; };
|
||||||
@@ -4145,6 +4149,8 @@
|
|||||||
AAADA4AE04E5F3DE00D02EE9 /* ProductInfo.h */,
|
AAADA4AE04E5F3DE00D02EE9 /* ProductInfo.h */,
|
||||||
AAFBEECF094D7FCB000029DE /* SpecialFiles.cpp */,
|
AAFBEECF094D7FCB000029DE /* SpecialFiles.cpp */,
|
||||||
AAFBEED0094D7FCB000029DE /* SpecialFiles.h */,
|
AAFBEED0094D7FCB000029DE /* SpecialFiles.h */,
|
||||||
|
B773AE6B140AAB1800C68DDD /* SpecialDirs.cpp */,
|
||||||
|
B773AE6C140AAB1800C68DDD /* SpecialDirs.h */,
|
||||||
AA6EFE6204770CF7005F316C /* StdString.h */,
|
AA6EFE6204770CF7005F316C /* StdString.h */,
|
||||||
AA6EFE6304770CF7005F316C /* StepMania.cpp */,
|
AA6EFE6304770CF7005F316C /* StepMania.cpp */,
|
||||||
AA6EFE6404770CF7005F316C /* StepMania.h */,
|
AA6EFE6404770CF7005F316C /* StepMania.h */,
|
||||||
@@ -5256,6 +5262,7 @@
|
|||||||
2B9C2E8E137A138B004C92F3 /* NotesLoaderJson.h in Headers */,
|
2B9C2E8E137A138B004C92F3 /* NotesLoaderJson.h in Headers */,
|
||||||
2B9C2E90137A138B004C92F3 /* NotesWriterJson.h in Headers */,
|
2B9C2E90137A138B004C92F3 /* NotesWriterJson.h in Headers */,
|
||||||
2B43509513949F37006FA051 /* TimingSegments.h in Headers */,
|
2B43509513949F37006FA051 /* TimingSegments.h in Headers */,
|
||||||
|
B773AE6E140AAB1800C68DDD /* SpecialDirs.h in Headers */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -6634,6 +6641,7 @@
|
|||||||
2BD06FF2137242680018CB9F /* json_value.cpp in Sources */,
|
2BD06FF2137242680018CB9F /* json_value.cpp in Sources */,
|
||||||
2BD06FF4137242680018CB9F /* json_writer.cpp in Sources */,
|
2BD06FF4137242680018CB9F /* json_writer.cpp in Sources */,
|
||||||
2B43509613949F37006FA051 /* TimingSegments.cpp in Sources */,
|
2B43509613949F37006FA051 /* TimingSegments.cpp in Sources */,
|
||||||
|
B773AE6D140AAB1800C68DDD /* SpecialDirs.cpp in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -8157,7 +8165,7 @@
|
|||||||
"$(SRCROOT)/../src",
|
"$(SRCROOT)/../src",
|
||||||
"$(SRCROOT)/../src/ffmpeg/include",
|
"$(SRCROOT)/../src/ffmpeg/include",
|
||||||
"$(SRCROOT)/../src/vorbis",
|
"$(SRCROOT)/../src/vorbis",
|
||||||
"$(SRCROOT)/../src/libjpeg",
|
"$(SRCROOT)/../extern/libjpeg",
|
||||||
"$(SRCROOT)/../src/libpng/include",
|
"$(SRCROOT)/../src/libpng/include",
|
||||||
);
|
);
|
||||||
INFOPLIST_FILE = "Info-StepMania.plist";
|
INFOPLIST_FILE = "Info-StepMania.plist";
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "SpecialDirs.h"
|
#include "SpecialDirs.h"
|
||||||
#include "ProductInfo.h"
|
#include "ProductInfo.h"
|
||||||
|
#include <CoreServices/CoreServices.h>
|
||||||
|
#include <IOKit/IOKitLib.h>
|
||||||
|
#include "RageUtil.h"
|
||||||
|
|
||||||
static void PathForFolderType( char dir[PATH_MAX], OSType folderType )
|
static void PathForFolderType( char dir[PATH_MAX], OSType folderType )
|
||||||
{
|
{
|
||||||
@@ -19,6 +22,8 @@ RString SpecialDirs::GetDesktopDir()
|
|||||||
return RString( ssprintf("%s/" PRODUCT_ID, dir) );
|
return RString( ssprintf("%s/" PRODUCT_ID, dir) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2011 AJ Kelly
|
* (c) 2011 AJ Kelly
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
#ifndef SPECIAL_DIRS_H
|
#ifndef SPECIAL_DIRS_H
|
||||||
#define SPECIAL_DIRS_H
|
#define SPECIAL_DIRS_H
|
||||||
|
|
||||||
RString SpecialDirs::GetDesktopDir();
|
namespace SpecialDirs
|
||||||
|
{
|
||||||
|
RString GetDesktopDir();
|
||||||
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user