Fixed minor build errors
authorsnej@snej.local
Fri Nov 21 09:31:57 2008 -0800 (2008-11-21)
changeset 25b53fa38013fc
parent 24 db8640a38faf
child 26 e7a464fb6d39
Fixed minor build errors
GeekGameBoard-iPhone.xcodeproj/project.pbxproj
Source/CheckersGame.m
Source/QuartzUtils.m
     1.1 --- a/GeekGameBoard-iPhone.xcodeproj/project.pbxproj	Thu Jul 31 20:01:26 2008 -0700
     1.2 +++ b/GeekGameBoard-iPhone.xcodeproj/project.pbxproj	Fri Nov 21 09:31:57 2008 -0800
     1.3 @@ -13,6 +13,7 @@
     1.4  		1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
     1.5  		27124B380E2852A700B61BE3 /* Player.m in Sources */ = {isa = PBXBuildFile; fileRef = 27124B350E2852A700B61BE3 /* Player.m */; };
     1.6  		27124B390E2852A700B61BE3 /* Turn.m in Sources */ = {isa = PBXBuildFile; fileRef = 27124B370E2852A700B61BE3 /* Turn.m */; };
     1.7 +		273D49890ED7277500EAFFCE /* Funk.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 273D49880ED7277500EAFFCE /* Funk.aiff */; };
     1.8  		2740502B0DEF36DF0006A9EE /* Pop.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 274050290DEF36DF0006A9EE /* Pop.aiff */; };
     1.9  		2740502C0DEF36DF0006A9EE /* Tink.aiff in Resources */ = {isa = PBXBuildFile; fileRef = 2740502A0DEF36DF0006A9EE /* Tink.aiff */; };
    1.10  		279F4B590D85C51700B32DBF /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 279F4B580D85C51700B32DBF /* AudioToolbox.framework */; };
    1.11 @@ -66,6 +67,7 @@
    1.12  		27124B350E2852A700B61BE3 /* Player.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Player.m; sourceTree = "<group>"; };
    1.13  		27124B360E2852A700B61BE3 /* Turn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Turn.h; sourceTree = "<group>"; };
    1.14  		27124B370E2852A700B61BE3 /* Turn.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Turn.m; sourceTree = "<group>"; };
    1.15 +		273D49880ED7277500EAFFCE /* Funk.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Funk.aiff; path = /System/Library/Sounds/Funk.aiff; sourceTree = "<absolute>"; };
    1.16  		274050290DEF36DF0006A9EE /* Pop.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Pop.aiff; path = /System/Library/Sounds/Pop.aiff; sourceTree = "<absolute>"; };
    1.17  		2740502A0DEF36DF0006A9EE /* Tink.aiff */ = {isa = PBXFileReference; lastKnownFileType = audio.aiff; name = Tink.aiff; path = /System/Library/Sounds/Tink.aiff; sourceTree = "<absolute>"; };
    1.18  		279F4B580D85C51700B32DBF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
    1.19 @@ -296,6 +298,7 @@
    1.20  		29B97317FDCFA39411CA2CEA /* Resources */ = {
    1.21  			isa = PBXGroup;
    1.22  			children = (
    1.23 +				273D49880ED7277500EAFFCE /* Funk.aiff */,
    1.24  				274050290DEF36DF0006A9EE /* Pop.aiff */,
    1.25  				2740502A0DEF36DF0006A9EE /* Tink.aiff */,
    1.26  				279F4E050D860B8800B32DBF /* Green Ball.png */,
    1.27 @@ -380,6 +383,7 @@
    1.28  				27DBB5300DEE059900616D85 /* Violet.png in Resources */,
    1.29  				2740502B0DEF36DF0006A9EE /* Pop.aiff in Resources */,
    1.30  				2740502C0DEF36DF0006A9EE /* Tink.aiff in Resources */,
    1.31 +				273D49890ED7277500EAFFCE /* Funk.aiff in Resources */,
    1.32  			);
    1.33  			runOnlyForDeploymentPostprocessing = 0;
    1.34  		};
     2.1 --- a/Source/CheckersGame.m	Thu Jul 31 20:01:26 2008 -0700
     2.2 +++ b/Source/CheckersGame.m	Fri Nov 21 09:31:57 2008 -0800
     2.3 @@ -218,7 +218,7 @@
     2.4  {
     2.5      for( GridCell *cell in _board.cells )
     2.6          if( [self canOpponentMoveFrom: cell] ) {
     2.7 -            Log(@"Checkers: %@ can move from %@",self.currentPlayer.nextPlayer,cell);
     2.8 +            //NSLog(@"Checkers: %@ can move from %@",self.currentPlayer.nextPlayer,cell);
     2.9              return nil;
    2.10          }
    2.11      return self.currentPlayer;
     3.1 --- a/Source/QuartzUtils.m	Thu Jul 31 20:01:26 2008 -0700
     3.2 +++ b/Source/QuartzUtils.m	Fri Nov 21 09:31:57 2008 -0800
     3.3 @@ -23,6 +23,7 @@
     3.4  #import "QuartzUtils.h"
     3.5  #import <QuartzCore/QuartzCore.h>
     3.6  #import "Piece.h"
     3.7 +#import "GGBUtils.h"
     3.8  
     3.9  
    3.10  CGColorRef kBlackColor, kWhiteColor,