From 3b416e75cf3a6c81d4dd1d83418a3b42d739f72f Mon Sep 17 00:00:00 2001 From: tjw Date: Wed, 2 Aug 2006 04:01:36 +0000 Subject: bug 2723 * adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'code/qcommon') diff --git a/code/qcommon/files.c b/code/qcommon/files.c index af5518b..4227128 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2829,6 +2829,10 @@ static void FS_Startup( const char *gameName ) { if (fs_basepath->string[0]) { FS_AddGameDirectory( fs_basepath->string, gameName ); } +#ifdef MACOS_X + // allow .app bundles to be placed along side base dir + FS_AddGameDirectory( ".", gameName ); +#endif // fs_homepath is somewhat particular to *nix systems, only add if relevant // NOTE: same filtering below for mods and basegame if (fs_basepath->string[0] && Q_stricmp(fs_homepath->string,fs_basepath->string)) { -- cgit v1.2.3