diff --git a/tools/tojs/cocos2dx.ini b/tools/tojs/cocos2dx.ini index 1f14fe07d6..af68df68f1 100644 --- a/tools/tojs/cocos2dx.ini +++ b/tools/tojs/cocos2dx.ini @@ -104,15 +104,16 @@ rename_functions = CCDirector::[sharedDirector=getInstance], CCProgressTimer::[setReverseProgress=setReverseDirection], CCTextureCache::[sharedTextureCache=getInstance], CCMenuItem::[setEnabled=setIsEnabled], - CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFilename], - CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation], + CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFile], + CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation removeAnimationByName=removeAnimation], CCLayerGradient::[initWithColor=init], - CCNode::[boundingBox=getBoundingBox], - - CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt], + CCLayerColor::[initWithColor=init], + CCNode::[boundingBox=getBoundingBox removeFromParentAndCleanup=removeFromParent], + CCLabelAtlas::[create=_create], + CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt propertyNamed=getProperty], CCTileMapAtlas::[tileAt=getTileAt], CCTMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup], - SimpleAudioEngine::[sharedEngine=getInstance], + SimpleAudioEngine::[sharedEngine=getInstance preloadBackgroundMusic=preloadMusic setBackgroundMusicVolume=setMusicVolume getBackgroundMusicVolume=getMusicVolume playBackgroundMusic=playMusic stopBackgroundMusic=stopMusic pauseBackgroundMusic=pauseMusic resumeBackgroundMusic=resumeMusic rewindBackgroundMusic=rewindMusic isBackgroundMusicPlaying=isMusicPlaying willPlayBackgroundMusic=willPlayMusic], CCCamera.*::[setUpXYZ=setUp getUpXYZ=getUp setEyeXYZ=setEye getEyeXYZ=getEye setCenterXYZ=setCenter getCenterXYZ=getCenter], CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager]