Permalink
Browse files

fixes bug #1335

  • Loading branch information...
1 parent d11b0e1 commit db4b82cc834213ddeefbb7273a1ad76e1d12db21 @ricardoquesada ricardoquesada committed Mar 11, 2012
View
@@ -38,6 +38,7 @@ People/companies who were/are contributing code to cocos2d for iPhone (alphabeti
* Dusan Lazarevic (AKA crmagicxxx):
LabelBMFont y-offset work as expected on RetinaDisplay (patch).
+ Fixed bug in iPad RetinaDisplay code
* Gene Peterson (http://zynga.com)
Dimension is a property on CCLabelTTF
@@ -93,7 +93,7 @@
+(void) setiPadSuffix:(NSString*)suffix;
/** Sets the iPad Retina Display suffix to load resources.
- By default it is "-ipad-hd".
+ By default it is "-ipadhd".
Only valid on iOS. Not valid for OS X.
@since v1.1
@@ -179,11 +179,13 @@ +(NSString*) fullPathFromRelativePath:(NSString*)relPath resolutionType:(ccResol
ret = [self getPath:fullpath forSuffix:__suffixiPhoneRetinaDisplay];
*resolutionType = kCCResolutioniPhoneRetinaDisplay;
}
- else
- {
- *resolutionType = kCCResolutioniPhone;
- ret = fullpath;
- }
+ }
+
+ // If it is iPhone Non RetinaDisplay, or if the previous "getPath" failed, then use iPhone images.
+ if( ret == nil )
+ {
+ *resolutionType = kCCResolutioniPhone;
+ ret = fullpath;
}
return ret;
@@ -377,7 +377,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
@@ -657,7 +657,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
@@ -465,7 +465,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
View
@@ -1427,7 +1427,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
View
@@ -371,7 +371,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// add layer
CCScene *scene = [CCScene node];
@@ -326,7 +326,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// add layer
CCScene *scene = [CCScene node];
@@ -100,7 +100,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
MainLayer * mainLayer =[MainLayer node];
@@ -278,7 +278,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Assume that PVR images have premultiplied alpha
[CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
@@ -420,7 +420,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
View
@@ -501,7 +501,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [TextLayer node] z:0 tag:kTagTextLayer];
View
@@ -157,7 +157,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [FontTest node]];
@@ -143,7 +143,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Turn on display FPS
[director_ setDisplayStats:YES];
View
@@ -1507,7 +1507,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Assume that PVR images have premultiplied alpha
[CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
View
@@ -423,7 +423,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
[director_ pushScene: scene];
View
@@ -594,7 +594,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
@@ -272,7 +272,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
View
@@ -1063,7 +1063,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
@@ -328,7 +328,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
@@ -663,7 +663,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
@@ -165,7 +165,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
View
@@ -247,7 +247,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
@@ -1023,7 +1023,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextTest() node]];
View
@@ -4610,7 +4610,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Assume that PVR images have premultiplied alpha
[CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
@@ -1984,7 +1984,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];
View
@@ -1640,7 +1640,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Assume that PVR images have premultiplied alpha
[CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
@@ -467,7 +467,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Default texture format for PNG/BMP/TIFF/JPEG/GIF images
// It can be RGBA8888, RGBA4444, RGB5_A1, RGB565
View
@@ -265,7 +265,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
// Default texture format for PNG/BMP/TIFF/JPEG/GIF images
// It can be RGBA8888, RGBA4444, RGB5_A1, RGB565
@@ -268,7 +268,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If the -hd, -ipad, -ipadhd files are not found, it will load the non-suffixed version
[CCFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
[CCFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "" (empty string)
- [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipad-hd"
+ [CCFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
CCScene *scene = [CCScene node];
[scene addChild: [nextAction() node]];

0 comments on commit db4b82c

Please sign in to comment.