mirror of https://github.com/axmolengine/axmol.git
not add invalid search paths
This commit is contained in:
parent
f1557211fc
commit
44958d7361
|
@ -83,90 +83,17 @@ bool AppDelegate::applicationDidFinishLaunching()
|
||||||
auto resourceSize = Size(960, 640);
|
auto resourceSize = Size(960, 640);
|
||||||
searchPaths.push_back("hd");
|
searchPaths.push_back("hd");
|
||||||
searchPaths.push_back("ccs-res/hd");
|
searchPaths.push_back("ccs-res/hd");
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/ArmatureComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/AttributeComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/BackgroundComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/EffectComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/LoadSceneEdtiorFileTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/ParticleComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/SpriteComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/TmxMapComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/UIComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/hd/scenetest/TriggerTest");
|
|
||||||
searchPaths.push_back("ccs-res");
|
searchPaths.push_back("ccs-res");
|
||||||
searchPaths.push_back("Manifests");
|
searchPaths.push_back("Manifests");
|
||||||
director->setContentScaleFactor(resourceSize.height/designSize.height);
|
director->setContentScaleFactor(resourceSize.height/designSize.height);
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIButton");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UICheckBox");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIImageView");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILabel");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILabelBMFont");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/BackgroundImage");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/Color");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/Layout");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/Gradient_Color");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILayout/LayoutComponent");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UILoadingBar");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIPageView");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIScrollView/Both");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIScrollView/Horizontal");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIScrollView/Vertical");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIScrollView/ScrollViewAndButton");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UISlider");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UITextField");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIWidgetAddNode");
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/UIEditorTest/UIListView/New");
|
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/hd/cocosui/CustomTest/CustomWidgetCallbackBindTest");
|
|
||||||
searchPaths.push_back("hd/ActionTimeline");
|
searchPaths.push_back("hd/ActionTimeline");
|
||||||
searchPaths.push_back("ccs-res/hd/armature");
|
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/hd/scene3DTest");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
searchPaths.push_back("ccs-res");
|
searchPaths.push_back("ccs-res");
|
||||||
searchPaths.push_back("ccs-res/scenetest/ArmatureComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/AttributeComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/BackgroundComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/EffectComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/LoadSceneEdtiorFileTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/ParticleComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/SpriteComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/TmxMapComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/UIComponentTest");
|
|
||||||
searchPaths.push_back("ccs-res/scenetest/TriggerTest");
|
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIButton");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UICheckBox");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIImageView");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILabel");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILabelBMFont");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/Color");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/Layout");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILayout/LayoutComponent");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UILoadingBar");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIPageView");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIScrollView/Both");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIScrollView/ScrollViewAndButton");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UISlider");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UITextField");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIWidgetAddNode");
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/UIEditorTest/UIListView/New");
|
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/cocosui/CustomTest/CustomWidgetCallbackBindTest");
|
|
||||||
searchPaths.push_back("ActionTimeline");
|
searchPaths.push_back("ActionTimeline");
|
||||||
searchPaths.push_back("ccs-res/armature");
|
|
||||||
|
|
||||||
searchPaths.push_back("ccs-res/scene3DTest");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fileUtils->setSearchPaths(searchPaths);
|
fileUtils->setSearchPaths(searchPaths);
|
||||||
|
|
Loading…
Reference in New Issue