# HG changeset patch # User snej@snej.local # Date 1227288717 28800 # Node ID b53fa38013fca90c2752fa557ab39a62a0d363d0 # Parent db8640a38fafdf36373ab1a77d6542db068aa9a9 Fixed minor build errors diff -r db8640a38faf -r b53fa38013fc GeekGameBoard-iPhone.xcodeproj/project.pbxproj --- a/GeekGameBoard-iPhone.xcodeproj/project.pbxproj Thu Jul 31 20:01:26 2008 -0700 +++ b/GeekGameBoard-iPhone.xcodeproj/project.pbxproj Fri Nov 21 09:31:57 2008 -0800 @@ -13,6 +13,7 @@ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; 27124B380E2852A700B61BE3 /* Player.m in Sources */ = {isa = PBXBuildFile; fileRef = 27124B350E2852A700B61BE3 /* Player.m */; }; 27124B390E2852A700B61BE3 /* Turn.m in Sources */ = {isa = PBXBuildFile; fileRef = 27124B370E2852A700B61BE3 /* Turn.m */; }; + 273D49890ED7277500EAFFCE /* Funk.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 273D49880ED7277500EAFFCE /* Funk.aiff */; }; 2740502B0DEF36DF0006A9EE /* Pop.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 274050290DEF36DF0006A9EE /* Pop.aiff */; }; 2740502C0DEF36DF0006A9EE /* Tink.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 2740502A0DEF36DF0006A9EE /* Tink.aiff */; }; 279F4B590D85C51700B32DBF /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 279F4B580D85C51700B32DBF /* AudioToolbox.framework */; }; @@ -66,6 +67,7 @@ 27124B350E2852A700B61BE3 /* Player.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Player.m; sourceTree = ""; }; 27124B360E2852A700B61BE3 /* Turn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Turn.h; sourceTree = ""; }; 27124B370E2852A700B61BE3 /* Turn.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Turn.m; sourceTree = ""; }; + 273D49880ED7277500EAFFCE /* Funk.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Funk.aiff; path = /System/Library/Sounds/Funk.aiff; sourceTree = ""; }; 274050290DEF36DF0006A9EE /* Pop.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Pop.aiff; path = /System/Library/Sounds/Pop.aiff; sourceTree = ""; }; 2740502A0DEF36DF0006A9EE /* Tink.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Tink.aiff; path = /System/Library/Sounds/Tink.aiff; sourceTree = ""; }; 279F4B580D85C51700B32DBF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; @@ -296,6 +298,7 @@ 29B97317FDCFA39411CA2CEA /* Resources */ = { isa = PBXGroup; children = ( + 273D49880ED7277500EAFFCE /* Funk.aiff */, 274050290DEF36DF0006A9EE /* Pop.aiff */, 2740502A0DEF36DF0006A9EE /* Tink.aiff */, 279F4E050D860B8800B32DBF /* Green Ball.png */, @@ -380,6 +383,7 @@ 27DBB5300DEE059900616D85 /* Violet.png in Resources */, 2740502B0DEF36DF0006A9EE /* Pop.aiff in Resources */, 2740502C0DEF36DF0006A9EE /* Tink.aiff in Resources */, + 273D49890ED7277500EAFFCE /* Funk.aiff in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff -r db8640a38faf -r b53fa38013fc Source/CheckersGame.m --- a/Source/CheckersGame.m Thu Jul 31 20:01:26 2008 -0700 +++ b/Source/CheckersGame.m Fri Nov 21 09:31:57 2008 -0800 @@ -218,7 +218,7 @@ { for( GridCell *cell in _board.cells ) if( [self canOpponentMoveFrom: cell] ) { - Log(@"Checkers: %@ can move from %@",self.currentPlayer.nextPlayer,cell); + //NSLog(@"Checkers: %@ can move from %@",self.currentPlayer.nextPlayer,cell); return nil; } return self.currentPlayer; diff -r db8640a38faf -r b53fa38013fc Source/QuartzUtils.m --- a/Source/QuartzUtils.m Thu Jul 31 20:01:26 2008 -0700 +++ b/Source/QuartzUtils.m Fri Nov 21 09:31:57 2008 -0800 @@ -23,6 +23,7 @@ #import "QuartzUtils.h" #import #import "Piece.h" +#import "GGBUtils.h" CGColorRef kBlackColor, kWhiteColor,