Kaynağa Gözat

Various ios fixes for new sdl and chipmunk.

Mark Sibly 8 yıl önce
ebeveyn
işleme
c3e3e6242c

+ 272 - 268
modules/chipmunk/Chipmunk7/include/chipmunk/chipmunk_types.h

@@ -1,268 +1,272 @@
-/* Copyright (c) 2013 Scott Lembcke and Howling Moon Software
- * 
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- * 
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- * 
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#ifndef CHIPMUNK_TYPES_H
-#define CHIPMUNK_TYPES_H
-
-#include <stdint.h>
-#include <float.h>
-#include <math.h>
-
-#ifdef __APPLE__
-   #include "TargetConditionals.h"
-#endif
-
-// Use CGTypes by default on iOS and Mac.
-// Also enables usage of doubles on 64 bit.
-// Performance is usually very comparable when the CPU cache is well utilised.
-#if (TARGET_OS_IPHONE || TARGET_OS_MAC) && (!defined CP_USE_CGTYPES)
-	#define CP_USE_CGTYPES 1
-#endif
-
-#if CP_USE_CGTYPES
-	#if TARGET_OS_IPHONE
-		#include <CoreGraphics/CGGeometry.h>
-		#include <CoreGraphics/CGAffineTransform.h>
-	#elif TARGET_OS_MAC
-		#include <ApplicationServices/ApplicationServices.h>
-	#endif
-	
-	#if defined(__LP64__) && __LP64__
-		#define CP_USE_DOUBLES 1
-	#else
-		#define CP_USE_DOUBLES 0
-	#endif
-#endif
-
-#ifndef CP_USE_DOUBLES
-	// Use doubles by default for higher precision.
-	#define CP_USE_DOUBLES 1
-#endif
-
-/// @defgroup basicTypes Basic Types
-/// Most of these types can be configured at compile time.
-/// @{
-
-#if CP_USE_DOUBLES
-/// Chipmunk's floating point type.
-/// Can be reconfigured at compile time.
-	typedef double cpFloat;
-	#define cpfsqrt sqrt
-	#define cpfsin sin
-	#define cpfcos cos
-	#define cpfacos acos
-	#define cpfatan2 atan2
-	#define cpfmod fmod
-	#define cpfexp exp
-	#define cpfpow pow
-	#define cpffloor floor
-	#define cpfceil ceil
-	#define CPFLOAT_MIN DBL_MIN
-#else
-	typedef float cpFloat;
-	#define cpfsqrt sqrtf
-	#define cpfsin sinf
-	#define cpfcos cosf
-	#define cpfacos acosf
-	#define cpfatan2 atan2f
-	#define cpfmod fmodf
-	#define cpfexp expf
-	#define cpfpow powf
-	#define cpffloor floorf
-	#define cpfceil ceilf
-	#define CPFLOAT_MIN FLT_MIN
-#endif
-
-#ifndef INFINITY
-	#ifdef _MSC_VER
-		union MSVC_EVIL_FLOAT_HACK
-		{
-			unsigned __int8 Bytes[4];
-			float Value;
-		};
-		static union MSVC_EVIL_FLOAT_HACK INFINITY_HACK = {{0x00, 0x00, 0x80, 0x7F}};
-		#define INFINITY (INFINITY_HACK.Value)
-	#endif
-	
-	#ifdef __GNUC__
-		#define INFINITY (__builtin_inf())
-	#endif
-	
-	#ifndef INFINITY
-		#define INFINITY (1e1000)
-	#endif
-#endif
-
-
-#define CP_PI ((cpFloat)3.14159265358979323846264338327950288)
-
-
-/// Return the max of two cpFloats.
-static inline cpFloat cpfmax(cpFloat a, cpFloat b)
-{
-	return (a > b) ? a : b;
-}
-
-/// Return the min of two cpFloats.
-static inline cpFloat cpfmin(cpFloat a, cpFloat b)
-{
-	return (a < b) ? a : b;
-}
-
-/// Return the absolute value of a cpFloat.
-static inline cpFloat cpfabs(cpFloat f)
-{
-	return (f < 0) ? -f : f;
-}
-
-/// Clamp @c f to be between @c min and @c max.
-static inline cpFloat cpfclamp(cpFloat f, cpFloat min, cpFloat max)
-{
-	return cpfmin(cpfmax(f, min), max);
-}
-
-/// Clamp @c f to be between 0 and 1.
-static inline cpFloat cpfclamp01(cpFloat f)
-{
-	return cpfmax(0.0f, cpfmin(f, 1.0f));
-}
-
-
-
-/// Linearly interpolate (or extrapolate) between @c f1 and @c f2 by @c t percent.
-static inline cpFloat cpflerp(cpFloat f1, cpFloat f2, cpFloat t)
-{
-	return f1*(1.0f - t) + f2*t;
-}
-
-/// Linearly interpolate from @c f1 to @c f2 by no more than @c d.
-static inline cpFloat cpflerpconst(cpFloat f1, cpFloat f2, cpFloat d)
-{
-	return f1 + cpfclamp(f2 - f1, -d, d);
-}
-
-/// Hash value type.
-#ifdef CP_HASH_VALUE_TYPE
-	typedef CP_HASH_VALUE_TYPE cpHashValue;
-#else
-	typedef uintptr_t cpHashValue;
-#endif
-
-/// Type used internally to cache colliding object info for cpCollideShapes().
-/// Should be at least 32 bits.
-typedef uint32_t cpCollisionID;
-
-// Oh C, how we love to define our own boolean types to get compiler compatibility
-/// Chipmunk's boolean type.
-#ifdef CP_BOOL_TYPE
-	typedef CP_BOOL_TYPE cpBool;
-#else
-	typedef unsigned char cpBool;
-#endif
-
-#ifndef cpTrue
-/// true value.
-	#define cpTrue 1
-#endif
-
-#ifndef cpFalse
-/// false value.
-	#define cpFalse 0
-#endif
-
-#ifdef CP_DATA_POINTER_TYPE
-	typedef CP_DATA_POINTER_TYPE cpDataPointer;
-#else
-/// Type used for user data pointers.
-	typedef void * cpDataPointer;
-#endif
-
-#ifdef CP_COLLISION_TYPE_TYPE
-	typedef CP_COLLISION_TYPE_TYPE cpCollisionType;
-#else
-/// Type used for cpSpace.collision_type.
-	typedef uintptr_t cpCollisionType;
-#endif
-
-#ifdef CP_GROUP_TYPE
-	typedef CP_GROUP_TYPE cpGroup;
-#else
-/// Type used for cpShape.group.
-	typedef uintptr_t cpGroup;
-#endif
-
-#ifdef CP_BITMASK_TYPE
-	typedef CP_BITMASK_TYPE cpBitmask;
-#else
-/// Type used for cpShapeFilter category and mask.
-	typedef unsigned int cpBitmask;
-#endif
-
-#ifdef CP_TIMESTAMP_TYPE
-	typedef CP_TIMESTAMP_TYPE cpTimestamp;
-#else
-/// Type used for various timestamps in Chipmunk.
-	typedef unsigned int cpTimestamp;
-#endif
-
-#ifndef CP_NO_GROUP
-/// Value for cpShape.group signifying that a shape is in no group.
-	#define CP_NO_GROUP ((cpGroup)0)
-#endif
-
-#ifndef CP_ALL_CATEGORIES
-/// Value for cpShape.layers signifying that a shape is in every layer.
-	#define CP_ALL_CATEGORIES (~(cpBitmask)0)
-#endif
-
-#ifndef CP_WILDCARD_COLLISION_TYPE
-/// cpCollisionType value internally reserved for hashing wildcard handlers.
-	#define CP_WILDCARD_COLLISION_TYPE (~(cpCollisionType)0)
-#endif
-
-/// @}
-
-// CGPoints are structurally the same, and allow
-// easy interoperability with other Cocoa libraries
-#if CP_USE_CGTYPES
-	typedef CGPoint cpVect;
-#else
-/// Chipmunk's 2D vector type.
-/// @addtogroup cpVect
-	typedef struct cpVect{cpFloat x,y;} cpVect;
-#endif
-
-#if CP_USE_CGTYPES
-	typedef CGAffineTransform cpTransform;
-#else
-	/// Column major affine transform.
-	typedef struct cpTransform {
-		cpFloat a, b, c, d, tx, ty;
-	} cpTransform;
-#endif
-
-// NUKE
-typedef struct cpMat2x2 {
-	// Row major [[a, b][c d]]
-	cpFloat a, b, c, d;
-} cpMat2x2;
-
-#endif
+/* Copyright (c) 2013 Scott Lembcke and Howling Moon Software
+ * 
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ * 
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#ifndef CHIPMUNK_TYPES_H
+#define CHIPMUNK_TYPES_H
+
+#include <stdint.h>
+#include <float.h>
+#include <math.h>
+
+#ifdef __APPLE__
+   #include "TargetConditionals.h"
+#endif
+
+// ***** Mark was here! Ignore CGTypes for now, doubles all the way *****
+
+/*
+// Use CGTypes by default on iOS and Mac.
+// Also enables usage of doubles on 64 bit.
+// Performance is usually very comparable when the CPU cache is well utilised.
+#if (TARGET_OS_IPHONE || TARGET_OS_MAC) && (!defined CP_USE_CGTYPES)
+	#define CP_USE_CGTYPES 1
+#endif
+*/
+
+#if CP_USE_CGTYPES
+	#if TARGET_OS_IPHONE
+		#include <CoreGraphics/CGGeometry.h>
+		#include <CoreGraphics/CGAffineTransform.h>
+	#elif TARGET_OS_MAC
+		#include <ApplicationServices/ApplicationServices.h>
+	#endif
+	
+	#if defined(__LP64__) && __LP64__
+		#define CP_USE_DOUBLES 1
+	#else
+		#define CP_USE_DOUBLES 0
+	#endif
+#endif
+
+#ifndef CP_USE_DOUBLES
+	// Use doubles by default for higher precision.
+	#define CP_USE_DOUBLES 1
+#endif
+
+/// @defgroup basicTypes Basic Types
+/// Most of these types can be configured at compile time.
+/// @{
+
+#if CP_USE_DOUBLES
+/// Chipmunk's floating point type.
+/// Can be reconfigured at compile time.
+	typedef double cpFloat;
+	#define cpfsqrt sqrt
+	#define cpfsin sin
+	#define cpfcos cos
+	#define cpfacos acos
+	#define cpfatan2 atan2
+	#define cpfmod fmod
+	#define cpfexp exp
+	#define cpfpow pow
+	#define cpffloor floor
+	#define cpfceil ceil
+	#define CPFLOAT_MIN DBL_MIN
+#else
+	typedef float cpFloat;
+	#define cpfsqrt sqrtf
+	#define cpfsin sinf
+	#define cpfcos cosf
+	#define cpfacos acosf
+	#define cpfatan2 atan2f
+	#define cpfmod fmodf
+	#define cpfexp expf
+	#define cpfpow powf
+	#define cpffloor floorf
+	#define cpfceil ceilf
+	#define CPFLOAT_MIN FLT_MIN
+#endif
+
+#ifndef INFINITY
+	#ifdef _MSC_VER
+		union MSVC_EVIL_FLOAT_HACK
+		{
+			unsigned __int8 Bytes[4];
+			float Value;
+		};
+		static union MSVC_EVIL_FLOAT_HACK INFINITY_HACK = {{0x00, 0x00, 0x80, 0x7F}};
+		#define INFINITY (INFINITY_HACK.Value)
+	#endif
+	
+	#ifdef __GNUC__
+		#define INFINITY (__builtin_inf())
+	#endif
+	
+	#ifndef INFINITY
+		#define INFINITY (1e1000)
+	#endif
+#endif
+
+
+#define CP_PI ((cpFloat)3.14159265358979323846264338327950288)
+
+
+/// Return the max of two cpFloats.
+static inline cpFloat cpfmax(cpFloat a, cpFloat b)
+{
+	return (a > b) ? a : b;
+}
+
+/// Return the min of two cpFloats.
+static inline cpFloat cpfmin(cpFloat a, cpFloat b)
+{
+	return (a < b) ? a : b;
+}
+
+/// Return the absolute value of a cpFloat.
+static inline cpFloat cpfabs(cpFloat f)
+{
+	return (f < 0) ? -f : f;
+}
+
+/// Clamp @c f to be between @c min and @c max.
+static inline cpFloat cpfclamp(cpFloat f, cpFloat min, cpFloat max)
+{
+	return cpfmin(cpfmax(f, min), max);
+}
+
+/// Clamp @c f to be between 0 and 1.
+static inline cpFloat cpfclamp01(cpFloat f)
+{
+	return cpfmax(0.0f, cpfmin(f, 1.0f));
+}
+
+
+
+/// Linearly interpolate (or extrapolate) between @c f1 and @c f2 by @c t percent.
+static inline cpFloat cpflerp(cpFloat f1, cpFloat f2, cpFloat t)
+{
+	return f1*(1.0f - t) + f2*t;
+}
+
+/// Linearly interpolate from @c f1 to @c f2 by no more than @c d.
+static inline cpFloat cpflerpconst(cpFloat f1, cpFloat f2, cpFloat d)
+{
+	return f1 + cpfclamp(f2 - f1, -d, d);
+}
+
+/// Hash value type.
+#ifdef CP_HASH_VALUE_TYPE
+	typedef CP_HASH_VALUE_TYPE cpHashValue;
+#else
+	typedef uintptr_t cpHashValue;
+#endif
+
+/// Type used internally to cache colliding object info for cpCollideShapes().
+/// Should be at least 32 bits.
+typedef uint32_t cpCollisionID;
+
+// Oh C, how we love to define our own boolean types to get compiler compatibility
+/// Chipmunk's boolean type.
+#ifdef CP_BOOL_TYPE
+	typedef CP_BOOL_TYPE cpBool;
+#else
+	typedef unsigned char cpBool;
+#endif
+
+#ifndef cpTrue
+/// true value.
+	#define cpTrue 1
+#endif
+
+#ifndef cpFalse
+/// false value.
+	#define cpFalse 0
+#endif
+
+#ifdef CP_DATA_POINTER_TYPE
+	typedef CP_DATA_POINTER_TYPE cpDataPointer;
+#else
+/// Type used for user data pointers.
+	typedef void * cpDataPointer;
+#endif
+
+#ifdef CP_COLLISION_TYPE_TYPE
+	typedef CP_COLLISION_TYPE_TYPE cpCollisionType;
+#else
+/// Type used for cpSpace.collision_type.
+	typedef uintptr_t cpCollisionType;
+#endif
+
+#ifdef CP_GROUP_TYPE
+	typedef CP_GROUP_TYPE cpGroup;
+#else
+/// Type used for cpShape.group.
+	typedef uintptr_t cpGroup;
+#endif
+
+#ifdef CP_BITMASK_TYPE
+	typedef CP_BITMASK_TYPE cpBitmask;
+#else
+/// Type used for cpShapeFilter category and mask.
+	typedef unsigned int cpBitmask;
+#endif
+
+#ifdef CP_TIMESTAMP_TYPE
+	typedef CP_TIMESTAMP_TYPE cpTimestamp;
+#else
+/// Type used for various timestamps in Chipmunk.
+	typedef unsigned int cpTimestamp;
+#endif
+
+#ifndef CP_NO_GROUP
+/// Value for cpShape.group signifying that a shape is in no group.
+	#define CP_NO_GROUP ((cpGroup)0)
+#endif
+
+#ifndef CP_ALL_CATEGORIES
+/// Value for cpShape.layers signifying that a shape is in every layer.
+	#define CP_ALL_CATEGORIES (~(cpBitmask)0)
+#endif
+
+#ifndef CP_WILDCARD_COLLISION_TYPE
+/// cpCollisionType value internally reserved for hashing wildcard handlers.
+	#define CP_WILDCARD_COLLISION_TYPE (~(cpCollisionType)0)
+#endif
+
+/// @}
+
+// CGPoints are structurally the same, and allow
+// easy interoperability with other Cocoa libraries
+#if CP_USE_CGTYPES
+	typedef CGPoint cpVect;
+#else
+/// Chipmunk's 2D vector type.
+/// @addtogroup cpVect
+	typedef struct cpVect{cpFloat x,y;} cpVect;
+#endif
+
+#if CP_USE_CGTYPES
+	typedef CGAffineTransform cpTransform;
+#else
+	/// Column major affine transform.
+	typedef struct cpTransform {
+		cpFloat a, b, c, d, tx, ty;
+	} cpTransform;
+#endif
+
+// NUKE
+typedef struct cpMat2x2 {
+	// Row major [[a, b][c d]]
+	cpFloat a, b, c, d;
+} cpMat2x2;
+
+#endif

