mirror of https://github.com/axmolengine/axmol.git
bdcacd0031
* Some fixes for search paths: 1. Adds ‘_originalSearchPaths’ variable, ’getSearchPaths’ returns the original values set by ‘setSearchPaths’ or ‘addSearchPath’. 2. Adds a getter function ‘getDefaultResourceRootPath’. 3. ‘setDefaultResourceRootPath’ should also update search paths and remove file path cache internally. 4. ‘setSearchPaths’ supports to pass self (_originalSearchPath), could be used in ‘setDefaultResourceRootPath’ to update the final ’_searchPathArray’ for searching full path. 5. ‘addSearchPath’ fix, the default resource root path should be the last element in ‘_searchPathArray’. * Checks whether the parameter ‘searchResolutionOrder’ passed in is the same as ‘_searchResolutionsOrderArray’. * Don’t break the compatibility, add a new method called ‘FileUtils::getOriginalSearchPaths’. |
||
---|---|---|
.. | ||
android | ||
apple | ||
desktop | ||
ios | ||
linux | ||
mac | ||
tizen | ||
win8.1-universal | ||
win32 | ||
winrt | ||
CCApplication.h | ||
CCApplicationProtocol.h | ||
CCCommon.h | ||
CCDevice.h | ||
CCFileUtils.cpp | ||
CCFileUtils.h | ||
CCGL.h | ||
CCGLView.cpp | ||
CCGLView.h | ||
CCImage.cpp | ||
CCImage.h | ||
CCPlatformConfig.h | ||
CCPlatformDefine.h | ||
CCPlatformMacros.h | ||
CCSAXParser.cpp | ||
CCSAXParser.h | ||
CCStdC.h | ||
CCThread.cpp | ||
CCThread.h | ||
CMakeLists.txt |