issue #2397: Updating cocos2d.ini and CCFIleUtils.pkg.

This commit is contained in:
James Chen 2013-07-12 12:53:20 +08:00
parent a678d12615
commit 74339b6d0e
2 changed files with 9 additions and 6 deletions

View File

@ -44,7 +44,7 @@ skip = Node::[^setPosition$ getGrid setGLServerState description getUserObject .
LayerColor::[getBlendFunc setBlendFunc],
ParticleSystem::[getBlendFunc setBlendFunc],
DrawNode::[getBlendFunc setBlendFunc drawPolygon],
Director::[getAccelerometer (g|s)et.*Dispatcher getOpenGLView getProjection getClassTypeInfo],
Director::[sharedDirector getAccelerometer (g|s)et.*Dispatcher getOpenGLView getProjection getClassTypeInfo],
Layer.*::[didAccelerate (g|s)etBlendFunc keyPressed keyReleased unregisterScriptKeypadHandler],
Menu.*::[.*Target getSubItems create initWithItems alignItemsInRows alignItemsInColumns],
MenuItem.*::[create setCallback initWithCallback],
@ -99,14 +99,13 @@ skip = Node::[^setPosition$ getGrid setGLServerState description getUserObject .
TextureCache::[addPVRTCImage],
Timer::[getSelector],
*::[copyWith.* onEnter.* onExit.* ^description$ getObjectType],
FileUtils::[(g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$ getClassTypeInfo],
FileUtils::[sharedFileUtils (g|s)etSearchResolutionsOrder$ (g|s)etSearchPaths$ getClassTypeInfo],
SimpleAudioEngine::[getClassTypeInfo],
Application::[^application.* ^run$],
Camera::[getEyeXYZ getCenterXYZ getUpXYZ],
ccFontDefinition::[*]
rename_functions = Director::[sharedDirector=getInstance],
SpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
rename_functions = SpriteFrameCache::[sharedSpriteFrameCache=getInstance addSpriteFramesWithFile=addSpriteFrames spriteFrameByName=getSpriteFrame isFlipX=isFlippedX isFlipY=isFlippedY],
MenuItemFont::[setFontNameObj=setFontName setFontSizeObj=setFontSize fontSizeObj=fontSize fontNameObj=fontName],
ProgressTimer::[setReverseProgress=setReverseDirection],
TextureCache::[sharedTextureCache=getInstance],
@ -127,7 +126,7 @@ rename_functions = Director::[sharedDirector=getInstance],
TMXTiledMap::[layerNamed=getLayer objectGroupNamed=getObjectGroup propertyNamed=getProperty],
Texture2D::[defaultAlphaPixelFormat=getDefaultAlphaPixelFormat],
ShaderCache::[programForKey=getProgram sharedShaderCache=getInstance],
FileUtils::[sharedFileUtils=getInstance loadFilenameLookupDictionaryFromFile=loadFilenameLookup],
FileUtils::[loadFilenameLookupDictionaryFromFile=loadFilenameLookup],
Application::[sharedApplication=getInstance]
rename_classes = ParticleSystemQuad::ParticleSystem,

View File

@ -1,10 +1,14 @@
class CCFileUtils
{
/** @deprecated Use getInstance() instead */
static CCFileUtils* sharedFileUtils();
static CCFileUtils* getInstance();
/** @deprecated Use destroyInstance() instead */
static void purgeFileUtils();
static CCFileUtils* getInstance();
static void destroyInstance();
void purgeCachedEntries();
std::string fullPathForFilename(const char *pszFileName);