From 7a4ca3fe6a4b655e47600dd48195456a136e0887 Mon Sep 17 00:00:00 2001 From: joshuastray Date: Tue, 12 May 2015 10:39:53 +0800 Subject: [PATCH] add new files to project --- build/cocos2d-js-win32.vc2013.sln | 9 +++++++++ cocos/2d/libcocos2d.vcxproj | 3 +++ cocos/scripting/js-bindings/CMakeLists.txt | 2 ++ .../scripting/js-bindings/proj.android/Android.mk | 4 +++- .../js-bindings/proj.win32/libjscocos2d.vcxproj | 4 ++++ .../proj.win32/libjscocos2d.vcxproj.filters | 15 +++++++++++++++ .../libjscocos2d.Shared.vcxitems | 6 +++++- .../libjscocos2d.Shared.vcxitems.filters | 15 +++++++++++++++ tools/tojs/cocos2dx.ini | 2 +- 9 files changed, 57 insertions(+), 3 deletions(-) diff --git a/build/cocos2d-js-win32.vc2013.sln b/build/cocos2d-js-win32.vc2013.sln index 4d7b7c6ec8..d07005a164 100644 --- a/build/cocos2d-js-win32.vc2013.sln +++ b/build/cocos2d-js-win32.vc2013.sln @@ -14,6 +14,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libjscocos2d", "..\cocos\sc EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "js-tests", "..\tests\js-tests\project\proj.win32\js-tests.vcxproj", "{D0F06A44-A245-4D13-A498-0120C203B539}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbullet", "..\external\bullet\proj.win32\libbullet.vcxproj", "{012DFF48-A13F-4F52-B07B-F8B9D21CE95B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|ARM = Debug|ARM @@ -52,6 +54,12 @@ Global {D0F06A44-A245-4D13-A498-0120C203B539}.Release|ARM.ActiveCfg = Release|Win32 {D0F06A44-A245-4D13-A498-0120C203B539}.Release|Win32.ActiveCfg = Release|Win32 {D0F06A44-A245-4D13-A498-0120C203B539}.Release|Win32.Build.0 = Release|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Debug|ARM.ActiveCfg = Debug|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Debug|Win32.ActiveCfg = Debug|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Debug|Win32.Build.0 = Debug|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Release|ARM.ActiveCfg = Release|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Release|Win32.ActiveCfg = Release|Win32 + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -59,6 +67,7 @@ Global GlobalSection(NestedProjects) = preSolution {B7C2A162-DEC9-4418-972E-240AB3CBFCAE} = {92D54E36-7916-48EF-A951-224DD3B25442} {929480E7-23C0-4DF6-8456-096D71547116} = {92D54E36-7916-48EF-A951-224DD3B25442} + {012DFF48-A13F-4F52-B07B-F8B9D21CE95B} = {92D54E36-7916-48EF-A951-224DD3B25442} EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} diff --git a/cocos/2d/libcocos2d.vcxproj b/cocos/2d/libcocos2d.vcxproj index 5b4f2c5f6d..1ece67fc7c 100644 --- a/cocos/2d/libcocos2d.vcxproj +++ b/cocos/2d/libcocos2d.vcxproj @@ -1325,6 +1325,9 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\chipmunk\prebuilt\win32\release-lib\*.* {929480e7-23c0-4df6-8456-096d71547116} + + {012dff48-a13f-4f52-b07b-f8b9d21ce95b} + {b7c2a162-dec9-4418-972e-240ab3cbfcae} diff --git a/cocos/scripting/js-bindings/CMakeLists.txt b/cocos/scripting/js-bindings/CMakeLists.txt index bb4ecca32f..3f1a5d8f36 100644 --- a/cocos/scripting/js-bindings/CMakeLists.txt +++ b/cocos/scripting/js-bindings/CMakeLists.txt @@ -42,6 +42,7 @@ set(JSBINDING_SRC auto/jsb_cocos2dx_ui_auto.cpp auto/jsb_cocos2dx_3d_auto.cpp auto/jsb_cocos2dx_3d_extension_auto.cpp + auto/jsb_cocos2dx_experimental.cpp manual/ScriptingCore.cpp manual/cocos2d_specifics.cpp manual/js_manual_conversions.cpp @@ -67,6 +68,7 @@ set(JSBINDING_SRC manual/spine/jsb_cocos2dx_spine_manual.cpp manual/ui/jsb_cocos2dx_ui_manual.cpp manual/3d/jsb_cocos2dx_3d_manual.cpp + manual/experimental/jsb_cocos2dx_experimental_manual.cpp ${cocos_root}/cocos/storage/local-storage/LocalStorage.cpp ) diff --git a/cocos/scripting/js-bindings/proj.android/Android.mk b/cocos/scripting/js-bindings/proj.android/Android.mk index 328a7a1cb1..1246b0259f 100755 --- a/cocos/scripting/js-bindings/proj.android/Android.mk +++ b/cocos/scripting/js-bindings/proj.android/Android.mk @@ -43,6 +43,7 @@ LOCAL_SRC_FILES := ../auto/jsb_cocos2dx_3d_auto.cpp \ ../auto/jsb_cocos2dx_studio_auto.cpp \ ../auto/jsb_cocos2dx_builder_auto.cpp \ ../auto/jsb_cocos2dx_ui_auto.cpp \ + ../auto/jsb_cocos2dx_experimental.cpp \ ../manual/ScriptingCore.cpp \ \ ../manual/cocos2d_specifics.cpp \ ../manual/js_manual_conversions.cpp \ @@ -67,7 +68,8 @@ LOCAL_SRC_FILES := ../auto/jsb_cocos2dx_3d_auto.cpp \ ../manual/network/jsb_websocket.cpp \ ../manual/network/XMLHTTPRequest.cpp \ ../manual/spine/jsb_cocos2dx_spine_manual.cpp \ - ../manual/ui/jsb_cocos2dx_ui_manual.cpp + ../manual/ui/jsb_cocos2dx_ui_manual.cpp \ + ../manual/experimental/jsb_cocos2dx_experimental_manual.cpp LOCAL_CFLAGS := -DCOCOS2D_JAVASCRIPT diff --git a/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj b/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj index 85efe5adb5..a894770f0e 100644 --- a/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj +++ b/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj @@ -15,6 +15,7 @@ + @@ -28,6 +29,7 @@ + @@ -50,6 +52,7 @@ + @@ -66,6 +69,7 @@ + diff --git a/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj.filters b/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj.filters index 889f76b99f..45f154340e 100644 --- a/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj.filters +++ b/cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj.filters @@ -36,6 +36,9 @@ {3d1a97d2-47a9-4fc2-8458-a58c4f1fc111} + + {9f37ec66-1e00-4015-baa6-dabdf755f0ff} + @@ -137,6 +140,12 @@ manual\3d + + auto + + + manual\experimental + @@ -259,5 +268,11 @@ manual\3d + + auto + + + manual\experimental + \ No newline at end of file diff --git a/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems b/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems index 1a1d65f4a9..62ccfa022d 100644 --- a/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems +++ b/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems @@ -18,6 +18,7 @@ + @@ -34,6 +35,7 @@ + @@ -61,6 +63,7 @@ + @@ -74,6 +77,7 @@ + @@ -103,4 +107,4 @@ - + \ No newline at end of file diff --git a/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems.filters b/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems.filters index 73f33d2237..e83c0ca52b 100644 --- a/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems.filters +++ b/cocos/scripting/js-bindings/proj.win8.1-universal/libjscocos2d/libjscocos2d.Shared/libjscocos2d.Shared.vcxitems.filters @@ -122,6 +122,12 @@ auto + + auto + + + manual\experimental + @@ -223,6 +229,12 @@ auto + + auto + + + manual\experimental + @@ -261,6 +273,9 @@ {d5fa188f-db09-4c4b-a366-682bf76fcea2} + + {ddd3651e-c6e7-4dea-80c1-a0a3dc51a740} + diff --git a/tools/tojs/cocos2dx.ini b/tools/tojs/cocos2dx.ini index ff92886ac8..d7692aafbe 100644 --- a/tools/tojs/cocos2dx.ini +++ b/tools/tojs/cocos2dx.ini @@ -121,7 +121,7 @@ skip = Node::[^setPosition$ setGLServerState description getUserObject .*UserDat Component::[serialize], EventListenerCustom::[init], EventListener::[init], - Scene::[getCameras getLights initWithPhysics createWithPhysics getPhysicsWorld getPhysics3DWorld], + Scene::[getCameras getLights initWithPhysics createWithPhysics getPhysicsWorld getPhysics3DWorld setPhysics3DDebugCamera], Animate3D::[*], Sprite3D::[*], AttachNode::[*],