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’. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
audio | ||
base | ||
deprecated | ||
editor-support | ||
math | ||
navmesh | ||
network | ||
physics | ||
physics3d | ||
platform | ||
renderer | ||
scripting | ||
storage | ||
ui | ||
vr | ||
Android.mk | ||
CMakeLists.txt | ||
cc_dummy.c | ||
cocos2d.cpp | ||
cocos2d.h |