Mercurial > sdl-ios-xcode
changeset 5281:15a71bec4a55
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 19:16:09 -0800 |
parents | adfcdd311ae0 (diff) bad04e4710f6 (current diff) |
children | a3bfe8657cde |
files | Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj src/video/SDL_gamma.c src/video/SDL_leaks.h src/video/windows/SDL_windowsgamma.c src/video/windows/SDL_windowsgamma.h src/video/x11/SDL_x11gamma.c src/video/x11/SDL_x11gamma.h test/testgamma.c |
diffstat | 42 files changed, 668 insertions(+), 551 deletions(-) [+] |
line wrap: on
line diff
--- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj Sat Feb 12 17:51:47 2011 -0800 +++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj Sat Feb 12 19:16:09 2011 -0800 @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 45; + objectVersion = 46; objects = { /* Begin PBXAggregateTarget section */ @@ -19,17 +19,29 @@ name = "Generate Header Files"; productName = "Generate Header Files"; }; - FDB043B30E2689CC00F5B3F9 /* Template */ = { + 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */ = { isa = PBXAggregateTarget; - buildConfigurationList = FDB043C20E268A0D00F5B3F9 /* Build configuration list for PBXAggregateTarget "Template" */; + buildConfigurationList = 00B4F47412F696B30084EC00 /* Build configuration list for PBXAggregateTarget "BuildUniversalSimulatorDevicelibSDL" */; buildPhases = ( - FDB043B20E2689CC00F5B3F9 /* ShellScript */, + 00B4F47012F696830084EC00 /* ShellScript */, ); dependencies = ( - FDB043BA0E2689E000F5B3F9 /* PBXTargetDependency */, ); - name = Template; - productName = package; + name = BuildUniversalSimulatorDevicelibSDL; + productName = "Build Universal Simulator/Device libSDL"; + }; + 00B4F48B12F6A69C0084EC00 /* PrepareXcodeProjectTemplate */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 00B4F48E12F6A6BA0084EC00 /* Build configuration list for PBXAggregateTarget "PrepareXcodeProjectTemplate" */; + buildPhases = ( + 00B4F48A12F6A69C0084EC00 /* ShellScript */, + ); + dependencies = ( + 00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */, + 00B4F49712F6A7B00084EC00 /* PBXTargetDependency */, + ); + name = PrepareXcodeProjectTemplate; + productName = PrepareXcodeProjectTemplate; }; /* End PBXAggregateTarget section */ @@ -54,7 +66,7 @@ 006E98701195513D001DE610 /* utf8.txt in Resources */ = {isa = PBXBuildFile; fileRef = 006E98691195513D001DE610 /* utf8.txt */; }; 006E9888119552DD001DE610 /* SDL_rwopsbundlesupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 006E9886119552DD001DE610 /* SDL_rwopsbundlesupport.h */; }; 006E9889119552DD001DE610 /* SDL_rwopsbundlesupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 006E9887119552DD001DE610 /* SDL_rwopsbundlesupport.m */; }; - 006E988C119552FC001DE610 /* libSDLiPhoneOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */; }; + 006E988C119552FC001DE610 /* libSDL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6526630DE8FCCB002AD96B /* libSDL.a */; }; 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55A1195B4D900343137 /* AudioToolbox.framework */; }; 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55E1195B4D900343137 /* CoreAudio.framework */; }; 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5601195B4D900343137 /* CoreGraphics.framework */; }; @@ -258,12 +270,19 @@ remoteGlobalIDString = FD6526620DE8FCCB002AD96B; remoteInfo = StaticLibiPhoneOS; }; - FDB043B90E2689E000F5B3F9 /* PBXContainerItemProxy */ = { + 00B4F49612F6A7B00084EC00 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; proxyType = 1; - remoteGlobalIDString = FD6526620DE8FCCB002AD96B; - remoteInfo = StaticLibiPhoneOS; + remoteGlobalIDString = 00B4F47112F696830084EC00; + remoteInfo = BuildUniversalSimulatorDevicelibSDL; + }; + 00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0064653F107E3D7400183915; + remoteInfo = "Generate Header Files"; }; /* End PBXContainerItemProxy section */ @@ -399,7 +418,7 @@ FD5F9D1E0E0E08B3008E885B /* SDL_joystick.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_joystick.c; sourceTree = "<group>"; }; FD5F9D1F0E0E08B3008E885B /* SDL_joystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_joystick_c.h; sourceTree = "<group>"; }; FD5F9D200E0E08B3008E885B /* SDL_sysjoystick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sysjoystick.h; sourceTree = "<group>"; }; - FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLiPhoneOS.a; sourceTree = BUILT_PRODUCTS_DIR; }; + FD6526630DE8FCCB002AD96B /* libSDL.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL.a; sourceTree = BUILT_PRODUCTS_DIR; }; FD689EF90E26E57800F90B21 /* SDL_coreaudio_iphone.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_coreaudio_iphone.c; sourceTree = "<group>"; }; FD689EFA0E26E57800F90B21 /* SDL_coreaudio_iphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_coreaudio_iphone.h; sourceTree = "<group>"; }; FD689F000E26E5B600F90B21 /* SDL_sysjoystick.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_sysjoystick.m; sourceTree = "<group>"; }; @@ -540,7 +559,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 006E988C119552FC001DE610 /* libSDLiPhoneOS.a in Frameworks */, + 006E988C119552FC001DE610 /* libSDL.a in Frameworks */, 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */, 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */, 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */, @@ -767,7 +786,7 @@ 19C28FACFE9D520D11CA2CBB /* Products */ = { isa = PBXGroup; children = ( - FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */, + FD6526630DE8FCCB002AD96B /* libSDL.a */, 006E982211955059001DE610 /* testsdl.app */, ); name = Products; @@ -1289,9 +1308,9 @@ productReference = 006E982211955059001DE610 /* testsdl.app */; productType = "com.apple.product-type.application"; }; - FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */ = { + FD6526620DE8FCCB002AD96B /* libSDL */ = { isa = PBXNativeTarget; - buildConfigurationList = FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "StaticLibiPhoneOS" */; + buildConfigurationList = FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "libSDL" */; buildPhases = ( FD65265F0DE8FCCB002AD96B /* Headers */, FD6526600DE8FCCB002AD96B /* Sources */, @@ -1301,9 +1320,9 @@ dependencies = ( 00646548107E3DE800183915 /* PBXTargetDependency */, ); - name = StaticLibiPhoneOS; + name = libSDL; productName = iPhoneSDLStaticLib; - productReference = FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */; + productReference = FD6526630DE8FCCB002AD96B /* libSDL.a */; productType = "com.apple.product-type.library.static"; }; /* End PBXNativeTarget section */ @@ -1312,7 +1331,7 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */; - compatibilityVersion = "Xcode 3.1"; + compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( @@ -1325,10 +1344,11 @@ projectDirPath = ""; projectRoot = ../..; targets = ( - FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */, + FD6526620DE8FCCB002AD96B /* libSDL */, 0064653F107E3D7400183915 /* Generate Header Files */, - FDB043B30E2689CC00F5B3F9 /* Template */, 006E982111955059001DE610 /* testsdl */, + 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */, + 00B4F48B12F6A69C0084EC00 /* PrepareXcodeProjectTemplate */, ); }; /* End PBXProject section */ @@ -1384,9 +1404,25 @@ shellPath = /bin/sh; shellScript = "if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh"; }; - FDB043B20E2689CC00F5B3F9 /* ShellScript */ = { + 00B4F47012F696830084EC00 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; - buildActionMask = 12; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SYMROOT)/$(CONFIGURATION)-iphonesimulator/libSDL.a", + "$(SYMROOT)/$(CONFIGURATION)-iphoneos/libSDL.a", + ); + outputPaths = ( + "$(SYMROOT)/libSDL.a", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Build the simulator binary\n# xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration Release -sdk iphonesimulator\nxcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration $CONFIGURATION -sdk iphonesimulator\n\n# Build the device binary\n# xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration Release -sdk iphoneos\nxcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration $CONFIGURATION -sdk iphoneos\n\n# create a simulator/device fat binary from the 2 separate builds\nlipo $SYMROOT/$CONFIGURATION-iphonesimulator/libSDL.a $SYMROOT/$CONFIGURATION-iphoneos/libSDL.a -output $SYMROOT/libSDL.a -create\n\necho \"Created Universal Simulator/Device binary at $SYMROOT/libSDL.a\"\n\n\nexit 0\n"; + }; + 00B4F48A12F6A69C0084EC00 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; files = ( ); inputPaths = ( @@ -1395,7 +1431,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\ndest=\"/Developer/Platforms/iPhoneOS.platform/Developer/Library/XCode/Project Templates/SDL\"\ntemplate_dir_name=\"SDL Application\"\n\nrsync_flags=\"--exclude *.svn --links -r\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/lib/\"\nmkdir -p \"$temp/$template_dir_name/include\"\n\n#copy template\nrsync $rsync_flags \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\nrsync $rsync_flags -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib. Can't use the same name.\nrsync $rsync_flags -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/libSDLSimulator.a\"\n\n#copy headers\nrsync $rsync_flags ../../include/. \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\""; + shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\n# Wrong! 1. Can't assume location of Xcode directory (use xcode-select)\n# 2. Project templates should go in Application Support directories anyway.\ntemplate_dir_name=\"SDL iOS Application\"\n# dest=\"$(HOME)/Library/Application Support/Developer/Shared/Xcode/Project Templates/SDL/SDL iOS Application\"\nrsync_flags=\"--exclude *.svn --links -r\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/SDL/lib/\"\nmkdir -p \"$temp/$template_dir_name/SDL/include\"\n\n# copy template\nrsync $rsync_flags \"../template/$template_dir_name\" $temp/\n\n# copy Universal libSDL.a\nrsync $rsync_flags -r $SYMROOT/libSDL.a \"$temp/$template_dir_name/SDL/lib/\"\n\n# copy headers\nrsync $rsync_flags ../../include/ \"$temp/$template_dir_name/SDL/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\""; }; /* End PBXShellScriptBuildPhase section */ @@ -1526,13 +1562,18 @@ }; 006E982B11955065001DE610 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */; + target = FD6526620DE8FCCB002AD96B /* libSDL */; targetProxy = 006E982A11955065001DE610 /* PBXContainerItemProxy */; }; - FDB043BA0E2689E000F5B3F9 /* PBXTargetDependency */ = { + 00B4F49712F6A7B00084EC00 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */; - targetProxy = FDB043B90E2689E000F5B3F9 /* PBXContainerItemProxy */; + target = 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */; + targetProxy = 00B4F49612F6A7B00084EC00 /* PBXContainerItemProxy */; + }; + 00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0064653F107E3D7400183915 /* Generate Header Files */; + targetProxy = 00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -1603,10 +1644,53 @@ }; name = Release; }; + 00B4F47212F696830084EC00 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + PRODUCT_NAME = BuildUniversalSimulatorDevicelibSDL; + }; + name = Debug; + }; + 00B4F47312F696830084EC00 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + PRODUCT_NAME = BuildUniversalSimulatorDevicelibSDL; + ZERO_LINK = NO; + }; + name = Release; + }; + 00B4F48C12F6A69C0084EC00 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + PRODUCT_NAME = PrepareXcodeProjectTemplate; + }; + name = Debug; + }; + 00B4F48D12F6A69C0084EC00 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + PRODUCT_NAME = PrepareXcodeProjectTemplate; + ZERO_LINK = NO; + }; + name = Release; + }; C01FCF4F08A954540054247B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; GCC_C_LANGUAGE_STANDARD = c99; GCC_DEBUGGING_SYMBOLS = full; @@ -1624,7 +1708,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; GCC_C_LANGUAGE_STANDARD = c99; GCC_WARN_ABOUT_RETURN_TYPE = YES; @@ -1640,13 +1724,12 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; COPY_PHASE_STRIP = NO; DEPLOYMENT_LOCATION = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; PREBINDING = NO; - PRODUCT_NAME = SDLiPhoneOS; + PRODUCT_NAME = SDL; SKIP_INSTALL = YES; }; name = Debug; @@ -1655,34 +1738,17 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEPLOYMENT_LOCATION = NO; GCC_ENABLE_FIX_AND_CONTINUE = NO; PREBINDING = NO; - PRODUCT_NAME = SDLiPhoneOS; + PRODUCT_NAME = SDL; SKIP_INSTALL = YES; ZERO_LINK = NO; }; name = Release; }; - FDB043B40E2689CC00F5B3F9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ""; - PRODUCT_NAME = Template; - }; - name = Debug; - }; - FDB043B50E2689CC00F5B3F9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ""; - PRODUCT_NAME = Template; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1704,6 +1770,24 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 00B4F47412F696B30084EC00 /* Build configuration list for PBXAggregateTarget "BuildUniversalSimulatorDevicelibSDL" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00B4F47212F696830084EC00 /* Debug */, + 00B4F47312F696830084EC00 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 00B4F48E12F6A6BA0084EC00 /* Build configuration list for PBXAggregateTarget "PrepareXcodeProjectTemplate" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00B4F48C12F6A69C0084EC00 /* Debug */, + 00B4F48D12F6A69C0084EC00 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1713,7 +1797,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "StaticLibiPhoneOS" */ = { + FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "libSDL" */ = { isa = XCConfigurationList; buildConfigurations = ( FD6526640DE8FCCB002AD96B /* Debug */, @@ -1722,15 +1806,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - FDB043C20E268A0D00F5B3F9 /* Build configuration list for PBXAggregateTarget "Template" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - FDB043B40E2689CC00F5B3F9 /* Debug */, - FDB043B50E2689CC00F5B3F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
--- a/Xcode-iPhoneOS/Template/SDL Application/Info.plist Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleDisplayName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string>Icon</string> - <key>CFBundleIdentifier</key> - <string>com.yourcompany.${PRODUCT_NAME:identifier}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1.0</string> - <key>LSRequiresIPhoneOS</key> - <false/> -</dict> -</plist>
Binary file Xcode-iPhoneOS/Template/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>Description</key> - <string>This project builds an SDL based project for iPhone OS using C or Objective-C. It includes everything you need to get up and running with SDL on iPhone.</string> - <key>CFBundleIconFile</key> - <string>Icon.png</string> -</dict> -</plist>
--- a/Xcode-iPhoneOS/Template/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,274 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; - 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; }; - 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; }; - FD779ED20E26B9B000F39101 /* libSDLSimulator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779ED00E26B9B000F39101 /* libSDLSimulator.a */; }; - FD779ED30E26B9B000F39101 /* libSDLiPhoneOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */; }; - FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779EDD0E26BA1200F39101 /* CoreAudio.framework */; }; - FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07C0E26BD8C00F39101 /* Icon.png */; }; - FD77A07F0E26BDA900F39101 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07E0E26BDA900F39101 /* Default.png */; }; - FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD77A0840E26BDB800F39101 /* AudioToolbox.framework */; }; - FD77A09D0E26BDE500F39101 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = FD77A09C0E26BDE500F39101 /* main.c */; }; - FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - 28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; - FD779ED00E26B9B000F39101 /* libSDLSimulator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDLSimulator.a; path = lib/libSDLSimulator.a; sourceTree = "<group>"; }; - FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDLiPhoneOS.a; path = lib/libSDLiPhoneOS.a; sourceTree = "<group>"; }; - FD779EDD0E26BA1200F39101 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; - FD77A07C0E26BD8C00F39101 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; }; - FD77A07E0E26BDA900F39101 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; }; - FD77A0840E26BDB800F39101 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - FD77A09C0E26BDE500F39101 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; }; - FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - FD779ED20E26B9B000F39101 /* libSDLSimulator.a in Frameworks */, - FD779ED30E26B9B000F39101 /* libSDLiPhoneOS.a in Frameworks */, - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */, - 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */, - FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */, - FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */, - FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */, - ); - name = Products; - sourceTree = "<group>"; - }; - 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { - isa = PBXGroup; - children = ( - 29B97315FDCFA39411CA2CEA /* Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - FD779EC50E26B99E00F39101 /* Libraries */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = CustomTemplate; - sourceTree = "<group>"; - }; - 29B97315FDCFA39411CA2CEA /* Sources */ = { - isa = PBXGroup; - children = ( - FD77A09C0E26BDE500F39101 /* main.c */, - ); - name = Sources; - sourceTree = "<group>"; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - FD77A07E0E26BDA900F39101 /* Default.png */, - FD77A07C0E26BD8C00F39101 /* Icon.png */, - 8D1107310486CEB800E47090 /* Info.plist */, - ); - name = Resources; - sourceTree = "<group>"; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */, - FD77A0840E26BDB800F39101 /* AudioToolbox.framework */, - FD779EDD0E26BA1200F39101 /* CoreAudio.framework */, - 28FD15070DC6FC5B0079059D /* QuartzCore.framework */, - 28FD14FF0DC6FC520079059D /* OpenGLES.framework */, - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, - 1D30AB110D05D00D00671497 /* Foundation.framework */, - ); - name = Frameworks; - sourceTree = "<group>"; - }; - FD779EC50E26B99E00F39101 /* Libraries */ = { - isa = PBXGroup; - children = ( - FD779ED00E26B9B000F39101 /* libSDLSimulator.a */, - FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */, - ); - name = Libraries; - sourceTree = "<group>"; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "___PROJECTNAME___"; - productName = "___PROJECTNAME___"; - productReference = 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; - compatibilityVersion = "Xcode 3.1"; - hasScannedForEncodings = 1; - mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */, - FD77A07F0E26BDA900F39101 /* Default.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - FD77A09D0E26BDE500F39101 /* main.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - INFOPLIST_FILE = Info.plist; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/lib\"", - ); - PRODUCT_NAME = "___PROJECTNAME___"; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - INFOPLIST_FILE = Info.plist; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/lib\"", - ); - PRODUCT_NAME = "___PROJECTNAME___"; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ./include; - LIBRARY_SEARCH_PATHS = ./lib; - ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos2.0; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ./include; - LIBRARY_SEARCH_PATHS = ./lib; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos2.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -}
--- a/Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app.dSYM/Contents/Info.plist Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> - <dict> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleIdentifier</key> - <string>com.apple.xcode.dsym.com.yourcompany.___PROJECTNAME___</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundlePackageType</key> - <string>dSYM</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1.0</string> - <key>dSYM_UUID</key> - <dict> - <key>i386</key> - <string>13FECEAC-A920-B1BB-2724-8872CDC3ADA0</string> - </dict> - </dict> -</plist>
Binary file Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app.dSYM/Contents/Resources/DWARF/___PROJECTNAME___ has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app/Default.png has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app/Icon.png has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app/Info.plist Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleDisplayName</key> - <string>___PROJECTNAME___</string> - <key>CFBundleExecutable</key> - <string>___PROJECTNAME___</string> - <key>CFBundleIconFile</key> - <string>Icon</string> - <key>CFBundleIdentifier</key> - <string>com.yourcompany.___PROJECTNAME___</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>___PROJECTNAME___</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1.0</string> - <key>DTPlatformName</key> - <string>iphonesimulator</string> - <key>DTSDKName</key> - <string>iphonesimulator2.0</string> - <key>LSRequiresIPhoneOS</key> - <true/> - <key>NSMainNibFile</key> - <string>MainWindow</string> -</dict> -</plist>
--- a/Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app/PkgInfo Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -APPL???? \ No newline at end of file
Binary file Xcode-iPhoneOS/Template/SDL Application/build/Debug-iphonesimulator/___PROJECTNAME___.app/___PROJECTNAME___ has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/___PROJECTNAME___.LinkFileList Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -/Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/main.o
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___-all-target-headers.hmap has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___-generated-files.hmap has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___-own-target-headers.hmap has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___-project-headers.hmap has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___.dep Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -ffffffffffffffffffffffffffffffff 11cd877137f9eed324e782d588e84bc5 ffffffffffffffffffffffffffffffff 14640 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/main.o -ffffffffffffffffffffffffffffffff 3ec28360e78eae6a493a0ff3bc6cb17c ffffffffffffffffffffffffffffffff 102 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app.dSYM -ffffffffffffffffffffffffffffffff 151e90fb5889edbdd1ed207b3cc0ba0f ffffffffffffffffffffffffffffffff 238 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app -ffffffffffffffffffffffffffffffff d94c112c37991e822c2d60f8753ab166 ffffffffffffffffffffffffffffffff 388096 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/___PROJECTNAME___ -00000000000000000000000000000000 9c5835cfbec618ea047d82500496eb4e ffffffffffffffffffffffffffffffff 18383 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/Default.png -00000000000000000000000000000000 a8332d261f5c1a7151ce1ec088c26f91 ffffffffffffffffffffffffffffffff 2409 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/Icon.png -00000000000000000000000000000000 88ad0f6737f993b4b854d8dba66ce9b4 ffffffffffffffffffffffffffffffff 8 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/PkgInfo -00000000000000000000000000000000 88ad0f6737f993b4b854d8dba66ce9b4 ffffffffffffffffffffffffffffffff 1015 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/Info.plist -00000000000000000000000000000000 c8b0b76ee5e241ec6f7dbf84b5c85f28 ffffffffffffffffffffffffffffffff 0 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-bpynybvfiwqzxectdzwvdroszlym/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -0000000048767f0000000000000023da 74f867b0bb5fe890d8d7d5b98c4d397c ffffffffffffffffffffffffffffffff 1569 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/MainWindow.nib -69b1745c36275003a4f22b4511a443df a4e0e24a8f482188b4dbad70f4c0e55f ffffffffffffffffffffffffffffffff 25936 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/EAGLView.o -69b1745c3623a7d2a4f22b4511a4ee85 d87cc36129a82d84fb817ff1d7e9f9b6 ffffffffffffffffffffffffffffffff 22640 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/___PROJECTNAMEASIDENTIFIER___AppDelegate.o -00000000002f120a0000000000001daa 69b1745c714dec1fa4f22b4511a4b476 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-fajjndbnyormigaxufwepgtdykpq/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa 206fe62d4911b4b42ccc1cf37d3a1334 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-bxaflywrxupegvakgkrektprcnev/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa a3dd45bcb64de9c36af81cda0e565bfd ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-ctstxtdqcljwpafcbczzbhokmwgz/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa 607c65cab4cd06b31262fa968678ba71 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-flevhlcgutpnytdmlzaybwhfijyq/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___.hmap has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/___PROJECTNAME___~.dep Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -ffffffffffffffffffffffffffffffff 3ec28360e78eae6a493a0ff3bc6cb17c ffffffffffffffffffffffffffffffff 0 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app.dSYM -ffffffffffffffffffffffffffffffff 151e90fb5889edbdd1ed207b3cc0ba0f ffffffffffffffffffffffffffffffff 136 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app -bf152f6a7e5e7cd84f037b7ffa51fab1 477f017c7be9afce6f6345477d142156 ffffffffffffffffffffffffffffffff 0 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/___PROJECTNAME___ -000000004763b96a000000000000636a bf152f6a3639307f4f037b7ffa2936d5 ffffffffffffffffffffffffffffffff 16076 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/main.o -00000000000000000000000000000000 88ad0f6737f993b4b854d8dba66ce9b4 ffffffffffffffffffffffffffffffff 8 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/PkgInfo -00000000000000000000000000000000 88ad0f6737f993b4b854d8dba66ce9b4 ffffffffffffffffffffffffffffffff 1015 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/Info.plist -00000000000000000000000000000000 c8b0b76ee5e241ec6f7dbf84b5c85f28 ffffffffffffffffffffffffffffffff 0 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-bpynybvfiwqzxectdzwvdroszlym/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -0000000048767f0000000000000023da 74f867b0bb5fe890d8d7d5b98c4d397c ffffffffffffffffffffffffffffffff 1569 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/Debug-iphonesimulator/___PROJECTNAME___.app/MainWindow.nib -69b1745c36275003a4f22b4511a443df a4e0e24a8f482188b4dbad70f4c0e55f ffffffffffffffffffffffffffffffff 25936 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/EAGLView.o -69b1745c3623a7d2a4f22b4511a4ee85 d87cc36129a82d84fb817ff1d7e9f9b6 ffffffffffffffffffffffffffffffff 22640 /Users/hfutrell/iPhoneSource/gsoc2008_iphone/XCodeiPhoneOS/SDLiPhoneOS/template/SDLApplicationTemplate/build/___PROJECTNAME___.build/Debug-iphonesimulator/___PROJECTNAME___.build/Objects-normal/i386/___PROJECTNAMEASIDENTIFIER___AppDelegate.o -00000000002f120a0000000000001daa 69b1745c714dec1fa4f22b4511a4b476 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-fajjndbnyormigaxufwepgtdykpq/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa 206fe62d4911b4b42ccc1cf37d3a1334 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-bxaflywrxupegvakgkrektprcnev/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa a3dd45bcb64de9c36af81cda0e565bfd ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-ctstxtdqcljwpafcbczzbhokmwgz/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch -00000000002f120a0000000000001daa 607c65cab4cd06b31262fa968678ba71 ffffffffffffffffffffffffffffffff 22662292 /var/folders/zW/zWR2gF8XEAuqN0aTXFk5d++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/___PROJECTNAMEASIDENTIFIER____Prefix-flevhlcgutpnytdmlzaybwhfijyq/___PROJECTNAMEASIDENTIFIER____Prefix.pch.gch
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/categories.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/cdecls.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/decls.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/files.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/imports.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/pbxindex.header has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/protocols.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/refs.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/strings.pbxstrings/control has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/strings.pbxstrings/strings has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/subclasses.pbxbtree has changed
Binary file Xcode-iPhoneOS/Template/SDL Application/build/___PROJECTNAME___.build/___PROJECTNAME___.pbxindex/symbols0.pbxsymbols has changed
--- a/Xcode-iPhoneOS/Template/SDL Application/main.c Sat Feb 12 17:51:47 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +0,0 @@ -/* - * rectangles.c - * written by Holmes Futrell - * use however you want - */ - -#include "SDL.h" -#include <time.h> - -#define SCREEN_WIDTH 320 -#define SCREEN_HEIGHT 480 - -int -randomInt(int min, int max) -{ - return min + rand() % (max - min + 1); -} - -void -render(void) -{ - - Uint8 r, g, b; - /* Come up with a random rectangle */ - SDL_Rect rect; - rect.w = randomInt(64, 128); - rect.h = randomInt(64, 128); - rect.x = randomInt(0, SCREEN_WIDTH); - rect.y = randomInt(0, SCREEN_HEIGHT); - - /* Come up with a random color */ - r = randomInt(50, 255); - g = randomInt(50, 255); - b = randomInt(50, 255); - SDL_SetRenderDrawColor(r, g, b, 255); - - /* Fill the rectangle in the color */ - SDL_RenderFillRect(&rect); - - /* update screen */ - SDL_RenderPresent(); - -} - -int -main(int argc, char *argv[]) -{ - - SDL_WindowID windowID; - int done; - SDL_Event event; - - /* initialize SDL */ - if (SDL_Init(SDL_INIT_VIDEO) < 0) { - printf("Could not initialize SDL\n"); - } - - /* seed random number generator */ - srand(time(NULL)); - - /* create window and renderer */ - windowID = - SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, - SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN); - if (windowID == 0) { - printf("Could not initialize Window\n"); - } - if (SDL_CreateRenderer(windowID, -1, 0) != 0) { - printf("Could not create renderer\n"); - } - - /* Fill screen with black */ - SDL_RenderClear(); - - /* Enter render loop, waiting for user to quit */ - done = 0; - while (!done) { - while (SDL_PollEvent(&event)) { - if (event.type == SDL_QUIT) { - done = 1; - } - } - render(); - SDL_Delay(1); - } - - /* shutdown SDL */ - SDL_Quit(); - - return 0; -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/Info.plist Sat Feb 12 19:16:09 2011 -0800 @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleDisplayName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIconFile</key> + <string>Icon</string> + <key>CFBundleIdentifier</key> + <string>com.yourcompany.${PRODUCT_NAME:identifier}</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>LSRequiresIPhoneOS</key> + <false/> +</dict> +</plist>
Binary file Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist Sat Feb 12 19:16:09 2011 -0800 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>Description</key> + <string>This project builds an SDL based project for iPhone OS using C or Objective-C. It includes everything you need to get up and running with SDL on iPhone.</string> + <key>CFBundleIconFile</key> + <string>Icon.png</string> +</dict> +</plist>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj Sat Feb 12 19:16:09 2011 -0800 @@ -0,0 +1,405 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + +/* Begin PBXBuildFile section */ + 0097E2D912F70C4E00724AC5 /* libSDL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0097E2D512F70C4D00724AC5 /* libSDL.a */; }; + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; + 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; }; + 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; }; + FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779EDD0E26BA1200F39101 /* CoreAudio.framework */; }; + FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07C0E26BD8C00F39101 /* Icon.png */; }; + FD77A07F0E26BDA900F39101 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07E0E26BDA900F39101 /* Default.png */; }; + FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD77A0840E26BDB800F39101 /* AudioToolbox.framework */; }; + FD77A09D0E26BDE500F39101 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = FD77A09C0E26BDE500F39101 /* main.c */; }; + FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 0097E29A12F70C4D00724AC5 /* begin_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = begin_code.h; sourceTree = "<group>"; }; + 0097E29B12F70C4D00724AC5 /* close_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = close_code.h; sourceTree = "<group>"; }; + 0097E29C12F70C4D00724AC5 /* doxyfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = doxyfile; sourceTree = "<group>"; }; + 0097E29D12F70C4D00724AC5 /* SDL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL.h; sourceTree = "<group>"; }; + 0097E29E12F70C4D00724AC5 /* SDL_assert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_assert.h; sourceTree = "<group>"; }; + 0097E29F12F70C4D00724AC5 /* SDL_atomic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_atomic.h; sourceTree = "<group>"; }; + 0097E2A012F70C4D00724AC5 /* SDL_audio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_audio.h; sourceTree = "<group>"; }; + 0097E2A112F70C4D00724AC5 /* SDL_blendmode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_blendmode.h; sourceTree = "<group>"; }; + 0097E2A212F70C4D00724AC5 /* SDL_clipboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_clipboard.h; sourceTree = "<group>"; }; + 0097E2A312F70C4D00724AC5 /* SDL_compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_compat.h; sourceTree = "<group>"; }; + 0097E2A412F70C4D00724AC5 /* SDL_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config.h; sourceTree = "<group>"; }; + 0097E2A512F70C4D00724AC5 /* SDL_config.h.default */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SDL_config.h.default; sourceTree = "<group>"; }; + 0097E2A612F70C4D00724AC5 /* SDL_config.h.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SDL_config.h.in; sourceTree = "<group>"; }; + 0097E2A712F70C4D00724AC5 /* SDL_config_android.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_android.h; sourceTree = "<group>"; }; + 0097E2A812F70C4D00724AC5 /* SDL_config_iphoneos.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_iphoneos.h; sourceTree = "<group>"; }; + 0097E2A912F70C4D00724AC5 /* SDL_config_macosx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_macosx.h; sourceTree = "<group>"; }; + 0097E2AA12F70C4D00724AC5 /* SDL_config_minimal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_minimal.h; sourceTree = "<group>"; }; + 0097E2AB12F70C4D00724AC5 /* SDL_config_nintendods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_nintendods.h; sourceTree = "<group>"; }; + 0097E2AC12F70C4D00724AC5 /* SDL_config_pandora.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_pandora.h; sourceTree = "<group>"; }; + 0097E2AD12F70C4D00724AC5 /* SDL_config_windows.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_windows.h; sourceTree = "<group>"; }; + 0097E2AE12F70C4D00724AC5 /* SDL_config_wiz.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_wiz.h; sourceTree = "<group>"; }; + 0097E2AF12F70C4D00724AC5 /* SDL_copying.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_copying.h; sourceTree = "<group>"; }; + 0097E2B012F70C4D00724AC5 /* SDL_cpuinfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_cpuinfo.h; sourceTree = "<group>"; }; + 0097E2B112F70C4D00724AC5 /* SDL_endian.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_endian.h; sourceTree = "<group>"; }; + 0097E2B212F70C4D00724AC5 /* SDL_error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_error.h; sourceTree = "<group>"; }; + 0097E2B312F70C4D00724AC5 /* SDL_events.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_events.h; sourceTree = "<group>"; }; + 0097E2B412F70C4D00724AC5 /* SDL_gesture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_gesture.h; sourceTree = "<group>"; }; + 0097E2B512F70C4D00724AC5 /* SDL_haptic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_haptic.h; sourceTree = "<group>"; }; + 0097E2B612F70C4D00724AC5 /* SDL_input.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_input.h; sourceTree = "<group>"; }; + 0097E2B712F70C4D00724AC5 /* SDL_joystick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_joystick.h; sourceTree = "<group>"; }; + 0097E2B812F70C4D00724AC5 /* SDL_keyboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_keyboard.h; sourceTree = "<group>"; }; + 0097E2B912F70C4D00724AC5 /* SDL_keysym.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_keysym.h; sourceTree = "<group>"; }; + 0097E2BA12F70C4D00724AC5 /* SDL_loadso.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_loadso.h; sourceTree = "<group>"; }; + 0097E2BB12F70C4D00724AC5 /* SDL_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_main.h; sourceTree = "<group>"; }; + 0097E2BC12F70C4D00724AC5 /* SDL_mouse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_mouse.h; sourceTree = "<group>"; }; + 0097E2BD12F70C4D00724AC5 /* SDL_mutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_mutex.h; sourceTree = "<group>"; }; + 0097E2BE12F70C4D00724AC5 /* SDL_name.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_name.h; sourceTree = "<group>"; }; + 0097E2BF12F70C4D00724AC5 /* SDL_opengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_opengl.h; sourceTree = "<group>"; }; + 0097E2C012F70C4D00724AC5 /* SDL_opengles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_opengles.h; sourceTree = "<group>"; }; + 0097E2C112F70C4D00724AC5 /* SDL_pixels.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_pixels.h; sourceTree = "<group>"; }; + 0097E2C212F70C4D00724AC5 /* SDL_platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_platform.h; sourceTree = "<group>"; }; + 0097E2C312F70C4D00724AC5 /* SDL_power.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_power.h; sourceTree = "<group>"; }; + 0097E2C412F70C4D00724AC5 /* SDL_quit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_quit.h; sourceTree = "<group>"; }; + 0097E2C512F70C4D00724AC5 /* SDL_rect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rect.h; sourceTree = "<group>"; }; + 0097E2C612F70C4D00724AC5 /* SDL_revision.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_revision.h; sourceTree = "<group>"; }; + 0097E2C712F70C4D00724AC5 /* SDL_rwops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rwops.h; sourceTree = "<group>"; }; + 0097E2C812F70C4D00724AC5 /* SDL_scalemode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_scalemode.h; sourceTree = "<group>"; }; + 0097E2C912F70C4D00724AC5 /* SDL_scancode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_scancode.h; sourceTree = "<group>"; }; + 0097E2CA12F70C4D00724AC5 /* SDL_shape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_shape.h; sourceTree = "<group>"; }; + 0097E2CB12F70C4D00724AC5 /* SDL_stdinc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_stdinc.h; sourceTree = "<group>"; }; + 0097E2CC12F70C4D00724AC5 /* SDL_surface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_surface.h; sourceTree = "<group>"; }; + 0097E2CD12F70C4D00724AC5 /* SDL_syswm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_syswm.h; sourceTree = "<group>"; }; + 0097E2CE12F70C4D00724AC5 /* SDL_thread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_thread.h; sourceTree = "<group>"; }; + 0097E2CF12F70C4D00724AC5 /* SDL_timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_timer.h; sourceTree = "<group>"; }; + 0097E2D012F70C4D00724AC5 /* SDL_touch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_touch.h; sourceTree = "<group>"; }; + 0097E2D112F70C4D00724AC5 /* SDL_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_types.h; sourceTree = "<group>"; }; + 0097E2D212F70C4D00724AC5 /* SDL_version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_version.h; sourceTree = "<group>"; }; + 0097E2D312F70C4D00724AC5 /* SDL_video.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_video.h; sourceTree = "<group>"; }; + 0097E2D512F70C4D00724AC5 /* libSDL.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSDL.a; sourceTree = "<group>"; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; + 28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + FD779EDD0E26BA1200F39101 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; + FD77A07C0E26BD8C00F39101 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; }; + FD77A07E0E26BDA900F39101 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; }; + FD77A0840E26BDB800F39101 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; + FD77A09C0E26BDE500F39101 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; }; + FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, + 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */, + 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */, + FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */, + FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */, + FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */, + 0097E2D912F70C4E00724AC5 /* libSDL.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0097E29812F70C4D00724AC5 /* SDL */ = { + isa = PBXGroup; + children = ( + 0097E29912F70C4D00724AC5 /* include */, + 0097E2D412F70C4D00724AC5 /* lib */, + ); + path = SDL; + sourceTree = "<group>"; + }; + 0097E29912F70C4D00724AC5 /* include */ = { + isa = PBXGroup; + children = ( + 0097E29A12F70C4D00724AC5 /* begin_code.h */, + 0097E29B12F70C4D00724AC5 /* close_code.h */, + 0097E29C12F70C4D00724AC5 /* doxyfile */, + 0097E29D12F70C4D00724AC5 /* SDL.h */, + 0097E29E12F70C4D00724AC5 /* SDL_assert.h */, + 0097E29F12F70C4D00724AC5 /* SDL_atomic.h */, + 0097E2A012F70C4D00724AC5 /* SDL_audio.h */, + 0097E2A112F70C4D00724AC5 /* SDL_blendmode.h */, + 0097E2A212F70C4D00724AC5 /* SDL_clipboard.h */, + 0097E2A312F70C4D00724AC5 /* SDL_compat.h */, + 0097E2A412F70C4D00724AC5 /* SDL_config.h */, + 0097E2A512F70C4D00724AC5 /* SDL_config.h.default */, + 0097E2A612F70C4D00724AC5 /* SDL_config.h.in */, + 0097E2A712F70C4D00724AC5 /* SDL_config_android.h */, + 0097E2A812F70C4D00724AC5 /* SDL_config_iphoneos.h */, + 0097E2A912F70C4D00724AC5 /* SDL_config_macosx.h */, + 0097E2AA12F70C4D00724AC5 /* SDL_config_minimal.h */, + 0097E2AB12F70C4D00724AC5 /* SDL_config_nintendods.h */, + 0097E2AC12F70C4D00724AC5 /* SDL_config_pandora.h */, + 0097E2AD12F70C4D00724AC5 /* SDL_config_windows.h */, + 0097E2AE12F70C4D00724AC5 /* SDL_config_wiz.h */, + 0097E2AF12F70C4D00724AC5 /* SDL_copying.h */, + 0097E2B012F70C4D00724AC5 /* SDL_cpuinfo.h */, + 0097E2B112F70C4D00724AC5 /* SDL_endian.h */, + 0097E2B212F70C4D00724AC5 /* SDL_error.h */, + 0097E2B312F70C4D00724AC5 /* SDL_events.h */, + 0097E2B412F70C4D00724AC5 /* SDL_gesture.h */, + 0097E2B512F70C4D00724AC5 /* SDL_haptic.h */, + 0097E2B612F70C4D00724AC5 /* SDL_input.h */, + 0097E2B712F70C4D00724AC5 /* SDL_joystick.h */, + 0097E2B812F70C4D00724AC5 /* SDL_keyboard.h */, + 0097E2B912F70C4D00724AC5 /* SDL_keysym.h */, + 0097E2BA12F70C4D00724AC5 /* SDL_loadso.h */, + 0097E2BB12F70C4D00724AC5 /* SDL_main.h */, + 0097E2BC12F70C4D00724AC5 /* SDL_mouse.h */, + 0097E2BD12F70C4D00724AC5 /* SDL_mutex.h */, + 0097E2BE12F70C4D00724AC5 /* SDL_name.h */, + 0097E2BF12F70C4D00724AC5 /* SDL_opengl.h */, + 0097E2C012F70C4D00724AC5 /* SDL_opengles.h */, + 0097E2C112F70C4D00724AC5 /* SDL_pixels.h */, + 0097E2C212F70C4D00724AC5 /* SDL_platform.h */, + 0097E2C312F70C4D00724AC5 /* SDL_power.h */, + 0097E2C412F70C4D00724AC5 /* SDL_quit.h */, + 0097E2C512F70C4D00724AC5 /* SDL_rect.h */, + 0097E2C612F70C4D00724AC5 /* SDL_revision.h */, + 0097E2C712F70C4D00724AC5 /* SDL_rwops.h */, + 0097E2C812F70C4D00724AC5 /* SDL_scalemode.h */, + 0097E2C912F70C4D00724AC5 /* SDL_scancode.h */, + 0097E2CA12F70C4D00724AC5 /* SDL_shape.h */, + 0097E2CB12F70C4D00724AC5 /* SDL_stdinc.h */, + 0097E2CC12F70C4D00724AC5 /* SDL_surface.h */, + 0097E2CD12F70C4D00724AC5 /* SDL_syswm.h */, + 0097E2CE12F70C4D00724AC5 /* SDL_thread.h */, + 0097E2CF12F70C4D00724AC5 /* SDL_timer.h */, + 0097E2D012F70C4D00724AC5 /* SDL_touch.h */, + 0097E2D112F70C4D00724AC5 /* SDL_types.h */, + 0097E2D212F70C4D00724AC5 /* SDL_version.h */, + 0097E2D312F70C4D00724AC5 /* SDL_video.h */, + ); + path = include; + sourceTree = "<group>"; + }; + 0097E2D412F70C4D00724AC5 /* lib */ = { + isa = PBXGroup; + children = ( + 0097E2D512F70C4D00724AC5 /* libSDL.a */, + ); + path = lib; + sourceTree = "<group>"; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */, + ); + name = Products; + sourceTree = "<group>"; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 29B97315FDCFA39411CA2CEA /* Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 0097E29812F70C4D00724AC5 /* SDL */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = CustomTemplate; + sourceTree = "<group>"; + }; + 29B97315FDCFA39411CA2CEA /* Sources */ = { + isa = PBXGroup; + children = ( + FD77A09C0E26BDE500F39101 /* main.c */, + ); + name = Sources; + sourceTree = "<group>"; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + FD77A07E0E26BDA900F39101 /* Default.png */, + FD77A07C0E26BD8C00F39101 /* Icon.png */, + 8D1107310486CEB800E47090 /* Info.plist */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */, + FD77A0840E26BDB800F39101 /* AudioToolbox.framework */, + FD779EDD0E26BA1200F39101 /* CoreAudio.framework */, + 28FD15070DC6FC5B0079059D /* QuartzCore.framework */, + 28FD14FF0DC6FC520079059D /* OpenGLES.framework */, + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, + 1D30AB110D05D00D00671497 /* Foundation.framework */, + ); + name = Frameworks; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "___PROJECTNAME___"; + productName = "___PROJECTNAME___"; + productReference = 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */; + compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */, + FD77A07F0E26BDA900F39101 /* Default.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FD77A09D0E26BDE500F39101 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1D6058940D05DD3E006BFB54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + INFOPLIST_FILE = Info.plist; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/SDL/lib\"", + ); + PRODUCT_NAME = "___PROJECTNAME___"; + }; + name = Debug; + }; + 1D6058950D05DD3E006BFB54 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + INFOPLIST_FILE = Info.plist; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/SDL/lib\"", + ); + PRODUCT_NAME = "___PROJECTNAME___"; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ""; + PREBINDING = NO; + SDKROOT = iphoneos; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + OTHER_CFLAGS = ""; + PREBINDING = NO; + SDKROOT = iphoneos; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/main.c Sat Feb 12 19:16:09 2011 -0800 @@ -0,0 +1,91 @@ +/* + * rectangles.c + * written by Holmes Futrell + * use however you want + */ + +#include "SDL.h" +#include <time.h> + +#define SCREEN_WIDTH 320 +#define SCREEN_HEIGHT 480 + +int +randomInt(int min, int max) +{ + return min + rand() % (max - min + 1); +} + +void +render(void) +{ + + Uint8 r, g, b; + /* Come up with a random rectangle */ + SDL_Rect rect; + rect.w = randomInt(64, 128); + rect.h = randomInt(64, 128); + rect.x = randomInt(0, SCREEN_WIDTH); + rect.y = randomInt(0, SCREEN_HEIGHT); + + /* Come up with a random color */ + r = randomInt(50, 255); + g = randomInt(50, 255); + b = randomInt(50, 255); + SDL_SetRenderDrawColor(r, g, b, 255); + + /* Fill the rectangle in the color */ + SDL_RenderFillRect(&rect); + + /* update screen */ + SDL_RenderPresent(); + +} + +int +main(int argc, char *argv[]) +{ + + SDL_WindowID windowID; + int done; + SDL_Event event; + + /* initialize SDL */ + if (SDL_Init(SDL_INIT_VIDEO) < 0) { + printf("Could not initialize SDL\n"); + } + + /* seed random number generator */ + srand(time(NULL)); + + /* create window and renderer */ + windowID = + SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, + SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN); + if (windowID == 0) { + printf("Could not initialize Window\n"); + } + if (SDL_CreateRenderer(windowID, -1, 0) != 0) { + printf("Could not create renderer\n"); + } + + /* Fill screen with black */ + SDL_RenderClear(); + + /* Enter render loop, waiting for user to quit */ + done = 0; + while (!done) { + while (SDL_PollEvent(&event)) { + if (event.type == SDL_QUIT) { + done = 1; + } + } + render(); + SDL_Delay(1); + } + + /* shutdown SDL */ + SDL_Quit(); + + return 0; +}