Procházet zdrojové kódy

Fixes compilation warnings

Ricardo Quesada před 11 roky
rodič
revize
931347e731

+ 1 - 1
spine-cocos2dx/3.2/example/Classes/AppDelegate.cpp

@@ -20,7 +20,7 @@ bool AppDelegate::applicationDidFinishLaunching () {
 	auto director = Director::getInstance();
 	auto glview = director->getOpenGLView();
     if(!glview) {
-        glview = GLView::create("My Game");
+        glview = GLView::create("Spine Example");
         director->setOpenGLView(glview);
     }
 

+ 4 - 4
spine-cocos2dx/3.2/example/Classes/AppMacros.h

@@ -44,13 +44,13 @@ static Resource largeResource = {cocos2d::Size(1024, 768), "ipad"};
 static Resource extralargeResource = {cocos2d::Size(2048, 1536), "ipad-retina"};
 
 #if (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_480X320)
-static cocos2d::CCSize designResolutionSize = cocos2d::Size(480, 320);
+static cocos2d::Size designResolutionSize = cocos2d::Size(480, 320);
 #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_960x640)
-static cocos2d::CCSize designResolutionSize = cocos2d::Size(960, 640);
+static cocos2d::Size designResolutionSize = cocos2d::Size(960, 640);
 #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_1024X768)
-static cocos2d::CCSize designResolutionSize = cocos2d::Size(1024, 768);
+static cocos2d::Size designResolutionSize = cocos2d::Size(1024, 768);
 #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_2048X1536)
-static cocos2d::CCSize designResolutionSize = cocos2d::Size(2048, 1536);
+static cocos2d::Size designResolutionSize = cocos2d::Size(2048, 1536);
 #else
 #error unknown target design resolution!
 #endif