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’. |
||
---|---|---|
.. | ||
cpp-empty-test | ||
cpp-tests | ||
game-controller-test | ||
js-memory-gc-tests | ||
js-tests | ||
lua-empty-test | ||
lua-game-controller-test | ||
lua-tests | ||
performance-tests |