+ 1 - 1
modules/chipmunk/chipmunk.monkey2

@@ -25,7 +25,7 @@ Namespace chipmunk
 #Import "Chipmunk7/src/cpGearJoint.c"
 #Import "Chipmunk7/src/cpGrooveJoint.c"
 #Import "Chipmunk7/src/cpHashSet.c"
-#Import "Chipmunk7/src/cpHastySpace.c"
+'#Import "Chipmunk7/src/cpHastySpace.c"	'causing problems on ios.
 #Import "Chipmunk7/src/cpMarch.c"
 #Import "Chipmunk7/src/cpPinJoint.c"
 #Import "Chipmunk7/src/cpPivotJoint.c"

+ 1 - 1
modules/sdl2/makefile_ios.monkey2

@@ -18,7 +18,7 @@ Namespace sdl2
 
 #Import "SDL/src/audio/dummy/SDL_dummyaudio.c"
 
-#Import "SDL/src/audio/coreaudio/SDL_coreaudio.c"		'***** IOS *****
+#Import "SDL/src/audio/coreaudio/SDL_coreaudio.m"		'***** IOS *****
 
 #Import "SDL/src/atomic/SDL_atomic.c"
 #Import "SDL/src/atomic/SDL_spinlock.c"

+ 6 - 2
products/ios/Monkey2Game.xcodeproj/project.pbxproj

