道具部分完成,bug修复

This commit is contained in:
ozg
2014-04-14 00:26:26 +08:00
parent 241e597718
commit eaecd1919e
31 changed files with 780 additions and 177 deletions
+3 -3
View File
@@ -95,7 +95,7 @@ void RPGLoadingSceneLayer::executeLoading(float delay)
CCTextureCache::sharedTextureCache()->addImageAsync(loadTexture->getCString(), this, callfuncO_selector(RPGLoadingSceneLayer::loadCallBack));
}
else
this->goToNextScene();
this->goToNextScene(0);
}
@@ -106,7 +106,7 @@ void RPGLoadingSceneLayer::loadCallBack(cocos2d::CCObject *sender)
{
//完毕
//CCLog("loading 100%%");
this->goToNextScene();
this->goToNextScene(0);
}
else
{
@@ -120,7 +120,7 @@ void RPGLoadingSceneLayer::loadCallBack(cocos2d::CCObject *sender)
}
void RPGLoadingSceneLayer::goToNextScene()
void RPGLoadingSceneLayer::goToNextScene(float delay)
{
//CCTextureCache::sharedTextureCache()->dumpCachedTextureInfo();
CCScene *s = NULL;