Permalink
Browse files

deployment target changed

gamecenter leaderboards for all levels
  • Loading branch information...
1 parent 3a51ddf commit b4bf4594149d0eb32e3b97aa5b551d9c9fc53c34 @manan19 committed Jun 9, 2011
@@ -396,7 +396,6 @@
INFOPLIST_FILE = "Cross_Me_Not-Info.plist";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/Shared/AdMob\"",
"\"$(SRCROOT)/Shared/FlurryLib\"",
"\"$(SRCROOT)/Shared/GoogleAdMobAdsSDK\"",
);
@@ -417,7 +416,6 @@
INFOPLIST_FILE = "Cross_Me_Not-Info.plist";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/Shared/AdMob\"",
"\"$(SRCROOT)/Shared/FlurryLib\"",
"\"$(SRCROOT)/Shared/GoogleAdMobAdsSDK\"",
);
@@ -436,7 +434,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
@@ -457,7 +455,6 @@
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/Shared/AdMob\"",
"\"$(SRCROOT)/Shared/FlurryLib\"",
"\"$(SRCROOT)/Shared/GoogleAdMobAdsSDK\"",
);
@@ -476,7 +473,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
SDKROOT = iphoneos;
@@ -492,7 +489,7 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 3.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
@@ -342,10 +342,11 @@ - (IBAction)infoButton:(id)sender
}
}
-- (void) showLeaderboard
+- (void) showLeaderboardOfLevel:(int) level
{
if (leaderboardController != nil)
{
+ leaderboardController.category = [NSString stringWithFormat:@"l%d",level];
leaderboardController.leaderboardDelegate = self;
[placeHolderViewController presentModalViewController: leaderboardController animated: YES];
}
@@ -358,7 +359,7 @@ - (void)leaderboardViewControllerDidFinish:(GKLeaderboardViewController *)viewCo
- (IBAction)gameCenter:(id)sender
{
- [self showLeaderboard];
+ [self showLeaderboardOfLevel:currentLevel+1];
}
- (IBAction)startGame:(id)sender

0 comments on commit b4bf459

Please sign in to comment.