mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2066 from dumganhar/master
CCNodeRGA isn't a pure abstract class anymore. Updated tools/tojs/cocos2d.ini. Removing some deprecated functions.
This commit is contained in:
commit
b05a4e6acc
|
@ -1424,8 +1424,8 @@ public:
|
||||||
virtual bool isCascadeColorEnabled();
|
virtual bool isCascadeColorEnabled();
|
||||||
virtual void setCascadeColorEnabled(bool cascadeColorEnabled);
|
virtual void setCascadeColorEnabled(bool cascadeColorEnabled);
|
||||||
|
|
||||||
virtual void setOpacityModifyRGB(bool bValue) = 0;
|
virtual void setOpacityModifyRGB(bool bValue) {};
|
||||||
virtual bool isOpacityModifyRGB() = 0;
|
virtual bool isOpacityModifyRGB() { return false; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
GLubyte _displayedOpacity;
|
GLubyte _displayedOpacity;
|
||||||
|
|
|
@ -53,11 +53,6 @@ CCLabelTTF::~CCLabelTTF()
|
||||||
CC_SAFE_DELETE(m_pFontName);
|
CC_SAFE_DELETE(m_pFontName);
|
||||||
}
|
}
|
||||||
|
|
||||||
CCLabelTTF * CCLabelTTF::node()
|
|
||||||
{
|
|
||||||
return CCLabelTTF::create();
|
|
||||||
}
|
|
||||||
|
|
||||||
CCLabelTTF * CCLabelTTF::create()
|
CCLabelTTF * CCLabelTTF::create()
|
||||||
{
|
{
|
||||||
CCLabelTTF * pRet = new CCLabelTTF();
|
CCLabelTTF * pRet = new CCLabelTTF();
|
||||||
|
|
|
@ -82,9 +82,6 @@ public:
|
||||||
|
|
||||||
/** initializes the CCLabelTTF */
|
/** initializes the CCLabelTTF */
|
||||||
bool init();
|
bool init();
|
||||||
/** Creates an label.
|
|
||||||
*/
|
|
||||||
static CCLabelTTF * node();
|
|
||||||
|
|
||||||
/** Creates an label.
|
/** Creates an label.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -653,11 +653,6 @@ void CCLayerColor::setBlendFunc(ccBlendFunc var)
|
||||||
m_tBlendFunc = var;
|
m_tBlendFunc = var;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCLayerColor* CCLayerColor::node()
|
|
||||||
{
|
|
||||||
return CCLayerColor::create();
|
|
||||||
}
|
|
||||||
|
|
||||||
CCLayerColor* CCLayerColor::create()
|
CCLayerColor* CCLayerColor::create()
|
||||||
{
|
{
|
||||||
CCLayerColor* pRet = new CCLayerColor();
|
CCLayerColor* pRet = new CCLayerColor();
|
||||||
|
@ -833,11 +828,6 @@ CCLayerGradient* CCLayerGradient::create(const ccColor4B& start, const ccColor4B
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCLayerGradient* CCLayerGradient::node()
|
|
||||||
{
|
|
||||||
return CCLayerGradient::create();
|
|
||||||
}
|
|
||||||
|
|
||||||
CCLayerGradient* CCLayerGradient::create()
|
CCLayerGradient* CCLayerGradient::create()
|
||||||
{
|
{
|
||||||
CCLayerGradient* pRet = new CCLayerGradient();
|
CCLayerGradient* pRet = new CCLayerGradient();
|
||||||
|
|
|
@ -226,9 +226,6 @@ public:
|
||||||
|
|
||||||
virtual void draw();
|
virtual void draw();
|
||||||
virtual void setContentSize(const CCSize & var);
|
virtual void setContentSize(const CCSize & var);
|
||||||
|
|
||||||
//@deprecated: This interface will be deprecated sooner or later.
|
|
||||||
static CCLayerColor* node();
|
|
||||||
|
|
||||||
static CCLayerColor* create();
|
static CCLayerColor* create();
|
||||||
|
|
||||||
|
@ -317,9 +314,6 @@ protected:
|
||||||
public:
|
public:
|
||||||
virtual void setCompressedInterpolation(bool bCompressedInterpolation);
|
virtual void setCompressedInterpolation(bool bCompressedInterpolation);
|
||||||
virtual bool isCompressedInterpolation();
|
virtual bool isCompressedInterpolation();
|
||||||
|
|
||||||
//@deprecated: This interface will be deprecated sooner or later.
|
|
||||||
static CCLayerGradient* node();
|
|
||||||
|
|
||||||
static CCLayerGradient* create();
|
static CCLayerGradient* create();
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ headers = %(cocosdir)s/cocos2dx/include/cocos2d.h %(cocosdir)s/CocosDenshion/inc
|
||||||
|
|
||||||
# what classes to produce code for. You can use regular expressions here. When testing the regular
|
# what classes to produce code for. You can use regular expressions here. When testing the regular
|
||||||
# expression, it will be enclosed in "^$", like this: "^CCMenu*$".
|
# expression, it will be enclosed in "^$", like this: "^CCMenu*$".
|
||||||
classes = CCSprite.* CCScene CCNode CCDirector CCLayer.* CCMenu.* CCTouch CC.*Action.* CCMove.* CCRotate.* CCBlink.* CCTint.* CCSequence CCRepeat.* CCFade.* CCEase.* CCScale.* CCTransition.* CCSpawn CCSequence CCAnimat.* CCFlip.* CCDelay.* CCSkew.* CCJump.* CCPlace.* CCShow.* CCProgress.* CCPointArray CCToggleVisibility.* CCHide CCParticle.* CCLabel.* CCAtlas.* CCTextureCache.* CCTexture2D CCCardinal.* CCCatmullRom.* CCParallaxNode CCTileMap.* CCTMX.* CCCallFunc CCRenderTexture CCGridAction CCGrid3DAction CCShaky3D CCWaves3D CCFlipX3D CCFlipY3D CCSpeed CCActionManager CCBReader.* CCBAnimationManager.* CCSet SimpleAudioEngine CCScheduler CCTimer CCOrbit.* CCFollow.* CCBezier.* CCCardinalSpline.* CCControlButton.* CCCamera.* CCDrawNode CC.*3D$ CCLiquid$ CCWaves$ CCShuffleTiles$ CCTurnOffTiles$ CCSplit.* CCTwirl$
|
classes = CCSprite.* CCScene CCNode.* CCDirector CCLayer.* CCMenu.* CCTouch CC.*Action.* CCMove.* CCRotate.* CCBlink.* CCTint.* CCSequence CCRepeat.* CCFade.* CCEase.* CCScale.* CCTransition.* CCSpawn CCSequence CCAnimat.* CCFlip.* CCDelay.* CCSkew.* CCJump.* CCPlace.* CCShow.* CCProgress.* CCPointArray CCToggleVisibility.* CCHide CCParticle.* CCLabel.* CCAtlas.* CCTextureCache.* CCTexture2D CCCardinal.* CCCatmullRom.* CCParallaxNode CCTileMap.* CCTMX.* CCCallFunc CCRenderTexture CCGridAction CCGrid3DAction CCShaky3D CCWaves3D CCFlipX3D CCFlipY3D CCSpeed CCActionManager CCBReader.* CCBAnimationManager.* CCSet SimpleAudioEngine CCScheduler CCTimer CCOrbit.* CCFollow.* CCBezier.* CCCardinalSpline.* CCControlButton.* CCCamera.* CCDrawNode CC.*3D$ CCLiquid$ CCWaves$ CCShuffleTiles$ CCTurnOffTiles$ CCSplit.* CCTwirl$ CCFileUtils$ CCScrollView$ CCTableView$ CCTableViewCell$
|
||||||
|
|
||||||
# what should we skip? in the format ClassName::[function function]
|
# what should we skip? in the format ClassName::[function function]
|
||||||
# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also
|
# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also
|
||||||
|
@ -33,98 +33,101 @@ classes = CCSprite.* CCScene CCNode CCDirector CCLayer.* CCMenu.* CCTouch CC.*Ac
|
||||||
# functions from all classes.
|
# functions from all classes.
|
||||||
|
|
||||||
skip = CCNode::[.*Transform convertToWindowSpace getChildren ^setPosition$ getGrid setGLServerState description getShaderProgram getUserObject .*UserData getGLServerState unscheduleAllSelectors],
|
skip = CCNode::[.*Transform convertToWindowSpace getChildren ^setPosition$ getGrid setGLServerState description getShaderProgram getUserObject .*UserData getGLServerState unscheduleAllSelectors],
|
||||||
CCSprite::[getQuad displayFrame getBlendFunc ^setPosition$ setBlendFunc setSpriteBatchNode getSpriteBatchNode],
|
CCSprite::[getQuad displayFrame getBlendFunc ^setPosition$ setBlendFunc setSpriteBatchNode getSpriteBatchNode],
|
||||||
CCSpriteBatchNode::[getBlendFunc setBlendFunc],
|
CCSpriteBatchNode::[getBlendFunc setBlendFunc],
|
||||||
CCMotionStreak::[getBlendFunc setBlendFunc],
|
CCMotionStreak::[getBlendFunc setBlendFunc],
|
||||||
CCAtlasNode::[getBlendFunc setBlendFunc],
|
CCAtlasNode::[getBlendFunc setBlendFunc],
|
||||||
CCParticleBatchNode::[getBlendFunc setBlendFunc],
|
CCParticleBatchNode::[getBlendFunc setBlendFunc],
|
||||||
CCLayerColor::[getBlendFunc setBlendFunc],
|
CCLayerColor::[getBlendFunc setBlendFunc],
|
||||||
CCParticleSystem::[getBlendFunc setBlendFunc],
|
CCParticleSystem::[getBlendFunc setBlendFunc],
|
||||||
CCDrawNode::[getBlendFunc setBlendFunc drawPolygon],
|
CCDrawNode::[getBlendFunc setBlendFunc drawPolygon],
|
||||||
CCDirector::[getAccelerometer getKeypadDispatcher getTouchDispatcher setWatcherCallbackFun getOpenGLView getProjection],
|
CCDirector::[getAccelerometer getKeypadDispatcher getTouchDispatcher setWatcherCallbackFun getOpenGLView getProjection getClassTypeInfo],
|
||||||
CCLayer.*::[didAccelerate (g|s)etBlendFunc],
|
CCLayer.*::[didAccelerate (g|s)etBlendFunc],
|
||||||
CCMenu.*::[.*Target getSubItems create initWithItems alignItemsInRows alignItemsInColumns],
|
CCMenu.*::[.*Target getSubItems create initWithItems alignItemsInRows alignItemsInColumns],
|
||||||
CCMenuItem.*::[create],
|
CCMenuItem.*::[create],
|
||||||
CCRGBAProtocol::[*],
|
CCRGBAProtocol::[*],
|
||||||
CCCopying::[*],
|
CCCopying::[*],
|
||||||
CC.*Protocol::[*],
|
CC.*Protocol::[*],
|
||||||
CC.*Delegate::[*],
|
CC.*Delegate::[*],
|
||||||
CCPoolManager::[*],
|
CCPoolManager::[*],
|
||||||
CCTexture2D::[initWithPVRTCData addPVRTCImage releaseData setTexParameters initWithData keepData],
|
CCTexture2D::[initWithPVRTCData addPVRTCImage releaseData setTexParameters initWithData keepData],
|
||||||
CCSet::[begin end],
|
CCSet::[begin end],
|
||||||
CCIMEDispatcher::[*],
|
CCIMEDispatcher::[*],
|
||||||
CCSAXParser::[*],
|
CCSAXParser::[*],
|
||||||
CCThread::[*],
|
CCThread::[*],
|
||||||
CCProfiler::[*],
|
CCProfiler::[*],
|
||||||
CCProfilingTimer::[*],
|
CCProfilingTimer::[*],
|
||||||
CCCallFunc::[create],
|
CCCallFunc::[create],
|
||||||
CCSAXDelegator::[*],
|
CCSAXDelegator::[*],
|
||||||
CCColor3bObject::[*],
|
CCColor3bObject::[*],
|
||||||
CCTouchDispatcher::[*],
|
CCTouchDispatcher::[*],
|
||||||
EGLTouchDelegate::[*],
|
EGLTouchDelegate::[*],
|
||||||
CCScriptEngineManager::[*],
|
CCScriptEngineManager::[*],
|
||||||
CCKeypadHandler::[*],
|
CCKeypadHandler::[*],
|
||||||
CCInvocation::[*],
|
CCInvocation::[*],
|
||||||
CCEGLView::[*],
|
CCEGLView::[*],
|
||||||
CCSchedulerScriptHandlerEntry::[*],
|
CCSchedulerScriptHandlerEntry::[*],
|
||||||
CCSize::[*],
|
CCSize::[*],
|
||||||
CCPoint::[*],
|
CCPoint::[*],
|
||||||
CCPointArray::[*],
|
CCPointArray::[*],
|
||||||
CCRect::[*],
|
CCRect::[*],
|
||||||
CCString::[*],
|
CCString::[*],
|
||||||
CCDictionary::[*],
|
CCDictionary::[*],
|
||||||
CCArray::[*],
|
CCArray::[*],
|
||||||
CCRange::[*],
|
CCRange::[*],
|
||||||
CCNotificationObserver::[*],
|
CCNotificationObserver::[*],
|
||||||
CCListView.*::[*],
|
CCListView.*::[*],
|
||||||
CCImage::[initWithString initWithImageData],
|
CCImage::[initWithString initWithImageData],
|
||||||
CCSequence::[create],
|
CCSequence::[create],
|
||||||
CCSpawn::[create],
|
CCSpawn::[create],
|
||||||
CCAnimation::[create],
|
CCAnimation::[create],
|
||||||
CCGrid3DAction::[create actionWith.*],
|
CCGrid3DAction::[create actionWith.*],
|
||||||
CCTiledGrid3DAction::[create actionWith.*],
|
CCTiledGrid3DAction::[create actionWith.*],
|
||||||
CCTMXMapInfo::[startElement endElement textHandler],
|
CCTMXMapInfo::[startElement endElement textHandler],
|
||||||
CCParticleSystemQuad::[postStep setBatchNode draw setTexture$ setTotalParticles updateQuadWithParticle setupIndices listenBackToForeground initWithTotalParticles particleWithFile node],
|
CCParticleSystemQuad::[postStep setBatchNode draw setTexture$ setTotalParticles updateQuadWithParticle setupIndices listenBackToForeground initWithTotalParticles particleWithFile node],
|
||||||
CCLayerMultiplex::[create layerWith.* initWithLayers],
|
CCLayerMultiplex::[create layerWith.* initWithLayers],
|
||||||
CCCatmullRom.*::[create actionWithDuration],
|
CCCatmullRom.*::[create actionWithDuration],
|
||||||
CCBezier.*::[create actionWithDuration],
|
CCBezier.*::[create actionWithDuration],
|
||||||
CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers],
|
CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers],
|
||||||
CCBAnimationManager::[setAnimationCompletedCallback],
|
CCBAnimationManager::[setAnimationCompletedCallback],
|
||||||
CCCardinalSpline.*::[create actionWithDuration setPoints],
|
CCCardinalSpline.*::[create actionWithDuration setPoints],
|
||||||
CCScheduler::[pause resume unscheduleAllSelectorsForTarget],
|
CCScheduler::[pause resume unscheduleAllSelectorsForTarget],
|
||||||
CCTextureCache::[addPVRTCImage],
|
CCTextureCache::[addPVRTCImage],
|
||||||
CCTimer::[getSelector],
|
CCTimer::[getSelector],
|
||||||
CC.*Loader$::[*],
|
CC.*Loader.*::[*],
|
||||||
*::[copyWith.* onEnter.* onExit.* description getObjectType .*RGB.* .*HSV.*],
|
*::[copyWith.* onEnter.* onExit.* description getObjectType .*RGB.* .*HSV.*],
|
||||||
CCFileUtils::[(g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$]
|
CCFileUtils::[(g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$ getClassTypeInfo],
|
||||||
|
SimpleAudioEngine::[getClassTypeInfo],
|
||||||
|
CCScrollView::[(g|s)etDelegate$],
|
||||||
|
CCTableView::[create (g|s)etDataSource$ (g|s)etDelegate]
|
||||||
|
|
||||||
rename_functions = CCDirector::[sharedDirector=getInstance],
|
rename_functions = CCDirector::[sharedDirector=getInstance],
|
||||||
CCSpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
|
CCSpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
|
||||||
CCMenuItemFont::[setFontNameObj=setFontName setFontSizeObj=setFontSize fontSizeObj=fontSize fontNameObj=fontName],
|
CCMenuItemFont::[setFontNameObj=setFontName setFontSizeObj=setFontSize fontSizeObj=fontSize fontNameObj=fontName],
|
||||||
CCProgressTimer::[setReverseProgress=setReverseDirection],
|
CCProgressTimer::[setReverseProgress=setReverseDirection],
|
||||||
CCTextureCache::[sharedTextureCache=getInstance],
|
CCTextureCache::[sharedTextureCache=getInstance],
|
||||||
CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFile],
|
CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFile],
|
||||||
CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation removeAnimationByName=removeAnimation],
|
CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation removeAnimationByName=removeAnimation],
|
||||||
CCLayerGradient::[initWithColor=init],
|
CCLayerGradient::[initWithColor=init],
|
||||||
CCLayerColor::[initWithColor=init],
|
CCLayerColor::[initWithColor=init],
|
||||||
CCNode::[boundingBox=getBoundingBox removeFromParentAndCleanup=removeFromParent removeAllChildrenWithCleanup=removeAllChildren],
|
CCNode::[boundingBox=getBoundingBox removeFromParentAndCleanup=removeFromParent removeAllChildrenWithCleanup=removeAllChildren],
|
||||||
CCLabelAtlas::[create=_create],
|
CCLabelAtlas::[create=_create],
|
||||||
CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt propertyNamed=getProperty],
|
CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt propertyNamed=getProperty],
|
||||||
CCTileMapAtlas::[tileAt=getTileAt],
|
CCTileMapAtlas::[tileAt=getTileAt],
|
||||||
CCSprite::[isFlipX=isFlippedX isFlipY=isFlippedY],
|
CCSprite::[isFlipX=isFlippedX isFlipY=isFlippedY],
|
||||||
CCTouch::[getID=getId],
|
CCTouch::[getID=getId],
|
||||||
CCScheduler::[unscheduleAllSelectorsForTarget=unscheduleAllCallbacksForTarget unscheduleAll=unscheduleAllCallbacks],
|
CCScheduler::[unscheduleAllSelectorsForTarget=unscheduleAllCallbacksForTarget unscheduleAll=unscheduleAllCallbacks],
|
||||||
SimpleAudioEngine::[sharedEngine=getInstance preloadBackgroundMusic=preloadMusic setBackgroundMusicVolume=setMusicVolume getBackgroundMusicVolume=getMusicVolume playBackgroundMusic=playMusic stopBackgroundMusic=stopMusic pauseBackgroundMusic=pauseMusic resumeBackgroundMusic=resumeMusic rewindBackgroundMusic=rewindMusic isBackgroundMusicPlaying=isMusicPlaying willPlayBackgroundMusic=willPlayMusic],
|
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],
|
CCCamera.*::[setUpXYZ=setUp getUpXYZ=getUp setEyeXYZ=setEye getEyeXYZ=getEye setCenterXYZ=setCenter getCenterXYZ=getCenter],
|
||||||
CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager],
|
CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager],
|
||||||
CCTMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup propertyNamed=getProperty],
|
CCTMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup propertyNamed=getProperty],
|
||||||
CCTexture2D::[defaultAlphaPixelFormat=getDefaultAlphaPixelFormat],
|
CCTexture2D::[defaultAlphaPixelFormat=getDefaultAlphaPixelFormat],
|
||||||
CCFileUtils::[sharedFileUtils=getInstance loadFilenameLookupDictionaryFromFile=loadFilenameLookup]
|
CCFileUtils::[sharedFileUtils=getInstance loadFilenameLookupDictionaryFromFile=loadFilenameLookup]
|
||||||
|
|
||||||
rename_classes = CCParticleSystemQuad::CCParticleSystem,
|
rename_classes = CCParticleSystemQuad::CCParticleSystem,
|
||||||
SimpleAudioEngine::AudioEngine,
|
SimpleAudioEngine::AudioEngine,
|
||||||
CCBReader::CC_Reader,
|
CCBReader::CC_Reader,
|
||||||
CCBAnimationManager::CCAnimationManager
|
CCBAnimationManager::CCAnimationManager
|
||||||
|
|
||||||
# for all class names, should we remove something when registering in the target VM?
|
# for all class names, should we remove something when registering in the target VM?
|
||||||
remove_prefix = CC
|
remove_prefix = CC
|
||||||
|
|
|
@ -26,7 +26,7 @@ headers = %(cocosdir)s/cocos2dx/include/cocos2d.h %(cocosdir)s/CocosDenshion/inc
|
||||||
|
|
||||||
# what classes to produce code for. You can use regular expressions here. When testing the regular
|
# what classes to produce code for. You can use regular expressions here. When testing the regular
|
||||||
# expression, it will be enclosed in "^$", like this: "^CCMenu*$".
|
# expression, it will be enclosed in "^$", like this: "^CCMenu*$".
|
||||||
classes = CCSprite.* CCScene CCNode CCDirector CCLayer.* CCMenu.* CCTouch CC.*Action.* CCMove.* CCRotate.* CCBlink.* CCTint.* CCSequence CCRepeat.* CCFade.* CCEase.* CCScale.* CCTransition.* CCSpawn CCSequence CCAnimat.* CCFlip.* CCDelay.* CCSkew.* CCJump.* CCPlace.* CCShow.* CCProgress.* CCPointArray CCToggleVisibility.* CCHide CCParticle.* CCLabel.* CCAtlas.* CCTextureCache.* CCTexture2D CCCardinal.* CCCatmullRom.* CCParallaxNode CCTileMap.* CCTMX.* CCCallFunc CCRenderTexture CCGridAction CCGrid3DAction CCShaky3D CCWaves3D CCFlipX3D CCFlipY3D CCSpeed CCActionManager CCBReader.* CCBAnimationManager.* CCSet SimpleAudioEngine CCScheduler CCTimer CCOrbit.* CCFollow.* CCBezier.* CCCardinalSpline.* CCControlButton.* CCCamera.* CCDrawNode CC.*3D$ CCLiquid$ CCWaves$ CCShuffleTiles$ CCTurnOffTiles$ CCSplit.* CCTwirl$ CCFileUtils$ CCScrollView$ CCTableView$ CCTableViewCell$
|
classes = CCSprite.* CCScene CCNode.* CCDirector CCLayer.* CCMenu.* CCTouch CC.*Action.* CCMove.* CCRotate.* CCBlink.* CCTint.* CCSequence CCRepeat.* CCFade.* CCEase.* CCScale.* CCTransition.* CCSpawn CCSequence CCAnimat.* CCFlip.* CCDelay.* CCSkew.* CCJump.* CCPlace.* CCShow.* CCProgress.* CCPointArray CCToggleVisibility.* CCHide CCParticle.* CCLabel.* CCAtlas.* CCTextureCache.* CCTexture2D CCCardinal.* CCCatmullRom.* CCParallaxNode CCTileMap.* CCTMX.* CCCallFunc CCRenderTexture CCGridAction CCGrid3DAction CCShaky3D CCWaves3D CCFlipX3D CCFlipY3D CCSpeed CCActionManager CCBReader.* CCBAnimationManager.* CCSet SimpleAudioEngine CCScheduler CCTimer CCOrbit.* CCFollow.* CCBezier.* CCCardinalSpline.* CCControlButton.* CCCamera.* CCDrawNode CC.*3D$ CCLiquid$ CCWaves$ CCShuffleTiles$ CCTurnOffTiles$ CCSplit.* CCTwirl$ CCFileUtils$ CCScrollView$ CCTableView$ CCTableViewCell$
|
||||||
|
|
||||||
# what should we skip? in the format ClassName::[function function]
|
# what should we skip? in the format ClassName::[function function]
|
||||||
# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also
|
# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also
|
||||||
|
@ -36,100 +36,101 @@ classes = CCSprite.* CCScene CCNode CCDirector CCLayer.* CCMenu.* CCTouch CC.*Ac
|
||||||
# functions from all classes.
|
# functions from all classes.
|
||||||
|
|
||||||
skip = CCNode::[.*Transform convertToWindowSpace getChildren ^setPosition$ getGrid setGLServerState description getShaderProgram getUserObject .*UserData getGLServerState unscheduleAllSelectors],
|
skip = CCNode::[.*Transform convertToWindowSpace getChildren ^setPosition$ getGrid setGLServerState description getShaderProgram getUserObject .*UserData getGLServerState unscheduleAllSelectors],
|
||||||
CCSprite::[getQuad displayFrame getBlendFunc ^setPosition$ setBlendFunc setSpriteBatchNode getSpriteBatchNode],
|
CCSprite::[getQuad displayFrame getBlendFunc ^setPosition$ setBlendFunc setSpriteBatchNode getSpriteBatchNode],
|
||||||
CCSpriteBatchNode::[getBlendFunc setBlendFunc],
|
CCSpriteBatchNode::[getBlendFunc setBlendFunc],
|
||||||
CCMotionStreak::[getBlendFunc setBlendFunc],
|
CCMotionStreak::[getBlendFunc setBlendFunc],
|
||||||
CCAtlasNode::[getBlendFunc setBlendFunc],
|
CCAtlasNode::[getBlendFunc setBlendFunc],
|
||||||
CCParticleBatchNode::[getBlendFunc setBlendFunc],
|
CCParticleBatchNode::[getBlendFunc setBlendFunc],
|
||||||
CCLayerColor::[getBlendFunc setBlendFunc],
|
CCLayerColor::[getBlendFunc setBlendFunc],
|
||||||
CCParticleSystem::[getBlendFunc setBlendFunc],
|
CCParticleSystem::[getBlendFunc setBlendFunc],
|
||||||
CCDrawNode::[getBlendFunc setBlendFunc drawPolygon],
|
CCDrawNode::[getBlendFunc setBlendFunc drawPolygon],
|
||||||
CCDirector::[getAccelerometer getKeypadDispatcher getTouchDispatcher setWatcherCallbackFun getOpenGLView getProjection],
|
CCDirector::[getAccelerometer getKeypadDispatcher getTouchDispatcher setWatcherCallbackFun getOpenGLView getProjection getClassTypeInfo],
|
||||||
CCLayer.*::[didAccelerate (g|s)etBlendFunc],
|
CCLayer.*::[didAccelerate (g|s)etBlendFunc],
|
||||||
CCMenu.*::[.*Target getSubItems create initWithItems alignItemsInRows alignItemsInColumns],
|
CCMenu.*::[.*Target getSubItems create initWithItems alignItemsInRows alignItemsInColumns],
|
||||||
CCMenuItem.*::[create],
|
CCMenuItem.*::[create],
|
||||||
CCRGBAProtocol::[*],
|
CCRGBAProtocol::[*],
|
||||||
CCCopying::[*],
|
CCCopying::[*],
|
||||||
CC.*Protocol::[*],
|
CC.*Protocol::[*],
|
||||||
CC.*Delegate::[*],
|
CC.*Delegate::[*],
|
||||||
CCPoolManager::[*],
|
CCPoolManager::[*],
|
||||||
CCTexture2D::[initWithPVRTCData addPVRTCImage releaseData setTexParameters initWithData keepData],
|
CCTexture2D::[initWithPVRTCData addPVRTCImage releaseData setTexParameters initWithData keepData],
|
||||||
CCSet::[begin end],
|
CCSet::[begin end],
|
||||||
CCIMEDispatcher::[*],
|
CCIMEDispatcher::[*],
|
||||||
CCSAXParser::[*],
|
CCSAXParser::[*],
|
||||||
CCThread::[*],
|
CCThread::[*],
|
||||||
CCProfiler::[*],
|
CCProfiler::[*],
|
||||||
CCProfilingTimer::[*],
|
CCProfilingTimer::[*],
|
||||||
CCCallFunc::[create],
|
CCCallFunc::[create],
|
||||||
CCSAXDelegator::[*],
|
CCSAXDelegator::[*],
|
||||||
CCColor3bObject::[*],
|
CCColor3bObject::[*],
|
||||||
CCTouchDispatcher::[*],
|
CCTouchDispatcher::[*],
|
||||||
EGLTouchDelegate::[*],
|
EGLTouchDelegate::[*],
|
||||||
CCScriptEngineManager::[*],
|
CCScriptEngineManager::[*],
|
||||||
CCKeypadHandler::[*],
|
CCKeypadHandler::[*],
|
||||||
CCInvocation::[*],
|
CCInvocation::[*],
|
||||||
CCEGLView::[*],
|
CCEGLView::[*],
|
||||||
CCSchedulerScriptHandlerEntry::[*],
|
CCSchedulerScriptHandlerEntry::[*],
|
||||||
CCSize::[*],
|
CCSize::[*],
|
||||||
CCPoint::[*],
|
CCPoint::[*],
|
||||||
CCPointArray::[*],
|
CCPointArray::[*],
|
||||||
CCRect::[*],
|
CCRect::[*],
|
||||||
CCString::[*],
|
CCString::[*],
|
||||||
CCDictionary::[*],
|
CCDictionary::[*],
|
||||||
CCArray::[*],
|
CCArray::[*],
|
||||||
CCRange::[*],
|
CCRange::[*],
|
||||||
CCNotificationObserver::[*],
|
CCNotificationObserver::[*],
|
||||||
CCListView.*::[*],
|
CCListView.*::[*],
|
||||||
CCImage::[initWithString initWithImageData],
|
CCImage::[initWithString initWithImageData],
|
||||||
CCSequence::[create],
|
CCSequence::[create],
|
||||||
CCSpawn::[create],
|
CCSpawn::[create],
|
||||||
CCAnimation::[create],
|
CCAnimation::[create],
|
||||||
CCGrid3DAction::[create actionWith.*],
|
CCGrid3DAction::[create actionWith.*],
|
||||||
CCTiledGrid3DAction::[create actionWith.*],
|
CCTiledGrid3DAction::[create actionWith.*],
|
||||||
CCTMXMapInfo::[startElement endElement textHandler],
|
CCTMXMapInfo::[startElement endElement textHandler],
|
||||||
CCParticleSystemQuad::[postStep setBatchNode draw setTexture$ setTotalParticles updateQuadWithParticle setupIndices listenBackToForeground initWithTotalParticles particleWithFile node],
|
CCParticleSystemQuad::[postStep setBatchNode draw setTexture$ setTotalParticles updateQuadWithParticle setupIndices listenBackToForeground initWithTotalParticles particleWithFile node],
|
||||||
CCLayerMultiplex::[create layerWith.* initWithLayers],
|
CCLayerMultiplex::[create layerWith.* initWithLayers],
|
||||||
CCCatmullRom.*::[create actionWithDuration],
|
CCCatmullRom.*::[create actionWithDuration],
|
||||||
CCBezier.*::[create actionWithDuration],
|
CCBezier.*::[create actionWithDuration],
|
||||||
CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers],
|
CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers],
|
||||||
CCBAnimationManager::[setAnimationCompletedCallback],
|
CCBAnimationManager::[setAnimationCompletedCallback],
|
||||||
CCCardinalSpline.*::[create actionWithDuration setPoints],
|
CCCardinalSpline.*::[create actionWithDuration setPoints],
|
||||||
CCScheduler::[pause resume unscheduleAllSelectorsForTarget],
|
CCScheduler::[pause resume unscheduleAllSelectorsForTarget],
|
||||||
CCTextureCache::[addPVRTCImage],
|
CCTextureCache::[addPVRTCImage],
|
||||||
CCTimer::[getSelector],
|
CCTimer::[getSelector],
|
||||||
CC.*Loader$::[*],
|
CC.*Loader.*::[*],
|
||||||
*::[copyWith.* onEnter.* onExit.* description getObjectType .*RGB.* .*HSV.*],
|
*::[copyWith.* onEnter.* onExit.* description getObjectType .*RGB.* .*HSV.*],
|
||||||
CCFileUtils::[(g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$],
|
CCFileUtils::[(g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$ getClassTypeInfo],
|
||||||
CCScrollView::[(g|s)etDelegate$],
|
SimpleAudioEngine::[getClassTypeInfo],
|
||||||
CCTableView::[create (g|s)etDataSource$ (g|s)etDelegate]
|
CCScrollView::[(g|s)etDelegate$],
|
||||||
|
CCTableView::[create (g|s)etDataSource$ (g|s)etDelegate]
|
||||||
|
|
||||||
rename_functions = CCDirector::[sharedDirector=getInstance],
|
rename_functions = CCDirector::[sharedDirector=getInstance],
|
||||||
CCSpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
|
CCSpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
|
||||||
CCMenuItemFont::[setFontNameObj=setFontName setFontSizeObj=setFontSize fontSizeObj=fontSize fontNameObj=fontName],
|
CCMenuItemFont::[setFontNameObj=setFontName setFontSizeObj=setFontSize fontSizeObj=fontSize fontNameObj=fontName],
|
||||||
CCProgressTimer::[setReverseProgress=setReverseDirection],
|
CCProgressTimer::[setReverseProgress=setReverseDirection],
|
||||||
CCTextureCache::[sharedTextureCache=getInstance],
|
CCTextureCache::[sharedTextureCache=getInstance],
|
||||||
CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFile],
|
CCAnimation::[addSpriteFrameWithFileName=addSpriteFrameWithFile],
|
||||||
CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation removeAnimationByName=removeAnimation],
|
CCAnimationCache::[sharedAnimationCache=getInstance addAnimationsWithFile=addAnimations animationByName=getAnimation removeAnimationByName=removeAnimation],
|
||||||
CCLayerGradient::[initWithColor=init],
|
CCLayerGradient::[initWithColor=init],
|
||||||
CCLayerColor::[initWithColor=init],
|
CCLayerColor::[initWithColor=init],
|
||||||
CCNode::[boundingBox=getBoundingBox removeFromParentAndCleanup=removeFromParent removeAllChildrenWithCleanup=removeAllChildren],
|
CCNode::[boundingBox=getBoundingBox removeFromParentAndCleanup=removeFromParent removeAllChildrenWithCleanup=removeAllChildren],
|
||||||
CCLabelAtlas::[create=_create],
|
CCLabelAtlas::[create=_create],
|
||||||
CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt propertyNamed=getProperty],
|
CCTMXLayer::[tileAt=getTileAt tileGIDAt=getTileGIDAt propertyNamed=getProperty],
|
||||||
CCTileMapAtlas::[tileAt=getTileAt],
|
CCTileMapAtlas::[tileAt=getTileAt],
|
||||||
CCSprite::[isFlipX=isFlippedX isFlipY=isFlippedY],
|
CCSprite::[isFlipX=isFlippedX isFlipY=isFlippedY],
|
||||||
CCTouch::[getID=getId],
|
CCTouch::[getID=getId],
|
||||||
CCScheduler::[unscheduleAllSelectorsForTarget=unscheduleAllCallbacksForTarget unscheduleAll=unscheduleAllCallbacks],
|
CCScheduler::[unscheduleAllSelectorsForTarget=unscheduleAllCallbacksForTarget unscheduleAll=unscheduleAllCallbacks],
|
||||||
SimpleAudioEngine::[sharedEngine=getInstance preloadBackgroundMusic=preloadMusic setBackgroundMusicVolume=setMusicVolume getBackgroundMusicVolume=getMusicVolume playBackgroundMusic=playMusic stopBackgroundMusic=stopMusic pauseBackgroundMusic=pauseMusic resumeBackgroundMusic=resumeMusic rewindBackgroundMusic=rewindMusic isBackgroundMusicPlaying=isMusicPlaying willPlayBackgroundMusic=willPlayMusic],
|
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],
|
CCCamera.*::[setUpXYZ=setUp getUpXYZ=getUp setEyeXYZ=setEye getEyeXYZ=getEye setCenterXYZ=setCenter getCenterXYZ=getCenter],
|
||||||
CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager],
|
CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager],
|
||||||
CCTMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup propertyNamed=getProperty],
|
CCTMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup propertyNamed=getProperty],
|
||||||
CCTexture2D::[defaultAlphaPixelFormat=getDefaultAlphaPixelFormat],
|
CCTexture2D::[defaultAlphaPixelFormat=getDefaultAlphaPixelFormat],
|
||||||
CCFileUtils::[sharedFileUtils=getInstance loadFilenameLookupDictionaryFromFile=loadFilenameLookup]
|
CCFileUtils::[sharedFileUtils=getInstance loadFilenameLookupDictionaryFromFile=loadFilenameLookup]
|
||||||
|
|
||||||
rename_classes = CCParticleSystemQuad::CCParticleSystem,
|
rename_classes = CCParticleSystemQuad::CCParticleSystem,
|
||||||
SimpleAudioEngine::AudioEngine,
|
SimpleAudioEngine::AudioEngine,
|
||||||
CCBReader::CC_Reader,
|
CCBReader::CC_Reader,
|
||||||
CCBAnimationManager::CCAnimationManager
|
CCBAnimationManager::CCAnimationManager
|
||||||
|
|
||||||
# for all class names, should we remove something when registering in the target VM?
|
# for all class names, should we remove something when registering in the target VM?
|
||||||
remove_prefix = CC
|
remove_prefix = CC
|
||||||
|
|
Loading…
Reference in New Issue