From 6c2fd67d0842afcfe4170af0d623acac98f411da Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 17 Dec 2015 21:54:01 +0800 Subject: [PATCH] Update auto bindings --- tools/tojs/cocos2dx.ini | 2 +- tools/tojs/cocos2dx_3d.ini | 2 +- tools/tojs/cocos2dx_3d_ext.ini | 2 +- tools/tojs/cocos2dx_audioengine.ini | 2 +- tools/tojs/cocos2dx_builder.ini | 3 +-- tools/tojs/cocos2dx_experimental_video.ini | 3 +-- tools/tojs/cocos2dx_experimental_webView.ini | 3 +-- tools/tojs/cocos2dx_extension.ini | 5 +++-- tools/tojs/cocos2dx_navmesh.ini | 3 +-- tools/tojs/cocos2dx_physics3d.ini | 2 +- tools/tojs/cocos2dx_spine.ini | 5 ++++- tools/tojs/cocos2dx_studio.ini | 2 +- tools/tojs/cocos2dx_ui.ini | 3 +-- 13 files changed, 18 insertions(+), 19 deletions(-) diff --git a/tools/tojs/cocos2dx.ini b/tools/tojs/cocos2dx.ini index 05a6f77104..f69b555458 100644 --- a/tools/tojs/cocos2dx.ini +++ b/tools/tojs/cocos2dx.ini @@ -189,4 +189,4 @@ base_classes_to_skip = Ref Clonable abstract_classes = Action FiniteTimeAction ActionInterval ActionEase EaseRateAction EaseElastic EaseBounce ActionInstant GridAction Grid3DAction TiledGrid3DAction Director SpriteFrameCache TransitionEaseScene Set SimpleAudioEngine FileUtils Application GLViewProtocol GLView ComponentContainer SAXParser Configuration EventListener BaseLight AsyncTaskPool ComponentJS # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_3d.ini b/tools/tojs/cocos2dx_3d.ini index a39fbc4829..d178272444 100644 --- a/tools/tojs/cocos2dx_3d.ini +++ b/tools/tojs/cocos2dx_3d.ini @@ -69,5 +69,5 @@ base_classes_to_skip = Clonable Ref abstract_classes = Sprite3DCache # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_3d_ext.ini b/tools/tojs/cocos2dx_3d_ext.ini index 6d70937e53..5c339b518c 100644 --- a/tools/tojs/cocos2dx_3d_ext.ini +++ b/tools/tojs/cocos2dx_3d_ext.ini @@ -58,4 +58,4 @@ base_classes_to_skip = abstract_classes = # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_audioengine.ini b/tools/tojs/cocos2dx_audioengine.ini index 7591d2a158..b982154984 100644 --- a/tools/tojs/cocos2dx_audioengine.ini +++ b/tools/tojs/cocos2dx_audioengine.ini @@ -60,4 +60,4 @@ base_classes_to_skip = Clonable abstract_classes = AudioEngine # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_builder.ini b/tools/tojs/cocos2dx_builder.ini index 9ab3640109..c94fb1db20 100644 --- a/tools/tojs/cocos2dx_builder.ini +++ b/tools/tojs/cocos2dx_builder.ini @@ -61,5 +61,4 @@ base_classes_to_skip = Ref abstract_classes = # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_experimental_video.ini b/tools/tojs/cocos2dx_experimental_video.ini index ce7516ec36..2f3f722050 100644 --- a/tools/tojs/cocos2dx_experimental_video.ini +++ b/tools/tojs/cocos2dx_experimental_video.ini @@ -58,5 +58,4 @@ base_classes_to_skip = abstract_classes = # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_experimental_webView.ini b/tools/tojs/cocos2dx_experimental_webView.ini index e917cd8cd9..0021fb2121 100644 --- a/tools/tojs/cocos2dx_experimental_webView.ini +++ b/tools/tojs/cocos2dx_experimental_webView.ini @@ -58,5 +58,4 @@ base_classes_to_skip = abstract_classes = # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_extension.ini b/tools/tojs/cocos2dx_extension.ini index d5ecc3b4a9..29848b6c7b 100644 --- a/tools/tojs/cocos2dx_extension.ini +++ b/tools/tojs/cocos2dx_extension.ini @@ -48,7 +48,8 @@ skip = ScrollView::[(g|s)etDelegate$], ActionNode::[initWithDictionary], ActionObject::[initWithDictionary], Manifest::[getAssets], - AssetsManagerEx::[getFailedAssets updateAssets] + AssetsManagerEx::[getFailedAssets updateAssets], + EventListenerAssetsManagerEx::[create init] rename_functions = @@ -70,6 +71,6 @@ base_classes_to_skip = Ref abstract_classes = Manifest # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes classes_need_extend = ScrollView TableView TableViewCell ControlButton ControlStepper ControlSwitch ControlSlider ControlColourPicker ControlPotentiometer diff --git a/tools/tojs/cocos2dx_navmesh.ini b/tools/tojs/cocos2dx_navmesh.ini index f85f2e4b0d..c6aeb8e94e 100644 --- a/tools/tojs/cocos2dx_navmesh.ini +++ b/tools/tojs/cocos2dx_navmesh.ini @@ -64,5 +64,4 @@ base_classes_to_skip = abstract_classes = # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_physics3d.ini b/tools/tojs/cocos2dx_physics3d.ini index 4e20637e78..3a1ac201aa 100644 --- a/tools/tojs/cocos2dx_physics3d.ini +++ b/tools/tojs/cocos2dx_physics3d.ini @@ -67,4 +67,4 @@ base_classes_to_skip = Ref abstract_classes = Physics3DObject # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_spine.ini b/tools/tojs/cocos2dx_spine.ini index 7ee752b8cc..b48e97ca91 100644 --- a/tools/tojs/cocos2dx_spine.ini +++ b/tools/tojs/cocos2dx_spine.ini @@ -40,4 +40,7 @@ script_control_cpp = rename_functions = SkeletonAnimation::[createWithFile=create], SkeletonRenderer::[createWithFile=create] -rename_classes = SkeletonRenderer::Skeleton \ No newline at end of file +rename_classes = SkeletonRenderer::Skeleton + +# Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. +script_control_cpp = yes diff --git a/tools/tojs/cocos2dx_studio.ini b/tools/tojs/cocos2dx_studio.ini index 95a65d1dce..09cdcb7749 100644 --- a/tools/tojs/cocos2dx_studio.ini +++ b/tools/tojs/cocos2dx_studio.ini @@ -78,6 +78,6 @@ base_classes_to_skip = Ref abstract_classes = ColliderDetector ColliderBody ArmatureDataManager InputDelegate InputDelegate ActionManagerEx SceneReader GUIReader BatchNode ColliderFilter DecorativeDisplay ActionTimelineCache NodeReader CSLoader # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no +script_control_cpp = yes classes_need_extend = Armature ComController BoneNode SkinNode SkeletonNode diff --git a/tools/tojs/cocos2dx_ui.ini b/tools/tojs/cocos2dx_ui.ini index 3b4b543fab..cecb15ca45 100644 --- a/tools/tojs/cocos2dx_ui.ini +++ b/tools/tojs/cocos2dx_ui.ini @@ -69,5 +69,4 @@ base_classes_to_skip = Ref abstract_classes = Helper LayoutManager AbstractCheckButton # Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'. -script_control_cpp = no - +script_control_cpp = yes