axmol/cocos
James Chen bdcacd0031 Some fixes for search paths: (#17435)
* 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’.
2017-03-06 16:59:43 +08:00
..
2d Updates license year. (#17363) 2017-02-14 14:59:12 +08:00
3d Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
audio fixed #17413: [Android] AudioEngine::play2d may still wait 2 seconds if preload is too fast. (#17414) 2017-02-27 15:11:39 +08:00
base 17357: Better encapsulate the definition of mouse buttons (#17358) 2017-03-02 13:39:33 +08:00
deprecated Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
editor-support Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
math Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
navmesh Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
network fixed #17433: [webSocket ] webSocket random crash in win32 (#17440) 2017-03-06 14:18:58 +08:00
physics Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
physics3d Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
platform Some fixes for search paths: (#17435) 2017-03-06 16:59:43 +08:00
renderer Updates license year. (#17363) 2017-02-14 14:59:12 +08:00
scripting [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#17430) 2017-03-02 16:08:53 +08:00
storage Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
ui Refine editbox for issue 17346 --merge some member variables into EditBoxCommon (#17361) 2017-02-17 15:45:19 +08:00
vr Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
Android.mk Refactor WebSocket to support SSL (wss) (#17172) 2017-01-19 13:55:14 +08:00
CMakeLists.txt Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
cc_dummy.c Squashed commit of the following: 2016-03-02 16:51:54 -08:00
cocos2d.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
cocos2d.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00