@@ -14,6 +14,7 @@
 		7C0CB24E1D7E57ED008ED201 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 7C0CB24D1D7E57ED008ED201 /* assets */; };
 		7C0CB2501D7E5817008ED201 /* libmx2_main.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C0CB24F1D7E5817008ED201 /* libmx2_main.a */; };
 		7C0CB2561D7E664E008ED201 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C0CB2551D7E664E008ED201 /* OpenAL.framework */; };
+		7CF29FA01DDD3CA70093C8FB /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7CF29F9F1DDD3CA70093C8FB /* AVFoundation.framework */; };
 		945C4F53195AF17F00DBBF61 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 945C4F52195AF17F00DBBF61 /* [email protected] */; };
 		FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4B96196703B400F8EB7C /* CoreMotion.framework */; };
 		FAE0E9651BAF967F0098DFA4 /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAE0E9641BAF967F0098DFA4 /* GameController.framework */; };
@@ -34,6 +35,7 @@
 		7C0CB24D1D7E57ED008ED201 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = "<group>"; };
 		7C0CB24F1D7E5817008ED201 /* libmx2_main.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmx2_main.a; sourceTree = "<group>"; };
 		7C0CB2551D7E664E008ED201 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; };
+		7CF29F9F1DDD3CA70093C8FB /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
 		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		945C4F52195AF17F00DBBF61 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
 		FA8B4B96196703B400F8EB7C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
@@ -62,6 +64,7 @@
 				FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */,
 				FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */,
 				FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */,
+				7CF29FA01DDD3CA70093C8FB /* AVFoundation.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -111,6 +114,7 @@
 		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
 			isa = PBXGroup;
 			children = (
+				7CF29F9F1DDD3CA70093C8FB /* AVFoundation.framework */,
 				7C0CB2551D7E664E008ED201 /* OpenAL.framework */,
 				FAE0E9641BAF967F0098DFA4 /* GameController.framework */,
 				FA8B4B96196703B400F8EB7C /* CoreMotion.framework */,
@@ -153,7 +157,7 @@
 			attributes = {
 				LastUpgradeCheck = 0510;
 			};
-			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "${APPLICATION_NAME}" */;
+			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Monkey2Game" */;
 			compatibilityVersion = "Xcode 6.3";
 			developmentRegion = English;
 			hasScannedForEncodings = 1;
@@ -279,7 +283,7 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
-		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "${APPLICATION_NAME}" */ = {
+		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Monkey2Game" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
 				C01FCF4F08A954540054247B /* Debug */,