diff --git a/AUTHORS b/AUTHORS index 0f37500de4..a49904006b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -108,6 +108,7 @@ Developers: Added support for x64 target of windows. Added Dutch Language support. Added clang support for Windows. + Cmake update and remove old scripts from build folder mchinen fix emulator issue for OpenGL ES 2.0 on Android @@ -963,6 +964,7 @@ Developers: rny Fixed LabelTTF::getBoundingBox() position error + SpriteFrameCache load from plist file content data Retired Core Developers: WenSheng Yang diff --git a/CHANGELOG b/CHANGELOG index 58a66e8bb9..f37c337772 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ cocos2d-x-3.3 ?? [NEW] Image: support of software PVRTC v1 decompression [NEW] RotateTo: added 3D rotation support [NEW] ScrollView: added `setMinScale()` and `setMaxScale()` + [NEW] SpriteFrameCache: load from plist file content data [NEW] UIText: added getter and setter for TextColor [NEW] utils: added gettime() [NEW] TextField: support utf8 @@ -16,6 +17,7 @@ cocos2d-x-3.3 ?? [FIX] Label: can not set charmap after it is created [FIX] Label: setTextColor does not have any effect on Mac OS X [FIX] Label: result of LabelTTF::getBoundingBox() is wrong + [FIX] Label: can not set outline color correctly if using system font on iOS [FIX] LabelBMFont: result of LabelBMFont::getBoundingBox() is wrong [FIX] ParticleSystem: effect is wrong if scene scaled [FIX] ParticleSystemQuad: setTotalParticles() can't set a value larger than initialized value diff --git a/CMakeLists.txt b/CMakeLists.txt index 7db3ea143c..bfcb16bc40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ #/**************************************************************************** # Copyright (c) 2013 cocos2d-x.org -# Copyright (c) 2012-2013 martell malone -# +# Copyright (c) 2014 martell malone +# # http://www.cocos2d-x.org # # Permission is hereby granted, free of charge, to any person obtaining a copy @@ -28,38 +28,23 @@ project (Cocos2dx) # The version number set(Cocos2dxSamples_VERSION_MAJOR 3) -set(Cocos2dxSamples_VERSION_MINOR 0) +set(Cocos2dxSamples_VERSION_MINOR 1) include(build/BuildHelpers.CMakeLists.txt) -if(WIN32 OR APPLE) +message(${BUILDING_STRING}) option(USE_CHIPMUNK "Use chipmunk for physics library" ON) option(USE_BOX2D "Use box2d for physics library" OFF) option(DEBUG_MODE "Debug or release?" ON) -option(BUILD_LIBS_LUA "Build lua libraries" OFF) option(BUILD_EXTENSIONS "Build extension library" ON) option(BUILD_EDITOR_SPINE "Build editor support for spine" ON) option(BUILD_EDITOR_COCOSTUDIO "Build editor support for cocostudio" ON) option(BUILD_EDITOR_COCOSBUILDER "Build editor support for cocosbuilder" ON) - -option(BUILD_CppTests "Only build TestCpp sample" ON) -option(BUILD_LuaTests "Only build TestLua sample" OFF) -else()#temp - -option(USE_CHIPMUNK "Use chipmunk for physics library" ON) -option(USE_BOX2D "Use box2d for physics library" OFF) -option(DEBUG_MODE "Debug or release?" ON) +option(BUILD_EXTERN_LIBS "Build Box2d, Chipmunk, Tinyxml2 from source" ON) +option(BUILD_CppTests "Build TestCpp samples" ON) option(BUILD_LIBS_LUA "Build lua libraries" ON) -option(BUILD_EXTENSIONS "Build extension library" ON) -option(BUILD_EDITOR_SPINE "Build editor support for spine" ON) -option(BUILD_EDITOR_COCOSTUDIO "Build editor support for cocostudio" ON) -option(BUILD_EDITOR_COCOSBUILDER "Build editor support for cocosbuilder" ON) - -option(BUILD_CppTests "Only build TestCpp sample" ON) -option(BUILD_LuaTests "Only build TestLua sample" ON) -endif()#temp - +option(BUILD_LuaTests "Build TestLua samples" ON) if(DEBUG_MODE) set(CMAKE_BUILD_TYPE DEBUG) @@ -70,31 +55,25 @@ endif(DEBUG_MODE) set(CMAKE_C_FLAGS_DEBUG "-DCOCOS2D_DEBUG=1") set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) -if(WIN32) +if(MSVC) + ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + -wd4251 -wd4244 -wd4334 -wd4005 -wd4820 -wd4710 + -wd4514 -wd4056 -wd4996 -wd4099) +else() + set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") + set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -std=c99") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -std=c++11") +endif(MSVC) + +if(WINDOWS) ADD_DEFINITIONS (-D_USRDLL -DCOCOS2DXWIN32_EXPORTS -D_WINDOWS -DWIN32) - - if(MSVC) - ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS - -D_SCL_SECURE_NO_WARNINGS - -wd4251 -wd4244 -wd4334 - -wd4005 -wd4820 -wd4710 - -wd4514 -wd4056 -wd4996 -wd4099) - else(MSVC)#MINGW - - endif(MSVC) -elseif(APPLE) - - -else()#Linux -ADD_DEFINITIONS(-DLINUX) -endif() - - -if(NOT MSVC)# all gcc -set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") -set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) -set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} "-std=c99") -set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11") + set(PLATFORM_FOLDER win32) +elseif(MACOSX) + set(PLATFORM_FOLDER mac) +else(LINUX) + ADD_DEFINITIONS(-DLINUX) + set(PLATFORM_FOLDER linux) endif() if(MINGW) @@ -102,8 +81,12 @@ if(MINGW) add_definitions(-D__SSIZE_T) set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES} -lws2_32") set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} -lws2_32") -endif() + if(CLANG) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions ") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions ") + endif() +endif() if(USE_CHIPMUNK) message("Using chipmunk ...") @@ -122,14 +105,6 @@ else() set(ARCH_DIR "32-bit") endif() -if(WIN32) # Win32 - set(PLATFORM_FOLDER win32) -elseif(APPLE)# osx or ios - set(PLATFORM_FOLDER mac) -else() # Assume Linux - set(PLATFORM_FOLDER linux) -endif() - include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cocos @@ -156,18 +131,18 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/external/xxtea ) -if(WIN32 AND NOT MINGW) +if(MSVC) include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/gles/include/OGLES ${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/icon/include ${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/zlib/include external/curl/include/${PLATFORM_FOLDER} ) -elseif(APPLE) +elseif(MACOSX) include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include/${PLATFORM_FOLDER} + ${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include/${PLATFORM_FOLDER} ) -else() +elseif(LINUX) include_directories( /usr/include /usr/include/GLFW @@ -177,9 +152,8 @@ else() endif() -if(WIN32) +if(MSVC) - if(NOT MINGW) link_directories( ${CMAKE_CURRENT_SOURCE_DIR}/external/jpeg/prebuilt/${PLATFORM_FOLDER} ${CMAKE_CURRENT_SOURCE_DIR}/external/tiff/prebuilt/${PLATFORM_FOLDER} @@ -189,11 +163,8 @@ if(WIN32) ${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/icon/prebuilt ${CMAKE_CURRENT_SOURCE_DIR}/external/${PLATFORM_FOLDER}-specific/zlib/prebuilt ) - endif() -elseif(APPLE) - -else() +elseif(LINUX) link_directories( /usr/local/lib @@ -208,17 +179,21 @@ else() endif() +if(BUILD_EXTERN_LIBS) # chipmunk library add_subdirectory(external/chipmunk/src) # box2d library add_subdirectory(external/Box2D) +endif() # unzip library add_subdirectory(external/unzip) +if(BUILD_EXTERN_LIBS) # tinyxml2 library add_subdirectory(external/tinyxml2) +endif() # xxhash library add_subdirectory(external/xxhash) @@ -266,15 +241,13 @@ add_subdirectory(cocos/scripting/lua-bindings) add_subdirectory(external/xxtea) endif(BUILD_LIBS_LUA) -# build tests - -add_subdirectory(tests/cpp-empty-test) - +# build tests if(BUILD_CppTests) +add_subdirectory(tests/cpp-empty-test) add_subdirectory(tests/cpp-tests) endif(BUILD_CppTests) if(BUILD_LuaTests) add_subdirectory(tests/lua-tests/project) add_subdirectory(tests/lua-empty-test/project) -endif(BUILD_LuaTests) +endif(BUILD_LuaTests) \ No newline at end of file diff --git a/build/BuildHelpers.CMakeLists.txt b/build/BuildHelpers.CMakeLists.txt index 6e848d4f29..225e3c7ed7 100644 --- a/build/BuildHelpers.CMakeLists.txt +++ b/build/BuildHelpers.CMakeLists.txt @@ -11,3 +11,59 @@ macro(pre_build TARGET_NAME) add_custom_target( ${TARGET_NAME}_CORE_PRE_BUILD ) add_dependencies( ${TARGET_NAME}_PRE_BUILD ${TARGET_NAME}_CORE_PRE_BUILD ) endmacro() + +#cmake has some strange defaults, this should help us a lot +#Please use them everywhere + +#WINDOWS = Windows Desktop +#WINRT = Windows RT +#WP8 = Windows Phone 8 +#ANDROID = ANDROID +#IOS = IOS +#MACOSX = MAC OSX + +if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") + if(WINRT) + set(SYSTEM_STRING "Windows RT") + elseif(WP8) + set(SYSTEM_STRING "Windows Phone 8") + else() + set(WINDOWS TRUE) + set(SYSTEM_STRING "Windows Desktop") + endif() +elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + if(ANDROID) + set(SYSTEM_STRING "Android") + else() + set(LINUX TRUE) + set(SYSTEM_STRING "Linux") + endif() +elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + if(IOS) + set(SYSTEM_STRING "IOS") + else() + set(MACOSX TRUE) + set(SYSTEM_STRING "Mac OSX") + endif() +endif() + +if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + set(COMPILER_STRING ${CMAKE_CXX_COMPILER_ID}) + set(CLANG TRUE) +elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + if(MINGW) + set(COMPILER_STRING "Mingw GCC") + else() + set(COMPILER_STRING "GCC") + endif() +elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") + set(COMPILER_STRING "${CMAKE_CXX_COMPILER_ID} C++") +elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") + set(COMPILER_STRING "Visual Studio C++") +endif() + +if(CMAKE_CROSSCOMPILING) + set(BUILDING_STRING "It appears you are cross compiling for ${SYSTEM_STRING} with ${COMPILER_STRING}") +else() + set(BUILDING_STRING "It appears you are builing natively for ${SYSTEM_STRING} with ${COMPILER_STRING}") +endif() diff --git a/build/build-mingw32-clang-make.sh b/build/build-mingw32-clang-make.sh deleted file mode 100644 index acf5961c03..0000000000 --- a/build/build-mingw32-clang-make.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash - -# msys2 Pacman Manager for cocos2d-x - -#/**************************************************************************** -# Copyright (c) 2013-2014 Martell Malone -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -# ****************************************************************************/ - -set -e - -THISDIR="$(dirname $0)" -test "$THISDIR" = "." && THISDIR=${PWD} -OSTYPE=${OSTYPE//[0-9.]/} -HOST_ARCH=$(uname -m) - -if [ "${HOST_ARCH}" = "i686" ]; then - BITS=32 -elif [ "${HOST_ARCH}" = "x86_64" ]; then - BITS=64 -fi - -if [ "${OSTYPE}" = "msys" ]; then - - CC=clang - CXX=clang++ - PP=mingw-w64-${HOST_ARCH} - - MINGW_PACKAGES=(glfw glew libwebp libjpeg-turbo libpng freetype libiconv zlib curl - make clang binutils headers cmake) - - MINGW_PACKAGES=(${MINGW_PACKAGES[@]/#/${PP}-}) - - pacman -S --force --noconfirm --needed ${MINGW_PACKAGES[@]} - - mkdir -p mingw${BITS}-clang && cd mingw${BITS}-clang - - export PATH=/mingw${BITS}/bin:${PATH} - - cmake -G"MinGW Makefiles" -DCMAKE_MAKE_PROGRAM="mingw32-make" \ - -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" ../.. - - mingw32-make -fi diff --git a/build/build-mingw32-gcc-make.sh b/build/build-mingw32-gcc-make.sh deleted file mode 100644 index 09b0313791..0000000000 --- a/build/build-mingw32-gcc-make.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash - -# msys2 Pacman Manager for cocos2d-x - -#/**************************************************************************** -# Copyright (c) 2012-2013 Martell Malone -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -# ****************************************************************************/ - -set -e - -THISDIR="$(dirname $0)" -test "$THISDIR" = "." && THISDIR=${PWD} -OSTYPE=${OSTYPE//[0-9.]/} -HOST_ARCH=$(uname -m) - -if [ "${HOST_ARCH}" = "i686" ]; then - BITS=32 -elif [ "${HOST_ARCH}" = "x86_64" ]; then - BITS=64 -fi - -if [ "${OSTYPE}" = "msys" ]; then - - CC=${HOST_ARCH}-w64-mingw32-gcc - CXX=${HOST_ARCH}-w64-mingw32-g++ - PP=mingw-w64-${HOST_ARCH} - - MINGW_PACKAGES=(glfw glew libwebp libjpeg-turbo libpng freetype libiconv zlib curl - make gcc binutils headers cmake) - - MINGW_PACKAGES=(${MINGW_PACKAGES[@]/#/${PP}-}) - - pacman -S --force --noconfirm --needed ${MINGW_PACKAGES[@]} - - mkdir -p mingw${BITS} && cd mingw${BITS} - - export PATH=/mingw${BITS}/bin:${PATH} - - cmake -G"MinGW Makefiles" -DCMAKE_MAKE_PROGRAM="mingw32-make" \ - -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" ../.. - - mingw32-make -fi diff --git a/build/cocos2d-win32.vc2012.sln b/build/cocos2d-win32.vc2012.sln index 74d3130b20..44afe74dca 100644 --- a/build/cocos2d-win32.vc2012.sln +++ b/build/cocos2d-win32.vc2012.sln @@ -7,8 +7,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-tests", "..\tests\cpp-t EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libnetwork", "..\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "..\cocos\scripting\lua-bindings\proj.win32\liblua.vcxproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-tests", "..\tests\lua-tests\project\proj.win32\lua-tests.win32.vcxproj", "{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-empty-test", "..\tests\cpp-empty-test\proj.win32\cpp-empty-test.vcxproj", "{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}" @@ -31,6 +29,22 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocosbuilder", "..\cocos EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocostudio", "..\cocos\editor-support\cocostudio\proj.win32\libcocostudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocos2d", "..\cocos\scripting\lua-bindings\proj.win32\libluacocos2d.vcxproj", "{9F2D6CE6-C893-4400-B50C-6DB70CC2562F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocosdenshion", "..\cocos\scripting\lua-bindings\proj.win32\libluacocosdenshion.vcxproj", "{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluanetwork", "..\cocos\scripting\lua-bindings\proj.win32\libluanetwork.vcxproj", "{65E52F4B-703F-419E-AD67-926241A10042}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocosbuilder", "..\cocos\scripting\lua-bindings\proj.win32\libluacocosbuilder.vcxproj", "{F8198014-F4F3-49F0-88AB-C1969A5829AF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocostudio", "..\cocos\scripting\lua-bindings\proj.win32\libluacocostudio.vcxproj", "{9640951E-C5D0-47B5-9C42-0BCADA261C50}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluaui", "..\cocos\scripting\lua-bindings\proj.win32\libluaui.vcxproj", "{FE78EEBB-3DBB-4713-8CBF-63D742C5BD82}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluaextension", "..\cocos\scripting\lua-bindings\proj.win32\libluaextension.vcxproj", "{7068296E-38A4-4BCA-85DB-3A09BD014847}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluaspine", "..\cocos\scripting\lua-bindings\proj.win32\libluaspine.vcxproj", "{31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -49,10 +63,6 @@ Global {DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Debug|Win32.Build.0 = Debug|Win32 {DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.ActiveCfg = Release|Win32 {DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.Build.0 = Release|Win32 - {DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Debug|Win32.ActiveCfg = Debug|Win32 - {DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Debug|Win32.Build.0 = Debug|Win32 - {DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Release|Win32.ActiveCfg = Release|Win32 - {DDC3E27F-004D-4DD4-9DD3-931A013D2159}.Release|Win32.Build.0 = Release|Win32 {4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Debug|Win32.ActiveCfg = Debug|Win32 {4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Debug|Win32.Build.0 = Debug|Win32 {4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}.Release|Win32.ActiveCfg = Release|Win32 @@ -97,6 +107,38 @@ Global {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {9F2D6CE6-C893-4400-B50C-6DB70CC2562F}.Debug|Win32.ActiveCfg = Debug|Win32 + {9F2D6CE6-C893-4400-B50C-6DB70CC2562F}.Debug|Win32.Build.0 = Debug|Win32 + {9F2D6CE6-C893-4400-B50C-6DB70CC2562F}.Release|Win32.ActiveCfg = Release|Win32 + {9F2D6CE6-C893-4400-B50C-6DB70CC2562F}.Release|Win32.Build.0 = Release|Win32 + {46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Debug|Win32.ActiveCfg = Debug|Win32 + {46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Debug|Win32.Build.0 = Debug|Win32 + {46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.ActiveCfg = Release|Win32 + {46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.Build.0 = Release|Win32 + {65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.ActiveCfg = Debug|Win32 + {65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.Build.0 = Debug|Win32 + {65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.ActiveCfg = Release|Win32 + {65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.Build.0 = Release|Win32 + {F8198014-F4F3-49F0-88AB-C1969A5829AF}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8198014-F4F3-49F0-88AB-C1969A5829AF}.Debug|Win32.Build.0 = Debug|Win32 + {F8198014-F4F3-49F0-88AB-C1969A5829AF}.Release|Win32.ActiveCfg = Release|Win32 + {F8198014-F4F3-49F0-88AB-C1969A5829AF}.Release|Win32.Build.0 = Release|Win32 + {9640951E-C5D0-47B5-9C42-0BCADA261C50}.Debug|Win32.ActiveCfg = Debug|Win32 + {9640951E-C5D0-47B5-9C42-0BCADA261C50}.Debug|Win32.Build.0 = Debug|Win32 + {9640951E-C5D0-47B5-9C42-0BCADA261C50}.Release|Win32.ActiveCfg = Release|Win32 + {9640951E-C5D0-47B5-9C42-0BCADA261C50}.Release|Win32.Build.0 = Release|Win32 + {FE78EEBB-3DBB-4713-8CBF-63D742C5BD82}.Debug|Win32.ActiveCfg = Debug|Win32 + {FE78EEBB-3DBB-4713-8CBF-63D742C5BD82}.Debug|Win32.Build.0 = Debug|Win32 + {FE78EEBB-3DBB-4713-8CBF-63D742C5BD82}.Release|Win32.ActiveCfg = Release|Win32 + {FE78EEBB-3DBB-4713-8CBF-63D742C5BD82}.Release|Win32.Build.0 = Release|Win32 + {7068296E-38A4-4BCA-85DB-3A09BD014847}.Debug|Win32.ActiveCfg = Debug|Win32 + {7068296E-38A4-4BCA-85DB-3A09BD014847}.Debug|Win32.Build.0 = Debug|Win32 + {7068296E-38A4-4BCA-85DB-3A09BD014847}.Release|Win32.ActiveCfg = Release|Win32 + {7068296E-38A4-4BCA-85DB-3A09BD014847}.Release|Win32.Build.0 = Release|Win32 + {31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4}.Debug|Win32.ActiveCfg = Debug|Win32 + {31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4}.Debug|Win32.Build.0 = Debug|Win32 + {31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4}.Release|Win32.ActiveCfg = Release|Win32 + {31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build/cocos2d_tests.xcodeproj/project.pbxproj b/build/cocos2d_tests.xcodeproj/project.pbxproj index 953553e7d1..695d1ae650 100644 --- a/build/cocos2d_tests.xcodeproj/project.pbxproj +++ b/build/cocos2d_tests.xcodeproj/project.pbxproj @@ -58,6 +58,66 @@ 1503FAC418DA8B6C00F6518C /* tp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1503FAB118DA8B6C00F6518C /* tp.lua */; }; 1503FAC518DA8B6C00F6518C /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1503FAB218DA8B6C00F6518C /* url.lua */; }; 1503FAC618DA8B6C00F6518C /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1503FAB218DA8B6C00F6518C /* url.lua */; }; + 15427B79198B879900DC375D /* libluacocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA665198B33EE000C57D3 /* libluacocos2d iOS.a */; }; + 15427B7A198B87AA00DC375D /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; + 15427B7D198B880100DC375D /* lua_cocos2dx_controller_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427B7B198B880100DC375D /* lua_cocos2dx_controller_manual.cpp */; }; + 15427B7E198B896D00DC375D /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; + 15427D05198F55E000DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D06198F55E000DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D07198F55E000DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D08198F55E000DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D09198F55E000DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D0A198F55E000DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D0B198F55E000DC375D /* DeprecatedCocosBuilderClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF6198F55E000DC375D /* DeprecatedCocosBuilderClass.lua */; }; + 15427D0C198F55E000DC375D /* DeprecatedCocosBuilderClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF6198F55E000DC375D /* DeprecatedCocosBuilderClass.lua */; }; + 15427D0D198F55E000DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D0E198F55E000DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D0F198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D10198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D11198F55E000DC375D /* DeprecatedCocoStudioClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF9198F55E000DC375D /* DeprecatedCocoStudioClass.lua */; }; + 15427D12198F55E000DC375D /* DeprecatedCocoStudioClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF9198F55E000DC375D /* DeprecatedCocoStudioClass.lua */; }; + 15427D13198F55E000DC375D /* DeprecatedCocoStudioFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFA198F55E000DC375D /* DeprecatedCocoStudioFunc.lua */; }; + 15427D14198F55E000DC375D /* DeprecatedCocoStudioFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFA198F55E000DC375D /* DeprecatedCocoStudioFunc.lua */; }; + 15427D15198F55E000DC375D /* DeprecatedExtensionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFB198F55E000DC375D /* DeprecatedExtensionClass.lua */; }; + 15427D16198F55E000DC375D /* DeprecatedExtensionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFB198F55E000DC375D /* DeprecatedExtensionClass.lua */; }; + 15427D17198F55E000DC375D /* DeprecatedExtensionEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFC198F55E000DC375D /* DeprecatedExtensionEnum.lua */; }; + 15427D18198F55E000DC375D /* DeprecatedExtensionEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFC198F55E000DC375D /* DeprecatedExtensionEnum.lua */; }; + 15427D19198F55E000DC375D /* DeprecatedExtensionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFD198F55E000DC375D /* DeprecatedExtensionFunc.lua */; }; + 15427D1A198F55E000DC375D /* DeprecatedExtensionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFD198F55E000DC375D /* DeprecatedExtensionFunc.lua */; }; + 15427D1B198F55E000DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D1C198F55E000DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D1D198F55E000DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D1E198F55E000DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D1F198F55E000DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D20198F55E000DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D21198F55E000DC375D /* DeprecatedUIEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D01198F55E000DC375D /* DeprecatedUIEnum.lua */; }; + 15427D22198F55E000DC375D /* DeprecatedUIEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D01198F55E000DC375D /* DeprecatedUIEnum.lua */; }; + 15427D23198F55E000DC375D /* DeprecatedUIFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D02198F55E000DC375D /* DeprecatedUIFunc.lua */; }; + 15427D24198F55E000DC375D /* DeprecatedUIFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D02198F55E000DC375D /* DeprecatedUIFunc.lua */; }; + 15427D25198F55E000DC375D /* ExtensionConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D03198F55E000DC375D /* ExtensionConstants.lua */; }; + 15427D26198F55E000DC375D /* ExtensionConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D03198F55E000DC375D /* ExtensionConstants.lua */; }; + 15427D27198F55E000DC375D /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D04198F55E000DC375D /* NetworkConstants.lua */; }; + 15427D28198F55E000DC375D /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D04198F55E000DC375D /* NetworkConstants.lua */; }; + 15427D29198F6B2100DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D2A198F6B2200DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D2B198F6B2600DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D2C198F6B2A00DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D2D198F6B2C00DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D2E198F6B2D00DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D2F198F6B3200DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D30198F6B3300DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D31198F6B3500DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D32198F6B3E00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D34198F6B4100DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D35198F6B4300DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D36198F6B4500DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D37198F6B4A00DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D38198F6B4B00DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D39198F6B4E00DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D3A198F6B4F00DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D3B198F6B5300DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D3C198F6B5400DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D49198F7F4C00DC375D /* ControllerConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D48198F7F4C00DC375D /* ControllerConstants.lua */; }; 156229331973D400009C9067 /* bitExtend.lua in Resources */ = {isa = PBXBuildFile; fileRef = 156229321973D400009C9067 /* bitExtend.lua */; }; 156229341973D400009C9067 /* bitExtend.lua in Resources */ = {isa = PBXBuildFile; fileRef = 156229321973D400009C9067 /* bitExtend.lua */; }; 156EAE071977D0BD00F53709 /* ActionTimeline in Resources */ = {isa = PBXBuildFile; fileRef = 38FA2E75194AECF800FF2BE4 /* ActionTimeline */; }; @@ -99,9 +159,6 @@ 15CBA9A9196EE7FA005877BB /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36818CD9E180087CE3A /* Cocos2d.lua */; }; 15CBA9AA196EE7FA005877BB /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */; }; 15CBA9AB196EE7FA005877BB /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */; }; - 15CBA9AC196EE7FA005877BB /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */; }; - 15CBA9AD196EE7FA005877BB /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */; }; - 15CBA9AE196EE7FA005877BB /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */; }; 15CBA9AF196EE80B005877BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 3E6177F01960FEFE00DE83F5 /* fonts */; }; 15CBA9B0196EE80B005877BB /* ipad in Resources */ = {isa = PBXBuildFile; fileRef = 3E6177F11960FEFE00DE83F5 /* ipad */; }; 15CBA9B1196EE80B005877BB /* ipadhd in Resources */ = {isa = PBXBuildFile; fileRef = 3E6177F21960FEFE00DE83F5 /* ipadhd */; }; @@ -111,10 +168,6 @@ 15CBA9B7196EE8D9005877BB /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA53F196EE671005877BB /* AppController.mm */; }; 15CBA9B8196EE8D9005877BB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA54C196EE671005877BB /* main.m */; }; 15CBA9B9196EE8D9005877BB /* RootViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA54E196EE671005877BB /* RootViewController.mm */; }; - 15CBA9BB196EE910005877BB /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; }; - 15CBA9BD196EE910005877BB /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; }; - 15CBA9BE196EE910005877BB /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; - 15CBA9BF196EE910005877BB /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; }; 15CBA9CF196EE9FB005877BB /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9C2196EE951005877BB /* AVFoundation.framework */; }; 15CBA9D0196EEA05005877BB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9C4196EE962005877BB /* UIKit.framework */; }; 15CBA9D1196EEA1D005877BB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9C0196EE943005877BB /* Foundation.framework */; }; @@ -126,14 +179,49 @@ 15CBA9DB196EEA90005877BB /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9DA196EEA90005877BB /* CoreMotion.framework */; }; 15CBA9DD196EEAA6005877BB /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15CBA9DC196EEAA6005877BB /* libz.dylib */; }; 15CBA9DE196EEAF8005877BB /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E61773C1960FBD100DE83F5 /* GameController.framework */; }; - 15CBA9DF196EEBB3005877BB /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; 15CBA9E0196EEBD4005877BB /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EA0FB65191B933000B170C8 /* MediaPlayer.framework */; }; 15CBA9ED196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA9EB196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp */; }; - 15CBA9F0196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15CBA9EE196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp */; }; 15CBA9F1196F865C005877BB /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA37218CD9E180087CE3A /* json.lua */; }; 15CBA9F2196F8718005877BB /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA37018CD9E180087CE3A /* extern.lua */; }; 15E66FC8192D957100C20A52 /* Sprite3DTest in Resources */ = {isa = PBXBuildFile; fileRef = 3E92EA841921A7720094CD21 /* Sprite3DTest */; }; 15E66FD6192DC8C700C20A52 /* Sprite3DTest in Resources */ = {isa = PBXBuildFile; fileRef = 3E92EA841921A7720094CD21 /* Sprite3DTest */; }; + 15EFA25B198A4A47000C57D3 /* libluacocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA258198A4A24000C57D3 /* libluacocos2d Mac.a */; }; + 15EFA25C198A4A58000C57D3 /* libluacocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA256198A4A24000C57D3 /* libluacocosdenshion Mac.a */; }; + 15EFA25D198A4A66000C57D3 /* libluanetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA254198A4A24000C57D3 /* libluanetwork Mac.a */; }; + 15EFA270198B25B9000C57D3 /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; }; + 15EFA271198B25B9000C57D3 /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; }; + 15EFA272198B25C3000C57D3 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; }; + 15EFA273198B265A000C57D3 /* libluacocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA258198A4A24000C57D3 /* libluacocos2d Mac.a */; }; + 15EFA274198B265A000C57D3 /* libluacocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA250198A4A24000C57D3 /* libluacocosbuilder Mac.a */; }; + 15EFA275198B265A000C57D3 /* libluacocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA256198A4A24000C57D3 /* libluacocosdenshion Mac.a */; }; + 15EFA276198B265A000C57D3 /* libluacocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA24E198A4A24000C57D3 /* libluacocostudio Mac.a */; }; + 15EFA277198B2666000C57D3 /* libluaui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA24C198A4A24000C57D3 /* libluaui Mac.a */; }; + 15EFA278198B2673000C57D3 /* libluaspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA252198A4A24000C57D3 /* libluaspine Mac.a */; }; + 15EFA279198B268A000C57D3 /* libluanetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA254198A4A24000C57D3 /* libluanetwork Mac.a */; }; + 15EFA27A198B269E000C57D3 /* libluaextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA24A198A4A24000C57D3 /* libluaextension Mac.a */; }; + 15EFA666198B34D7000C57D3 /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; + 15EFA667198B34D7000C57D3 /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; }; + 15EFA668198B34D7000C57D3 /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; + 15EFA669198B34D7000C57D3 /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; }; + 15EFA66A198B34E1000C57D3 /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; }; + 15EFA66B198B34EA000C57D3 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; }; + 15EFA66C198B3505000C57D3 /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; }; + 15EFA66D198B354B000C57D3 /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; + 15EFA66E198B354B000C57D3 /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; }; + 15EFA66F198B356E000C57D3 /* libluacocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA665198B33EE000C57D3 /* libluacocos2d iOS.a */; }; + 15EFA670198B356E000C57D3 /* libluacocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA65D198B33EE000C57D3 /* libluacocosbuilder iOS.a */; }; + 15EFA671198B356E000C57D3 /* libluacocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA663198B33EE000C57D3 /* libluacocosdenshion iOS.a */; }; + 15EFA672198B356E000C57D3 /* libluacocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA65B198B33EE000C57D3 /* libluacocostudio iOS.a */; }; + 15EFA673198B356E000C57D3 /* libluaextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA25A198A4A24000C57D3 /* libluaextension iOS.a */; }; + 15EFA674198B356E000C57D3 /* libluanetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA661198B33EE000C57D3 /* libluanetwork iOS.a */; }; + 15EFA675198B356E000C57D3 /* libluaspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA65F198B33EE000C57D3 /* libluaspine iOS.a */; }; + 15EFA676198B356E000C57D3 /* libluaui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA659198B33EE000C57D3 /* libluaui iOS.a */; }; + 15EFA68B198B3AD8000C57D3 /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; + 15EFA68C198B3AD8000C57D3 /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; + 15EFA68D198B3AD8000C57D3 /* libluacocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA665198B33EE000C57D3 /* libluacocos2d iOS.a */; }; + 15EFA68E198B3AD8000C57D3 /* libluacocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA663198B33EE000C57D3 /* libluacocosdenshion iOS.a */; }; + 15EFA68F198B3AD8000C57D3 /* libluanetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EFA661198B33EE000C57D3 /* libluanetwork iOS.a */; }; + 15EFA690198B3AD8000C57D3 /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; 1A0EE2A118CDF6DA004CD58F /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; }; 1A0EE2A218CDF6DA004CD58F /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; }; 1A0EE2A418CDF6DA004CD58F /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; }; @@ -157,10 +245,6 @@ 1A0EE2D018CDF733004CD58F /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35618CD9A890087CE3A /* QuartzCore.framework */; }; 1A0EE2D118CDF733004CD58F /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35418CD9A820087CE3A /* OpenGL.framework */; }; 1A0EE2D218CDF733004CD58F /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB41807A4F9005B8026 /* libchipmunk Mac.a */; }; - 1A0EE2D318CDF733004CD58F /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; }; - 1A0EE2D418CDF733004CD58F /* libextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libextension Mac.a */; }; - 1A0EE2D518CDF733004CD58F /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; }; - 1A0EE2D618CDF733004CD58F /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */; }; 1A0EE2D718CDF733004CD58F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64822165F391E007D4F18 /* Cocoa.framework */; }; 1A0EE40218CDF775004CD58F /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; }; 1A0EE40318CDF775004CD58F /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; @@ -185,19 +269,11 @@ 1A0EE43318CDF799004CD58F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA39E18CD9EE50087CE3A /* UIKit.framework */; }; 1A0EE43418CDF799004CD58F /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA39C18CD9ED80087CE3A /* AVFoundation.framework */; }; 1A0EE43518CDF799004CD58F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; }; - 1A0EE43618CDF799004CD58F /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; }; - 1A0EE43718CDF799004CD58F /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; - 1A0EE43818CDF799004CD58F /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; }; - 1A0EE43918CDF799004CD58F /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; - 1A0EE43A18CDF799004CD58F /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; }; 1A0EE55C18CDFBBD004CD58F /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36618CD9E180087CE3A /* AudioEngine.lua */; }; 1A0EE55D18CDFBBD004CD58F /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36718CD9E180087CE3A /* CCBReaderLoad.lua */; }; 1A0EE55E18CDFBBD004CD58F /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36818CD9E180087CE3A /* Cocos2d.lua */; }; 1A0EE55F18CDFBBD004CD58F /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */; }; 1A0EE56018CDFBBD004CD58F /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */; }; - 1A0EE56118CDFBBD004CD58F /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */; }; - 1A0EE56218CDFBBD004CD58F /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */; }; - 1A0EE56318CDFBBD004CD58F /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */; }; 1A0EE56418CDFBBD004CD58F /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */; }; 1A0EE56518CDFBBD004CD58F /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36F18CD9E180087CE3A /* DrawPrimitives.lua */; }; 1A0EE56618CDFBBD004CD58F /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA37018CD9E180087CE3A /* extern.lua */; }; @@ -213,9 +289,6 @@ 1A0EE57018CDFBBE004CD58F /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36818CD9E180087CE3A /* Cocos2d.lua */; }; 1A0EE57118CDFBBE004CD58F /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */; }; 1A0EE57218CDFBBE004CD58F /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */; }; - 1A0EE57318CDFBBE004CD58F /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */; }; - 1A0EE57418CDFBBE004CD58F /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */; }; - 1A0EE57518CDFBBE004CD58F /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */; }; 1A0EE57618CDFBBE004CD58F /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */; }; 1A0EE57718CDFBBE004CD58F /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36F18CD9E180087CE3A /* DrawPrimitives.lua */; }; 1A0EE57818CDFBBE004CD58F /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA37018CD9E180087CE3A /* extern.lua */; }; @@ -246,13 +319,7 @@ 1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */; }; 1ABCA2C418CD92420087CE3A /* libextension Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB21807A4F9005B8026 /* libextension Mac.a */; }; 1ABCA2C518CD92420087CE3A /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FB81807A4F9005B8026 /* libcocosdenshion Mac.a */; }; - 1ABCA2C618CD92420087CE3A /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */; }; 1ABCA2CE18CD93580087CE3A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15C64832165F3AFD007D4F18 /* Foundation.framework */; }; - 1ABCA30118CD93940087CE3A /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC21807A4F9005B8026 /* libchipmunk iOS.a */; }; - 1ABCA30218CD93940087CE3A /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FBE1807A4F9005B8026 /* libcocos2d iOS.a */; }; - 1ABCA30318CD93940087CE3A /* libextension iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC01807A4F9005B8026 /* libextension iOS.a */; }; - 1ABCA30418CD93940087CE3A /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46A15FC61807A4F9005B8026 /* libcocosdenshion iOS.a */; }; - 1ABCA30518CD93940087CE3A /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */; }; 1ABCA35518CD9A820087CE3A /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35418CD9A820087CE3A /* OpenGL.framework */; }; 1ABCA35718CD9A890087CE3A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35618CD9A890087CE3A /* QuartzCore.framework */; }; 1ABCA35918CD9A8F0087CE3A /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA35818CD9A8F0087CE3A /* OpenAL.framework */; }; @@ -272,12 +339,6 @@ 1ABCA37F18CD9E180087CE3A /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */; }; 1ABCA38018CD9E180087CE3A /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */; }; 1ABCA38118CD9E180087CE3A /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */; }; - 1ABCA38218CD9E180087CE3A /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */; }; - 1ABCA38318CD9E180087CE3A /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */; }; - 1ABCA38418CD9E180087CE3A /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */; }; - 1ABCA38518CD9E180087CE3A /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */; }; - 1ABCA38618CD9E180087CE3A /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */; }; - 1ABCA38718CD9E180087CE3A /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */; }; 1ABCA38818CD9E180087CE3A /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */; }; 1ABCA38918CD9E180087CE3A /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */; }; 1ABCA38A18CD9E180087CE3A /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = 1ABCA36F18CD9E180087CE3A /* DrawPrimitives.lua */; }; @@ -916,43 +977,23 @@ A07A52BF1783AF210073F6A7 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52B91783AE900073F6A7 /* OpenGLES.framework */; }; A07A52C01783AF250073F6A7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52B71783AE6D0073F6A7 /* UIKit.framework */; }; A07A52C31783B02C0073F6A7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07A52C11783B01F0073F6A7 /* AVFoundation.framework */; }; - B2411C9E19822FBD00E093E2 /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; }; - B2411CA119822FDD00E093E2 /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; }; - B2411CA419822FF100E093E2 /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; }; - B2411CA71982301400E093E2 /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; }; - B2411CAA1982302700E093E2 /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; B244F3171976878E00ED1926 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; }; B2507B6B192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; }; B2507B6C192589AF00FA4972 /* Shaders3D in Resources */ = {isa = PBXBuildFile; fileRef = B2507B6A192589AF00FA4972 /* Shaders3D */; }; B27AEE0719768950008BD575 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; }; - B27AEE0A1976896B008BD575 /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B244F3161976878700ED1926 /* libnetwork Mac.a */; }; B2C59AC8197782B900B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; }; B2C59AC9197782B900B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; }; B2C59ACA197782B900B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; }; - B2C59AD619779CEB00B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; }; - B2C59AD719779CEB00B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; }; - B2C59AD819779CEB00B452DF /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; - B2C59AD919779CEB00B452DF /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; }; - B2C59ADA19779CEB00B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; }; - B2C59AE519779D5D00B452DF /* libcocosbuilder iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503D197763A20041958E /* libcocosbuilder iOS.a */; }; - B2C59AE619779D5D00B452DF /* libui iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5039197763A20041958E /* libui iOS.a */; }; - B2C59AE719779D5D00B452DF /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; - B2C59AE819779D5D00B452DF /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; }; - B2C59AE919779D5D00B452DF /* libcocostudio iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503B197763A20041958E /* libcocostudio iOS.a */; }; B2CC5045197766F70041958E /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC5041197763A20041958E /* libnetwork iOS.a */; }; B2CC507B19776D8B0041958E /* libspine iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2CC503F197763A20041958E /* libspine iOS.a */; }; B2DB479A197668D500411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; }; B2DB480919766E4800411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; }; - B2DB480E197670F500411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; }; - B2DB480F197670F500411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; }; B2DB48141976711A00411E16 /* libcocosbuilder Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB480819766E3C00411E16 /* libcocosbuilder Mac.a */; }; B2DB48151976711A00411E16 /* libui Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB4799197668CA00411E16 /* libui Mac.a */; }; B2DB48C319767D3D00411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; }; B2DB48C619767DAC00411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; }; - B2DB48C919767EB700411E16 /* libcocostudio Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB48C219767D3600411E16 /* libcocostudio Mac.a */; }; B2DB493A197681E500411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; }; B2DB49401976826000411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; }; - B2DB49431976826E00411E16 /* libspine Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2DB49391976819900411E16 /* libspine Mac.a */; }; C04F935A1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; }; C04F935B1941B05400E9FEAB /* TileMapTest2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C04F93581941B05400E9FEAB /* TileMapTest2.cpp */; }; C08689C118D370C90093E810 /* background.caf in Resources */ = {isa = PBXBuildFile; fileRef = C08689C018D370C90093E810 /* background.caf */; }; @@ -964,6 +1005,195 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 15427B80198B8ACB00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA486198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15427B82198B8ACB00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA523198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427B84198B8ACB00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA59E198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427B86198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 155CA2C71988C494006E0A08; + remoteInfo = "libluaextension iOS"; + }; + 15427B88198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA300198B28A8000C57D3; + remoteInfo = "libluaui iOS"; + }; + 15427B8A198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA381198B2934000C57D3; + remoteInfo = "libluacocostudio iOS"; + }; + 15427B8C198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA27F198B2791000C57D3; + remoteInfo = "libluacocosbuilder iOS"; + }; + 15427B8E198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA407198B2AFD000C57D3; + remoteInfo = "libluaspine iOS"; + }; + 15427B90198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA486198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15427B92198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA523198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427B94198B8BB400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA59E198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427B96198B8BBF00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = B24EEA7F19775EF3004493CC; + remoteInfo = "libnetwork iOS"; + }; + 15427B98198B8BDE00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "libcocos2d iOS"; + }; + 15427B9A198B8BDE00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "libcocosdenshion iOS"; + }; + 15427B9C198B8C0500DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA59E198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427B9E198B8C1300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "libcocosdenshion iOS"; + }; + 15427BA0198B8C2E00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C1061987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15427BA2198B8C2E00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BEEE19865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427BA4198B8C2E00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C255198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427BA6198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BD5F1986538000A46ACC; + remoteInfo = "libluaextension Mac"; + }; + 15427BA8198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C0801987328E00A46ACC; + remoteInfo = "libluaui Mac"; + }; + 15427BAA198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BF7219865C2000A46ACC; + remoteInfo = "libluacocostudio Mac"; + }; + 15427BAC198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BE66198654BE00A46ACC; + remoteInfo = "libluacocosbuilder Mac"; + }; + 15427BAE198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BFF819865E5F00A46ACC; + remoteInfo = "libluaspine Mac"; + }; + 15427BB0198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C1061987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15427BB2198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BEEE19865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427BB4198B8C5000DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C255198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; 15CBA017196EE56C005877BB /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -971,33 +1201,117 @@ remoteGlobalIDString = A07A4C241783777C0073F6A7; remoteInfo = "cocos2dx iOS"; }; - 15CBA019196EE56C005877BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4E111783867C0073F6A7; - remoteInfo = "cocos2dx-extensions iOS"; - }; - 15CBA01B196EE56C005877BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4EFD178387670073F6A7; - remoteInfo = "chipmunk iOS"; - }; - 15CBA01D196EE56C005877BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F9F178387730073F6A7; - remoteInfo = "CocosDenshion iOS"; - }; - 15CBA01F196EE56C005877BB /* PBXContainerItemProxy */ = { + 15EFA249198A4A24000C57D3 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A119716178526AA00D62A44; - remoteInfo = "luabindings iOS"; + proxyType = 2; + remoteGlobalIDString = 15C1BDDA1986538000A46ACC; + remoteInfo = "libluaextension Mac"; + }; + 15EFA24B198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C0FB1987328E00A46ACC; + remoteInfo = "libluaui Mac"; + }; + 15EFA24D198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BFED19865C2000A46ACC; + remoteInfo = "libluacocostudio Mac"; + }; + 15EFA24F198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BEE1198654BE00A46ACC; + remoteInfo = "libluacocosbuilder Mac"; + }; + 15EFA251198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C07319865E5F00A46ACC; + remoteInfo = "libluaspine Mac"; + }; + 15EFA253198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C1811987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15EFA255198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BF6919865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15EFA257198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C2CC198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15EFA259198A4A24000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 155CA3431988C494006E0A08; + remoteInfo = "libluaextension iOS"; + }; + 15EFA658198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA37A198B28A8000C57D3; + remoteInfo = "libluaui iOS"; + }; + 15EFA65A198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA3FB198B2934000C57D3; + remoteInfo = "libluacocostudio iOS"; + }; + 15EFA65C198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA2F9198B2791000C57D3; + remoteInfo = "libluacocosbuilder iOS"; + }; + 15EFA65E198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA47F198B2AFD000C57D3; + remoteInfo = "libluaspine iOS"; + }; + 15EFA660198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA4FE198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15EFA662198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA59B198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15EFA664198B33EE000C57D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA616198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; }; 1A0EE1C818CDF6DA004CD58F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -1020,13 +1334,6 @@ remoteGlobalIDString = A03F2E9817814268006731B9; remoteInfo = "CocosDenshion Mac"; }; - 1A0EE2BA18CDF733004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A6FB50417854BC200CDF010; - remoteInfo = "luabindings Mac"; - }; 1A0EE2BC18CDF733004CD58F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1034,20 +1341,6 @@ remoteGlobalIDString = 1551A33E158F2AB200E66CFE; remoteInfo = "cocos2dx Mac"; }; - 1A0EE2BE18CDF733004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2FC117814595006731B9; - remoteInfo = "cocos2dx-extensions Mac"; - }; - 1A0EE2C018CDF733004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2B781780BD04006731B9; - remoteInfo = "chipmunk Mac"; - }; 1A0EE2C218CDF733004CD58F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1076,41 +1369,6 @@ remoteGlobalIDString = A07A4F9F178387730073F6A7; remoteInfo = "CocosDenshion iOS"; }; - 1A0EE41B18CDF799004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4C241783777C0073F6A7; - remoteInfo = "cocos2dx iOS"; - }; - 1A0EE41D18CDF799004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4E111783867C0073F6A7; - remoteInfo = "cocos2dx-extensions iOS"; - }; - 1A0EE41F18CDF799004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4EFD178387670073F6A7; - remoteInfo = "chipmunk iOS"; - }; - 1A0EE42118CDF799004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F9F178387730073F6A7; - remoteInfo = "CocosDenshion iOS"; - }; - 1A0EE42318CDF799004CD58F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A119716178526AA00D62A44; - remoteInfo = "luabindings iOS"; - }; 1AAF5341180E2F41000584C8 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1181,20 +1439,6 @@ remoteGlobalIDString = A07A4F9F178387730073F6A7; remoteInfo = "CocosDenshion iOS"; }; - 1ABCA27D18CD90A50087CE3A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74618BC45A000215002; - remoteInfo = "luabindings Mac"; - }; - 1ABCA27F18CD90A50087CE3A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74718BC45A000215002; - remoteInfo = "luabindings iOS"; - }; 1ABCA2B818CD92230087CE3A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1223,13 +1467,6 @@ remoteGlobalIDString = A03F2E9817814268006731B9; remoteInfo = "CocosDenshion Mac"; }; - 1ABCA2C018CD92280087CE3A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A6FB50417854BC200CDF010; - remoteInfo = "luabindings Mac"; - }; 1ABCA2F718CD93850087CE3A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1258,13 +1495,6 @@ remoteGlobalIDString = A07A4F9F178387730073F6A7; remoteInfo = "CocosDenshion iOS"; }; - 1ABCA2FF18CD93850087CE3A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 1ABCA27618CD90A40087CE3A /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A119716178526AA00D62A44; - remoteInfo = "luabindings iOS"; - }; 1ADA8BA318CF277400AE24B9 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; @@ -1405,41 +1635,6 @@ remoteGlobalIDString = A07A517F1783A1D20073F6A7; remoteInfo = "Test cpp iOS"; }; - B2411C9C19822FB600E093E2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA6719775EBB004493CC; - remoteInfo = "libcocostudio iOS"; - }; - B2411C9F19822FD300E093E2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA6F19775ECE004493CC; - remoteInfo = "libcocosbuilder iOS"; - }; - B2411CA219822FEA00E093E2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA7719775EE1004493CC; - remoteInfo = "libspine iOS"; - }; - B2411CA51982300F00E093E2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA2C19775E92004493CC; - remoteInfo = "libui iOS"; - }; - B2411CA81982301E00E093E2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA7F19775EF3004493CC; - remoteInfo = "libnetwork iOS"; - }; B244F3101976878700ED1926 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1489,41 +1684,6 @@ remoteGlobalIDString = B24EEA6F19775ECE004493CC; remoteInfo = "cocosBuilder iOS"; }; - B2C59ACC19779CDF00B452DF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA2C19775E92004493CC; - remoteInfo = "cocosGUI iOS"; - }; - B2C59ACE19779CDF00B452DF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA6719775EBB004493CC; - remoteInfo = "cocosStudio iOS"; - }; - B2C59AD019779CDF00B452DF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA6F19775ECE004493CC; - remoteInfo = "cocosBuilder iOS"; - }; - B2C59AD219779CDF00B452DF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA7719775EE1004493CC; - remoteInfo = "cocosSpine iOS"; - }; - B2C59AD419779CDF00B452DF /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B24EEA7F19775EF3004493CC; - remoteInfo = "cocosNetwork iOS"; - }; B2C59ADB19779D5400B452DF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1636,20 +1796,6 @@ remoteGlobalIDString = B2DB47D2197669A100411E16; remoteInfo = "cocosBuilder Mac"; }; - B2DB480A197670ED00411E16 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B245F10019766132001920FD; - remoteInfo = "cocosGUI Mac"; - }; - B2DB480C197670ED00411E16 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B2DB479B197669A100411E16; - remoteInfo = "cocosBuilder Mac"; - }; B2DB48101976711200411E16 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1685,13 +1831,6 @@ remoteGlobalIDString = B2DB48161976716E00411E16; remoteInfo = "cocosStudio Mac"; }; - B2DB48C719767EAF00411E16 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B2DB48161976716E00411E16; - remoteInfo = "cocosStudio Mac"; - }; B2DB49351976819900411E16 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; @@ -1713,13 +1852,6 @@ remoteGlobalIDString = B2DB48CA19767F1F00411E16; remoteInfo = "cocosSpine Mac"; }; - B2DB49411976826900411E16 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 46A15F9C1807A4F8005B8026 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = B2DB48CA19767F1F00411E16; - remoteInfo = "cocosSpine Mac"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -1733,6 +1865,29 @@ 1503FAB018DA8B6C00F6518C /* socket.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = socket.lua; path = ../external/lua/luasocket/socket.lua; sourceTree = ""; }; 1503FAB118DA8B6C00F6518C /* tp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = tp.lua; path = ../external/lua/luasocket/tp.lua; sourceTree = ""; }; 1503FAB218DA8B6C00F6518C /* url.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = url.lua; path = ../external/lua/luasocket/url.lua; sourceTree = ""; }; + 15427B76198B750300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_module_register.h; sourceTree = ""; }; + 15427B77198B843300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_module_register.h; sourceTree = ""; }; + 15427B7B198B880100DC375D /* lua_cocos2dx_controller_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_controller_manual.cpp; path = "../../../../cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp"; sourceTree = ""; }; + 15427B7C198B880100DC375D /* lua_cocos2dx_controller_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = lua_cocos2dx_controller_manual.hpp; path = "../../../../cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.hpp"; sourceTree = ""; }; + 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua"; sourceTree = ""; }; + 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua"; sourceTree = ""; }; + 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua"; sourceTree = ""; }; + 15427CF6198F55E000DC375D /* DeprecatedCocosBuilderClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosBuilderClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocosBuilderClass.lua"; sourceTree = ""; }; + 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua"; sourceTree = ""; }; + 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua"; sourceTree = ""; }; + 15427CF9198F55E000DC375D /* DeprecatedCocoStudioClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocoStudioClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocoStudioClass.lua"; sourceTree = ""; }; + 15427CFA198F55E000DC375D /* DeprecatedCocoStudioFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocoStudioFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedCocoStudioFunc.lua"; sourceTree = ""; }; + 15427CFB198F55E000DC375D /* DeprecatedExtensionClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedExtensionClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedExtensionClass.lua"; sourceTree = ""; }; + 15427CFC198F55E000DC375D /* DeprecatedExtensionEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedExtensionEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedExtensionEnum.lua"; sourceTree = ""; }; + 15427CFD198F55E000DC375D /* DeprecatedExtensionFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedExtensionFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedExtensionFunc.lua"; sourceTree = ""; }; + 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua"; sourceTree = ""; }; + 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua"; sourceTree = ""; }; + 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua"; sourceTree = ""; }; + 15427D01198F55E000DC375D /* DeprecatedUIEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedUIEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedUIEnum.lua"; sourceTree = ""; }; + 15427D02198F55E000DC375D /* DeprecatedUIFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedUIFunc.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedUIFunc.lua"; sourceTree = ""; }; + 15427D03198F55E000DC375D /* ExtensionConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ExtensionConstants.lua; path = "../cocos/scripting/lua-bindings/script/ExtensionConstants.lua"; sourceTree = ""; }; + 15427D04198F55E000DC375D /* NetworkConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = NetworkConstants.lua; path = "../cocos/scripting/lua-bindings/script/NetworkConstants.lua"; sourceTree = ""; }; + 15427D48198F7F4C00DC375D /* ControllerConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ControllerConstants.lua; path = "../cocos/scripting/lua-bindings/script/ControllerConstants.lua"; sourceTree = ""; }; 156229321973D400009C9067 /* bitExtend.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = bitExtend.lua; path = "../cocos/scripting/lua-bindings/script/bitExtend.lua"; sourceTree = ""; }; 15AECE1E195D0EC500907DB0 /* experimentalConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = experimentalConstants.lua; path = "../cocos/scripting/lua-bindings/script/experimentalConstants.lua"; sourceTree = ""; }; 15C64822165F391E007D4F18 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; }; @@ -2858,8 +3013,6 @@ 15CBA9DC196EEAA6005877BB /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libz.dylib; sourceTree = DEVELOPER_DIR; }; 15CBA9EB196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_controller_auto.cpp; path = "../../../../cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp"; sourceTree = ""; }; 15CBA9EC196F7BD8005877BB /* lua_cocos2dx_controller_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = lua_cocos2dx_controller_auto.hpp; path = "../../../../cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.hpp"; sourceTree = ""; }; - 15CBA9EE196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lua_cocos2dx_controller_manual.cpp; path = "../../../../cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp"; sourceTree = ""; }; - 15CBA9EF196F7BEC005877BB /* lua_cocos2dx_controller_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = lua_cocos2dx_controller_manual.hpp; path = "../../../../cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.hpp"; sourceTree = ""; }; 1A0EE2B218CDF6DA004CD58F /* cpp-empty-test Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "cpp-empty-test Mac.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 1A0EE31418CDF733004CD58F /* lua-empty-test Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "lua-empty-test Mac.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 1A0EE41318CDF775004CD58F /* cpp-empty-test iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "cpp-empty-test iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -2884,9 +3037,6 @@ 1ABCA36818CD9E180087CE3A /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = "../cocos/scripting/lua-bindings/script/Cocos2d.lua"; sourceTree = ""; }; 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = "../cocos/scripting/lua-bindings/script/Cocos2dConstants.lua"; sourceTree = ""; }; 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CocoStudio.lua; path = "../cocos/scripting/lua-bindings/script/CocoStudio.lua"; sourceTree = ""; }; - 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = "../cocos/scripting/lua-bindings/script/Deprecated.lua"; sourceTree = ""; }; - 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedClass.lua"; sourceTree = ""; }; - 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedEnum.lua"; sourceTree = ""; }; 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = "../cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua"; sourceTree = ""; }; 1ABCA36F18CD9E180087CE3A /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = "../cocos/scripting/lua-bindings/script/DrawPrimitives.lua"; sourceTree = ""; }; 1ABCA37018CD9E180087CE3A /* extern.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = extern.lua; path = "../cocos/scripting/lua-bindings/script/extern.lua"; sourceTree = ""; }; @@ -3526,11 +3676,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B2411CAA1982302700E093E2 /* libnetwork iOS.a in Frameworks */, - B2411CA71982301400E093E2 /* libui iOS.a in Frameworks */, - B2411CA419822FF100E093E2 /* libspine iOS.a in Frameworks */, - B2411CA119822FDD00E093E2 /* libcocosbuilder iOS.a in Frameworks */, - B2411C9E19822FBD00E093E2 /* libcocostudio iOS.a in Frameworks */, + 15427B7E198B896D00DC375D /* libcocosdenshion iOS.a in Frameworks */, + 15427B7A198B87AA00DC375D /* libcocos2d iOS.a in Frameworks */, + 15427B79198B879900DC375D /* libluacocos2d iOS.a in Frameworks */, 15CBA9E0196EEBD4005877BB /* MediaPlayer.framework in Frameworks */, 15CBA9DE196EEAF8005877BB /* GameController.framework in Frameworks */, 15CBA9DD196EEAA6005877BB /* libz.dylib in Frameworks */, @@ -3543,11 +3691,6 @@ 15CBA9D0196EEA05005877BB /* UIKit.framework in Frameworks */, 15CBA9CF196EE9FB005877BB /* AVFoundation.framework in Frameworks */, 15CBA9D1196EEA1D005877BB /* Foundation.framework in Frameworks */, - 15CBA9BB196EE910005877BB /* libchipmunk iOS.a in Frameworks */, - 15CBA9DF196EEBB3005877BB /* libcocos2d iOS.a in Frameworks */, - 15CBA9BD196EE910005877BB /* libextension iOS.a in Frameworks */, - 15CBA9BE196EE910005877BB /* libcocosdenshion iOS.a in Frameworks */, - 15CBA9BF196EE910005877BB /* libluabindings iOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3575,11 +3718,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B27AEE0A1976896B008BD575 /* libnetwork Mac.a in Frameworks */, - B2DB49431976826E00411E16 /* libspine Mac.a in Frameworks */, - B2DB48C919767EB700411E16 /* libcocostudio Mac.a in Frameworks */, - B2DB480E197670F500411E16 /* libcocosbuilder Mac.a in Frameworks */, - B2DB480F197670F500411E16 /* libui Mac.a in Frameworks */, + 15EFA272198B25C3000C57D3 /* libnetwork Mac.a in Frameworks */, + 15EFA270198B25B9000C57D3 /* libcocos2d Mac.a in Frameworks */, + 15EFA271198B25B9000C57D3 /* libcocosdenshion Mac.a in Frameworks */, + 15EFA25D198A4A66000C57D3 /* libluanetwork Mac.a in Frameworks */, + 15EFA25C198A4A58000C57D3 /* libluacocosdenshion Mac.a in Frameworks */, + 15EFA25B198A4A47000C57D3 /* libluacocos2d Mac.a in Frameworks */, 1A0EE2C918CDF733004CD58F /* libcurl.dylib in Frameworks */, 1A0EE2CA18CDF733004CD58F /* libz.dylib in Frameworks */, 1A0EE2CB18CDF733004CD58F /* IOKit.framework in Frameworks */, @@ -3590,10 +3734,6 @@ 1A0EE2D018CDF733004CD58F /* QuartzCore.framework in Frameworks */, 1A0EE2D118CDF733004CD58F /* OpenGL.framework in Frameworks */, 1A0EE2D218CDF733004CD58F /* libchipmunk Mac.a in Frameworks */, - 1A0EE2D318CDF733004CD58F /* libcocos2d Mac.a in Frameworks */, - 1A0EE2D418CDF733004CD58F /* libextension Mac.a in Frameworks */, - 1A0EE2D518CDF733004CD58F /* libcocosdenshion Mac.a in Frameworks */, - 1A0EE2D618CDF733004CD58F /* libluabindings Mac.a in Frameworks */, 1A0EE2D718CDF733004CD58F /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -3622,11 +3762,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B2C59AD619779CEB00B452DF /* libcocosbuilder iOS.a in Frameworks */, - B2C59AD719779CEB00B452DF /* libui iOS.a in Frameworks */, - B2C59AD819779CEB00B452DF /* libnetwork iOS.a in Frameworks */, - B2C59AD919779CEB00B452DF /* libspine iOS.a in Frameworks */, - B2C59ADA19779CEB00B452DF /* libcocostudio iOS.a in Frameworks */, + 15EFA68B198B3AD8000C57D3 /* libcocos2d iOS.a in Frameworks */, + 15EFA68C198B3AD8000C57D3 /* libcocosdenshion iOS.a in Frameworks */, + 15EFA68D198B3AD8000C57D3 /* libluacocos2d iOS.a in Frameworks */, + 15EFA68E198B3AD8000C57D3 /* libluacocosdenshion iOS.a in Frameworks */, + 15EFA68F198B3AD8000C57D3 /* libluanetwork iOS.a in Frameworks */, + 15EFA690198B3AD8000C57D3 /* libnetwork iOS.a in Frameworks */, 15AECE25195D467D00907DB0 /* MediaPlayer.framework in Frameworks */, 1A0EE42C18CDF799004CD58F /* libz.dylib in Frameworks */, 1A0EE42D18CDF799004CD58F /* CoreMotion.framework in Frameworks */, @@ -3638,11 +3779,6 @@ 1A0EE43318CDF799004CD58F /* UIKit.framework in Frameworks */, 1A0EE43418CDF799004CD58F /* AVFoundation.framework in Frameworks */, 1A0EE43518CDF799004CD58F /* Foundation.framework in Frameworks */, - 1A0EE43618CDF799004CD58F /* libchipmunk iOS.a in Frameworks */, - 1A0EE43718CDF799004CD58F /* libcocos2d iOS.a in Frameworks */, - 1A0EE43818CDF799004CD58F /* libextension iOS.a in Frameworks */, - 1A0EE43918CDF799004CD58F /* libcocosdenshion iOS.a in Frameworks */, - 1A0EE43A18CDF799004CD58F /* libluabindings iOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3650,11 +3786,23 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 15EFA27A198B269E000C57D3 /* libluaextension Mac.a in Frameworks */, + 15EFA279198B268A000C57D3 /* libluanetwork Mac.a in Frameworks */, + 15EFA278198B2673000C57D3 /* libluaspine Mac.a in Frameworks */, + 15EFA277198B2666000C57D3 /* libluaui Mac.a in Frameworks */, + 15EFA273198B265A000C57D3 /* libluacocos2d Mac.a in Frameworks */, + 15EFA274198B265A000C57D3 /* libluacocosbuilder Mac.a in Frameworks */, + 15EFA275198B265A000C57D3 /* libluacocosdenshion Mac.a in Frameworks */, + 15EFA276198B265A000C57D3 /* libluacocostudio Mac.a in Frameworks */, B27AEE0719768950008BD575 /* libnetwork Mac.a in Frameworks */, B2DB49401976826000411E16 /* libspine Mac.a in Frameworks */, B2DB48C319767D3D00411E16 /* libcocostudio Mac.a in Frameworks */, B2DB48141976711A00411E16 /* libcocosbuilder Mac.a in Frameworks */, B2DB48151976711A00411E16 /* libui Mac.a in Frameworks */, + 1ABCA2C218CD92420087CE3A /* libchipmunk Mac.a in Frameworks */, + 1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */, + 1ABCA2C418CD92420087CE3A /* libextension Mac.a in Frameworks */, + 1ABCA2C518CD92420087CE3A /* libcocosdenshion Mac.a in Frameworks */, 1ABCA36218CD9AC60087CE3A /* libcurl.dylib in Frameworks */, 1ABCA36118CD9AC00087CE3A /* libz.dylib in Frameworks */, 1ABCA35F18CD9AAE0087CE3A /* IOKit.framework in Frameworks */, @@ -3664,11 +3812,6 @@ 1ABCA35918CD9A8F0087CE3A /* OpenAL.framework in Frameworks */, 1ABCA35718CD9A890087CE3A /* QuartzCore.framework in Frameworks */, 1ABCA35518CD9A820087CE3A /* OpenGL.framework in Frameworks */, - 1ABCA2C218CD92420087CE3A /* libchipmunk Mac.a in Frameworks */, - 1ABCA2C318CD92420087CE3A /* libcocos2d Mac.a in Frameworks */, - 1ABCA2C418CD92420087CE3A /* libextension Mac.a in Frameworks */, - 1ABCA2C518CD92420087CE3A /* libcocosdenshion Mac.a in Frameworks */, - 1ABCA2C618CD92420087CE3A /* libluabindings Mac.a in Frameworks */, 1ABCA28718CD91510087CE3A /* Cocoa.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -3677,11 +3820,23 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B2C59AE519779D5D00B452DF /* libcocosbuilder iOS.a in Frameworks */, - B2C59AE619779D5D00B452DF /* libui iOS.a in Frameworks */, - B2C59AE719779D5D00B452DF /* libnetwork iOS.a in Frameworks */, - B2C59AE819779D5D00B452DF /* libspine iOS.a in Frameworks */, - B2C59AE919779D5D00B452DF /* libcocostudio iOS.a in Frameworks */, + 15EFA66F198B356E000C57D3 /* libluacocos2d iOS.a in Frameworks */, + 15EFA670198B356E000C57D3 /* libluacocosbuilder iOS.a in Frameworks */, + 15EFA671198B356E000C57D3 /* libluacocosdenshion iOS.a in Frameworks */, + 15EFA672198B356E000C57D3 /* libluacocostudio iOS.a in Frameworks */, + 15EFA673198B356E000C57D3 /* libluaextension iOS.a in Frameworks */, + 15EFA674198B356E000C57D3 /* libluanetwork iOS.a in Frameworks */, + 15EFA675198B356E000C57D3 /* libluaspine iOS.a in Frameworks */, + 15EFA676198B356E000C57D3 /* libluaui iOS.a in Frameworks */, + 15EFA66D198B354B000C57D3 /* libnetwork iOS.a in Frameworks */, + 15EFA66E198B354B000C57D3 /* libspine iOS.a in Frameworks */, + 15EFA66C198B3505000C57D3 /* libextension iOS.a in Frameworks */, + 15EFA66B198B34EA000C57D3 /* libchipmunk iOS.a in Frameworks */, + 15EFA66A198B34E1000C57D3 /* libui iOS.a in Frameworks */, + 15EFA666198B34D7000C57D3 /* libcocos2d iOS.a in Frameworks */, + 15EFA667198B34D7000C57D3 /* libcocosbuilder iOS.a in Frameworks */, + 15EFA668198B34D7000C57D3 /* libcocosdenshion iOS.a in Frameworks */, + 15EFA669198B34D7000C57D3 /* libcocostudio iOS.a in Frameworks */, 15AECE0B195C0F8A00907DB0 /* MediaPlayer.framework in Frameworks */, 1ABCA3B018CDA06D0087CE3A /* libz.dylib in Frameworks */, 1ABCA3AA18CD9F1A0087CE3A /* CoreMotion.framework in Frameworks */, @@ -3693,11 +3848,6 @@ 1ABCA39F18CD9EE50087CE3A /* UIKit.framework in Frameworks */, 1ABCA39D18CD9ED80087CE3A /* AVFoundation.framework in Frameworks */, 1ABCA2CE18CD93580087CE3A /* Foundation.framework in Frameworks */, - 1ABCA30118CD93940087CE3A /* libchipmunk iOS.a in Frameworks */, - 1ABCA30218CD93940087CE3A /* libcocos2d iOS.a in Frameworks */, - 1ABCA30318CD93940087CE3A /* libextension iOS.a in Frameworks */, - 1ABCA30418CD93940087CE3A /* libcocosdenshion iOS.a in Frameworks */, - 1ABCA30518CD93940087CE3A /* libluabindings iOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3803,8 +3953,8 @@ 15CBA08A196EE66D005877BB /* Classes */ = { isa = PBXGroup; children = ( - 15CBA9EE196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp */, - 15CBA9EF196F7BEC005877BB /* lua_cocos2dx_controller_manual.hpp */, + 15427B7B198B880100DC375D /* lua_cocos2dx_controller_manual.cpp */, + 15427B7C198B880100DC375D /* lua_cocos2dx_controller_manual.hpp */, 15CBA9EB196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp */, 15CBA9EC196F7BD8005877BB /* lua_cocos2dx_controller_auto.hpp */, 15CBA08B196EE66D005877BB /* AppDelegate.cpp */, @@ -5889,8 +6039,22 @@ 1ABCA27718CD90A40087CE3A /* Products */ = { isa = PBXGroup; children = ( - 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */, - 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */, + 15EFA24A198A4A24000C57D3 /* libluaextension Mac.a */, + 15EFA24C198A4A24000C57D3 /* libluaui Mac.a */, + 15EFA24E198A4A24000C57D3 /* libluacocostudio Mac.a */, + 15EFA250198A4A24000C57D3 /* libluacocosbuilder Mac.a */, + 15EFA252198A4A24000C57D3 /* libluaspine Mac.a */, + 15EFA254198A4A24000C57D3 /* libluanetwork Mac.a */, + 15EFA256198A4A24000C57D3 /* libluacocosdenshion Mac.a */, + 15EFA258198A4A24000C57D3 /* libluacocos2d Mac.a */, + 15EFA25A198A4A24000C57D3 /* libluaextension iOS.a */, + 15EFA659198B33EE000C57D3 /* libluaui iOS.a */, + 15EFA65B198B33EE000C57D3 /* libluacocostudio iOS.a */, + 15EFA65D198B33EE000C57D3 /* libluacocosbuilder iOS.a */, + 15EFA65F198B33EE000C57D3 /* libluaspine iOS.a */, + 15EFA661198B33EE000C57D3 /* libluanetwork iOS.a */, + 15EFA663198B33EE000C57D3 /* libluacocosdenshion iOS.a */, + 15EFA665198B33EE000C57D3 /* libluacocos2d iOS.a */, ); name = Products; sourceTree = ""; @@ -5908,6 +6072,25 @@ 1ABCA36418CD9E060087CE3A /* Lua Common */ = { isa = PBXGroup; children = ( + 15427D48198F7F4C00DC375D /* ControllerConstants.lua */, + 15427CF3198F55E000DC375D /* DeprecatedCocos2dClass.lua */, + 15427CF4198F55E000DC375D /* DeprecatedCocos2dEnum.lua */, + 15427CF5198F55E000DC375D /* DeprecatedCocos2dFunc.lua */, + 15427CF6198F55E000DC375D /* DeprecatedCocosBuilderClass.lua */, + 15427CF7198F55E000DC375D /* DeprecatedCocosDenshionClass.lua */, + 15427CF8198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua */, + 15427CF9198F55E000DC375D /* DeprecatedCocoStudioClass.lua */, + 15427CFA198F55E000DC375D /* DeprecatedCocoStudioFunc.lua */, + 15427CFB198F55E000DC375D /* DeprecatedExtensionClass.lua */, + 15427CFC198F55E000DC375D /* DeprecatedExtensionEnum.lua */, + 15427CFD198F55E000DC375D /* DeprecatedExtensionFunc.lua */, + 15427CFE198F55E000DC375D /* DeprecatedNetworkClass.lua */, + 15427CFF198F55E000DC375D /* DeprecatedNetworkEnum.lua */, + 15427D00198F55E000DC375D /* DeprecatedNetworkFunc.lua */, + 15427D01198F55E000DC375D /* DeprecatedUIEnum.lua */, + 15427D02198F55E000DC375D /* DeprecatedUIFunc.lua */, + 15427D03198F55E000DC375D /* ExtensionConstants.lua */, + 15427D04198F55E000DC375D /* NetworkConstants.lua */, 156229321973D400009C9067 /* bitExtend.lua */, 15AECE1E195D0EC500907DB0 /* experimentalConstants.lua */, 1503FAA918DA8B6C00F6518C /* ftp.lua */, @@ -5925,9 +6108,6 @@ 1ABCA36818CD9E180087CE3A /* Cocos2d.lua */, 1ABCA36918CD9E180087CE3A /* Cocos2dConstants.lua */, 1ABCA36A18CD9E180087CE3A /* CocoStudio.lua */, - 1ABCA36B18CD9E180087CE3A /* Deprecated.lua */, - 1ABCA36C18CD9E180087CE3A /* DeprecatedClass.lua */, - 1ABCA36D18CD9E180087CE3A /* DeprecatedEnum.lua */, 1ABCA36E18CD9E180087CE3A /* DeprecatedOpenglEnum.lua */, 1ABCA36F18CD9E180087CE3A /* DrawPrimitives.lua */, 1ABCA37018CD9E180087CE3A /* extern.lua */, @@ -7133,6 +7313,7 @@ 1AC35D2E18CEDE8B00F37B72 /* Classes */ = { isa = PBXGroup; children = ( + 15427B77198B843300DC375D /* lua_module_register.h */, 1AC35D2F18CEDE8B00F37B72 /* AppDelegate.cpp */, 1AC35D3018CEDE8B00F37B72 /* AppDelegate.h */, ); @@ -7210,6 +7391,7 @@ 1AC35D7C18CEE5B100F37B72 /* Classes */ = { isa = PBXGroup; children = ( + 15427B76198B750300DC375D /* lua_module_register.h */, 1AC35D7D18CEE5B100F37B72 /* AppDelegate.cpp */, 1AC35D7E18CEE5B100F37B72 /* AppDelegate.h */, 1AC35D7F18CEE5B100F37B72 /* lua_assetsmanager_test_sample.cpp */, @@ -7760,16 +7942,9 @@ buildRules = ( ); dependencies = ( - B2411CA91982301E00E093E2 /* PBXTargetDependency */, - B2411CA61982300F00E093E2 /* PBXTargetDependency */, - B2411CA319822FEA00E093E2 /* PBXTargetDependency */, - B2411CA019822FD300E093E2 /* PBXTargetDependency */, - B2411C9D19822FB600E093E2 /* PBXTargetDependency */, + 15427B9D198B8C0500DC375D /* PBXTargetDependency */, + 15427B9F198B8C1300DC375D /* PBXTargetDependency */, 15CBA016196EE56C005877BB /* PBXTargetDependency */, - 15CBA018196EE56C005877BB /* PBXTargetDependency */, - 15CBA01A196EE56C005877BB /* PBXTargetDependency */, - 15CBA01C196EE56C005877BB /* PBXTargetDependency */, - 15CBA01E196EE56C005877BB /* PBXTargetDependency */, ); name = "lua-game-controller-test iOS"; productName = "Test lua iOS"; @@ -7807,15 +7982,11 @@ buildRules = ( ); dependencies = ( + 15427BA1198B8C2E00DC375D /* PBXTargetDependency */, + 15427BA3198B8C2E00DC375D /* PBXTargetDependency */, + 15427BA5198B8C2E00DC375D /* PBXTargetDependency */, B27AEE0919768965008BD575 /* PBXTargetDependency */, - B2DB49421976826900411E16 /* PBXTargetDependency */, - B2DB48C819767EAF00411E16 /* PBXTargetDependency */, - B2DB480B197670ED00411E16 /* PBXTargetDependency */, - B2DB480D197670ED00411E16 /* PBXTargetDependency */, - 1A0EE2B918CDF733004CD58F /* PBXTargetDependency */, 1A0EE2BB18CDF733004CD58F /* PBXTargetDependency */, - 1A0EE2BD18CDF733004CD58F /* PBXTargetDependency */, - 1A0EE2BF18CDF733004CD58F /* PBXTargetDependency */, 1A0EE2C118CDF733004CD58F /* PBXTargetDependency */, ); name = "lua-empty-test Mac"; @@ -7854,16 +8025,12 @@ buildRules = ( ); dependencies = ( - B2C59ACD19779CDF00B452DF /* PBXTargetDependency */, - B2C59ACF19779CDF00B452DF /* PBXTargetDependency */, - B2C59AD119779CDF00B452DF /* PBXTargetDependency */, - B2C59AD319779CDF00B452DF /* PBXTargetDependency */, - B2C59AD519779CDF00B452DF /* PBXTargetDependency */, - 1A0EE41A18CDF799004CD58F /* PBXTargetDependency */, - 1A0EE41C18CDF799004CD58F /* PBXTargetDependency */, - 1A0EE41E18CDF799004CD58F /* PBXTargetDependency */, - 1A0EE42018CDF799004CD58F /* PBXTargetDependency */, - 1A0EE42218CDF799004CD58F /* PBXTargetDependency */, + 15427B97198B8BBF00DC375D /* PBXTargetDependency */, + 15427B9B198B8BDE00DC375D /* PBXTargetDependency */, + 15427B99198B8BDE00DC375D /* PBXTargetDependency */, + 15427B81198B8ACB00DC375D /* PBXTargetDependency */, + 15427B83198B8ACB00DC375D /* PBXTargetDependency */, + 15427B85198B8ACB00DC375D /* PBXTargetDependency */, ); name = "lua-empty-test iOS"; productName = "Test lua iOS"; @@ -7881,12 +8048,19 @@ buildRules = ( ); dependencies = ( + 15427BA7198B8C5000DC375D /* PBXTargetDependency */, + 15427BA9198B8C5000DC375D /* PBXTargetDependency */, + 15427BAB198B8C5000DC375D /* PBXTargetDependency */, + 15427BAD198B8C5000DC375D /* PBXTargetDependency */, + 15427BAF198B8C5000DC375D /* PBXTargetDependency */, + 15427BB1198B8C5000DC375D /* PBXTargetDependency */, + 15427BB3198B8C5000DC375D /* PBXTargetDependency */, + 15427BB5198B8C5000DC375D /* PBXTargetDependency */, B27AEE041976894C008BD575 /* PBXTargetDependency */, B2DB493F1976825800411E16 /* PBXTargetDependency */, B2DB48BF19767D3600411E16 /* PBXTargetDependency */, B2DB48111976711200411E16 /* PBXTargetDependency */, B2DB48131976711200411E16 /* PBXTargetDependency */, - 1ABCA2C118CD92280087CE3A /* PBXTargetDependency */, 1ABCA2B918CD92230087CE3A /* PBXTargetDependency */, 1ABCA2BB18CD92230087CE3A /* PBXTargetDependency */, 1ABCA2BD18CD92230087CE3A /* PBXTargetDependency */, @@ -7908,6 +8082,14 @@ buildRules = ( ); dependencies = ( + 15427B87198B8BB400DC375D /* PBXTargetDependency */, + 15427B89198B8BB400DC375D /* PBXTargetDependency */, + 15427B8B198B8BB400DC375D /* PBXTargetDependency */, + 15427B8D198B8BB400DC375D /* PBXTargetDependency */, + 15427B8F198B8BB400DC375D /* PBXTargetDependency */, + 15427B91198B8BB400DC375D /* PBXTargetDependency */, + 15427B93198B8BB400DC375D /* PBXTargetDependency */, + 15427B95198B8BB400DC375D /* PBXTargetDependency */, B2C59ADC19779D5400B452DF /* PBXTargetDependency */, B2C59ADE19779D5400B452DF /* PBXTargetDependency */, B2C59AE019779D5400B452DF /* PBXTargetDependency */, @@ -7917,7 +8099,6 @@ 1ABCA2FA18CD93850087CE3A /* PBXTargetDependency */, 1ABCA2FC18CD93850087CE3A /* PBXTargetDependency */, 1ABCA2FE18CD93850087CE3A /* PBXTargetDependency */, - 1ABCA30018CD93850087CE3A /* PBXTargetDependency */, ); name = "lua-tests iOS"; productName = "Test lua iOS"; @@ -8048,18 +8229,116 @@ /* End PBXProject section */ /* Begin PBXReferenceProxy section */ - 1ABCA27E18CD90A50087CE3A /* libluabindings Mac.a */ = { + 15EFA24A198A4A24000C57D3 /* libluaextension Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libluabindings Mac.a"; - remoteRef = 1ABCA27D18CD90A50087CE3A /* PBXContainerItemProxy */; + path = "libluaextension Mac.a"; + remoteRef = 15EFA249198A4A24000C57D3 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 1ABCA28018CD90A50087CE3A /* libluabindings iOS.a */ = { + 15EFA24C198A4A24000C57D3 /* libluaui Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libluabindings iOS.a"; - remoteRef = 1ABCA27F18CD90A50087CE3A /* PBXContainerItemProxy */; + path = "libluaui Mac.a"; + remoteRef = 15EFA24B198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA24E198A4A24000C57D3 /* libluacocostudio Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio Mac.a"; + remoteRef = 15EFA24D198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA250198A4A24000C57D3 /* libluacocosbuilder Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder Mac.a"; + remoteRef = 15EFA24F198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA252198A4A24000C57D3 /* libluaspine Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine Mac.a"; + remoteRef = 15EFA251198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA254198A4A24000C57D3 /* libluanetwork Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork Mac.a"; + remoteRef = 15EFA253198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA256198A4A24000C57D3 /* libluacocosdenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion Mac.a"; + remoteRef = 15EFA255198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA258198A4A24000C57D3 /* libluacocos2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d Mac.a"; + remoteRef = 15EFA257198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA25A198A4A24000C57D3 /* libluaextension iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaextension iOS.a"; + remoteRef = 15EFA259198A4A24000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA659198B33EE000C57D3 /* libluaui iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaui iOS.a"; + remoteRef = 15EFA658198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA65B198B33EE000C57D3 /* libluacocostudio iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio iOS.a"; + remoteRef = 15EFA65A198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA65D198B33EE000C57D3 /* libluacocosbuilder iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder iOS.a"; + remoteRef = 15EFA65C198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA65F198B33EE000C57D3 /* libluaspine iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine iOS.a"; + remoteRef = 15EFA65E198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA661198B33EE000C57D3 /* libluanetwork iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork iOS.a"; + remoteRef = 15EFA660198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA663198B33EE000C57D3 /* libluacocosdenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion iOS.a"; + remoteRef = 15EFA662198B33EE000C57D3 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15EFA665198B33EE000C57D3 /* libluacocos2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d iOS.a"; + remoteRef = 15EFA664198B33EE000C57D3 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; 46A15FB01807A4F9005B8026 /* libcocos2d Mac.a */ = { @@ -8209,9 +8488,13 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 15427D2E198F6B2D00DC375D /* DeprecatedCocos2dEnum.lua in Resources */, 15CBA9B3196EE824005877BB /* src in Resources */, + 15427D2B198F6B2600DC375D /* DeprecatedCocos2dClass.lua in Resources */, 15CBA9AF196EE80B005877BB /* fonts in Resources */, 15CBA9B0196EE80B005877BB /* ipad in Resources */, + 15427D31198F6B3500DC375D /* DeprecatedCocos2dFunc.lua in Resources */, + 15427D49198F7F4C00DC375D /* ControllerConstants.lua in Resources */, 15CBA9B1196EE80B005877BB /* ipadhd in Resources */, 15CBA9B2196EE80B005877BB /* iphone in Resources */, 15CBA9F2196F8718005877BB /* extern.lua in Resources */, @@ -8219,9 +8502,6 @@ 15CBA9A9196EE7FA005877BB /* Cocos2d.lua in Resources */, 15CBA9AA196EE7FA005877BB /* Cocos2dConstants.lua in Resources */, 15CBA9AB196EE7FA005877BB /* CocoStudio.lua in Resources */, - 15CBA9AC196EE7FA005877BB /* Deprecated.lua in Resources */, - 15CBA9AD196EE7FA005877BB /* DeprecatedClass.lua in Resources */, - 15CBA9AE196EE7FA005877BB /* DeprecatedEnum.lua in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -8244,31 +8524,35 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1A0EE57518CDFBBE004CD58F /* DeprecatedEnum.lua in Resources */, 1AC35D5C18CEDE9E00F37B72 /* InfoPlist.strings in Resources */, + 15427D39198F6B4E00DC375D /* DeprecatedNetworkEnum.lua in Resources */, 1A0EE57118CDFBBE004CD58F /* Cocos2dConstants.lua in Resources */, 1AC35D5D18CEDE9E00F37B72 /* MainMenu.xib in Resources */, 1503FABD18DA8B6C00F6518C /* mime.lua in Resources */, + 15427D3B198F6B5300DC375D /* DeprecatedNetworkFunc.lua in Resources */, 1A0EE56F18CDFBBE004CD58F /* CCBReaderLoad.lua in Resources */, 15AECE23195D122600907DB0 /* experimentalConstants.lua in Resources */, + 15427D2C198F6B2A00DC375D /* DeprecatedCocos2dEnum.lua in Resources */, 1A0EE57018CDFBBE004CD58F /* Cocos2d.lua in Resources */, + 15427D32198F6B3E00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, 1A0EE57B18CDFBBE004CD58F /* luaj.lua in Resources */, 1A0EE57918CDFBBE004CD58F /* GuiConstants.lua in Resources */, 1503FAC518DA8B6C00F6518C /* url.lua in Resources */, 1A0EE57E18CDFBBE004CD58F /* OpenglConstants.lua in Resources */, 1503FABF18DA8B6C00F6518C /* smtp.lua in Resources */, + 15427D37198F6B4A00DC375D /* DeprecatedNetworkClass.lua in Resources */, 1503FAB318DA8B6C00F6518C /* ftp.lua in Resources */, 1503FAB718DA8B6C00F6518C /* http.lua in Resources */, 1A0EE56E18CDFBBE004CD58F /* AudioEngine.lua in Resources */, 1A0EE57F18CDFBBE004CD58F /* StudioConstants.lua in Resources */, 1503FAC118DA8B6C00F6518C /* socket.lua in Resources */, + 15427D35198F6B4300DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, 1503FAB918DA8B6C00F6518C /* ltn12.lua in Resources */, 1A0EE57718CDFBBE004CD58F /* DrawPrimitives.lua in Resources */, 1A0EE57A18CDFBBE004CD58F /* json.lua in Resources */, 1AC35D5E18CEDE9E00F37B72 /* Icon.icns in Resources */, - 1A0EE57318CDFBBE004CD58F /* Deprecated.lua in Resources */, 1503FABB18DA8B6C00F6518C /* mbox.lua in Resources */, - 1A0EE57418CDFBBE004CD58F /* DeprecatedClass.lua in Resources */, + 15427D2F198F6B3200DC375D /* DeprecatedCocos2dFunc.lua in Resources */, 1A0EE57818CDFBBE004CD58F /* extern.lua in Resources */, 1503FAB518DA8B6C00F6518C /* headers.lua in Resources */, 1A0EE57618CDFBBE004CD58F /* DeprecatedOpenglEnum.lua in Resources */, @@ -8277,6 +8561,7 @@ 1A0EE57C18CDFBBE004CD58F /* luaoc.lua in Resources */, 1A0EE57D18CDFBBE004CD58F /* Opengl.lua in Resources */, 1AC35D2918CEDE7200F37B72 /* res in Resources */, + 15427D29198F6B2100DC375D /* DeprecatedCocos2dClass.lua in Resources */, 1AC35D2B18CEDE7200F37B72 /* src in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -8311,6 +8596,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 15427D3C198F6B5400DC375D /* DeprecatedNetworkFunc.lua in Resources */, 1A0EE56B18CDFBBD004CD58F /* Opengl.lua in Resources */, 1A0EE55E18CDFBBD004CD58F /* Cocos2d.lua in Resources */, 1A0EE55D18CDFBBD004CD58F /* CCBReaderLoad.lua in Resources */, @@ -8318,18 +8604,17 @@ 1503FAC018DA8B6C00F6518C /* smtp.lua in Resources */, 1AC35D4D18CEDE9400F37B72 /* Icon-57.png in Resources */, 1A0EE56018CDFBBD004CD58F /* CocoStudio.lua in Resources */, - 1A0EE56318CDFBBD004CD58F /* DeprecatedEnum.lua in Resources */, 1503FAB818DA8B6C00F6518C /* http.lua in Resources */, 15AECE22195D122400907DB0 /* experimentalConstants.lua in Resources */, 1AC35D4B18CEDE9400F37B72 /* Icon-144.png in Resources */, 1503FAC618DA8B6C00F6518C /* url.lua in Resources */, 1AC35D4618CEDE9400F37B72 /* Default-568h@2x.png in Resources */, 1AC35D4818CEDE9400F37B72 /* Default@2x.png in Resources */, - 1A0EE56118CDFBBD004CD58F /* Deprecated.lua in Resources */, 1503FAC418DA8B6C00F6518C /* tp.lua in Resources */, 1503FABA18DA8B6C00F6518C /* ltn12.lua in Resources */, + 15427D38198F6B4B00DC375D /* DeprecatedNetworkClass.lua in Resources */, + 15427D3A198F6B4F00DC375D /* DeprecatedNetworkEnum.lua in Resources */, 1A0EE56518CDFBBD004CD58F /* DrawPrimitives.lua in Resources */, - 1A0EE56218CDFBBD004CD58F /* DeprecatedClass.lua in Resources */, 1A0EE56418CDFBBD004CD58F /* DeprecatedOpenglEnum.lua in Resources */, 1503FABE18DA8B6C00F6518C /* mime.lua in Resources */, 1A0EE55F18CDFBBD004CD58F /* Cocos2dConstants.lua in Resources */, @@ -8337,6 +8622,7 @@ 1AC35D4E18CEDE9400F37B72 /* Icon-72.png in Resources */, 1AC35D4F18CEDE9400F37B72 /* Icon-76.png in Resources */, 1A0EE56A18CDFBBD004CD58F /* luaoc.lua in Resources */, + 15427D30198F6B3300DC375D /* DeprecatedCocos2dFunc.lua in Resources */, 1503FAC218DA8B6C00F6518C /* socket.lua in Resources */, 1A0EE56918CDFBBD004CD58F /* luaj.lua in Resources */, 1A0EE56618CDFBBD004CD58F /* extern.lua in Resources */, @@ -8349,8 +8635,12 @@ 1A0EE55C18CDFBBD004CD58F /* AudioEngine.lua in Resources */, 1503FAB418DA8B6C00F6518C /* ftp.lua in Resources */, 1AC35D2A18CEDE7200F37B72 /* res in Resources */, + 15427D34198F6B4100DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, 1AC35D2C18CEDE7200F37B72 /* src in Resources */, + 15427D2D198F6B2C00DC375D /* DeprecatedCocos2dEnum.lua in Resources */, 1AC35D4C18CEDE9400F37B72 /* Icon-152.png in Resources */, + 15427D36198F6B4500DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, + 15427D2A198F6B2200DC375D /* DeprecatedCocos2dClass.lua in Resources */, 1AC35D4718CEDE9400F37B72 /* Default.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -8363,6 +8653,7 @@ 15E66FD6192DC8C700C20A52 /* Sprite3DTest in Resources */, 1AC35DC318CEE65100F37B72 /* Misc in Resources */, 1AC35DC618CEE65100F37B72 /* Shaders in Resources */, + 15427D17198F55E000DC375D /* DeprecatedExtensionEnum.lua in Resources */, 1AC35DBB18CEE65100F37B72 /* components in Resources */, 1AC35DE218CEE65900F37B72 /* effect2.ogg in Resources */, 1ABCA39A18CD9E180087CE3A /* StudioConstants.lua in Resources */, @@ -8371,13 +8662,17 @@ 1AC35DB118CEE5DA00F37B72 /* InfoPlist.strings in Resources */, 1AC35DDD18CEE65900F37B72 /* CocosBuilderExample.ccbproj in Resources */, 1ABCA39218CD9E180087CE3A /* luaj.lua in Resources */, + 15427D05198F55E000DC375D /* DeprecatedCocos2dClass.lua in Resources */, 1AC35DB218CEE5DA00F37B72 /* MainMenu.xib in Resources */, 1AC35DBF18CEE65100F37B72 /* hd in Resources */, 1ABCA38018CD9E180087CE3A /* CocoStudio.lua in Resources */, 1AC35DC818CEE65100F37B72 /* TileMaps in Resources */, 1ABCA37C18CD9E180087CE3A /* Cocos2d.lua in Resources */, 1AC35DBE18CEE65100F37B72 /* fonts in Resources */, + 15427D25198F55E000DC375D /* ExtensionConstants.lua in Resources */, + 15427D09198F55E000DC375D /* DeprecatedCocos2dFunc.lua in Resources */, 1AC35DDE18CEE65900F37B72 /* CocosBuilderExample.ccbresourcelog in Resources */, + 15427D1B198F55E000DC375D /* DeprecatedNetworkClass.lua in Resources */, 1AC35DBC18CEE65100F37B72 /* configs in Resources */, 1ABCA38818CD9E180087CE3A /* DeprecatedOpenglEnum.lua in Resources */, 1AC35DE118CEE65900F37B72 /* background.ogg in Resources */, @@ -8385,9 +8680,13 @@ 1ABCA37A18CD9E180087CE3A /* CCBReaderLoad.lua in Resources */, 1AC35DDF18CEE65900F37B72 /* music.mid in Resources */, 1AC35D7518CEE58500F37B72 /* src in Resources */, + 15427D11198F55E000DC375D /* DeprecatedCocoStudioClass.lua in Resources */, + 15427D1D198F55E000DC375D /* DeprecatedNetworkEnum.lua in Resources */, 1AC35DE018CEE65900F37B72 /* background.mp3 in Resources */, 1A1645A6191B6281008C7C7F /* ccs-res in Resources */, C08689C218D370C90093E810 /* background.caf in Resources */, + 15427D1F198F55E000DC375D /* DeprecatedNetworkFunc.lua in Resources */, + 15427D13198F55E000DC375D /* DeprecatedCocoStudioFunc.lua in Resources */, 15C90B4918E66C2A00D69802 /* tp.lua in Resources */, 1AC35DE918CEE65900F37B72 /* effect1.wav in Resources */, 1ABCA38E18CD9E180087CE3A /* GuiConstants.lua in Resources */, @@ -8395,33 +8694,39 @@ 15C90B3F18E66C0C00D69802 /* ltn12.lua in Resources */, 15C90B4718E66C2400D69802 /* socket.lua in Resources */, 15C90B3A18E66BE200D69802 /* ftp.lua in Resources */, + 15427D27198F55E000DC375D /* NetworkConstants.lua in Resources */, 1ABCA37E18CD9E180087CE3A /* Cocos2dConstants.lua in Resources */, + 15427D0F198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, 1AC35DE518CEE65900F37B72 /* Hello.png in Resources */, - 1ABCA38618CD9E180087CE3A /* DeprecatedEnum.lua in Resources */, 1AC35DEA18CEE65900F37B72 /* pew-pew-lei.wav in Resources */, + 15427D15198F55E000DC375D /* DeprecatedExtensionClass.lua in Resources */, 1AC35DC418CEE65100F37B72 /* Particles in Resources */, + 15427D0D198F55E000DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, 1AC35DB918CEE65100F37B72 /* ccb in Resources */, 15C90B4118E66C1100D69802 /* mbox.lua in Resources */, 1ABCA38A18CD9E180087CE3A /* DrawPrimitives.lua in Resources */, 1AC35DB318CEE5DA00F37B72 /* Icon.icns in Resources */, + 15427D23198F55E000DC375D /* DeprecatedUIFunc.lua in Resources */, 1AC35DE318CEE65900F37B72 /* fileLookup.plist in Resources */, 15C90B3D18E66BF100D69802 /* http.lua in Resources */, 1AC35DE618CEE65900F37B72 /* effect1.raw in Resources */, + 15427D0B198F55E000DC375D /* DeprecatedCocosBuilderClass.lua in Resources */, 1ABCA39818CD9E180087CE3A /* OpenglConstants.lua in Resources */, + 15427D21198F55E000DC375D /* DeprecatedUIEnum.lua in Resources */, 1AC35DC018CEE65100F37B72 /* Images in Resources */, 1ABCA37818CD9E180087CE3A /* AudioEngine.lua in Resources */, + 15427D07198F55E000DC375D /* DeprecatedCocos2dEnum.lua in Resources */, 1ABCA39418CD9E180087CE3A /* luaoc.lua in Resources */, + 15427D19198F55E000DC375D /* DeprecatedExtensionFunc.lua in Resources */, 1ABCA39018CD9E180087CE3A /* json.lua in Resources */, 1AC35D7918CEE59900F37B72 /* cocosbuilderRes in Resources */, 15C90B3B18E66BEB00D69802 /* headers.lua in Resources */, - 1ABCA38218CD9E180087CE3A /* Deprecated.lua in Resources */, 1ABCA38C18CD9E180087CE3A /* extern.lua in Resources */, 1AC35DC918CEE65100F37B72 /* zwoptex in Resources */, 1AC35DBD18CEE65100F37B72 /* extensions in Resources */, 1AC35DC718CEE65100F37B72 /* spine in Resources */, 15C90B4518E66C1E00D69802 /* smtp.lua in Resources */, 1AC35DB718CEE65100F37B72 /* animations in Resources */, - 1ABCA38418CD9E180087CE3A /* DeprecatedClass.lua in Resources */, 1ABCA39618CD9E180087CE3A /* Opengl.lua in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -8432,14 +8737,19 @@ files = ( 15AECE0F195C1FDD00907DB0 /* cocosvideo.mp4 in Resources */, 15B0870D195AD52000D6F62B /* ActionTimeline in Resources */, + 15427D06198F55E000DC375D /* DeprecatedCocos2dClass.lua in Resources */, 15E66FC8192D957100C20A52 /* Sprite3DTest in Resources */, 15C90B4418E66C1800D69802 /* mime.lua in Resources */, + 15427D1A198F55E000DC375D /* DeprecatedExtensionFunc.lua in Resources */, 156229341973D400009C9067 /* bitExtend.lua in Resources */, 15C90B4C18E66C3100D69802 /* url.lua in Resources */, + 15427D20198F55E000DC375D /* DeprecatedNetworkFunc.lua in Resources */, 1AC35DD618CEE65200F37B72 /* Misc in Resources */, + 15427D12198F55E000DC375D /* DeprecatedCocoStudioClass.lua in Resources */, 1ABCA37B18CD9E180087CE3A /* CCBReaderLoad.lua in Resources */, 1AC35DF718CEE65B00F37B72 /* effect1.wav in Resources */, - 1ABCA38518CD9E180087CE3A /* DeprecatedClass.lua in Resources */, + 15427D18198F55E000DC375D /* DeprecatedExtensionEnum.lua in Resources */, + 15427D28198F55E000DC375D /* NetworkConstants.lua in Resources */, 1ABCA39318CD9E180087CE3A /* luaj.lua in Resources */, C08689C418D370C90093E810 /* background.caf in Resources */, 1AC35DD118CEE65200F37B72 /* fonts in Resources */, @@ -8448,19 +8758,21 @@ 1AC35DD718CEE65200F37B72 /* Particles in Resources */, 1AC35D9D18CEE5D100F37B72 /* Icon-120.png in Resources */, 15C90B3E18E66BF200D69802 /* http.lua in Resources */, + 15427D14198F55E000DC375D /* DeprecatedCocoStudioFunc.lua in Resources */, 15AECE1F195D0EC500907DB0 /* experimentalConstants.lua in Resources */, + 15427D0A198F55E000DC375D /* DeprecatedCocos2dFunc.lua in Resources */, 1AC35DA018CEE5D100F37B72 /* Icon-57.png in Resources */, 1ABCA37F18CD9E180087CE3A /* Cocos2dConstants.lua in Resources */, 1AC35DF118CEE65B00F37B72 /* fileLookup.plist in Resources */, 1ABCA39518CD9E180087CE3A /* luaoc.lua in Resources */, 1AC35DEF18CEE65B00F37B72 /* background.ogg in Resources */, 1AC35D9E18CEE5D100F37B72 /* Icon-144.png in Resources */, + 15427D16198F55E000DC375D /* DeprecatedExtensionClass.lua in Resources */, 1AC35DF818CEE65B00F37B72 /* pew-pew-lei.wav in Resources */, 1AC35D9918CEE5D100F37B72 /* Default-568h@2x.png in Resources */, 15C90B4218E66C1200D69802 /* mbox.lua in Resources */, 1AC35D9B18CEE5D100F37B72 /* Default@2x.png in Resources */, 15C90B3718E66BE000D69802 /* ftp.lua in Resources */, - 1ABCA38318CD9E180087CE3A /* Deprecated.lua in Resources */, 1AC35DCE18CEE65200F37B72 /* components in Resources */, 1AC35D7618CEE58500F37B72 /* src in Resources */, 15C90B4A18E66C2B00D69802 /* tp.lua in Resources */, @@ -8468,6 +8780,7 @@ 1ABCA38918CD9E180087CE3A /* DeprecatedOpenglEnum.lua in Resources */, 1AC35DEC18CEE65B00F37B72 /* CocosBuilderExample.ccbresourcelog in Resources */, 15C90B4618E66C1F00D69802 /* smtp.lua in Resources */, + 15427D22198F55E000DC375D /* DeprecatedUIEnum.lua in Resources */, 1AC35DED18CEE65B00F37B72 /* music.mid in Resources */, 1AC35DD018CEE65200F37B72 /* extensions in Resources */, 1AC35DD318CEE65200F37B72 /* Images in Resources */, @@ -8475,15 +8788,17 @@ 1ABCA37D18CD9E180087CE3A /* Cocos2d.lua in Resources */, 1ABCA39B18CD9E180087CE3A /* StudioConstants.lua in Resources */, 1ABCA38D18CD9E180087CE3A /* extern.lua in Resources */, + 15427D08198F55E000DC375D /* DeprecatedCocos2dEnum.lua in Resources */, 1AC35DEB18CEE65B00F37B72 /* CocosBuilderExample.ccbproj in Resources */, 1AC35DCA18CEE65200F37B72 /* animations in Resources */, 1A1645A9191B6283008C7C7F /* ccs-res in Resources */, 1AC35DA118CEE5D100F37B72 /* Icon-72.png in Resources */, + 15427D0C198F55E000DC375D /* DeprecatedCocosBuilderClass.lua in Resources */, 15C90B4018E66C0D00D69802 /* ltn12.lua in Resources */, 1AC35DA218CEE5D100F37B72 /* Icon-76.png in Resources */, 15C90B4818E66C2500D69802 /* socket.lua in Resources */, - 1ABCA38718CD9E180087CE3A /* DeprecatedEnum.lua in Resources */, 15C90B3C18E66BEC00D69802 /* headers.lua in Resources */, + 15427D26198F55E000DC375D /* ExtensionConstants.lua in Resources */, 1AC35DF418CEE65B00F37B72 /* effect1.raw in Resources */, 1AC35DD918CEE65200F37B72 /* Shaders in Resources */, 1AC35DCF18CEE65200F37B72 /* configs in Resources */, @@ -8492,12 +8807,17 @@ 1AC35DDA18CEE65200F37B72 /* spine in Resources */, 1ABCA39718CD9E180087CE3A /* Opengl.lua in Resources */, 1AC35DDB18CEE65200F37B72 /* TileMaps in Resources */, + 15427D1C198F55E000DC375D /* DeprecatedNetworkClass.lua in Resources */, + 15427D1E198F55E000DC375D /* DeprecatedNetworkEnum.lua in Resources */, 1AC35DF318CEE65B00F37B72 /* Hello.png in Resources */, 1AC35D7A18CEE59900F37B72 /* cocosbuilderRes in Resources */, + 15427D24198F55E000DC375D /* DeprecatedUIFunc.lua in Resources */, 1ABCA38118CD9E180087CE3A /* CocoStudio.lua in Resources */, 1AC35D9C18CEE5D100F37B72 /* Icon-114.png in Resources */, 1ABCA38B18CD9E180087CE3A /* DrawPrimitives.lua in Resources */, + 15427D0E198F55E000DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, 1ABCA39918CD9E180087CE3A /* OpenglConstants.lua in Resources */, + 15427D10198F55E000DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, 1ABCA37918CD9E180087CE3A /* AudioEngine.lua in Resources */, 1AC35D9F18CEE5D100F37B72 /* Icon-152.png in Resources */, 1AC35DEE18CEE65B00F37B72 /* background.mp3 in Resources */, @@ -8634,7 +8954,7 @@ 15CBA9B7196EE8D9005877BB /* AppController.mm in Sources */, 15CBA9B8196EE8D9005877BB /* main.m in Sources */, 15CBA9B9196EE8D9005877BB /* RootViewController.mm in Sources */, - 15CBA9F0196F7BEC005877BB /* lua_cocos2dx_controller_manual.cpp in Sources */, + 15427B7D198B880100DC375D /* lua_cocos2dx_controller_manual.cpp in Sources */, 15CBA9ED196F7BD8005877BB /* lua_cocos2dx_controller_auto.cpp in Sources */, 15CBA9B4196EE8A0005877BB /* AppDelegate.cpp in Sources */, ); @@ -9090,31 +9410,146 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 15427B81198B8ACB00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluanetwork iOS"; + targetProxy = 15427B80198B8ACB00DC375D /* PBXContainerItemProxy */; + }; + 15427B83198B8ACB00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosdenshion iOS"; + targetProxy = 15427B82198B8ACB00DC375D /* PBXContainerItemProxy */; + }; + 15427B85198B8ACB00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d iOS"; + targetProxy = 15427B84198B8ACB00DC375D /* PBXContainerItemProxy */; + }; + 15427B87198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaextension iOS"; + targetProxy = 15427B86198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B89198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaui iOS"; + targetProxy = 15427B88198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B8B198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocostudio iOS"; + targetProxy = 15427B8A198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B8D198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosbuilder iOS"; + targetProxy = 15427B8C198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B8F198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaspine iOS"; + targetProxy = 15427B8E198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B91198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluanetwork iOS"; + targetProxy = 15427B90198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B93198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosdenshion iOS"; + targetProxy = 15427B92198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B95198B8BB400DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d iOS"; + targetProxy = 15427B94198B8BB400DC375D /* PBXContainerItemProxy */; + }; + 15427B97198B8BBF00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libnetwork iOS"; + targetProxy = 15427B96198B8BBF00DC375D /* PBXContainerItemProxy */; + }; + 15427B99198B8BDE00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libcocos2d iOS"; + targetProxy = 15427B98198B8BDE00DC375D /* PBXContainerItemProxy */; + }; + 15427B9B198B8BDE00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libcocosdenshion iOS"; + targetProxy = 15427B9A198B8BDE00DC375D /* PBXContainerItemProxy */; + }; + 15427B9D198B8C0500DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d iOS"; + targetProxy = 15427B9C198B8C0500DC375D /* PBXContainerItemProxy */; + }; + 15427B9F198B8C1300DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libcocosdenshion iOS"; + targetProxy = 15427B9E198B8C1300DC375D /* PBXContainerItemProxy */; + }; + 15427BA1198B8C2E00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluanetwork Mac"; + targetProxy = 15427BA0198B8C2E00DC375D /* PBXContainerItemProxy */; + }; + 15427BA3198B8C2E00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosdenshion Mac"; + targetProxy = 15427BA2198B8C2E00DC375D /* PBXContainerItemProxy */; + }; + 15427BA5198B8C2E00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d Mac"; + targetProxy = 15427BA4198B8C2E00DC375D /* PBXContainerItemProxy */; + }; + 15427BA7198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaextension Mac"; + targetProxy = 15427BA6198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BA9198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaui Mac"; + targetProxy = 15427BA8198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BAB198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocostudio Mac"; + targetProxy = 15427BAA198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BAD198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosbuilder Mac"; + targetProxy = 15427BAC198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BAF198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluaspine Mac"; + targetProxy = 15427BAE198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BB1198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluanetwork Mac"; + targetProxy = 15427BB0198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BB3198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosdenshion Mac"; + targetProxy = 15427BB2198B8C5000DC375D /* PBXContainerItemProxy */; + }; + 15427BB5198B8C5000DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d Mac"; + targetProxy = 15427BB4198B8C5000DC375D /* PBXContainerItemProxy */; + }; 15CBA016196EE56C005877BB /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocos2dx iOS"; targetProxy = 15CBA017196EE56C005877BB /* PBXContainerItemProxy */; }; - 15CBA018196EE56C005877BB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx-extensions iOS"; - targetProxy = 15CBA019196EE56C005877BB /* PBXContainerItemProxy */; - }; - 15CBA01A196EE56C005877BB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "chipmunk iOS"; - targetProxy = 15CBA01B196EE56C005877BB /* PBXContainerItemProxy */; - }; - 15CBA01C196EE56C005877BB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "CocosDenshion iOS"; - targetProxy = 15CBA01D196EE56C005877BB /* PBXContainerItemProxy */; - }; - 15CBA01E196EE56C005877BB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "luabindings iOS"; - targetProxy = 15CBA01F196EE56C005877BB /* PBXContainerItemProxy */; - }; 1A0EE1C718CDF6DA004CD58F /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocos2dx Mac"; @@ -9130,26 +9565,11 @@ name = "CocosDenshion Mac"; targetProxy = 1A0EE1D018CDF6DA004CD58F /* PBXContainerItemProxy */; }; - 1A0EE2B918CDF733004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "luabindings Mac"; - targetProxy = 1A0EE2BA18CDF733004CD58F /* PBXContainerItemProxy */; - }; 1A0EE2BB18CDF733004CD58F /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocos2dx Mac"; targetProxy = 1A0EE2BC18CDF733004CD58F /* PBXContainerItemProxy */; }; - 1A0EE2BD18CDF733004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx-extensions Mac"; - targetProxy = 1A0EE2BE18CDF733004CD58F /* PBXContainerItemProxy */; - }; - 1A0EE2BF18CDF733004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "chipmunk Mac"; - targetProxy = 1A0EE2C018CDF733004CD58F /* PBXContainerItemProxy */; - }; 1A0EE2C118CDF733004CD58F /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "CocosDenshion Mac"; @@ -9170,31 +9590,6 @@ name = "CocosDenshion iOS"; targetProxy = 1A0EE32218CDF775004CD58F /* PBXContainerItemProxy */; }; - 1A0EE41A18CDF799004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx iOS"; - targetProxy = 1A0EE41B18CDF799004CD58F /* PBXContainerItemProxy */; - }; - 1A0EE41C18CDF799004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx-extensions iOS"; - targetProxy = 1A0EE41D18CDF799004CD58F /* PBXContainerItemProxy */; - }; - 1A0EE41E18CDF799004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "chipmunk iOS"; - targetProxy = 1A0EE41F18CDF799004CD58F /* PBXContainerItemProxy */; - }; - 1A0EE42018CDF799004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "CocosDenshion iOS"; - targetProxy = 1A0EE42118CDF799004CD58F /* PBXContainerItemProxy */; - }; - 1A0EE42218CDF799004CD58F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "luabindings iOS"; - targetProxy = 1A0EE42318CDF799004CD58F /* PBXContainerItemProxy */; - }; 1AAF5342180E2F41000584C8 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocos2dx Mac"; @@ -9265,11 +9660,6 @@ name = "CocosDenshion Mac"; targetProxy = 1ABCA2BE18CD92230087CE3A /* PBXContainerItemProxy */; }; - 1ABCA2C118CD92280087CE3A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "luabindings Mac"; - targetProxy = 1ABCA2C018CD92280087CE3A /* PBXContainerItemProxy */; - }; 1ABCA2F818CD93850087CE3A /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocos2dx iOS"; @@ -9290,11 +9680,6 @@ name = "CocosDenshion iOS"; targetProxy = 1ABCA2FD18CD93850087CE3A /* PBXContainerItemProxy */; }; - 1ABCA30018CD93850087CE3A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "luabindings iOS"; - targetProxy = 1ABCA2FF18CD93850087CE3A /* PBXContainerItemProxy */; - }; 1ADA8BA418CF277400AE24B9 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 1A0EE1C618CDF6DA004CD58F /* cpp-empty-test Mac */; @@ -9345,31 +9730,6 @@ target = A07A517F1783A1D20073F6A7 /* cpp-tests iOS */; targetProxy = A07A526C1783AB980073F6A7 /* PBXContainerItemProxy */; }; - B2411C9D19822FB600E093E2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "libcocostudio iOS"; - targetProxy = B2411C9C19822FB600E093E2 /* PBXContainerItemProxy */; - }; - B2411CA019822FD300E093E2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "libcocosbuilder iOS"; - targetProxy = B2411C9F19822FD300E093E2 /* PBXContainerItemProxy */; - }; - B2411CA319822FEA00E093E2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "libspine iOS"; - targetProxy = B2411CA219822FEA00E093E2 /* PBXContainerItemProxy */; - }; - B2411CA61982300F00E093E2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "libui iOS"; - targetProxy = B2411CA51982300F00E093E2 /* PBXContainerItemProxy */; - }; - B2411CA91982301E00E093E2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "libnetwork iOS"; - targetProxy = B2411CA81982301E00E093E2 /* PBXContainerItemProxy */; - }; B244F3111976878700ED1926 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocosNetwork Mac"; @@ -9400,31 +9760,6 @@ name = "cocosBuilder iOS"; targetProxy = B2C59AC1197782AC00B452DF /* PBXContainerItemProxy */; }; - B2C59ACD19779CDF00B452DF /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosGUI iOS"; - targetProxy = B2C59ACC19779CDF00B452DF /* PBXContainerItemProxy */; - }; - B2C59ACF19779CDF00B452DF /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosStudio iOS"; - targetProxy = B2C59ACE19779CDF00B452DF /* PBXContainerItemProxy */; - }; - B2C59AD119779CDF00B452DF /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosBuilder iOS"; - targetProxy = B2C59AD019779CDF00B452DF /* PBXContainerItemProxy */; - }; - B2C59AD319779CDF00B452DF /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosSpine iOS"; - targetProxy = B2C59AD219779CDF00B452DF /* PBXContainerItemProxy */; - }; - B2C59AD519779CDF00B452DF /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosNetwork iOS"; - targetProxy = B2C59AD419779CDF00B452DF /* PBXContainerItemProxy */; - }; B2C59ADC19779D5400B452DF /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocosGUI iOS"; @@ -9470,16 +9805,6 @@ name = "cocosBuilder Mac"; targetProxy = B2DB480419766E3C00411E16 /* PBXContainerItemProxy */; }; - B2DB480B197670ED00411E16 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosGUI Mac"; - targetProxy = B2DB480A197670ED00411E16 /* PBXContainerItemProxy */; - }; - B2DB480D197670ED00411E16 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosBuilder Mac"; - targetProxy = B2DB480C197670ED00411E16 /* PBXContainerItemProxy */; - }; B2DB48111976711200411E16 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocosGUI Mac"; @@ -9500,11 +9825,6 @@ name = "cocosStudio Mac"; targetProxy = B2DB48C419767DA500411E16 /* PBXContainerItemProxy */; }; - B2DB48C819767EAF00411E16 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosStudio Mac"; - targetProxy = B2DB48C719767EAF00411E16 /* PBXContainerItemProxy */; - }; B2DB49361976819900411E16 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "cocosSpine Mac"; @@ -9515,11 +9835,6 @@ name = "cocosSpine Mac"; targetProxy = B2DB493E1976825800411E16 /* PBXContainerItemProxy */; }; - B2DB49421976826900411E16 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocosSpine Mac"; - targetProxy = B2DB49411976826900411E16 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -9606,7 +9921,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; LIBRARY_SEARCH_PATHS = ( "$(inherited)", - "/Users/cocos2d/MyWork/cocos2d-x-develop/tests/lua-game-controller-test/project/proj.android/obj/local/armeabi", "$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib", ); PRODUCT_NAME = "lua-game-controller-test iOS"; @@ -9632,7 +9946,6 @@ IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; LIBRARY_SEARCH_PATHS = ( "$(inherited)", - "/Users/cocos2d/MyWork/cocos2d-x-develop/tests/lua-game-controller-test/project/proj.android/obj/local/armeabi", "$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib", ); PRODUCT_NAME = "lua-game-controller-test iOS"; diff --git a/cocos/2d/CCSpriteFrameCache.cpp b/cocos/2d/CCSpriteFrameCache.cpp index 94fc0fe559..b86d6054c8 100644 --- a/cocos/2d/CCSpriteFrameCache.cpp +++ b/cocos/2d/CCSpriteFrameCache.cpp @@ -210,6 +210,12 @@ void SpriteFrameCache::addSpriteFramesWithFile(const std::string& plist, Texture _loadedFileNames->insert(plist); } +void SpriteFrameCache::addSpriteFramesWithFileContent(const std::string& plist_content, Texture2D *texture) +{ + ValueMap dict = FileUtils::getInstance()->getValueMapFromData(plist_content.c_str(), plist_content.size()); + addSpriteFramesWithDictionary(dict, texture); +} + void SpriteFrameCache::addSpriteFramesWithFile(const std::string& plist, const std::string& textureFileName) { CCASSERT(textureFileName.size()>0, "texture name should not be null"); @@ -357,6 +363,17 @@ void SpriteFrameCache::removeSpriteFramesFromFile(const std::string& plist) } } +void SpriteFrameCache::removeSpriteFramesFromFileContent(const std::string& plist_content) +{ + ValueMap dict = FileUtils::getInstance()->getValueMapFromData(plist_content.data(), plist_content.size()); + if (dict.empty()) + { + CCLOG("cocos2d:SpriteFrameCache:removeSpriteFramesFromFileContent: create dict by fail."); + return; + } + removeSpriteFramesFromDictionary(dict); +} + void SpriteFrameCache::removeSpriteFramesFromDictionary(ValueMap& dictionary) { ValueMap framesDict = dictionary["frames"].asValueMap(); diff --git a/cocos/2d/CCSpriteFrameCache.h b/cocos/2d/CCSpriteFrameCache.h index b9eaa2973c..b0e5b1f391 100644 --- a/cocos/2d/CCSpriteFrameCache.h +++ b/cocos/2d/CCSpriteFrameCache.h @@ -106,6 +106,12 @@ public: */ void addSpriteFramesWithFile(const std::string&plist, Texture2D *texture); + /** Adds multiple Sprite Frames from a plist file content. The texture will be associated with the created sprite frames. + * @js addSpriteFrames + * @lua addSpriteFrames + */ + void addSpriteFramesWithFileContent(const std::string& plist_content, Texture2D *texture); + /** Adds an sprite frame with a given name. If the name already exists, then the contents of the old name will be replaced with the new one. */ @@ -135,6 +141,12 @@ public: */ void removeSpriteFramesFromFile(const std::string& plist); + /** Removes multiple Sprite Frames from a plist file content. + * Sprite Frames stored in this file will be removed. + * It is convenient to call this method when a specific texture needs to be removed. + */ + void removeSpriteFramesFromFileContent(const std::string& plist_content); + /** Removes all Sprite Frames associated with the specified textures. * It is convenient to call this method when a specific texture needs to be removed. * @since v0.995. diff --git a/cocos/2d/CMakeLists.txt b/cocos/2d/CMakeLists.txt index 2a7ac4d6e6..dbe25302c9 100644 --- a/cocos/2d/CMakeLists.txt +++ b/cocos/2d/CMakeLists.txt @@ -1,9 +1,3 @@ -if(WIN32) - -ADD_DEFINITIONS(-DUNICODE -D_UNICODE) - -endif() - include_directories( ../external/ConvertUTF ) @@ -76,4 +70,3 @@ set(COCOS_2D_SRC 2d/CCTransitionProgress.cpp 2d/CCTweenFunction.cpp ) - diff --git a/cocos/3d/CMakeLists.txt b/cocos/3d/CMakeLists.txt index 20234fe030..ea4d614703 100644 --- a/cocos/3d/CMakeLists.txt +++ b/cocos/3d/CMakeLists.txt @@ -13,4 +13,3 @@ set(COCOS_3D_SRC 3d/CCMeshSkin.cpp 3d/CCBundleReader.cpp ) - diff --git a/cocos/CMakeLists.txt b/cocos/CMakeLists.txt index 1479931bc8..ea7c654d91 100644 --- a/cocos/CMakeLists.txt +++ b/cocos/CMakeLists.txt @@ -1,11 +1,8 @@ -if(WIN32) -ADD_DEFINITIONS(-DUNICODE -D_UNICODE) +if(WINDOWS) + ADD_DEFINITIONS(-DUNICODE -D_UNICODE) endif() - -set(COCOS_SRC - cocos2d.cpp -) +set(COCOS_SRC cocos2d.cpp) include(2d/CMakeLists.txt) include(3d/CMakeLists.txt) @@ -34,60 +31,12 @@ add_library(cocos2d STATIC ${COCOS_DEPRECATED_SRC} ) -if(WIN32) - if(MINGW) - -set(COCOS_LINK - z - jpeg - png - webp - tiff - glfw3 - glew32 - opengl32 - iconv - freetype - bz2 - ) - -else() - - -set(COCOS_LINK - libjpeg - libpng - libwebp - libtiff - freetype250 - glfw3 - glew32 - opengl32 - libiconv - libzlib - ) - -endif() - -elseif(APPLE) - -else() -set(COCOS_LINK - jpeg - webp - tiff - freetype - fontconfig - png - pthread - glfw - GLEW - GL - X11 - rt - z -) + set(COCOS_LINK z jpeg png webp tiff glfw3 glew32 opengl32 iconv freetype bz2) +elseif(WINDOWS) + set(COCOS_LINK libjpeg libpng libwebp libtiff freetype250 glfw3 glew32 opengl32 libiconv libzlib) +elseif(LINUX) + set(COCOS_LINK jpeg webp tiff freetype fontconfig png pthread glfw GLEW GL X11 rt z) endif() target_link_libraries(cocos2d @@ -105,4 +54,3 @@ set_target_properties(cocos2d ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ) - diff --git a/cocos/audio/CMakeLists.txt b/cocos/audio/CMakeLists.txt index 42ebc3a9a7..c2e15dfaa8 100644 --- a/cocos/audio/CMakeLists.txt +++ b/cocos/audio/CMakeLists.txt @@ -1,29 +1,26 @@ # architecture -if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) -set(ARCH_DIR "64-bit") -else() -set(ARCH_DIR "32-bit") -endif() +#if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +#set(ARCH_DIR "64-bit") +#else() +#set(ARCH_DIR "32-bit") +#endif() -if(WIN32) +if(WINDOWS) set(AUDIO_SRC win32/SimpleAudioEngine.cpp win32/MciPlayer.cpp - win32/MciPlayer.h + win32/MciPlayer.h ) -elseif(APPLE) -else() +elseif(LINUX) set(AUDIO_SRC linux/SimpleAudioEngineFMOD.cpp linux/FmodAudioPlayer.cpp - linux/FmodAudioPlayer.h - linux/AudioPlayer.h + linux/FmodAudioPlayer.h + linux/AudioPlayer.h ) - include_directories( - ../../external/linux-specific/fmod/include/${ARCH_DIR} - ) + include_directories( ../../external/linux-specific/fmod/include/${ARCH_DIR} ) endif() @@ -33,28 +30,23 @@ add_library(audio STATIC include/SimpleAudioEngine.h ) -if((NOT APPLE) AND (NOT WIN32)) +if(LINUX) -if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) -set(FMOD_LIB "fmodex64") -else() -set(FMOD_LIB "fmodex") + if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) + set(FMOD_LIB "fmodex64") + else() + set(FMOD_LIB "fmodex") + endif() + + target_link_libraries(audio ${FMOD_LIB}) +elseif(WINDOWS) + target_link_libraries(audio Winmm) endif() -target_link_libraries(audio - ${FMOD_LIB} -) - set_target_properties(audio PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ) -elseif(WIN32) -target_link_libraries(audio - Winmm -) - -endif() diff --git a/cocos/editor-support/cocosbuilder/CMakeLists.txt b/cocos/editor-support/cocosbuilder/CMakeLists.txt index 6d41d29579..607c85be8e 100644 --- a/cocos/editor-support/cocosbuilder/CMakeLists.txt +++ b/cocos/editor-support/cocosbuilder/CMakeLists.txt @@ -23,17 +23,12 @@ set(CCB_SRC CCNode+CCBRelativePositioning.cpp ) -include_directories( - .. -) +include_directories( .. ) -add_library(cocosbuilder STATIC - ${CCB_SRC} -) +add_library(cocosbuilder STATIC ${CCB_SRC}) set_target_properties(cocosbuilder PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ) - diff --git a/cocos/editor-support/cocostudio/CMakeLists.txt b/cocos/editor-support/cocostudio/CMakeLists.txt index aa662393ef..fc722a7c7b 100644 --- a/cocos/editor-support/cocostudio/CMakeLists.txt +++ b/cocos/editor-support/cocostudio/CMakeLists.txt @@ -55,16 +55,11 @@ set(CS_SRC ActionTimeline/CCTimeLine.cpp ) -include_directories( - .. -) +include_directories( .. ) -add_library(cocostudio STATIC - ${CS_SRC} -) +add_library(cocostudio STATIC ${CS_SRC} ) -target_link_libraries(cocostudio -) +target_link_libraries(cocostudio) set_target_properties(cocostudio PROPERTIES diff --git a/cocos/editor-support/spine/CMakeLists.txt b/cocos/editor-support/spine/CMakeLists.txt index c3d96e8b61..4ce0a73646 100644 --- a/cocos/editor-support/spine/CMakeLists.txt +++ b/cocos/editor-support/spine/CMakeLists.txt @@ -32,13 +32,9 @@ set(SPINE_SRC SkeletonBounds.cpp ) -include_directories( - .. -) +include_directories( .. ) -add_library(spine STATIC - ${SPINE_SRC} -) +add_library(spine STATIC ${SPINE_SRC}) set_target_properties(spine PROPERTIES diff --git a/cocos/network/CMakeLists.txt b/cocos/network/CMakeLists.txt index 5bcf40d79e..38f0ff9a53 100644 --- a/cocos/network/CMakeLists.txt +++ b/cocos/network/CMakeLists.txt @@ -1,37 +1,13 @@ -if(WIN32) - set(PLATFORM_SRC - network/WebSocket.cpp - ) - - set(PLATFORM_LINK - websockets - ) -elseif(NOT APPLE) - set(PLATFORM_SRC - network/WebSocket.cpp - ) - - set(PLATFORM_LINK - websockets - ssl - crypto - ) +if(WINDOWS) + set(PLATFORM_LINK websockets) +elseif(LINUX) + set(PLATFORM_LINK websockets ssl crypto) endif() -set(COCOS_NETWORK_SRC - network/HttpClient.cpp - network/SocketIO.cpp - ${PLATFORM_SRC} -) +set(COCOS_NETWORK_SRC network/HttpClient.cpp network/SocketIO.cpp network/WebSocket.cpp) -IF (WIN32 AND NOT MINGW) - set(COCOS_NETWORK_LINK - libcurl_imp - ${PLATFORM_LINK} - ) -ELSE() - set(COCOS_NETWORK_LINK - curl - ${PLATFORM_LINK} - ) -ENDIF() +if(MSVC) + set(COCOS_NETWORK_LINK libcurl_imp ${PLATFORM_LINK}) +else() + set(COCOS_NETWORK_LINK curl ${PLATFORM_LINK} ) +endif() diff --git a/cocos/platform/CCFileUtils.cpp b/cocos/platform/CCFileUtils.cpp index 2badf75357..1b80a114b1 100644 --- a/cocos/platform/CCFileUtils.cpp +++ b/cocos/platform/CCFileUtils.cpp @@ -105,6 +105,18 @@ public: return _rootDict; } + ValueMap dictionaryWithDataOfFile(const char* filedata, int filesize) + { + _resultType = SAX_RESULT_DICT; + SAXParser parser; + + CCASSERT(parser.init("UTF-8"), "The file format isn't UTF-8"); + parser.setDelegator(this); + + parser.parse(filedata, filesize); + return _rootDict; + } + ValueVector arrayWithContentsOfFile(const std::string& fileName) { _resultType = SAX_RESULT_ARRAY; @@ -321,6 +333,12 @@ ValueMap FileUtils::getValueMapFromFile(const std::string& filename) return tMaker.dictionaryWithContentsOfFile(fullPath.c_str()); } +ValueMap FileUtils::getValueMapFromData(const char* filedata, int filesize) +{ + DictMaker tMaker; + return tMaker.dictionaryWithDataOfFile(filedata, filesize); +} + ValueVector FileUtils::getValueVectorFromFile(const std::string& filename) { const std::string fullPath = fullPathForFilename(filename.c_str()); @@ -472,6 +490,7 @@ NS_CC_BEGIN /* The subclass FileUtilsApple should override these two method. */ ValueMap FileUtils::getValueMapFromFile(const std::string& filename) {return ValueMap();} +ValueMap FileUtils::getValueMapFromData(const char* filedata, int filesize) {return ValueMap();} ValueVector FileUtils::getValueVectorFromFile(const std::string& filename) {return ValueVector();} bool FileUtils::writeToFile(ValueMap& dict, const std::string &fullPath) {return false;} diff --git a/cocos/platform/CCFileUtils.h b/cocos/platform/CCFileUtils.h index 9594b52d11..fc8ec3b69a 100644 --- a/cocos/platform/CCFileUtils.h +++ b/cocos/platform/CCFileUtils.h @@ -294,6 +294,12 @@ public: * @note This method is used internally. */ virtual ValueMap getValueMapFromFile(const std::string& filename); + + /** + * Converts the contents of a file to a ValueMap. + * @note This method is used internally. + */ + virtual ValueMap getValueMapFromData(const char* filedata, int filesize); /** * Write a ValueMap to a plist file. diff --git a/cocos/platform/apple/CCFileUtilsApple.h b/cocos/platform/apple/CCFileUtilsApple.h index 8c563176ab..4a0e16fd96 100644 --- a/cocos/platform/apple/CCFileUtilsApple.h +++ b/cocos/platform/apple/CCFileUtilsApple.h @@ -49,6 +49,7 @@ public: virtual std::string getFullPathForDirectoryAndFilename(const std::string& directory, const std::string& filename) override; virtual ValueMap getValueMapFromFile(const std::string& filename) override; + virtual ValueMap getValueMapFromData(const char* filedata, int filesize); virtual bool writeToFile(ValueMap& dict, const std::string& fullPath) override; virtual ValueVector getValueVectorFromFile(const std::string& filename) override; diff --git a/cocos/platform/apple/CCFileUtilsApple.mm b/cocos/platform/apple/CCFileUtilsApple.mm index ae707b50f2..79c32e43c3 100644 --- a/cocos/platform/apple/CCFileUtilsApple.mm +++ b/cocos/platform/apple/CCFileUtilsApple.mm @@ -428,6 +428,26 @@ ValueMap FileUtilsApple::getValueMapFromFile(const std::string& filename) return ret; } +ValueMap FileUtilsApple::getValueMapFromData(const char* filedata, int filesize) +{ + NSData* file = [NSData dataWithBytes:filedata length:filesize]; + NSPropertyListFormat format; + NSError* error; + NSDictionary* dict = [NSPropertyListSerialization propertyListWithData:file options:NSPropertyListImmutable format:&format error:&error]; + + ValueMap ret; + + if (dict != nil) + { + for (id key in [dict allKeys]) + { + id value = [dict objectForKey:key]; + addValueToDict(key, value, ret); + } + } + return ret; +} + bool FileUtilsApple::writeToFile(ValueMap& dict, const std::string &fullPath) { //CCLOG("iOS||Mac Dictionary %d write to file %s", dict->_ID, fullPath.c_str()); diff --git a/cocos/platform/ios/CCDevice.mm b/cocos/platform/ios/CCDevice.mm index f04767cb74..607d95340b 100644 --- a/cocos/platform/ios/CCDevice.mm +++ b/cocos/platform/ios/CCDevice.mm @@ -348,7 +348,7 @@ static bool _initWithString(const char * text, cocos2d::Device::TextAlign align, } // text color - CGContextSetRGBFillColor(context, info->tintColorR / 255.0f, info->tintColorG / 255.0f, info->tintColorB / 255.0f, 1); + CGContextSetRGBFillColor(context, info->tintColorR, info->tintColorG, info->tintColorB, 1); // move Y rendering to the top of the image CGContextTranslateCTM(context, 0.0f, (dim.height - shadowStrokePaddingY) ); CGContextScaleCTM(context, 1.0f, -1.0f); //NOTE: NSString draws in UIKit referential i.e. renders upside-down compared to CGBitmapContext referential @@ -456,13 +456,13 @@ Data Device::getTextureDataForText(const char * text, const FontDefinition& text info.shadowBlur = textDefinition._shadow._shadowBlur; info.shadowOpacity = textDefinition._shadow._shadowOpacity; info.hasStroke = textDefinition._stroke._strokeEnabled; - info.strokeColorR = textDefinition._stroke._strokeColor.r; - info.strokeColorG = textDefinition._stroke._strokeColor.g; - info.strokeColorB = textDefinition._stroke._strokeColor.b; + info.strokeColorR = textDefinition._stroke._strokeColor.r / 255.0f; + info.strokeColorG = textDefinition._stroke._strokeColor.g / 255.0f; + info.strokeColorB = textDefinition._stroke._strokeColor.b / 255.0f; info.strokeSize = textDefinition._stroke._strokeSize; - info.tintColorR = textDefinition._fontFillColor.r; - info.tintColorG = textDefinition._fontFillColor.g; - info.tintColorB = textDefinition._fontFillColor.b; + info.tintColorR = textDefinition._fontFillColor.r / 255.0f; + info.tintColorG = textDefinition._fontFillColor.g / 255.0f; + info.tintColorB = textDefinition._fontFillColor.b / 255.0f; if (! _initWithString(text, align, textDefinition._fontName.c_str(), textDefinition._fontSize, &info)) { diff --git a/cocos/platform/win32/CCDevice.cpp b/cocos/platform/win32/CCDevice.cpp index 70f7f1d1c7..f6bce3bac5 100644 --- a/cocos/platform/win32/CCDevice.cpp +++ b/cocos/platform/win32/CCDevice.cpp @@ -405,7 +405,8 @@ Data Device::getTextureDataForText(const char * text, const FontDefinition& text } // draw text - SIZE size = {textDefinition._dimensions.width, textDefinition._dimensions.height}; + // does changing to SIZE here affects the font size by rounding from float? + SIZE size = {(LONG) textDefinition._dimensions.width,(LONG) textDefinition._dimensions.height}; CC_BREAK_IF(! dc.drawText(text, size, align)); int dataLen = size.cx * size.cy * 4; diff --git a/cocos/platform/win32/CCStdC.h b/cocos/platform/win32/CCStdC.h index ad0be3dc4d..1a4de0d996 100644 --- a/cocos/platform/win32/CCStdC.h +++ b/cocos/platform/win32/CCStdC.h @@ -124,12 +124,14 @@ inline int vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr) { return vsnprintf(buffer, sizeOfBuffer, format, argptr); } + +#ifndef __clang__ inline errno_t strcpy_s(char *strDestination, size_t numberOfElements, const char *strSource) { strcpy(strDestination, strSource); return 0; } - +#endif #endif // __MINGW32__ // Conflicted with cocos2d::MessageBox, so we need to undef it. diff --git a/cocos/renderer/CMakeLists.txt b/cocos/renderer/CMakeLists.txt index b86e1aed6c..fd794aa25d 100644 --- a/cocos/renderer/CMakeLists.txt +++ b/cocos/renderer/CMakeLists.txt @@ -16,4 +16,3 @@ set(COCOS_RENDERER_SRC renderer/CCTextureAtlas.cpp renderer/CCTextureCache.cpp ) - diff --git a/cocos/scripting/lua-bindings/Android.mk b/cocos/scripting/lua-bindings/Android.mk deleted file mode 100644 index 470a281c8c..0000000000 --- a/cocos/scripting/lua-bindings/Android.mk +++ /dev/null @@ -1,112 +0,0 @@ -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE := cocos_lua_static - -LOCAL_MODULE_FILENAME := liblua - -LOCAL_SRC_FILES := manual/CCLuaBridge.cpp \ - manual/CCLuaEngine.cpp \ - manual/CCLuaStack.cpp \ - manual/lua_debugger.c \ - manual/CCLuaValue.cpp \ - manual/Cocos2dxLuaLoader.cpp \ - manual/CCBProxy.cpp \ - manual/Lua_web_socket.cpp \ - manual/LuaOpengl.cpp \ - manual/LuaScriptHandlerMgr.cpp \ - manual/LuaBasicConversions.cpp \ - manual/LuaSkeletonAnimation.cpp \ - manual/lua_cocos2dx_manual.cpp \ - manual/lua_cocos2dx_extension_manual.cpp \ - manual/lua_cocos2dx_coco_studio_manual.cpp \ - manual/lua_cocos2dx_ui_manual.cpp \ - manual/lua_cocos2dx_spine_manual.cpp \ - manual/lua_cocos2dx_physics_manual.cpp \ - manual/lua_cocos2dx_experimental_manual.cpp \ - manual/lua_cocos2dx_experimental_video_manual.cpp \ - manual/lua_cocos2dx_deprecated.cpp \ - manual/lua_xml_http_request.cpp \ - manual/platform/android/CCLuaJavaBridge.cpp \ - manual/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.cpp \ - manual/tolua_fix.cpp \ - manual/lua_extensions.c \ - auto/lua_cocos2dx_auto.cpp \ - auto/lua_cocos2dx_extension_auto.cpp \ - auto/lua_cocos2dx_studio_auto.cpp \ - auto/lua_cocos2dx_ui_auto.cpp \ - auto/lua_cocos2dx_spine_auto.cpp \ - auto/lua_cocos2dx_physics_auto.cpp \ - auto/lua_cocos2dx_experimental_auto.cpp \ - auto/lua_cocos2dx_experimental_video_auto.cpp \ - ../../../external/lua/tolua/tolua_event.c \ - ../../../external/lua/tolua/tolua_is.c \ - ../../../external/lua/tolua/tolua_map.c \ - ../../../external/lua/tolua/tolua_push.c \ - ../../../external/lua/tolua/tolua_to.c \ - ../../../external/lua/luasocket/auxiliar.c \ - ../../../external/lua/luasocket/buffer.c \ - ../../../external/lua/luasocket/except.c \ - ../../../external/lua/luasocket/inet.c \ - ../../../external/lua/luasocket/io.c \ - ../../../external/lua/luasocket/luasocket.c \ - ../../../external/lua/luasocket/mime.c \ - ../../../external/lua/luasocket/options.c \ - ../../../external/lua/luasocket/select.c \ - ../../../external/lua/luasocket/serial.c \ - ../../../external/lua/luasocket/tcp.c \ - ../../../external/lua/luasocket/timeout.c \ - ../../../external/lua/luasocket/udp.c \ - ../../../external/lua/luasocket/unix.c \ - ../../../external/lua/luasocket/usocket.c \ - ../../../external/xxtea/xxtea.cpp - - -LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../external/lua/tolua \ - $(LOCAL_PATH)/../../../external/lua/luajit/include \ - $(LOCAL_PATH)/../../../external/lua \ - $(LOCAL_PATH)/../../../extensions \ - $(LOCAL_PATH)/../../editor-support/spine \ - $(LOCAL_PATH)/../../editor-support/cocosbuilder \ - $(LOCAL_PATH)/../../editor-support/cocostudio \ - $(LOCAL_PATH)/../../ui \ - $(LOCAL_PATH)/../../2d \ - $(LOCAL_PATH)/../../3d \ - $(LOCAL_PATH)/auto \ - $(LOCAL_PATH)/manual \ - $(LOCAL_PATH)/manual/platform/android \ - $(LOCAL_PATH)/manual/platform/android/jni \ - $(LOCAL_PATH)/../../../external/xxtea - - -LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../external/lua/tolua \ - $(LOCAL_PATH)/../../../external/lua/luajit/include \ - $(LOCAL_PATH)/../external \ - $(LOCAL_PATH)/auto \ - $(LOCAL_PATH)/manual - - -LOCAL_WHOLE_STATIC_LIBRARIES := luajit_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static -LOCAL_WHOLE_STATIC_LIBRARIES += websockets_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocosbuilder_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static -LOCAL_WHOLE_STATIC_LIBRARIES += spine_static -LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static - -LOCAL_CFLAGS += -Wno-psabi -LOCAL_EXPORT_CFLAGS += -Wno-psabi - -include $(BUILD_STATIC_LIBRARY) - -$(call import-module,lua/luajit/prebuilt/android) -$(call import-module,extensions) -$(call import-module,.) -$(call import-module,websockets/prebuilt/android) -$(call import-module,network) -$(call import-module,editor-support/cocostudio) -$(call import-module,editor-support/cocosbuilder) -$(call import-module,editor-support/spine) -$(call import-module,audio/android) diff --git a/cocos/scripting/lua-bindings/CMakeLists.txt b/cocos/scripting/lua-bindings/CMakeLists.txt index 1f414b9005..6e78b906df 100644 --- a/cocos/scripting/lua-bindings/CMakeLists.txt +++ b/cocos/scripting/lua-bindings/CMakeLists.txt @@ -1,9 +1,6 @@ -set(LUABINDING_SRC +#luacocos2d +set(LIBLUACOCOS2D_SRC auto/lua_cocos2dx_auto.cpp - auto/lua_cocos2dx_extension_auto.cpp - auto/lua_cocos2dx_studio_auto.cpp - auto/lua_cocos2dx_ui_auto.cpp - auto/lua_cocos2dx_spine_auto.cpp auto/lua_cocos2dx_physics_auto.cpp auto/lua_cocos2dx_experimental_auto.cpp manual/tolua_fix.cpp @@ -12,51 +9,199 @@ set(LUABINDING_SRC manual/CCLuaStack.cpp manual/CCLuaValue.cpp manual/Cocos2dxLuaLoader.cpp - manual/CCBProxy.cpp - manual/LuaOpengl.cpp - manual/LuaScriptHandlerMgr.cpp manual/LuaBasicConversions.cpp - manual/lua_cocos2dx_manual.cpp - manual/lua_cocos2dx_extension_manual.cpp - manual/lua_cocos2dx_coco_studio_manual.cpp - manual/lua_cocos2dx_ui_manual.cpp - manual/lua_cocos2dx_spine_manual.cpp - manual/lua_cocos2dx_physics_manual.cpp - manual/lua_cocos2dx_deprecated.cpp - manual/lua_xml_http_request.cpp - manual/LuaSkeletonAnimation.cpp - manual/lua_cocos2dx_experimental_manual.cpp + manual/cocos2d/lua_cocos2dx_deprecated.cpp + manual/cocos2d/lua_cocos2dx_experimental_manual.cpp + manual/cocos2d/lua_cocos2dx_manual.cpp + manual/cocos2d/lua_cocos2dx_physics_manual.cpp + manual/cocos2d/LuaOpengl.cpp + manual/cocos2d/LuaScriptHandlerMgr.cpp ) include_directories( auto manual - ../../editor-support/cocosbuilder - ../../editor-support/cocostudio - ../../editor-support/spine - ../../ui + manual/cocos2d + manual/extension + manual/cocostudio + manual/ui ../../2d ../../3d + ../../../extensions ../../../external/lua/lua ../../../external/lua/tolua ../../../external/xxtea ) -add_library(luabinding STATIC - ${LUABINDING_SRC} +add_library(luacocos2d STATIC + ${LIBLUACOCOS2D_SRC} ) -target_link_libraries(luabinding +target_link_libraries(luacocos2d tolua lua - spine xxtea ) -set_target_properties(luabinding +set_target_properties(luacocos2d PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ) + +#luacocosdenshion +set(LIBLUACOCOSDENSHION_SRC + auto/lua_cocos2dx_cocosdenshion_auto.cpp + manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp +) + +include_directories( + auto + manual/cocosdenshion + ../../audio/include +) + +add_library(luacocosdenshion STATIC + ${LIBLUACOCOSDENSHION_SRC} +) + +set_target_properties(luacocosdenshion + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luanetwork +set(LIBLUANETWORK_SRC + manual/network/lua_cocos2dx_network_manual.cpp + manual/network/lua_xml_http_request.cpp +) + +include_directories( + manual/network + ../../network +) + +add_library(luanetwork STATIC + ${LIBLUANETWORK_SRC} +) + +set_target_properties(luanetwork + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luacocosbuilder +set(LIBLUACOCOSBUILDER_SRC + auto/lua_cocos2dx_cocosbuilder_auto.cpp + manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp + manual/cocosbuilder/CCBProxy.cpp +) + +include_directories( + auto + manual/cocosbuilder + ../../editor-support/cocosbuilder +) + +add_library(luacocosbuilder STATIC + ${LIBLUACOCOSBUILDER_SRC} +) + +set_target_properties(luacocosbuilder + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luacocostudio +set(LIBLUACOCOSTUDIO_SRC + auto/lua_cocos2dx_studio_auto.cpp + manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp +) + +include_directories( + auto + manual/cocostudio + ../../editor-support/cocostudio +) + +add_library(luacocostudio STATIC + ${LIBLUACOCOSTUDIO_SRC} +) + +set_target_properties(luacocostudio + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luaspine +set(LIBLUASPINE_SRC + auto/lua_cocos2dx_spine_auto.cpp + manual/spine/LuaSkeletonAnimation.cpp + manual/spine/lua_cocos2dx_spine_manual.cpp +) + +include_directories( + auto + manual/spine + ../../editor-support/spine +) + +add_library(luaspine STATIC + ${LIBLUASPINE_SRC} +) + +set_target_properties(luaspine + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luaextension +set(LIBLUAEXTENSION_SRC + auto/lua_cocos2dx_extension_auto.cpp + manual/extension/lua_cocos2dx_extension_manual.cpp +) + +include_directories( + auto + manual/extension + ../../../extensions +) + +add_library(luaextension STATIC + ${LIBLUAEXTENSION_SRC} +) + +set_target_properties(luaextension + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) + +#luaui +set(LIBLUAUI_SRC + auto/lua_cocos2dx_ui_auto.cpp + manual/ui/lua_cocos2dx_ui_manual.cpp +) + +include_directories( + auto + manual/ui + ../../ui +) + +add_library(luaui STATIC + ${LIBLUAUI_SRC} +) + +set_target_properties(luaui + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" +) diff --git a/cocos/scripting/lua-bindings/auto/api/FileUtils.lua b/cocos/scripting/lua-bindings/auto/api/FileUtils.lua index e2563f35d0..465eafc67b 100644 --- a/cocos/scripting/lua-bindings/auto/api/FileUtils.lua +++ b/cocos/scripting/lua-bindings/auto/api/FileUtils.lua @@ -74,6 +74,13 @@ -- @param #string str -- @return map_table#map_table ret (return value: map_table) +-------------------------------- +-- @function [parent=#FileUtils] getValueMapFromData +-- @param self +-- @param #char char +-- @param #int int +-- @return map_table#map_table ret (return value: map_table) + -------------------------------- -- @function [parent=#FileUtils] removeDirectory -- @param self diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua b/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua index 0d8ee97edf..33e686b786 100644 --- a/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua +++ b/cocos/scripting/lua-bindings/auto/api/SpriteFrameCache.lua @@ -4,6 +4,12 @@ -- @extend Ref -- @parent_module cc +-------------------------------- +-- @function [parent=#SpriteFrameCache] addSpriteFramesWithFileContent +-- @param self +-- @param #string str +-- @param #cc.Texture2D texture2d + -------------------------------- -- @overload self, string, string -- @overload self, string @@ -48,6 +54,11 @@ -- @param self -- @param #cc.Texture2D texture2d +-------------------------------- +-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFileContent +-- @param self +-- @param #string str + -------------------------------- -- @function [parent=#SpriteFrameCache] removeSpriteFrameByName -- @param self diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua index 53446bfce3..3423d16801 100644 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua +++ b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua @@ -1231,11 +1231,6 @@ -- @field [parent=#cc] AttachNode#AttachNode AttachNode preloaded module --------------------------------------------------------- --- the cc SimpleAudioEngine --- @field [parent=#cc] SimpleAudioEngine#SimpleAudioEngine SimpleAudioEngine preloaded module - - -------------------------------------------------------- -- the cc ProtectedNode -- @field [parent=#cc] ProtectedNode#ProtectedNode ProtectedNode preloaded module diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua new file mode 100644 index 0000000000..2496259244 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua @@ -0,0 +1,14 @@ +-------------------------------- +-- @module cc + +-------------------------------------------------------- +-- the cc CCBAnimationManager +-- @field [parent=#cc] CCBAnimationManager#CCBAnimationManager CCBAnimationManager preloaded module + + +-------------------------------------------------------- +-- the cc CCBReader +-- @field [parent=#cc] CCBReader#CCBReader CCBReader preloaded module + + +return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua new file mode 100644 index 0000000000..445126e333 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua @@ -0,0 +1,9 @@ +-------------------------------- +-- @module cc + +-------------------------------------------------------- +-- the cc SimpleAudioEngine +-- @field [parent=#cc] SimpleAudioEngine#SimpleAudioEngine SimpleAudioEngine preloaded module + + +return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua index 3dee47c133..6798a0b06d 100644 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua +++ b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua @@ -76,14 +76,4 @@ -- @field [parent=#cc] AssetsManager#AssetsManager AssetsManager preloaded module --------------------------------------------------------- --- the cc CCBAnimationManager --- @field [parent=#cc] CCBAnimationManager#CCBAnimationManager CCBAnimationManager preloaded module - - --------------------------------------------------------- --- the cc CCBReader --- @field [parent=#cc] CCBReader#CCBReader CCBReader preloaded module - - return nil diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index 7222627d90..ff6c78de1a 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -1,6 +1,5 @@ #include "lua_cocos2dx_auto.hpp" #include "cocos2d.h" -#include "SimpleAudioEngine.h" #include "CCProtectedNode.h" #include "CCAnimation3D.h" #include "CCAnimate3D.h" @@ -16899,6 +16898,56 @@ int lua_cocos2dx_FileUtils_getValueMapFromFile(lua_State* tolua_S) return 0; } +int lua_cocos2dx_FileUtils_getValueMapFromData(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::FileUtils* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.FileUtils",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::FileUtils*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_FileUtils_getValueMapFromData'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const char* arg0; + int arg1; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.FileUtils:getValueMapFromData"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.FileUtils:getValueMapFromData"); + if(!ok) + return 0; + cocos2d::ValueMap ret = cobj->getValueMapFromData(arg0, arg1); + ccvaluemap_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getValueMapFromData",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_FileUtils_getValueMapFromData'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_FileUtils_removeDirectory(lua_State* tolua_S) { int argc = 0; @@ -17656,6 +17705,7 @@ int lua_register_cocos2dx_FileUtils(lua_State* tolua_S) tolua_function(tolua_S,"getSearchPaths",lua_cocos2dx_FileUtils_getSearchPaths); tolua_function(tolua_S,"writeToFile",lua_cocos2dx_FileUtils_writeToFile); tolua_function(tolua_S,"getValueMapFromFile",lua_cocos2dx_FileUtils_getValueMapFromFile); + tolua_function(tolua_S,"getValueMapFromData",lua_cocos2dx_FileUtils_getValueMapFromData); tolua_function(tolua_S,"removeDirectory",lua_cocos2dx_FileUtils_removeDirectory); tolua_function(tolua_S,"setSearchPaths",lua_cocos2dx_FileUtils_setSearchPaths); tolua_function(tolua_S,"getFileSize",lua_cocos2dx_FileUtils_getFileSize); @@ -57140,6 +57190,55 @@ int lua_register_cocos2dx_AnimationCache(lua_State* tolua_S) return 1; } +int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::SpriteFrameCache* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SpriteFrameCache",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::SpriteFrameCache*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + std::string arg0; + cocos2d::Texture2D* arg1; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:addSpriteFramesWithFileContent"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Texture2D",&arg1); + if(!ok) + return 0; + cobj->addSpriteFramesWithFileContent(arg0, arg1); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:addSpriteFramesWithFileContent",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile(lua_State* tolua_S) { int argc = 0; @@ -57530,6 +57629,52 @@ int lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromTexture(lua_State* tolua return 0; } +int lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromFileContent(lua_State* tolua_S) +{ + int argc = 0; + cocos2d::SpriteFrameCache* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SpriteFrameCache",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocos2d::SpriteFrameCache*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromFileContent'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:removeSpriteFramesFromFileContent"); + if(!ok) + return 0; + cobj->removeSpriteFramesFromFileContent(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeSpriteFramesFromFileContent",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromFileContent'.",&tolua_err); +#endif + + return 0; +} int lua_cocos2dx_SpriteFrameCache_removeSpriteFrameByName(lua_State* tolua_S) { int argc = 0; @@ -57649,6 +57794,7 @@ int lua_register_cocos2dx_SpriteFrameCache(lua_State* tolua_S) tolua_cclass(tolua_S,"SpriteFrameCache","cc.SpriteFrameCache","cc.Ref",nullptr); tolua_beginmodule(tolua_S,"SpriteFrameCache"); + tolua_function(tolua_S,"addSpriteFramesWithFileContent",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent); tolua_function(tolua_S,"addSpriteFrames",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile); tolua_function(tolua_S,"addSpriteFrame",lua_cocos2dx_SpriteFrameCache_addSpriteFrame); tolua_function(tolua_S,"removeUnusedSpriteFrames",lua_cocos2dx_SpriteFrameCache_removeUnusedSpriteFrames); @@ -57657,6 +57803,7 @@ int lua_register_cocos2dx_SpriteFrameCache(lua_State* tolua_S) tolua_function(tolua_S,"init",lua_cocos2dx_SpriteFrameCache_init); tolua_function(tolua_S,"removeSpriteFrames",lua_cocos2dx_SpriteFrameCache_removeSpriteFrames); tolua_function(tolua_S,"removeSpriteFramesFromTexture",lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromTexture); + tolua_function(tolua_S,"removeSpriteFramesFromFileContent",lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromFileContent); tolua_function(tolua_S,"removeSpriteFrameByName",lua_cocos2dx_SpriteFrameCache_removeSpriteFrameByName); tolua_function(tolua_S,"destroyInstance", lua_cocos2dx_SpriteFrameCache_destroyInstance); tolua_function(tolua_S,"getInstance", lua_cocos2dx_SpriteFrameCache_getInstance); @@ -64078,1144 +64225,6 @@ int lua_register_cocos2dx_AttachNode(lua_State* tolua_S) return 1; } -int lua_cocos2dx_SimpleAudioEngine_preloadBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_preloadBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadBackgroundMusic"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->preloadBackgroundMusic(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadBackgroundMusic",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_preloadBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_stopBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_stopBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->stopBackgroundMusic(); - return 0; - } - if (argc == 1) - { - bool arg0; - - ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopBackgroundMusic"); - if(!ok) - return 0; - cobj->stopBackgroundMusic(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopBackgroundMusic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_stopBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_stopAllEffects(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_stopAllEffects'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->stopAllEffects(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopAllEffects",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_stopAllEffects'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_getBackgroundMusicVolume(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_getBackgroundMusicVolume'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - double ret = cobj->getBackgroundMusicVolume(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getBackgroundMusicVolume",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_getBackgroundMusicVolume'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_resumeBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_resumeBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->resumeBackgroundMusic(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeBackgroundMusic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_resumeBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_setBackgroundMusicVolume(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_setBackgroundMusicVolume'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setBackgroundMusicVolume"); - if(!ok) - return 0; - cobj->setBackgroundMusicVolume(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setBackgroundMusicVolume",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_setBackgroundMusicVolume'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_preloadEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_preloadEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadEffect"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->preloadEffect(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_preloadEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_isBackgroundMusicPlaying(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_isBackgroundMusicPlaying'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - bool ret = cobj->isBackgroundMusicPlaying(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:isBackgroundMusicPlaying",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_isBackgroundMusicPlaying'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_getEffectsVolume(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_getEffectsVolume'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - double ret = cobj->getEffectsVolume(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getEffectsVolume",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_getEffectsVolume'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_willPlayBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_willPlayBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - bool ret = cobj->willPlayBackgroundMusic(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:willPlayBackgroundMusic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_willPlayBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_pauseEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_pauseEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - unsigned int arg0; - - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:pauseEffect"); - if(!ok) - return 0; - cobj->pauseEffect(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_pauseEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_playEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - unsigned int ret = cobj->playEffect(arg0); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - if (argc == 2) - { - const char* arg0; - bool arg1; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - if(!ok) - return 0; - unsigned int ret = cobj->playEffect(arg0, arg1); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - if (argc == 3) - { - const char* arg0; - bool arg1; - double arg2; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); - if(!ok) - return 0; - unsigned int ret = cobj->playEffect(arg0, arg1, arg2); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - if (argc == 4) - { - const char* arg0; - bool arg1; - double arg2; - double arg3; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); - if(!ok) - return 0; - unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - if (argc == 5) - { - const char* arg0; - bool arg1; - double arg2; - double arg3; - double arg4; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); - - ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.SimpleAudioEngine:playEffect"); - if(!ok) - return 0; - unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3, arg4); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_playEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_rewindBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_rewindBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->rewindBackgroundMusic(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:rewindBackgroundMusic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_rewindBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->playBackgroundMusic(arg0); - return 0; - } - if (argc == 2) - { - const char* arg0; - bool arg1; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playBackgroundMusic"); - if(!ok) - return 0; - cobj->playBackgroundMusic(arg0, arg1); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playBackgroundMusic",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_resumeAllEffects(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_resumeAllEffects'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->resumeAllEffects(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeAllEffects",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_resumeAllEffects'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_setEffectsVolume(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_setEffectsVolume'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setEffectsVolume"); - if(!ok) - return 0; - cobj->setEffectsVolume(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setEffectsVolume",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_setEffectsVolume'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_stopEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_stopEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - unsigned int arg0; - - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopEffect"); - if(!ok) - return 0; - cobj->stopEffect(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_stopEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_pauseBackgroundMusic(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_pauseBackgroundMusic'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->pauseBackgroundMusic(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseBackgroundMusic",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_pauseBackgroundMusic'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_pauseAllEffects(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_pauseAllEffects'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->pauseAllEffects(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseAllEffects",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_pauseAllEffects'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_unloadEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_unloadEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:unloadEffect"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->unloadEffect(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:unloadEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_unloadEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_resumeEffect(lua_State* tolua_S) -{ - int argc = 0; - CocosDenshion::SimpleAudioEngine* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_SimpleAudioEngine_resumeEffect'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - unsigned int arg0; - - ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:resumeEffect"); - if(!ok) - return 0; - cobj->resumeEffect(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeEffect",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_resumeEffect'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_end(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 0) - { - if(!ok) - return 0; - CocosDenshion::SimpleAudioEngine::end(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:end",argc, 0); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_end'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_SimpleAudioEngine_getInstance(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 0) - { - if(!ok) - return 0; - CocosDenshion::SimpleAudioEngine* ret = CocosDenshion::SimpleAudioEngine::getInstance(); - object_to_luaval(tolua_S, "cc.SimpleAudioEngine",(CocosDenshion::SimpleAudioEngine*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:getInstance",argc, 0); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_SimpleAudioEngine_getInstance'.",&tolua_err); -#endif - return 0; -} -static int lua_cocos2dx_SimpleAudioEngine_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (SimpleAudioEngine)"); - return 0; -} - -int lua_register_cocos2dx_SimpleAudioEngine(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.SimpleAudioEngine"); - tolua_cclass(tolua_S,"SimpleAudioEngine","cc.SimpleAudioEngine","",nullptr); - - tolua_beginmodule(tolua_S,"SimpleAudioEngine"); - tolua_function(tolua_S,"preloadMusic",lua_cocos2dx_SimpleAudioEngine_preloadBackgroundMusic); - tolua_function(tolua_S,"stopMusic",lua_cocos2dx_SimpleAudioEngine_stopBackgroundMusic); - tolua_function(tolua_S,"stopAllEffects",lua_cocos2dx_SimpleAudioEngine_stopAllEffects); - tolua_function(tolua_S,"getMusicVolume",lua_cocos2dx_SimpleAudioEngine_getBackgroundMusicVolume); - tolua_function(tolua_S,"resumeMusic",lua_cocos2dx_SimpleAudioEngine_resumeBackgroundMusic); - tolua_function(tolua_S,"setMusicVolume",lua_cocos2dx_SimpleAudioEngine_setBackgroundMusicVolume); - tolua_function(tolua_S,"preloadEffect",lua_cocos2dx_SimpleAudioEngine_preloadEffect); - tolua_function(tolua_S,"isMusicPlaying",lua_cocos2dx_SimpleAudioEngine_isBackgroundMusicPlaying); - tolua_function(tolua_S,"getEffectsVolume",lua_cocos2dx_SimpleAudioEngine_getEffectsVolume); - tolua_function(tolua_S,"willPlayMusic",lua_cocos2dx_SimpleAudioEngine_willPlayBackgroundMusic); - tolua_function(tolua_S,"pauseEffect",lua_cocos2dx_SimpleAudioEngine_pauseEffect); - tolua_function(tolua_S,"playEffect",lua_cocos2dx_SimpleAudioEngine_playEffect); - tolua_function(tolua_S,"rewindMusic",lua_cocos2dx_SimpleAudioEngine_rewindBackgroundMusic); - tolua_function(tolua_S,"playMusic",lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic); - tolua_function(tolua_S,"resumeAllEffects",lua_cocos2dx_SimpleAudioEngine_resumeAllEffects); - tolua_function(tolua_S,"setEffectsVolume",lua_cocos2dx_SimpleAudioEngine_setEffectsVolume); - tolua_function(tolua_S,"stopEffect",lua_cocos2dx_SimpleAudioEngine_stopEffect); - tolua_function(tolua_S,"pauseMusic",lua_cocos2dx_SimpleAudioEngine_pauseBackgroundMusic); - tolua_function(tolua_S,"pauseAllEffects",lua_cocos2dx_SimpleAudioEngine_pauseAllEffects); - tolua_function(tolua_S,"unloadEffect",lua_cocos2dx_SimpleAudioEngine_unloadEffect); - tolua_function(tolua_S,"resumeEffect",lua_cocos2dx_SimpleAudioEngine_resumeEffect); - tolua_function(tolua_S,"destroyInstance", lua_cocos2dx_SimpleAudioEngine_end); - tolua_function(tolua_S,"getInstance", lua_cocos2dx_SimpleAudioEngine_getInstance); - tolua_endmodule(tolua_S); - std::string typeName = typeid(CocosDenshion::SimpleAudioEngine).name(); - g_luaType[typeName] = "cc.SimpleAudioEngine"; - g_typeCast["SimpleAudioEngine"] = "cc.SimpleAudioEngine"; - return 1; -} - int lua_cocos2dx_ProtectedNode_addProtectedChild(lua_State* tolua_S) { int argc = 0; @@ -65795,7 +64804,6 @@ TOLUA_API int register_all_cocos2dx(lua_State* tolua_S) lua_register_cocos2dx_FadeOutUpTiles(tolua_S); lua_register_cocos2dx_FadeOutDownTiles(tolua_S); lua_register_cocos2dx_StopGrid(tolua_S); - lua_register_cocos2dx_SimpleAudioEngine(tolua_S); lua_register_cocos2dx_SkewTo(tolua_S); lua_register_cocos2dx_SkewBy(tolua_S); lua_register_cocos2dx_EaseQuadraticActionOut(tolua_S); diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp index a2dfeae009..d38bcfdf91 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp @@ -1547,27 +1547,6 @@ int register_all_cocos2dx(lua_State* tolua_S); - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.cpp new file mode 100644 index 0000000000..02ec7accb5 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.cpp @@ -0,0 +1,2772 @@ +#include "lua_cocos2dx_cocosbuilder_auto.hpp" +#include "CocosBuilder.h" +#include "tolua_fix.h" +#include "LuaBasicConversions.h" + + + +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + cocos2d::Node* arg0; + cocos2d::Node* arg1; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + + ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); + if(!ok) + return 0; + cobj->moveAnimationsFromNode(arg0, arg1); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:moveAnimationsFromNode",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setAutoPlaySequenceId(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setAutoPlaySequenceId'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + int arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:setAutoPlaySequenceId"); + if(!ok) + return 0; + cobj->setAutoPlaySequenceId(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setAutoPlaySequenceId",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setAutoPlaySequenceId'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNames(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNames'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector& ret = cobj->getDocumentCallbackNames(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNames",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNames'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForSoundChannel(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForSoundChannel'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocosbuilder::CCBSequenceProperty* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequenceProperty",&arg0); + if(!ok) + return 0; + cocos2d::Sequence* ret = cobj->actionForSoundChannel(arg0); + object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForSoundChannel",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForSoundChannel'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setBaseValue(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setBaseValue'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 3) + { + cocos2d::Value arg0; + cocos2d::Node* arg1; + std::string arg2; + + ok &= luaval_to_ccvalue(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setBaseValue"); + + ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); + + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setBaseValue"); + if(!ok) + return 0; + cobj->setBaseValue(arg0, arg1, arg2); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setBaseValue",argc, 3); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setBaseValue'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNodes(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNodes'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getDocumentOutletNodes(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNodes",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNodes'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getLastCompletedSequenceName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getLastCompletedSequenceName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + std::string ret = cobj->getLastCompletedSequenceName(); + tolua_pushcppstring(tolua_S,ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getLastCompletedSequenceName",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getLastCompletedSequenceName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + cobj->setRootNode(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootNode",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + const char* arg0; + double arg1; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); + if(!ok) + return 0; + cobj->runAnimationsForSequenceNamedTweenDuration(arg0, arg1); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentOutletName"); + if(!ok) + return 0; + cobj->addDocumentOutletName(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletName",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequences(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequences'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getSequences(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequences",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequences'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootContainerSize(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootContainerSize'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + const cocos2d::Size& ret = cobj->getRootContainerSize(); + size_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootContainerSize",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootContainerSize'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setDocumentControllerName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setDocumentControllerName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:setDocumentControllerName"); + if(!ok) + return 0; + cobj->setDocumentControllerName(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setDocumentControllerName",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setDocumentControllerName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setObject(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setObject'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 3) + { + cocos2d::Ref* arg0; + cocos2d::Node* arg1; + std::string arg2; + + ok &= luaval_to_object(tolua_S, 2, "cc.Ref",&arg0); + + ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); + + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setObject"); + if(!ok) + return 0; + cobj->setObject(arg0, arg1, arg2); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setObject",argc, 3); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setObject'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getContainerSize(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getContainerSize'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + const cocos2d::Size& ret = cobj->getContainerSize(arg0); + size_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getContainerSize",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getContainerSize'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForCallbackChannel(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForCallbackChannel'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocosbuilder::CCBSequenceProperty* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequenceProperty",&arg0); + if(!ok) + return 0; + cocos2d::Sequence* ret = cobj->actionForCallbackChannel(arg0); + object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForCallbackChannel",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForCallbackChannel'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNames(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNames'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector& ret = cobj->getDocumentOutletNames(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNames",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNames'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackControlEvents(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackControlEvents'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::extension::Control::EventType arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:addDocumentCallbackControlEvents"); + if(!ok) + return 0; + cobj->addDocumentCallbackControlEvents(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackControlEvents",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackControlEvents'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_init(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_init'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + bool ret = cobj->init(); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:init",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_init'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getKeyframeCallbacks(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getKeyframeCallbacks'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector& ret = cobj->getKeyframeCallbacks(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getKeyframeCallbacks",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getKeyframeCallbacks'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackControlEvents(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackControlEvents'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector& ret = cobj->getDocumentCallbackControlEvents(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackControlEvents",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackControlEvents'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootContainerSize(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootContainerSize'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Size arg0; + + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setRootContainerSize"); + if(!ok) + return 0; + cobj->setRootContainerSize(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootContainerSize",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootContainerSize'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 2) + { + int arg0; + double arg1; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); + + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); + if(!ok) + return 0; + cobj->runAnimationsForSequenceIdTweenDuration(arg0, arg1); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration",argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRunningSequenceName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRunningSequenceName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + const char* ret = cobj->getRunningSequenceName(); + tolua_pushstring(tolua_S,(const char*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRunningSequenceName",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRunningSequenceName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getAutoPlaySequenceId(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getAutoPlaySequenceId'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + int ret = cobj->getAutoPlaySequenceId(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getAutoPlaySequenceId",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getAutoPlaySequenceId'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentCallbackName"); + if(!ok) + return 0; + cobj->addDocumentCallbackName(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackName",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Node* ret = cobj->getRootNode(); + object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootNode",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + cobj->addDocumentOutletNode(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletNode",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceDuration(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceDuration'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceDuration"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + double ret = cobj->getSequenceDuration(arg0); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceDuration",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceDuration'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + cobj->addDocumentCallbackNode(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackNode",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamed(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamed'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamed"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->runAnimationsForSequenceNamed(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamed",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamed'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceId(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceId'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceId"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + int ret = cobj->getSequenceId(arg0); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceId",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceId'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNodes(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNodes'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getDocumentCallbackNodes(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNodes",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNodes'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_setSequences(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setSequences'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Vector arg0; + + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setSequences"); + if(!ok) + return 0; + cobj->setSequences(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setSequences",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_setSequences'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_debug(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_debug'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->debug(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:debug",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_debug'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentControllerName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentControllerName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + std::string ret = cobj->getDocumentControllerName(); + tolua_pushcppstring(tolua_S,ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentControllerName",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentControllerName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBAnimationManager_constructor(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBAnimationManager* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj = new cocosbuilder::CCBAnimationManager(); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBAnimationManager"); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:CCBAnimationManager",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBAnimationManager_constructor'.",&tolua_err); +#endif + + return 0; +} + +static int lua_cocos2dx_cocosbuilder_CCBAnimationManager_finalize(lua_State* tolua_S) +{ + printf("luabindings: finalizing LUA object (CCBAnimationManager)"); + return 0; +} + +int lua_register_cocos2dx_cocosbuilder_CCBAnimationManager(lua_State* tolua_S) +{ + tolua_usertype(tolua_S,"cc.CCBAnimationManager"); + tolua_cclass(tolua_S,"CCBAnimationManager","cc.CCBAnimationManager","cc.Ref",nullptr); + + tolua_beginmodule(tolua_S,"CCBAnimationManager"); + tolua_function(tolua_S,"new",lua_cocos2dx_cocosbuilder_CCBAnimationManager_constructor); + tolua_function(tolua_S,"moveAnimationsFromNode",lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode); + tolua_function(tolua_S,"setAutoPlaySequenceId",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setAutoPlaySequenceId); + tolua_function(tolua_S,"getDocumentCallbackNames",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNames); + tolua_function(tolua_S,"actionForSoundChannel",lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForSoundChannel); + tolua_function(tolua_S,"setBaseValue",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setBaseValue); + tolua_function(tolua_S,"getDocumentOutletNodes",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNodes); + tolua_function(tolua_S,"getLastCompletedSequenceName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getLastCompletedSequenceName); + tolua_function(tolua_S,"setRootNode",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootNode); + tolua_function(tolua_S,"runAnimationsForSequenceNamedTweenDuration",lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration); + tolua_function(tolua_S,"addDocumentOutletName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletName); + tolua_function(tolua_S,"getSequences",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequences); + tolua_function(tolua_S,"getRootContainerSize",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootContainerSize); + tolua_function(tolua_S,"setDocumentControllerName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setDocumentControllerName); + tolua_function(tolua_S,"setObject",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setObject); + tolua_function(tolua_S,"getContainerSize",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getContainerSize); + tolua_function(tolua_S,"actionForCallbackChannel",lua_cocos2dx_cocosbuilder_CCBAnimationManager_actionForCallbackChannel); + tolua_function(tolua_S,"getDocumentOutletNames",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentOutletNames); + tolua_function(tolua_S,"addDocumentCallbackControlEvents",lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackControlEvents); + tolua_function(tolua_S,"init",lua_cocos2dx_cocosbuilder_CCBAnimationManager_init); + tolua_function(tolua_S,"getKeyframeCallbacks",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getKeyframeCallbacks); + tolua_function(tolua_S,"getDocumentCallbackControlEvents",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackControlEvents); + tolua_function(tolua_S,"setRootContainerSize",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setRootContainerSize); + tolua_function(tolua_S,"runAnimationsForSequenceIdTweenDuration",lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration); + tolua_function(tolua_S,"getRunningSequenceName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRunningSequenceName); + tolua_function(tolua_S,"getAutoPlaySequenceId",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getAutoPlaySequenceId); + tolua_function(tolua_S,"addDocumentCallbackName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackName); + tolua_function(tolua_S,"getRootNode",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getRootNode); + tolua_function(tolua_S,"addDocumentOutletNode",lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentOutletNode); + tolua_function(tolua_S,"getSequenceDuration",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceDuration); + tolua_function(tolua_S,"addDocumentCallbackNode",lua_cocos2dx_cocosbuilder_CCBAnimationManager_addDocumentCallbackNode); + tolua_function(tolua_S,"runAnimationsForSequenceNamed",lua_cocos2dx_cocosbuilder_CCBAnimationManager_runAnimationsForSequenceNamed); + tolua_function(tolua_S,"getSequenceId",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getSequenceId); + tolua_function(tolua_S,"getDocumentCallbackNodes",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentCallbackNodes); + tolua_function(tolua_S,"setSequences",lua_cocos2dx_cocosbuilder_CCBAnimationManager_setSequences); + tolua_function(tolua_S,"debug",lua_cocos2dx_cocosbuilder_CCBAnimationManager_debug); + tolua_function(tolua_S,"getDocumentControllerName",lua_cocos2dx_cocosbuilder_CCBAnimationManager_getDocumentControllerName); + tolua_endmodule(tolua_S); + std::string typeName = typeid(cocosbuilder::CCBAnimationManager).name(); + g_luaType[typeName] = "cc.CCBAnimationManager"; + g_typeCast["CCBAnimationManager"] = "cc.CCBAnimationManager"; + return 1; +} + +int lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletName(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletName'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + std::string arg0; + + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBReader:addOwnerOutletName"); + if(!ok) + return 0; + cobj->addOwnerOutletName(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletName",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletName'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNames(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNames'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector ret = cobj->getOwnerCallbackNames(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNames",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNames'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_addDocumentCallbackControlEvents(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_addDocumentCallbackControlEvents'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::extension::Control::EventType arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addDocumentCallbackControlEvents"); + if(!ok) + return 0; + cobj->addDocumentCallbackControlEvents(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addDocumentCallbackControlEvents",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_addDocumentCallbackControlEvents'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_setCCBRootPath(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_setCCBRootPath'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBReader:setCCBRootPath"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->setCCBRootPath(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setCCBRootPath",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_setCCBRootPath'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletNode(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletNode'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::Node* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + cobj->addOwnerOutletNode(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletNode",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletNode'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNodes(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNodes'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getOwnerCallbackNodes(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNodes",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNodes'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_readSoundKeyframesForSeq(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_readSoundKeyframesForSeq'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocosbuilder::CCBSequence* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequence",&arg0); + if(!ok) + return 0; + bool ret = cobj->readSoundKeyframesForSeq(arg0); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readSoundKeyframesForSeq",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_readSoundKeyframesForSeq'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getCCBRootPath(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getCCBRootPath'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + const std::string& ret = cobj->getCCBRootPath(); + tolua_pushcppstring(tolua_S,ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getCCBRootPath",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getCCBRootPath'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackControlEvents(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackControlEvents'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector& ret = cobj->getOwnerCallbackControlEvents(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackControlEvents",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackControlEvents'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNodes(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNodes'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getOwnerOutletNodes(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNodes",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNodes'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_readUTF8(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_readUTF8'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + std::string ret = cobj->readUTF8(); + tolua_pushcppstring(tolua_S,ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readUTF8",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_readUTF8'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_addOwnerCallbackControlEvents(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerCallbackControlEvents'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocos2d::extension::Control::EventType arg0; + + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addOwnerCallbackControlEvents"); + if(!ok) + return 0; + cobj->addOwnerCallbackControlEvents(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerCallbackControlEvents",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_addOwnerCallbackControlEvents'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNames(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNames'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::ValueVector ret = cobj->getOwnerOutletNames(); + ccvaluevector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNames",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNames'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_setAnimationManager(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_setAnimationManager'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocosbuilder::CCBAnimationManager* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.CCBAnimationManager",&arg0); + if(!ok) + return 0; + cobj->setAnimationManager(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setAnimationManager",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_setAnimationManager'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_readCallbackKeyframesForSeq(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_readCallbackKeyframesForSeq'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + cocosbuilder::CCBSequence* arg0; + + ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequence",&arg0); + if(!ok) + return 0; + bool ret = cobj->readCallbackKeyframesForSeq(arg0); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readCallbackKeyframesForSeq",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_readCallbackKeyframesForSeq'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManagersForNodes(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManagersForNodes'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getAnimationManagersForNodes(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManagersForNodes",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManagersForNodes'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getNodesWithAnimationManagers(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getNodesWithAnimationManagers'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocos2d::Vector& ret = cobj->getNodesWithAnimationManagers(); + ccvector_to_luaval(tolua_S, ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getNodesWithAnimationManagers",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getNodesWithAnimationManagers'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManager(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManager'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cocosbuilder::CCBAnimationManager* ret = cobj->getAnimationManager(); + object_to_luaval(tolua_S, "cc.CCBAnimationManager",(cocosbuilder::CCBAnimationManager*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManager",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManager'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_setResolutionScale(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + double arg0; + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CCBReader:setResolutionScale"); + if(!ok) + return 0; + cocosbuilder::CCBReader::setResolutionScale(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.CCBReader:setResolutionScale",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_setResolutionScale'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_cocosbuilder_CCBReader_constructor(lua_State* tolua_S) +{ + int argc = 0; + cocosbuilder::CCBReader* cobj = nullptr; + bool ok = true; +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + argc = lua_gettop(tolua_S)-1; + do{ + if (argc == 1) { + cocosbuilder::CCBReader* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.CCBReader",&arg0); + + if (!ok) { break; } + cobj = new cocosbuilder::CCBReader(arg0); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 1) { + cocosbuilder::NodeLoaderLibrary* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); + + if (!ok) { break; } + cobj = new cocosbuilder::CCBReader(arg0); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 2) { + cocosbuilder::NodeLoaderLibrary* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); + + if (!ok) { break; } + cocosbuilder::CCBMemberVariableAssigner* arg1; + ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); + + if (!ok) { break; } + cobj = new cocosbuilder::CCBReader(arg0, arg1); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 3) { + cocosbuilder::NodeLoaderLibrary* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); + + if (!ok) { break; } + cocosbuilder::CCBMemberVariableAssigner* arg1; + ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); + + if (!ok) { break; } + cocosbuilder::CCBSelectorResolver* arg2; + ok &= luaval_to_object(tolua_S, 4, "cc.CCBSelectorResolver",&arg2); + + if (!ok) { break; } + cobj = new cocosbuilder::CCBReader(arg0, arg1, arg2); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 4) { + cocosbuilder::NodeLoaderLibrary* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); + + if (!ok) { break; } + cocosbuilder::CCBMemberVariableAssigner* arg1; + ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); + + if (!ok) { break; } + cocosbuilder::CCBSelectorResolver* arg2; + ok &= luaval_to_object(tolua_S, 4, "cc.CCBSelectorResolver",&arg2); + + if (!ok) { break; } + cocosbuilder::NodeLoaderListener* arg3; + ok &= luaval_to_object(tolua_S, 5, "cc.NodeLoaderListener",&arg3); + + if (!ok) { break; } + cobj = new cocosbuilder::CCBReader(arg0, arg1, arg2, arg3); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + do{ + if (argc == 0) { + cobj = new cocosbuilder::CCBReader(); + cobj->autorelease(); + int ID = (int)cobj->_ID ; + int* luaID = &cobj->_luaID ; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); + return 1; + } + }while(0); + ok = true; + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:CCBReader",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosbuilder_CCBReader_constructor'.",&tolua_err); +#endif + + return 0; +} + +static int lua_cocos2dx_cocosbuilder_CCBReader_finalize(lua_State* tolua_S) +{ + printf("luabindings: finalizing LUA object (CCBReader)"); + return 0; +} + +int lua_register_cocos2dx_cocosbuilder_CCBReader(lua_State* tolua_S) +{ + tolua_usertype(tolua_S,"cc.CCBReader"); + tolua_cclass(tolua_S,"CCBReader","cc.CCBReader","cc.Ref",nullptr); + + tolua_beginmodule(tolua_S,"CCBReader"); + tolua_function(tolua_S,"new",lua_cocos2dx_cocosbuilder_CCBReader_constructor); + tolua_function(tolua_S,"addOwnerOutletName",lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletName); + tolua_function(tolua_S,"getOwnerCallbackNames",lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNames); + tolua_function(tolua_S,"addDocumentCallbackControlEvents",lua_cocos2dx_cocosbuilder_CCBReader_addDocumentCallbackControlEvents); + tolua_function(tolua_S,"setCCBRootPath",lua_cocos2dx_cocosbuilder_CCBReader_setCCBRootPath); + tolua_function(tolua_S,"addOwnerOutletNode",lua_cocos2dx_cocosbuilder_CCBReader_addOwnerOutletNode); + tolua_function(tolua_S,"getOwnerCallbackNodes",lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackNodes); + tolua_function(tolua_S,"readSoundKeyframesForSeq",lua_cocos2dx_cocosbuilder_CCBReader_readSoundKeyframesForSeq); + tolua_function(tolua_S,"getCCBRootPath",lua_cocos2dx_cocosbuilder_CCBReader_getCCBRootPath); + tolua_function(tolua_S,"getOwnerCallbackControlEvents",lua_cocos2dx_cocosbuilder_CCBReader_getOwnerCallbackControlEvents); + tolua_function(tolua_S,"getOwnerOutletNodes",lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNodes); + tolua_function(tolua_S,"readUTF8",lua_cocos2dx_cocosbuilder_CCBReader_readUTF8); + tolua_function(tolua_S,"addOwnerCallbackControlEvents",lua_cocos2dx_cocosbuilder_CCBReader_addOwnerCallbackControlEvents); + tolua_function(tolua_S,"getOwnerOutletNames",lua_cocos2dx_cocosbuilder_CCBReader_getOwnerOutletNames); + tolua_function(tolua_S,"setActionManager",lua_cocos2dx_cocosbuilder_CCBReader_setAnimationManager); + tolua_function(tolua_S,"readCallbackKeyframesForSeq",lua_cocos2dx_cocosbuilder_CCBReader_readCallbackKeyframesForSeq); + tolua_function(tolua_S,"getAnimationManagersForNodes",lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManagersForNodes); + tolua_function(tolua_S,"getNodesWithAnimationManagers",lua_cocos2dx_cocosbuilder_CCBReader_getNodesWithAnimationManagers); + tolua_function(tolua_S,"getActionManager",lua_cocos2dx_cocosbuilder_CCBReader_getAnimationManager); + tolua_function(tolua_S,"setResolutionScale", lua_cocos2dx_cocosbuilder_CCBReader_setResolutionScale); + tolua_endmodule(tolua_S); + std::string typeName = typeid(cocosbuilder::CCBReader).name(); + g_luaType[typeName] = "cc.CCBReader"; + g_typeCast["CCBReader"] = "cc.CCBReader"; + return 1; +} +TOLUA_API int register_all_cocos2dx_cocosbuilder(lua_State* tolua_S) +{ + tolua_open(tolua_S); + + tolua_module(tolua_S,"cc",0); + tolua_beginmodule(tolua_S,"cc"); + + lua_register_cocos2dx_cocosbuilder_CCBAnimationManager(tolua_S); + lua_register_cocos2dx_cocosbuilder_CCBReader(tolua_S); + + tolua_endmodule(tolua_S); + return 1; +} + diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.hpp new file mode 100644 index 0000000000..42f7b98e06 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.hpp @@ -0,0 +1,74 @@ +#include "base/ccConfig.h" +#ifndef __cocos2dx_cocosbuilder_h__ +#define __cocos2dx_cocosbuilder_h__ + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +int register_all_cocos2dx_cocosbuilder(lua_State* tolua_S); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#endif // __cocos2dx_cocosbuilder_h__ diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.cpp new file mode 100644 index 0000000000..34447cf1f1 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.cpp @@ -0,0 +1,1157 @@ +#include "lua_cocos2dx_cocosdenshion_auto.hpp" +#include "SimpleAudioEngine.h" +#include "tolua_fix.h" +#include "LuaBasicConversions.h" + + + +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadBackgroundMusic"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->preloadBackgroundMusic(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadBackgroundMusic",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->stopBackgroundMusic(); + return 0; + } + if (argc == 1) + { + bool arg0; + + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopBackgroundMusic"); + if(!ok) + return 0; + cobj->stopBackgroundMusic(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopBackgroundMusic",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopAllEffects(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopAllEffects'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->stopAllEffects(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopAllEffects",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopAllEffects'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getBackgroundMusicVolume(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getBackgroundMusicVolume'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + double ret = cobj->getBackgroundMusicVolume(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getBackgroundMusicVolume",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getBackgroundMusicVolume'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->resumeBackgroundMusic(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeBackgroundMusic",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setBackgroundMusicVolume(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setBackgroundMusicVolume'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + double arg0; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setBackgroundMusicVolume"); + if(!ok) + return 0; + cobj->setBackgroundMusicVolume(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setBackgroundMusicVolume",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setBackgroundMusicVolume'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadEffect"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->preloadEffect(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_isBackgroundMusicPlaying(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_isBackgroundMusicPlaying'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + bool ret = cobj->isBackgroundMusicPlaying(); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:isBackgroundMusicPlaying",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_isBackgroundMusicPlaying'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getEffectsVolume(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getEffectsVolume'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + double ret = cobj->getEffectsVolume(); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getEffectsVolume",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getEffectsVolume'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_willPlayBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_willPlayBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + bool ret = cobj->willPlayBackgroundMusic(); + tolua_pushboolean(tolua_S,(bool)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:willPlayBackgroundMusic",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_willPlayBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + unsigned int arg0; + + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:pauseEffect"); + if(!ok) + return 0; + cobj->pauseEffect(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + unsigned int ret = cobj->playEffect(arg0); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + if (argc == 2) + { + const char* arg0; + bool arg1; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); + if(!ok) + return 0; + unsigned int ret = cobj->playEffect(arg0, arg1); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + if (argc == 3) + { + const char* arg0; + bool arg1; + double arg2; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); + if(!ok) + return 0; + unsigned int ret = cobj->playEffect(arg0, arg1, arg2); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + if (argc == 4) + { + const char* arg0; + bool arg1; + double arg2; + double arg3; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); + if(!ok) + return 0; + unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + if (argc == 5) + { + const char* arg0; + bool arg1; + double arg2; + double arg3; + double arg4; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); + + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.SimpleAudioEngine:playEffect"); + if(!ok) + return 0; + unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3, arg4); + tolua_pushnumber(tolua_S,(lua_Number)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_rewindBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_rewindBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->rewindBackgroundMusic(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:rewindBackgroundMusic",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_rewindBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->playBackgroundMusic(arg0); + return 0; + } + if (argc == 2) + { + const char* arg0; + bool arg1; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); + + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playBackgroundMusic"); + if(!ok) + return 0; + cobj->playBackgroundMusic(arg0, arg1); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playBackgroundMusic",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeAllEffects(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeAllEffects'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->resumeAllEffects(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeAllEffects",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeAllEffects'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setEffectsVolume(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setEffectsVolume'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + double arg0; + + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setEffectsVolume"); + if(!ok) + return 0; + cobj->setEffectsVolume(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setEffectsVolume",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setEffectsVolume'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + unsigned int arg0; + + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopEffect"); + if(!ok) + return 0; + cobj->stopEffect(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseBackgroundMusic(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseBackgroundMusic'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->pauseBackgroundMusic(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseBackgroundMusic",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseBackgroundMusic'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseAllEffects(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseAllEffects'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 0) + { + if(!ok) + return 0; + cobj->pauseAllEffects(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseAllEffects",argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseAllEffects'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_unloadEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_unloadEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + const char* arg0; + + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:unloadEffect"); arg0 = arg0_tmp.c_str(); + if(!ok) + return 0; + cobj->unloadEffect(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:unloadEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_unloadEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeEffect(lua_State* tolua_S) +{ + int argc = 0; + CocosDenshion::SimpleAudioEngine* cobj = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + cobj = (CocosDenshion::SimpleAudioEngine*)tolua_tousertype(tolua_S,1,0); + +#if COCOS2D_DEBUG >= 1 + if (!cobj) + { + tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeEffect'", nullptr); + return 0; + } +#endif + + argc = lua_gettop(tolua_S)-1; + if (argc == 1) + { + unsigned int arg0; + + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:resumeEffect"); + if(!ok) + return 0; + cobj->resumeEffect(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeEffect",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeEffect'.",&tolua_err); +#endif + + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_end(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 0) + { + if(!ok) + return 0; + CocosDenshion::SimpleAudioEngine::end(); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:end",argc, 0); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_end'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getInstance(lua_State* tolua_S) +{ + int argc = 0; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; +#endif + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertable(tolua_S,1,"cc.SimpleAudioEngine",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 0) + { + if(!ok) + return 0; + CocosDenshion::SimpleAudioEngine* ret = CocosDenshion::SimpleAudioEngine::getInstance(); + object_to_luaval(tolua_S, "cc.SimpleAudioEngine",(CocosDenshion::SimpleAudioEngine*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:getInstance",argc, 0); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getInstance'.",&tolua_err); +#endif + return 0; +} +static int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_finalize(lua_State* tolua_S) +{ + printf("luabindings: finalizing LUA object (SimpleAudioEngine)"); + return 0; +} + +int lua_register_cocos2dx_cocosdenshion_SimpleAudioEngine(lua_State* tolua_S) +{ + tolua_usertype(tolua_S,"cc.SimpleAudioEngine"); + tolua_cclass(tolua_S,"SimpleAudioEngine","cc.SimpleAudioEngine","",nullptr); + + tolua_beginmodule(tolua_S,"SimpleAudioEngine"); + tolua_function(tolua_S,"preloadMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic); + tolua_function(tolua_S,"stopMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopBackgroundMusic); + tolua_function(tolua_S,"stopAllEffects",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopAllEffects); + tolua_function(tolua_S,"getMusicVolume",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getBackgroundMusicVolume); + tolua_function(tolua_S,"resumeMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeBackgroundMusic); + tolua_function(tolua_S,"setMusicVolume",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setBackgroundMusicVolume); + tolua_function(tolua_S,"preloadEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadEffect); + tolua_function(tolua_S,"isMusicPlaying",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_isBackgroundMusicPlaying); + tolua_function(tolua_S,"getEffectsVolume",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getEffectsVolume); + tolua_function(tolua_S,"willPlayMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_willPlayBackgroundMusic); + tolua_function(tolua_S,"pauseEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseEffect); + tolua_function(tolua_S,"playEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playEffect); + tolua_function(tolua_S,"rewindMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_rewindBackgroundMusic); + tolua_function(tolua_S,"playMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_playBackgroundMusic); + tolua_function(tolua_S,"resumeAllEffects",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeAllEffects); + tolua_function(tolua_S,"setEffectsVolume",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_setEffectsVolume); + tolua_function(tolua_S,"stopEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_stopEffect); + tolua_function(tolua_S,"pauseMusic",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseBackgroundMusic); + tolua_function(tolua_S,"pauseAllEffects",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_pauseAllEffects); + tolua_function(tolua_S,"unloadEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_unloadEffect); + tolua_function(tolua_S,"resumeEffect",lua_cocos2dx_cocosdenshion_SimpleAudioEngine_resumeEffect); + tolua_function(tolua_S,"destroyInstance", lua_cocos2dx_cocosdenshion_SimpleAudioEngine_end); + tolua_function(tolua_S,"getInstance", lua_cocos2dx_cocosdenshion_SimpleAudioEngine_getInstance); + tolua_endmodule(tolua_S); + std::string typeName = typeid(CocosDenshion::SimpleAudioEngine).name(); + g_luaType[typeName] = "cc.SimpleAudioEngine"; + g_typeCast["SimpleAudioEngine"] = "cc.SimpleAudioEngine"; + return 1; +} +TOLUA_API int register_all_cocos2dx_cocosdenshion(lua_State* tolua_S) +{ + tolua_open(tolua_S); + + tolua_module(tolua_S,"cc",0); + tolua_beginmodule(tolua_S,"cc"); + + lua_register_cocos2dx_cocosdenshion_SimpleAudioEngine(tolua_S); + + tolua_endmodule(tolua_S); + return 1; +} + diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.hpp new file mode 100644 index 0000000000..344cb92a54 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.hpp @@ -0,0 +1,39 @@ +#include "base/ccConfig.h" +#ifndef __cocos2dx_cocosdenshion_h__ +#define __cocos2dx_cocosdenshion_h__ + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +int register_all_cocos2dx_cocosdenshion(lua_State* tolua_S); + + + + + + + + + + + + + + + + + + + + + + + + + +#endif // __cocos2dx_cocosdenshion_h__ diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp index 00d8283f47..81f1c26626 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp @@ -1,6 +1,5 @@ #include "lua_cocos2dx_extension_auto.hpp" #include "cocos-ext.h" -#include "CocosBuilder.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" @@ -13837,2758 +13836,6 @@ int lua_register_cocos2dx_extension_AssetsManager(lua_State* tolua_S) g_typeCast["AssetsManager"] = "cc.AssetsManager"; return 1; } - -int lua_cocos2dx_extension_CCBAnimationManager_moveAnimationsFromNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_moveAnimationsFromNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - cocos2d::Node* arg0; - cocos2d::Node* arg1; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - - ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - if(!ok) - return 0; - cobj->moveAnimationsFromNode(arg0, arg1); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:moveAnimationsFromNode",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_moveAnimationsFromNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setAutoPlaySequenceId(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setAutoPlaySequenceId'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - int arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:setAutoPlaySequenceId"); - if(!ok) - return 0; - cobj->setAutoPlaySequenceId(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setAutoPlaySequenceId",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setAutoPlaySequenceId'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNames(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector& ret = cobj->getDocumentCallbackNames(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNames",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_actionForSoundChannel(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_actionForSoundChannel'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocosbuilder::CCBSequenceProperty* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequenceProperty",&arg0); - if(!ok) - return 0; - cocos2d::Sequence* ret = cobj->actionForSoundChannel(arg0); - object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForSoundChannel",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_actionForSoundChannel'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setBaseValue(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setBaseValue'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 3) - { - cocos2d::Value arg0; - cocos2d::Node* arg1; - std::string arg2; - - ok &= luaval_to_ccvalue(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setBaseValue"); - - ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - - ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setBaseValue"); - if(!ok) - return 0; - cobj->setBaseValue(arg0, arg1, arg2); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setBaseValue",argc, 3); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setBaseValue'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNodes(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNodes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getDocumentOutletNodes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNodes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNodes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getLastCompletedSequenceName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getLastCompletedSequenceName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - std::string ret = cobj->getLastCompletedSequenceName(); - tolua_pushcppstring(tolua_S,ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getLastCompletedSequenceName",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getLastCompletedSequenceName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setRootNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setRootNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - if(!ok) - return 0; - cobj->setRootNode(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootNode",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setRootNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - const char* arg0; - double arg1; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); arg0 = arg0_tmp.c_str(); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); - if(!ok) - return 0; - cobj->runAnimationsForSequenceNamedTweenDuration(arg0, arg1); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::string arg0; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentOutletName"); - if(!ok) - return 0; - cobj->addDocumentOutletName(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletName",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getSequences(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequences'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getSequences(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequences",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequences'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getRootContainerSize(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getRootContainerSize'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - const cocos2d::Size& ret = cobj->getRootContainerSize(); - size_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootContainerSize",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getRootContainerSize'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setDocumentControllerName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setDocumentControllerName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::string arg0; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:setDocumentControllerName"); - if(!ok) - return 0; - cobj->setDocumentControllerName(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setDocumentControllerName",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setDocumentControllerName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setObject(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setObject'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 3) - { - cocos2d::Ref* arg0; - cocos2d::Node* arg1; - std::string arg2; - - ok &= luaval_to_object(tolua_S, 2, "cc.Ref",&arg0); - - ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - - ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setObject"); - if(!ok) - return 0; - cobj->setObject(arg0, arg1, arg2); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setObject",argc, 3); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setObject'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getContainerSize(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getContainerSize'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - if(!ok) - return 0; - const cocos2d::Size& ret = cobj->getContainerSize(arg0); - size_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getContainerSize",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getContainerSize'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_actionForCallbackChannel(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_actionForCallbackChannel'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocosbuilder::CCBSequenceProperty* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequenceProperty",&arg0); - if(!ok) - return 0; - cocos2d::Sequence* ret = cobj->actionForCallbackChannel(arg0); - object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForCallbackChannel",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_actionForCallbackChannel'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNames(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector& ret = cobj->getDocumentOutletNames(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNames",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackControlEvents(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackControlEvents'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::extension::Control::EventType arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:addDocumentCallbackControlEvents"); - if(!ok) - return 0; - cobj->addDocumentCallbackControlEvents(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackControlEvents",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackControlEvents'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_init(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_init'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - bool ret = cobj->init(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:init",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_init'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getKeyframeCallbacks(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getKeyframeCallbacks'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector& ret = cobj->getKeyframeCallbacks(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getKeyframeCallbacks",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getKeyframeCallbacks'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackControlEvents(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackControlEvents'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector& ret = cobj->getDocumentCallbackControlEvents(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackControlEvents",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackControlEvents'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setRootContainerSize(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setRootContainerSize'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Size arg0; - - ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setRootContainerSize"); - if(!ok) - return 0; - cobj->setRootContainerSize(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootContainerSize",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setRootContainerSize'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 2) - { - int arg0; - double arg1; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); - - ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); - if(!ok) - return 0; - cobj->runAnimationsForSequenceIdTweenDuration(arg0, arg1); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration",argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getRunningSequenceName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getRunningSequenceName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - const char* ret = cobj->getRunningSequenceName(); - tolua_pushstring(tolua_S,(const char*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRunningSequenceName",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getRunningSequenceName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getAutoPlaySequenceId(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getAutoPlaySequenceId'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - int ret = cobj->getAutoPlaySequenceId(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getAutoPlaySequenceId",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getAutoPlaySequenceId'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::string arg0; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentCallbackName"); - if(!ok) - return 0; - cobj->addDocumentCallbackName(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackName",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getRootNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getRootNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Node* ret = cobj->getRootNode(); - object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootNode",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getRootNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - if(!ok) - return 0; - cobj->addDocumentOutletNode(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletNode",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getSequenceDuration(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequenceDuration'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceDuration"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - double ret = cobj->getSequenceDuration(arg0); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceDuration",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequenceDuration'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - if(!ok) - return 0; - cobj->addDocumentCallbackNode(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackNode",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamed(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamed'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamed"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->runAnimationsForSequenceNamed(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamed",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamed'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getSequenceId(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequenceId'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceId"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - int ret = cobj->getSequenceId(arg0); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceId",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getSequenceId'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNodes(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNodes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getDocumentCallbackNodes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNodes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNodes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_setSequences(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_setSequences'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Vector arg0; - - ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setSequences"); - if(!ok) - return 0; - cobj->setSequences(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setSequences",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_setSequences'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_debug(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_debug'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj->debug(); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:debug",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_debug'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_getDocumentControllerName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBAnimationManager*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentControllerName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - std::string ret = cobj->getDocumentControllerName(); - tolua_pushcppstring(tolua_S,ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentControllerName",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_getDocumentControllerName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBAnimationManager_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBAnimationManager* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cobj = new cocosbuilder::CCBAnimationManager(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBAnimationManager"); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:CCBAnimationManager",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBAnimationManager_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_extension_CCBAnimationManager_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (CCBAnimationManager)"); - return 0; -} - -int lua_register_cocos2dx_extension_CCBAnimationManager(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.CCBAnimationManager"); - tolua_cclass(tolua_S,"CCBAnimationManager","cc.CCBAnimationManager","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"CCBAnimationManager"); - tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBAnimationManager_constructor); - tolua_function(tolua_S,"moveAnimationsFromNode",lua_cocos2dx_extension_CCBAnimationManager_moveAnimationsFromNode); - tolua_function(tolua_S,"setAutoPlaySequenceId",lua_cocos2dx_extension_CCBAnimationManager_setAutoPlaySequenceId); - tolua_function(tolua_S,"getDocumentCallbackNames",lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNames); - tolua_function(tolua_S,"actionForSoundChannel",lua_cocos2dx_extension_CCBAnimationManager_actionForSoundChannel); - tolua_function(tolua_S,"setBaseValue",lua_cocos2dx_extension_CCBAnimationManager_setBaseValue); - tolua_function(tolua_S,"getDocumentOutletNodes",lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNodes); - tolua_function(tolua_S,"getLastCompletedSequenceName",lua_cocos2dx_extension_CCBAnimationManager_getLastCompletedSequenceName); - tolua_function(tolua_S,"setRootNode",lua_cocos2dx_extension_CCBAnimationManager_setRootNode); - tolua_function(tolua_S,"runAnimationsForSequenceNamedTweenDuration",lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration); - tolua_function(tolua_S,"addDocumentOutletName",lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletName); - tolua_function(tolua_S,"getSequences",lua_cocos2dx_extension_CCBAnimationManager_getSequences); - tolua_function(tolua_S,"getRootContainerSize",lua_cocos2dx_extension_CCBAnimationManager_getRootContainerSize); - tolua_function(tolua_S,"setDocumentControllerName",lua_cocos2dx_extension_CCBAnimationManager_setDocumentControllerName); - tolua_function(tolua_S,"setObject",lua_cocos2dx_extension_CCBAnimationManager_setObject); - tolua_function(tolua_S,"getContainerSize",lua_cocos2dx_extension_CCBAnimationManager_getContainerSize); - tolua_function(tolua_S,"actionForCallbackChannel",lua_cocos2dx_extension_CCBAnimationManager_actionForCallbackChannel); - tolua_function(tolua_S,"getDocumentOutletNames",lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNames); - tolua_function(tolua_S,"addDocumentCallbackControlEvents",lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackControlEvents); - tolua_function(tolua_S,"init",lua_cocos2dx_extension_CCBAnimationManager_init); - tolua_function(tolua_S,"getKeyframeCallbacks",lua_cocos2dx_extension_CCBAnimationManager_getKeyframeCallbacks); - tolua_function(tolua_S,"getDocumentCallbackControlEvents",lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackControlEvents); - tolua_function(tolua_S,"setRootContainerSize",lua_cocos2dx_extension_CCBAnimationManager_setRootContainerSize); - tolua_function(tolua_S,"runAnimationsForSequenceIdTweenDuration",lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration); - tolua_function(tolua_S,"getRunningSequenceName",lua_cocos2dx_extension_CCBAnimationManager_getRunningSequenceName); - tolua_function(tolua_S,"getAutoPlaySequenceId",lua_cocos2dx_extension_CCBAnimationManager_getAutoPlaySequenceId); - tolua_function(tolua_S,"addDocumentCallbackName",lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackName); - tolua_function(tolua_S,"getRootNode",lua_cocos2dx_extension_CCBAnimationManager_getRootNode); - tolua_function(tolua_S,"addDocumentOutletNode",lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletNode); - tolua_function(tolua_S,"getSequenceDuration",lua_cocos2dx_extension_CCBAnimationManager_getSequenceDuration); - tolua_function(tolua_S,"addDocumentCallbackNode",lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackNode); - tolua_function(tolua_S,"runAnimationsForSequenceNamed",lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamed); - tolua_function(tolua_S,"getSequenceId",lua_cocos2dx_extension_CCBAnimationManager_getSequenceId); - tolua_function(tolua_S,"getDocumentCallbackNodes",lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNodes); - tolua_function(tolua_S,"setSequences",lua_cocos2dx_extension_CCBAnimationManager_setSequences); - tolua_function(tolua_S,"debug",lua_cocos2dx_extension_CCBAnimationManager_debug); - tolua_function(tolua_S,"getDocumentControllerName",lua_cocos2dx_extension_CCBAnimationManager_getDocumentControllerName); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocosbuilder::CCBAnimationManager).name(); - g_luaType[typeName] = "cc.CCBAnimationManager"; - g_typeCast["CCBAnimationManager"] = "cc.CCBAnimationManager"; - return 1; -} - -int lua_cocos2dx_extension_CCBReader_addOwnerOutletName(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_addOwnerOutletName'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - std::string arg0; - - ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBReader:addOwnerOutletName"); - if(!ok) - return 0; - cobj->addOwnerOutletName(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletName",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_addOwnerOutletName'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getOwnerCallbackNames(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackNames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector ret = cobj->getOwnerCallbackNames(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNames",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackNames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_addDocumentCallbackControlEvents(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_addDocumentCallbackControlEvents'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::extension::Control::EventType arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addDocumentCallbackControlEvents"); - if(!ok) - return 0; - cobj->addDocumentCallbackControlEvents(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addDocumentCallbackControlEvents",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_addDocumentCallbackControlEvents'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_setCCBRootPath(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_setCCBRootPath'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - const char* arg0; - - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBReader:setCCBRootPath"); arg0 = arg0_tmp.c_str(); - if(!ok) - return 0; - cobj->setCCBRootPath(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setCCBRootPath",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_setCCBRootPath'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_addOwnerOutletNode(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_addOwnerOutletNode'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::Node* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - if(!ok) - return 0; - cobj->addOwnerOutletNode(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletNode",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_addOwnerOutletNode'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getOwnerCallbackNodes(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackNodes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getOwnerCallbackNodes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNodes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackNodes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_readSoundKeyframesForSeq(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_readSoundKeyframesForSeq'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocosbuilder::CCBSequence* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequence",&arg0); - if(!ok) - return 0; - bool ret = cobj->readSoundKeyframesForSeq(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readSoundKeyframesForSeq",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_readSoundKeyframesForSeq'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getCCBRootPath(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getCCBRootPath'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - const std::string& ret = cobj->getCCBRootPath(); - tolua_pushcppstring(tolua_S,ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getCCBRootPath",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getCCBRootPath'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getOwnerCallbackControlEvents(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackControlEvents'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector& ret = cobj->getOwnerCallbackControlEvents(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackControlEvents",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getOwnerCallbackControlEvents'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getOwnerOutletNodes(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getOwnerOutletNodes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getOwnerOutletNodes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNodes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getOwnerOutletNodes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_readUTF8(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_readUTF8'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - std::string ret = cobj->readUTF8(); - tolua_pushcppstring(tolua_S,ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readUTF8",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_readUTF8'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_addOwnerCallbackControlEvents(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_addOwnerCallbackControlEvents'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocos2d::extension::Control::EventType arg0; - - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addOwnerCallbackControlEvents"); - if(!ok) - return 0; - cobj->addOwnerCallbackControlEvents(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerCallbackControlEvents",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_addOwnerCallbackControlEvents'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getOwnerOutletNames(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getOwnerOutletNames'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::ValueVector ret = cobj->getOwnerOutletNames(); - ccvaluevector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNames",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getOwnerOutletNames'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_setAnimationManager(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_setAnimationManager'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocosbuilder::CCBAnimationManager* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.CCBAnimationManager",&arg0); - if(!ok) - return 0; - cobj->setAnimationManager(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setAnimationManager",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_setAnimationManager'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_readCallbackKeyframesForSeq(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_readCallbackKeyframesForSeq'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - cocosbuilder::CCBSequence* arg0; - - ok &= luaval_to_object(tolua_S, 2, "cc.CCBSequence",&arg0); - if(!ok) - return 0; - bool ret = cobj->readCallbackKeyframesForSeq(arg0); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readCallbackKeyframesForSeq",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_readCallbackKeyframesForSeq'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getAnimationManagersForNodes(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getAnimationManagersForNodes'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getAnimationManagersForNodes(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManagersForNodes",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getAnimationManagersForNodes'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getNodesWithAnimationManagers(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getNodesWithAnimationManagers'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocos2d::Vector& ret = cobj->getNodesWithAnimationManagers(); - ccvector_to_luaval(tolua_S, ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getNodesWithAnimationManagers",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getNodesWithAnimationManagers'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_getAnimationManager(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (cocosbuilder::CCBReader*)tolua_tousertype(tolua_S,1,0); - -#if COCOS2D_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_extension_CCBReader_getAnimationManager'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - return 0; - cocosbuilder::CCBAnimationManager* ret = cobj->getAnimationManager(); - object_to_luaval(tolua_S, "cc.CCBAnimationManager",(cocosbuilder::CCBAnimationManager*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManager",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_getAnimationManager'.",&tolua_err); -#endif - - return 0; -} -int lua_cocos2dx_extension_CCBReader_setResolutionScale(lua_State* tolua_S) -{ - int argc = 0; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertable(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 1) - { - double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CCBReader:setResolutionScale"); - if(!ok) - return 0; - cocosbuilder::CCBReader::setResolutionScale(arg0); - return 0; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.CCBReader:setResolutionScale",argc, 1); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_setResolutionScale'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_extension_CCBReader_constructor(lua_State* tolua_S) -{ - int argc = 0; - cocosbuilder::CCBReader* cobj = nullptr; - bool ok = true; -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - argc = lua_gettop(tolua_S)-1; - do{ - if (argc == 1) { - cocosbuilder::CCBReader* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.CCBReader",&arg0); - - if (!ok) { break; } - cobj = new cocosbuilder::CCBReader(arg0); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 1) { - cocosbuilder::NodeLoaderLibrary* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); - - if (!ok) { break; } - cobj = new cocosbuilder::CCBReader(arg0); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 2) { - cocosbuilder::NodeLoaderLibrary* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); - - if (!ok) { break; } - cocosbuilder::CCBMemberVariableAssigner* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); - - if (!ok) { break; } - cobj = new cocosbuilder::CCBReader(arg0, arg1); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 3) { - cocosbuilder::NodeLoaderLibrary* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); - - if (!ok) { break; } - cocosbuilder::CCBMemberVariableAssigner* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); - - if (!ok) { break; } - cocosbuilder::CCBSelectorResolver* arg2; - ok &= luaval_to_object(tolua_S, 4, "cc.CCBSelectorResolver",&arg2); - - if (!ok) { break; } - cobj = new cocosbuilder::CCBReader(arg0, arg1, arg2); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 4) { - cocosbuilder::NodeLoaderLibrary* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.NodeLoaderLibrary",&arg0); - - if (!ok) { break; } - cocosbuilder::CCBMemberVariableAssigner* arg1; - ok &= luaval_to_object(tolua_S, 3, "cc.CCBMemberVariableAssigner",&arg1); - - if (!ok) { break; } - cocosbuilder::CCBSelectorResolver* arg2; - ok &= luaval_to_object(tolua_S, 4, "cc.CCBSelectorResolver",&arg2); - - if (!ok) { break; } - cocosbuilder::NodeLoaderListener* arg3; - ok &= luaval_to_object(tolua_S, 5, "cc.NodeLoaderListener",&arg3); - - if (!ok) { break; } - cobj = new cocosbuilder::CCBReader(arg0, arg1, arg2, arg3); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - do{ - if (argc == 0) { - cobj = new cocosbuilder::CCBReader(); - cobj->autorelease(); - int ID = (int)cobj->_ID ; - int* luaID = &cobj->_luaID ; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBReader"); - return 1; - } - }while(0); - ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:CCBReader",argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_extension_CCBReader_constructor'.",&tolua_err); -#endif - - return 0; -} - -static int lua_cocos2dx_extension_CCBReader_finalize(lua_State* tolua_S) -{ - printf("luabindings: finalizing LUA object (CCBReader)"); - return 0; -} - -int lua_register_cocos2dx_extension_CCBReader(lua_State* tolua_S) -{ - tolua_usertype(tolua_S,"cc.CCBReader"); - tolua_cclass(tolua_S,"CCBReader","cc.CCBReader","cc.Ref",nullptr); - - tolua_beginmodule(tolua_S,"CCBReader"); - tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBReader_constructor); - tolua_function(tolua_S,"addOwnerOutletName",lua_cocos2dx_extension_CCBReader_addOwnerOutletName); - tolua_function(tolua_S,"getOwnerCallbackNames",lua_cocos2dx_extension_CCBReader_getOwnerCallbackNames); - tolua_function(tolua_S,"addDocumentCallbackControlEvents",lua_cocos2dx_extension_CCBReader_addDocumentCallbackControlEvents); - tolua_function(tolua_S,"setCCBRootPath",lua_cocos2dx_extension_CCBReader_setCCBRootPath); - tolua_function(tolua_S,"addOwnerOutletNode",lua_cocos2dx_extension_CCBReader_addOwnerOutletNode); - tolua_function(tolua_S,"getOwnerCallbackNodes",lua_cocos2dx_extension_CCBReader_getOwnerCallbackNodes); - tolua_function(tolua_S,"readSoundKeyframesForSeq",lua_cocos2dx_extension_CCBReader_readSoundKeyframesForSeq); - tolua_function(tolua_S,"getCCBRootPath",lua_cocos2dx_extension_CCBReader_getCCBRootPath); - tolua_function(tolua_S,"getOwnerCallbackControlEvents",lua_cocos2dx_extension_CCBReader_getOwnerCallbackControlEvents); - tolua_function(tolua_S,"getOwnerOutletNodes",lua_cocos2dx_extension_CCBReader_getOwnerOutletNodes); - tolua_function(tolua_S,"readUTF8",lua_cocos2dx_extension_CCBReader_readUTF8); - tolua_function(tolua_S,"addOwnerCallbackControlEvents",lua_cocos2dx_extension_CCBReader_addOwnerCallbackControlEvents); - tolua_function(tolua_S,"getOwnerOutletNames",lua_cocos2dx_extension_CCBReader_getOwnerOutletNames); - tolua_function(tolua_S,"setActionManager",lua_cocos2dx_extension_CCBReader_setAnimationManager); - tolua_function(tolua_S,"readCallbackKeyframesForSeq",lua_cocos2dx_extension_CCBReader_readCallbackKeyframesForSeq); - tolua_function(tolua_S,"getAnimationManagersForNodes",lua_cocos2dx_extension_CCBReader_getAnimationManagersForNodes); - tolua_function(tolua_S,"getNodesWithAnimationManagers",lua_cocos2dx_extension_CCBReader_getNodesWithAnimationManagers); - tolua_function(tolua_S,"getActionManager",lua_cocos2dx_extension_CCBReader_getAnimationManager); - tolua_function(tolua_S,"setResolutionScale", lua_cocos2dx_extension_CCBReader_setResolutionScale); - tolua_endmodule(tolua_S); - std::string typeName = typeid(cocosbuilder::CCBReader).name(); - g_luaType[typeName] = "cc.CCBReader"; - g_typeCast["CCBReader"] = "cc.CCBReader"; - return 1; -} TOLUA_API int register_all_cocos2dx_extension(lua_State* tolua_S) { tolua_open(tolua_S); @@ -16597,22 +13844,20 @@ TOLUA_API int register_all_cocos2dx_extension(lua_State* tolua_S) tolua_beginmodule(tolua_S,"cc"); lua_register_cocos2dx_extension_Control(tolua_S); - lua_register_cocos2dx_extension_ControlHuePicker(tolua_S); lua_register_cocos2dx_extension_TableViewCell(tolua_S); lua_register_cocos2dx_extension_Scale9Sprite(tolua_S); - lua_register_cocos2dx_extension_AssetsManager(tolua_S); - lua_register_cocos2dx_extension_ControlColourPicker(tolua_S); - lua_register_cocos2dx_extension_CCBAnimationManager(tolua_S); - lua_register_cocos2dx_extension_ControlButton(tolua_S); - lua_register_cocos2dx_extension_ControlSlider(tolua_S); - lua_register_cocos2dx_extension_ControlSaturationBrightnessPicker(tolua_S); - lua_register_cocos2dx_extension_ScrollView(tolua_S); - lua_register_cocos2dx_extension_ControlPotentiometer(tolua_S); - lua_register_cocos2dx_extension_ControlStepper(tolua_S); - lua_register_cocos2dx_extension_TableView(tolua_S); - lua_register_cocos2dx_extension_EditBox(tolua_S); - lua_register_cocos2dx_extension_CCBReader(tolua_S); lua_register_cocos2dx_extension_ControlSwitch(tolua_S); + lua_register_cocos2dx_extension_ScrollView(tolua_S); + lua_register_cocos2dx_extension_TableView(tolua_S); + lua_register_cocos2dx_extension_AssetsManager(tolua_S); + lua_register_cocos2dx_extension_ControlButton(tolua_S); + lua_register_cocos2dx_extension_EditBox(tolua_S); + lua_register_cocos2dx_extension_ControlSlider(tolua_S); + lua_register_cocos2dx_extension_ControlStepper(tolua_S); + lua_register_cocos2dx_extension_ControlSaturationBrightnessPicker(tolua_S); + lua_register_cocos2dx_extension_ControlColourPicker(tolua_S); + lua_register_cocos2dx_extension_ControlPotentiometer(tolua_S); + lua_register_cocos2dx_extension_ControlHuePicker(tolua_S); tolua_endmodule(tolua_S); return 1; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.hpp index a16e77f43c..ce1bfeebc3 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.hpp @@ -290,65 +290,6 @@ int register_all_cocos2dx_extension(lua_State* tolua_S); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp b/cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp index 4f68a472f4..fa83d089cd 100644 --- a/cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp +++ b/cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp @@ -57,9 +57,9 @@ bool LuaEngine::init(void) { _stack = LuaStack::create(); _stack->retain(); - executeScriptFile("DeprecatedEnum.lua"); - executeScriptFile("DeprecatedClass.lua"); - executeScriptFile("Deprecated.lua"); + executeScriptFile("DeprecatedCocos2dClass"); + executeScriptFile("DeprecatedCocos2dEnum"); + executeScriptFile("DeprecatedCocos2dFunc"); return true; } diff --git a/cocos/scripting/lua-bindings/manual/CCLuaEngine.h b/cocos/scripting/lua-bindings/manual/CCLuaEngine.h index f5ebb78dc7..10e4277960 100644 --- a/cocos/scripting/lua-bindings/manual/CCLuaEngine.h +++ b/cocos/scripting/lua-bindings/manual/CCLuaEngine.h @@ -34,7 +34,7 @@ extern "C" { #include "base/CCScriptSupport.h" #include "CCLuaStack.h" #include "CCLuaValue.h" -#include "LuaScriptHandlerMgr.h" +#include "cocos2d/LuaScriptHandlerMgr.h" NS_CC_BEGIN diff --git a/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp b/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp index 144850b298..1976b62672 100644 --- a/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp +++ b/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp @@ -31,9 +31,6 @@ extern "C" { #include "tolua++.h" #include "lualib.h" #include "lauxlib.h" -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) -#include "lua_extensions.h" -#endif } #include "Cocos2dxLuaLoader.h" @@ -46,37 +43,17 @@ extern "C" { #include "platform/android/CCLuaJavaBridge.h" #endif -#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) -#include "platform/android/CCLuaJavaBridge.h" -#endif - -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) -#include "Lua_web_socket.h" -#endif - #include "LuaOpengl.h" #include "LuaScriptHandlerMgr.h" #include "lua_cocos2dx_auto.hpp" -#include "lua_cocos2dx_extension_auto.hpp" #include "lua_cocos2dx_manual.hpp" #include "LuaBasicConversions.h" -#include "lua_cocos2dx_extension_manual.h" #include "lua_cocos2dx_deprecated.h" -#include "lua_xml_http_request.h" -#include "lua_cocos2dx_studio_auto.hpp" -#include "lua_cocos2dx_coco_studio_manual.hpp" -#include "lua_cocos2dx_spine_auto.hpp" -#include "lua_cocos2dx_spine_manual.hpp" #include "lua_cocos2dx_physics_auto.hpp" #include "lua_cocos2dx_physics_manual.hpp" -#include "lua_cocos2dx_ui_auto.hpp" -#include "lua_cocos2dx_ui_manual.hpp" #include "lua_cocos2dx_experimental_auto.hpp" #include "lua_cocos2dx_experimental_manual.hpp" -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) -#include "lua_cocos2dx_experimental_video_auto.hpp" -#include "lua_cocos2dx_experimental_video_manual.hpp" -#endif + namespace { int lua_print(lua_State * luastate) @@ -160,23 +137,15 @@ bool LuaStack::init(void) {NULL, NULL} }; luaL_register(_state, "_G", global_functions); -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) - luaopen_lua_extensions(_state); -#endif + g_luaType.clear(); register_all_cocos2dx(_state); - register_all_cocos2dx_extension(_state); - register_cocos2dx_extension_CCBProxy(_state); tolua_opengl_open(_state); - register_all_cocos2dx_ui(_state); - register_all_cocos2dx_studio(_state); register_all_cocos2dx_manual(_state); register_all_cocos2dx_module_manual(_state); - register_all_cocos2dx_extension_manual(_state); - register_all_cocos2dx_coco_studio_manual(_state); - register_all_cocos2dx_ui_manual(_state); - register_all_cocos2dx_spine(_state); - register_all_cocos2dx_spine_manual(_state); + register_all_cocos2dx_experimental(_state); + register_all_cocos2dx_experimental_manual(_state); + register_glnode_manual(_state); #if CC_USE_PHYSICS register_all_cocos2dx_physics(_state); @@ -186,24 +155,10 @@ bool LuaStack::init(void) #if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) LuaObjcBridge::luaopen_luaoc(_state); #endif - register_all_cocos2dx_experimental(_state); - register_all_cocos2dx_experimental_manual(_state); - -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) - register_all_cocos2dx_experimental_video(_state); - register_all_cocos2dx_experimental_video_manual(_state); -#endif #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) LuaJavaBridge::luaopen_luaj(_state); #endif - -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) - tolua_web_socket_open(_state); - register_web_socket_manual(_state); -#endif - - register_xml_http_request(_state); register_all_cocos2dx_deprecated(_state); register_all_cocos2dx_manual_deprecated(_state); diff --git a/cocos/scripting/lua-bindings/manual/LuaOpengl.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/LuaOpengl.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.cpp diff --git a/cocos/scripting/lua-bindings/manual/LuaOpengl.h b/cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/LuaOpengl.h rename to cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.h diff --git a/cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.cpp similarity index 99% rename from cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.cpp index 6f5fa121e4..79819fb1c2 100644 --- a/cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.cpp +++ b/cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.cpp @@ -30,7 +30,6 @@ #include "CCLuaStack.h" #include "CCLuaValue.h" #include "CCLuaEngine.h" -#include "Lua_web_socket.h" #include "LuaOpengl.h" using namespace cocos2d; diff --git a/cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.h b/cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.h rename to cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.h diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.cpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.h b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.h rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.h diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.cpp similarity index 98% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.cpp index a759f0a274..fb8fde5c83 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.cpp @@ -1,5 +1,4 @@ #include "lua_cocos2dx_experimental_manual.hpp" -#include "UIVideoPlayer.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" #include "CCLuaValue.h" diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.hpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.hpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.hpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.hpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.cpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.hpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.hpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.cpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.hpp b/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.hpp rename to cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp diff --git a/cocos/scripting/lua-bindings/manual/CCBProxy.cpp b/cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/CCBProxy.cpp rename to cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.cpp diff --git a/cocos/scripting/lua-bindings/manual/CCBProxy.h b/cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/CCBProxy.h rename to cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.h diff --git a/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp b/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp new file mode 100644 index 0000000000..11693b86cb --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp @@ -0,0 +1,471 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#include "lua_cocos2dx_cocosbuilder_manual.h" +#include "lua_cocos2dx_cocosbuilder_auto.hpp" +#include "cocos2d.h" +#include "tolua_fix.h" +#include "LuaBasicConversions.h" +#include "CCLuaEngine.h" +#include "CCLuaValue.h" +#include "CCBProxy.h" + +USING_NS_CC; +USING_NS_CC_EXT; + +static int tolua_cocos2d_CCBProxy_create(lua_State* tolua_S) +{ + if (NULL == tolua_S) + return 0; + + int argc = 0; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertable(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (0 == argc) + { + CCBProxy* tolua_ret = (CCBProxy*)CCBProxy::create(); + int nID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + int *pLuaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, nID, pLuaID, (void*)tolua_ret,"cc.CCBProxy"); + return 1; + } + + CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:create", argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_create'.",&tolua_err); + return 0; +#endif +} + + +static int tolua_cocos2d_CCBProxy_createCCBReader(lua_State* tolua_S) +{ + if (NULL == tolua_S) + return 0; + + int argc = 0; + CCBProxy* self = nullptr; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); + +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_createCCBReader'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (0 == argc) + { + CCBReader* tolua_ret = (CCBReader*) self->createCCBReader(); + int nID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + int* pLuaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, nID, pLuaID, (void*)tolua_ret,"cc.CCBReader"); + return 1; + } + + CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:createCCBReader", argc, 0); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_createCCBReader'.",&tolua_err); + return 0; +#endif +} + +static int tolua_cocos2d_CCBProxy_readCCBFromFile(lua_State* tolua_S) +{ + if (NULL == tolua_S) + return 0; + + int argc = 0; + CCBProxy* self = nullptr; + const char* ccbFilePath = nullptr; + CCBReader* ccbReader = nullptr; + bool setOwner = false; + Node* tolua_ret = nullptr; + int ID = 0; + int* luaID = nullptr; + + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); + +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_readCCBFromFile'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (2 == argc || 3 == argc) + { +#if COCOS2D_DEBUG >= 1 + if (!tolua_isstring(tolua_S, 2, 0, &tolua_err)|| + !tolua_isusertype(tolua_S,3,"cc.CCBReader",0,&tolua_err)|| + !tolua_isboolean(tolua_S,4,1,&tolua_err ) + ) + goto tolua_lerror; +#endif + ccbFilePath = ((const char*) tolua_tostring(tolua_S,2,0)); + ccbReader = ((CCBReader*) tolua_tousertype(tolua_S,3,0)); + setOwner = (bool) tolua_toboolean(tolua_S,4,-1); + tolua_ret = (Node*) self->readCCBFromFile(ccbFilePath, ccbReader, setOwner); + ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); + return 1; + } + + CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBReader:readCCBFromFile", argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_readCCBFromFile'.",&tolua_err); + return 0; +#endif +} + + +static int tolua_cocos2d_CCBProxy_getNodeTypeName(lua_State* tolua_S) +{ + if (nullptr == tolua_S) + return 0; + + int argc = 0; + CCBProxy* self = nullptr; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); + +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_getNodeTypeName'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (1 == argc) + { +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,1,"cc.Node",0,&tolua_err)) goto tolua_lerror; +#endif + + Node* node = static_cast(tolua_tousertype(tolua_S,2,0)); + const char* tolua_ret = (const char*)self->getNodeTypeName(node); + tolua_pushstring(tolua_S,(const char*)tolua_ret); + return 1; + } + + CCLOG(" %s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:getNodeTypeName", argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_getNodeTypeName'.",&tolua_err); + return 0; +#endif +} + +static int tolua_cocos2d_CCBProxy_setCallback(lua_State* tolua_S) +{ + if (nullptr == tolua_S) + return 0; + + int argc = 0; + CCBProxy* self = nullptr; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_setCallback'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if ( argc >= 2 && argc <= 3 ) + { +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,2,"cc.Node",0,&tolua_err) || + !toluafix_isfunction(tolua_S, 3, "LUA_FUNCTION", 0, &tolua_err) || + !tolua_isnumber(tolua_S, 4, 1, &tolua_err) + ) + goto tolua_lerror; +#endif + + Node* node = ((Node*)tolua_tousertype(tolua_S,2,0)); + LUA_FUNCTION funID = ( toluafix_ref_function(tolua_S,3,0)); + int controlEvents = (int)tolua_tonumber(tolua_S, 4, 1); + self->setCallback(node, funID, controlEvents); + return 0; + } + + CCLOG(" %s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:setCallback", argc, 2); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_setCallback'.",&tolua_err); + return 0; +#endif +} + +int register_cocos2dx_extension_CCBProxy(lua_State* tolua_S) +{ + tolua_module(tolua_S,"cc",0); + tolua_beginmodule(tolua_S,"cc"); + tolua_usertype(tolua_S,"cc.CCBProxy"); + tolua_cclass(tolua_S,"CCBProxy","cc.CCBProxy","cc.Layer",NULL); + tolua_beginmodule(tolua_S,"CCBProxy"); + tolua_function(tolua_S, "create", tolua_cocos2d_CCBProxy_create); + tolua_function(tolua_S, "createCCBReader", tolua_cocos2d_CCBProxy_createCCBReader); + tolua_function(tolua_S, "readCCBFromFile", tolua_cocos2d_CCBProxy_readCCBFromFile); + tolua_function(tolua_S, "getNodeTypeName", tolua_cocos2d_CCBProxy_getNodeTypeName); + tolua_function(tolua_S, "setCallback", tolua_cocos2d_CCBProxy_setCallback); + tolua_endmodule(tolua_S); + tolua_endmodule(tolua_S); + + std::string typeName = typeid(CCBProxy).name(); + g_luaType[typeName] = "cc.CCBProxy"; + return 1; +} + +static int tolua_cocos2d_CCBReader_load(lua_State* tolua_S) +{ + if (nullptr == tolua_S) + return 0; + + int argc = 0; + CCBReader* self = nullptr; + bool ok = true; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBReader_load'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc >= 1 && argc <= 3) + { + const char* fileName = nullptr; + std::string fileName_tmp = ""; + ok &= luaval_to_std_string(tolua_S, 2, &fileName_tmp, "cc.CCBReader:load"); + fileName = fileName_tmp.c_str(); + if (!ok) + return 0; + + if (1 == argc) + { + Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName); + int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); + return 1; + } + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S, 3, "cc.Ref", 0, &tolua_err)) + goto tolua_lerror; +#endif + Ref* owner = static_cast(tolua_tousertype(tolua_S, 3, 0)); + //In lua owner always define in lua script by table, so owner is always nullptr + if (2 == argc) + { + Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName,owner); + int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); + return 1; + } + + Size size; + ok &= luaval_to_size(tolua_S, 4, &size, "cc.CCBReader:load"); + if (!ok) + return 0; + + Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName,owner,size); + int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; + int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; + toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); + return 1; + + } + + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBReader:load",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBReader_load'.",&tolua_err); + return 0; +#endif +} + +static void extendCCBReader(lua_State* tolua_S) +{ + lua_pushstring(tolua_S, "cc.CCBReader"); + lua_rawget(tolua_S, LUA_REGISTRYINDEX); + if (lua_istable(tolua_S,-1)) + { + lua_pushstring(tolua_S,"load"); + lua_pushcfunction(tolua_S,tolua_cocos2d_CCBReader_load ); + lua_rawset(tolua_S,-3); + } + lua_pop(tolua_S, 1); +} + + +static int tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed(lua_State* tolua_S) +{ + if (nullptr == tolua_S) + return 0; + + int argc = 0; + CCBAnimationManager* self = nullptr; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(tolua_S,1,0)); +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed'\n", NULL); + return 0; + } +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (2 == argc) + { + +#if COCOS2D_DEBUG >= 1 + if (!tolua_isusertype(tolua_S,2, "cc.CallFunc", 0, &tolua_err) || + !tolua_isstring(tolua_S, 3, 0, &tolua_err) ) + goto tolua_lerror; +#endif + + CallFunc* pCallFunc = static_cast(tolua_tousertype(tolua_S,2,0)); + const char* keyframeCallback = ((const char*) tolua_tostring(tolua_S,3,0)); + std::string strKey = ""; + if (NULL != keyframeCallback) { + strKey = keyframeCallback; + } + self->setCallFunc(pCallFunc, strKey); + + return 0; + } + + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBAnimationManager:setCallFuncForLuaCallbackNamed",argc, 1); + return 0; + +#if COCOS2D_DEBUG >= 1 +tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed'.",&tolua_err); + return 0; +#endif +} + +static void extendCCBAnimationManager(lua_State* tolua_S) +{ + lua_pushstring(tolua_S, "cc.CCBAnimationManager"); + lua_rawget(tolua_S, LUA_REGISTRYINDEX); + if (lua_istable(tolua_S,-1)) + { + lua_pushstring(tolua_S,"setCallFuncForLuaCallbackNamed"); + lua_pushcfunction(tolua_S,tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed ); + lua_rawset(tolua_S,-3); + } + lua_pop(tolua_S, 1); +} + +int register_all_cocos2dx_cocosbuilder_manual(lua_State* tolua_S) +{ + register_cocos2dx_extension_CCBProxy(tolua_S); + extendCCBReader(tolua_S); + extendCCBAnimationManager(tolua_S); + return 0; +} + + +int register_cocosbuilder_module(lua_State* tolua_S) +{ + lua_getglobal(tolua_S, "_G"); + if (lua_istable(tolua_S,-1))//stack:...,_G, + { + register_all_cocos2dx_cocosbuilder(tolua_S); + register_all_cocos2dx_cocosbuilder_manual(tolua_S); + } + lua_pop(tolua_S, 1); + + LuaEngine::getInstance()->executeScriptFile("DeprecatedCocosBuilderClass"); + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.h b/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.h new file mode 100644 index 0000000000..78554e784d --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.h @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#ifndef COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_LUA_COCOS2DX_COCOSBUILDER_H +#define COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_LUA_COCOS2DX_COCOSBUILDER_H + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +TOLUA_API int register_all_cocos2dx_cocosbuilder_manual(lua_State* tolua_S); +TOLUA_API int register_cocosbuilder_module(lua_State* tolua_S); + +#endif // #ifndef COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_LUA_COCOS2DX_COCOSBUILDER_H diff --git a/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp b/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp new file mode 100644 index 0000000000..9098fd949c --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp @@ -0,0 +1,40 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#include "lua_cocos2dx_cocosdenshion_manual.h" +#include "lua_cocos2dx_cocosdenshion_auto.hpp" +#include "CCLuaEngine.h" + +int register_cocosdenshion_module(lua_State* L) +{ + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + register_all_cocos2dx_cocosdenshion(L); + } + lua_pop(L, 1); + + cocos2d::LuaEngine::getInstance()->executeScriptFile("DeprecatedCocosDenshionClass"); + cocos2d::LuaEngine::getInstance()->executeScriptFile("DeprecatedCocosDenshionFunc"); + return 1; +} \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h b/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h new file mode 100644 index 0000000000..2df23521f4 --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#ifndef COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_COCOSDENSHION_LUA_COCOS2DX_COCOSDENSHION_MANUAL_H__ +#define COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_COCOSDENSHION_LUA_COCOS2DX_COCOSDENSHION_MANUAL_H__ + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +TOLUA_API int register_cocosdenshion_module(lua_State* L); + + +#endif // #ifndef COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_COCOSDENSHION_LUA_COCOS2DX_COCOSDENSHION_MANUAL_H__ diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp b/cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp similarity index 97% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp rename to cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp index d7874f2782..6546582eec 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp @@ -22,6 +22,7 @@ THE SOFTWARE. ****************************************************************************/ #include "lua_cocos2dx_coco_studio_manual.hpp" +#include "lua_cocos2dx_studio_auto.hpp" #include "cocos2d.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" @@ -567,3 +568,18 @@ int register_all_cocos2dx_coco_studio_manual(lua_State* L) return 0; } + +int register_cocostudio_module(lua_State* L) +{ + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + register_all_cocos2dx_studio(L); + register_all_cocos2dx_coco_studio_manual(L); + } + lua_pop(L, 1); + + LuaEngine::getInstance()->executeScriptFile("DeprecatedCocoStudioClass"); + LuaEngine::getInstance()->executeScriptFile("DeprecatedCocoStudioFunc"); + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.hpp b/cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.hpp similarity index 95% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.hpp rename to cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.hpp index 74cea4e691..905d71877e 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.hpp +++ b/cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.hpp @@ -35,7 +35,8 @@ extern "C" { #include "base/CCRef.h" #include -TOLUA_API int register_all_cocos2dx_coco_studio_manual(lua_State* L); +TOLUA_API int register_all_cocos2dx_coco_studio_manual(lua_State* L); +TOLUA_API int register_cocostudio_module(lua_State* L); struct LuaArmatureWrapperEventData { diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp b/cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp similarity index 99% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp rename to cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp index b5885874e9..f6b4895a67 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp @@ -28,7 +28,7 @@ #include "cocos2d.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" -#include "LuaScriptHandlerMgr.h" +#include "cocos2d/LuaScriptHandlerMgr.h" #include "CCLuaValue.h" #include "CCLuaEngine.h" #include "CCGameController.h" diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.hpp b/cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.hpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.hpp rename to cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.hpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.cpp b/cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.cpp similarity index 72% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.cpp rename to cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.cpp index f8842796bf..ba262487bd 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.cpp @@ -22,17 +22,17 @@ THE SOFTWARE. ****************************************************************************/ #include "lua_cocos2dx_extension_manual.h" +#include "lua_cocos2dx_extension_auto.hpp" #include "cocos2d.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" #include "CCLuaValue.h" #include "cocos-ext.h" -#include "CCBProxy.h" -#include "cocostudio/CocoStudio.h" +#include "CCLuaEngine.h" +#include "LuaScriptHandlerMgr.h" USING_NS_CC; USING_NS_CC_EXT; -using namespace cocostudio; class LuaScrollViewDelegate:public Ref, public ScrollViewDelegate { @@ -461,420 +461,6 @@ static void extendEditBox(lua_State* tolua_S) lua_pop(tolua_S, 1); } -static int tolua_cocos2d_CCBProxy_create(lua_State* tolua_S) -{ - if (NULL == tolua_S) - return 0; - - int argc = 0; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertable(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (0 == argc) - { - CCBProxy* tolua_ret = (CCBProxy*)CCBProxy::create(); - int nID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - int *pLuaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, nID, pLuaID, (void*)tolua_ret,"cc.CCBProxy"); - return 1; - } - - CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:create", argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_create'.",&tolua_err); - return 0; -#endif -} - - -static int tolua_cocos2d_CCBProxy_createCCBReader(lua_State* tolua_S) -{ - if (NULL == tolua_S) - return 0; - - int argc = 0; - CCBProxy* self = nullptr; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); - -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_createCCBReader'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (0 == argc) - { - CCBReader* tolua_ret = (CCBReader*) self->createCCBReader(); - int nID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - int* pLuaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, nID, pLuaID, (void*)tolua_ret,"cc.CCBReader"); - return 1; - } - - CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:createCCBReader", argc, 0); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_createCCBReader'.",&tolua_err); - return 0; -#endif -} - -static int tolua_cocos2d_CCBProxy_readCCBFromFile(lua_State* tolua_S) -{ - if (NULL == tolua_S) - return 0; - - int argc = 0; - CCBProxy* self = nullptr; - const char* ccbFilePath = nullptr; - CCBReader* ccbReader = nullptr; - bool setOwner = false; - Node* tolua_ret = nullptr; - int ID = 0; - int* luaID = nullptr; - - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); - -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_readCCBFromFile'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (2 == argc || 3 == argc) - { -#if COCOS2D_DEBUG >= 1 - if (!tolua_isstring(tolua_S, 2, 0, &tolua_err)|| - !tolua_isusertype(tolua_S,3,"cc.CCBReader",0,&tolua_err)|| - !tolua_isboolean(tolua_S,4,1,&tolua_err ) - ) - goto tolua_lerror; -#endif - ccbFilePath = ((const char*) tolua_tostring(tolua_S,2,0)); - ccbReader = ((CCBReader*) tolua_tousertype(tolua_S,3,0)); - setOwner = (bool) tolua_toboolean(tolua_S,4,-1); - tolua_ret = (Node*) self->readCCBFromFile(ccbFilePath, ccbReader, setOwner); - ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); - return 1; - } - - CCLOG("%s function of CCBProxy has wrong number of arguments: %d, was expecting %d\n", "cc.CCBReader:readCCBFromFile", argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_readCCBFromFile'.",&tolua_err); - return 0; -#endif -} - - -static int tolua_cocos2d_CCBProxy_getNodeTypeName(lua_State* tolua_S) -{ - if (nullptr == tolua_S) - return 0; - - int argc = 0; - CCBProxy* self = nullptr; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); - -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_getNodeTypeName'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (1 == argc) - { -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"cc.Node",0,&tolua_err)) goto tolua_lerror; -#endif - - Node* node = static_cast(tolua_tousertype(tolua_S,2,0)); - const char* tolua_ret = (const char*)self->getNodeTypeName(node); - tolua_pushstring(tolua_S,(const char*)tolua_ret); - return 1; - } - - CCLOG(" %s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:getNodeTypeName", argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_getNodeTypeName'.",&tolua_err); - return 0; -#endif -} - -static int tolua_cocos2d_CCBProxy_setCallback(lua_State* tolua_S) -{ - if (nullptr == tolua_S) - return 0; - - int argc = 0; - CCBProxy* self = nullptr; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBProxy",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBProxy_setCallback'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if ( argc >= 2 && argc <= 3 ) - { -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,2,"cc.Node",0,&tolua_err) || - !toluafix_isfunction(tolua_S, 3, "LUA_FUNCTION", 0, &tolua_err) || - !tolua_isnumber(tolua_S, 4, 1, &tolua_err) - ) - goto tolua_lerror; -#endif - - Node* node = ((Node*)tolua_tousertype(tolua_S,2,0)); - LUA_FUNCTION funID = ( toluafix_ref_function(tolua_S,3,0)); - int controlEvents = (int)tolua_tonumber(tolua_S, 4, 1); - self->setCallback(node, funID, controlEvents); - return 0; - } - - CCLOG(" %s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBProxy:setCallback", argc, 2); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBProxy_setCallback'.",&tolua_err); - return 0; -#endif -} - -int register_cocos2dx_extension_CCBProxy(lua_State* tolua_S) -{ - tolua_module(tolua_S,"cc",0); - tolua_beginmodule(tolua_S,"cc"); - tolua_usertype(tolua_S,"cc.CCBProxy"); - tolua_cclass(tolua_S,"CCBProxy","cc.CCBProxy","cc.Layer",NULL); - tolua_beginmodule(tolua_S,"CCBProxy"); - tolua_function(tolua_S, "create", tolua_cocos2d_CCBProxy_create); - tolua_function(tolua_S, "createCCBReader", tolua_cocos2d_CCBProxy_createCCBReader); - tolua_function(tolua_S, "readCCBFromFile", tolua_cocos2d_CCBProxy_readCCBFromFile); - tolua_function(tolua_S, "getNodeTypeName", tolua_cocos2d_CCBProxy_getNodeTypeName); - tolua_function(tolua_S, "setCallback", tolua_cocos2d_CCBProxy_setCallback); - tolua_endmodule(tolua_S); - tolua_endmodule(tolua_S); - - std::string typeName = typeid(CCBProxy).name(); - g_luaType[typeName] = "cc.CCBProxy"; - return 1; -} - -static int tolua_cocos2d_CCBReader_load(lua_State* tolua_S) -{ - if (nullptr == tolua_S) - return 0; - - int argc = 0; - CCBReader* self = nullptr; - bool ok = true; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBReader",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBReader_load'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc >= 1 && argc <= 3) - { - const char* fileName = nullptr; - std::string fileName_tmp = ""; - ok &= luaval_to_std_string(tolua_S, 2, &fileName_tmp, "cc.CCBReader:load"); - fileName = fileName_tmp.c_str(); - if (!ok) - return 0; - - if (1 == argc) - { - Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName); - int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); - return 1; - } - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S, 3, "cc.Ref", 0, &tolua_err)) - goto tolua_lerror; -#endif - Ref* owner = static_cast(tolua_tousertype(tolua_S, 3, 0)); - //In lua owner always define in lua script by table, so owner is always nullptr - if (2 == argc) - { - Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName,owner); - int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); - return 1; - } - - Size size; - ok &= luaval_to_size(tolua_S, 4, &size, "cc.CCBReader:load"); - if (!ok) - return 0; - - Node* tolua_ret = (Node*) self->readNodeGraphFromFile(fileName,owner,size); - int ID = (tolua_ret) ? (int)tolua_ret->_ID : -1; - int* luaID = (tolua_ret) ? &tolua_ret->_luaID : NULL; - toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)tolua_ret,"cc.Node"); - return 1; - - } - - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBReader:load",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBReader_load'.",&tolua_err); - return 0; -#endif -} - -static void extendCCBReader(lua_State* tolua_S) -{ - lua_pushstring(tolua_S, "cc.CCBReader"); - lua_rawget(tolua_S, LUA_REGISTRYINDEX); - if (lua_istable(tolua_S,-1)) - { - lua_pushstring(tolua_S,"load"); - lua_pushcfunction(tolua_S,tolua_cocos2d_CCBReader_load ); - lua_rawset(tolua_S,-3); - } - lua_pop(tolua_S, 1); -} - - -static int tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed(lua_State* tolua_S) -{ - if (nullptr == tolua_S) - return 0; - - int argc = 0; - CCBAnimationManager* self = nullptr; - -#if COCOS2D_DEBUG >= 1 - tolua_Error tolua_err; - if (!tolua_isusertype(tolua_S,1,"cc.CCBAnimationManager",0,&tolua_err)) goto tolua_lerror; -#endif - - self = static_cast(tolua_tousertype(tolua_S,1,0)); -#if COCOS2D_DEBUG >= 1 - if (nullptr == self) { - tolua_error(tolua_S,"invalid 'self' in function 'tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed'\n", NULL); - return 0; - } -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (2 == argc) - { - -#if COCOS2D_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,2, "cc.CallFunc", 0, &tolua_err) || - !tolua_isstring(tolua_S, 3, 0, &tolua_err) ) - goto tolua_lerror; -#endif - - CallFunc* pCallFunc = static_cast(tolua_tousertype(tolua_S,2,0)); - const char* keyframeCallback = ((const char*) tolua_tostring(tolua_S,3,0)); - std::string strKey = ""; - if (NULL != keyframeCallback) { - strKey = keyframeCallback; - } - self->setCallFunc(pCallFunc, strKey); - - return 0; - } - - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n", "cc.CCBAnimationManager:setCallFuncForLuaCallbackNamed",argc, 1); - return 0; - -#if COCOS2D_DEBUG >= 1 -tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed'.",&tolua_err); - return 0; -#endif -} - -static void extendCCBAnimationManager(lua_State* tolua_S) -{ - lua_pushstring(tolua_S, "cc.CCBAnimationManager"); - lua_rawget(tolua_S, LUA_REGISTRYINDEX); - if (lua_istable(tolua_S,-1)) - { - lua_pushstring(tolua_S,"setCallFuncForLuaCallbackNamed"); - lua_pushcfunction(tolua_S,tolua_cocos2d_CCBAnimationManager_setCallFuncForLuaCallbackNamed ); - lua_rawset(tolua_S,-3); - } - lua_pop(tolua_S, 1); -} - class LuaAssetsManagerDelegateProtocol:public Ref, public AssetsManagerDelegateProtocol { public: @@ -1460,10 +1046,24 @@ int register_all_cocos2dx_extension_manual(lua_State* tolua_S) { extendControl(tolua_S); extendEditBox(tolua_S); - extendCCBReader(tolua_S); - extendCCBAnimationManager(tolua_S); extendAssetsManager(tolua_S); extendScrollView(tolua_S); extendTableView(tolua_S); return 0; } + +int register_extension_module(lua_State* tolua_S) +{ + lua_getglobal(tolua_S, "_G"); + if (lua_istable(tolua_S,-1))//stack:...,_G, + { + register_all_cocos2dx_extension(tolua_S); + register_all_cocos2dx_extension_manual(tolua_S); + } + lua_pop(tolua_S, 1); + + LuaEngine::getInstance()->executeScriptFile("DeprecatedExtensionClass"); + LuaEngine::getInstance()->executeScriptFile("DeprecatedExtensionEnum"); + LuaEngine::getInstance()->executeScriptFile("DeprecatedExtensionFunc"); + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.h b/cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.h similarity index 91% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.h rename to cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.h index b150bf3cbd..44a9a86cd2 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.h +++ b/cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.h @@ -32,10 +32,8 @@ extern "C" { } #endif -#include "LuaScriptHandlerMgr.h" - -TOLUA_API int register_all_cocos2dx_extension_manual(lua_State* tolua_S); -TOLUA_API int register_cocos2dx_extension_CCBProxy(lua_State* tolua_S); +TOLUA_API int register_all_cocos2dx_extension_manual(lua_State* tolua_S); +TOLUA_API int register_extension_module(lua_State* tolua_S); struct LuaAssetsManagerEventData { @@ -57,5 +55,4 @@ struct LuaTableViewEventData } }; - #endif // #ifndef COCOS2DX_SCRIPT_LUA_COCOS2DX_SUPPORT_LUA_COCOS2DX_EXTENSION_MANUAL_H diff --git a/cocos/scripting/lua-bindings/manual/Lua_web_socket.cpp b/cocos/scripting/lua-bindings/manual/network/Lua_web_socket.cpp similarity index 99% rename from cocos/scripting/lua-bindings/manual/Lua_web_socket.cpp rename to cocos/scripting/lua-bindings/manual/network/Lua_web_socket.cpp index 40c624623d..9b2b3ac2b1 100644 --- a/cocos/scripting/lua-bindings/manual/Lua_web_socket.cpp +++ b/cocos/scripting/lua-bindings/manual/network/Lua_web_socket.cpp @@ -35,7 +35,6 @@ using namespace cocos2d; - static int SendBinaryMessageToLua(int nHandler,const unsigned char* pTable,int nLength) { if (NULL == pTable || nHandler <= 0) { @@ -464,5 +463,4 @@ TOLUA_API int register_web_socket_manual(lua_State* tolua_S) return 1; } - #endif//(CC_TARGET_PLATFORM == CC_PLATFORM_IOS ... diff --git a/cocos/scripting/lua-bindings/manual/Lua_web_socket.h b/cocos/scripting/lua-bindings/manual/network/Lua_web_socket.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/Lua_web_socket.h rename to cocos/scripting/lua-bindings/manual/network/Lua_web_socket.h diff --git a/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.cpp b/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.cpp new file mode 100644 index 0000000000..d563fdf546 --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.cpp @@ -0,0 +1,61 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#include "lua_cocos2dx_network_manual.h" +extern "C" { +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) +#include "lua_extensions.h" +#endif +} +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) +#include "Lua_web_socket.h" +#endif + +#include "lua_xml_http_request.h" +#include "CCLuaEngine.h" + + +int register_network_module(lua_State* L) +{ + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) + luaopen_lua_extensions(L); +#endif + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) + tolua_web_socket_open(L); + register_web_socket_manual(L); +#endif + + register_xml_http_request(L); + } + lua_pop(L, 1); + + cocos2d::LuaEngine::getInstance()->executeScriptFile("DeprecatedNetworkClass"); + cocos2d::LuaEngine::getInstance()->executeScriptFile("DeprecatedNetworkEnum"); + cocos2d::LuaEngine::getInstance()->executeScriptFile("DeprecatedNetworkFunc"); + + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.h b/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.h new file mode 100644 index 0000000000..1112a5b1b5 --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.h @@ -0,0 +1,37 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#ifndef __COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_NETWORK_LUA_COCOS2DX_NETWORK_MANUAL_H__ +#define __COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_NETWORK_LUA_COCOS2DX_NETWORK_MANUAL_H__ + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +TOLUA_API int register_network_module(lua_State* L); + +#endif //#ifndef __COCOS_SCRIPTING_LUA_BINDINGS_MANUAL_NETWORK_LUA_COCOS2DX_NETWORK_MANUAL_H__ diff --git a/cocos/scripting/lua-bindings/manual/lua_extensions.c b/cocos/scripting/lua-bindings/manual/network/lua_extensions.c similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_extensions.c rename to cocos/scripting/lua-bindings/manual/network/lua_extensions.c diff --git a/cocos/scripting/lua-bindings/manual/lua_extensions.h b/cocos/scripting/lua-bindings/manual/network/lua_extensions.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_extensions.h rename to cocos/scripting/lua-bindings/manual/network/lua_extensions.h diff --git a/cocos/scripting/lua-bindings/manual/lua_xml_http_request.cpp b/cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_xml_http_request.cpp rename to cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp diff --git a/cocos/scripting/lua-bindings/manual/lua_xml_http_request.h b/cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_xml_http_request.h rename to cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.h diff --git a/cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.cpp b/cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.cpp rename to cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.cpp diff --git a/cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.h b/cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.h similarity index 100% rename from cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.h rename to cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.h diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.cpp b/cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.cpp similarity index 97% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.cpp rename to cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.cpp index 9052750bf3..3c504fd3d6 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.cpp @@ -22,6 +22,7 @@ THE SOFTWARE. ****************************************************************************/ #include "lua_cocos2dx_spine_manual.hpp" +#include "lua_cocos2dx_spine_auto.hpp" #include "cocos2d.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" @@ -30,6 +31,7 @@ #include "spine.h" #include "spine-cocos2dx.h" #include "LuaSkeletonAnimation.h" +#include "CCLuaEngine.h" using namespace spine; @@ -465,3 +467,16 @@ int register_all_cocos2dx_spine_manual(lua_State* L) return 0; } + +int register_spine_module(lua_State* L) +{ + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + register_all_cocos2dx_spine(L); + register_all_cocos2dx_spine_manual(L); + } + lua_pop(L, 1); + + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.hpp b/cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.hpp similarity index 96% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.hpp rename to cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.hpp index e54075519b..0c1d5d4853 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.hpp +++ b/cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.hpp @@ -32,9 +32,7 @@ extern "C" { } #endif -#include "base/CCRef.h" - TOLUA_API int register_all_cocos2dx_spine_manual(lua_State* L); - +TOLUA_API int register_spine_module(lua_State* L); #endif // #ifndef COCOS_SCRIPTING_LUA_BINDINGS_LUA_COCOS2DX_SPINE_MANUAL_H diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.cpp b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.cpp rename to cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.hpp b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.hpp similarity index 100% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.hpp rename to cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.hpp diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.cpp b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.cpp similarity index 95% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.cpp rename to cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.cpp index 8018cfaf81..c118218d58 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.cpp +++ b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.cpp @@ -22,6 +22,11 @@ THE SOFTWARE. ****************************************************************************/ #include "lua_cocos2dx_ui_manual.hpp" +#include "lua_cocos2dx_ui_auto.hpp" +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) +#include "lua_cocos2dx_experimental_video_auto.hpp" +#include "lua_cocos2dx_experimental_video_manual.hpp" +#endif #include "cocos2d.h" #include "tolua_fix.h" #include "LuaBasicConversions.h" @@ -681,3 +686,22 @@ int register_all_cocos2dx_ui_manual(lua_State* L) return 0; } + +int register_ui_moudle(lua_State* L) +{ + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + register_all_cocos2dx_ui(L); + register_all_cocos2dx_ui_manual(L); +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + register_all_cocos2dx_experimental_video(L); + register_all_cocos2dx_experimental_video_manual(L); +#endif + } + lua_pop(L, 1); + + LuaEngine::getInstance()->executeScriptFile("DeprecatedUIEnum"); + LuaEngine::getInstance()->executeScriptFile("DeprecatedUIFunc"); + return 1; +} diff --git a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.hpp b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.hpp similarity index 97% rename from cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.hpp rename to cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.hpp index 8f102bf527..883e0005d4 100644 --- a/cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.hpp +++ b/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.hpp @@ -32,7 +32,7 @@ extern "C" { } #endif -#include "base/CCRef.h" - TOLUA_API int register_all_cocos2dx_ui_manual(lua_State* L); +TOLUA_API int register_ui_moudle(lua_State* L); + #endif // #ifndef COCOS_SCRIPTING_LUA_BINDINGS_LUA_COCOS2DX_GUI_MANUAL_H diff --git a/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.cpp b/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.cpp new file mode 100644 index 0000000000..a937cada2c --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.cpp @@ -0,0 +1,87 @@ +#include "lua_cocos2dx_experimental_video_manual.hpp" + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + +#include "UIVideoPlayer.h" +#include "tolua_fix.h" +#include "LuaBasicConversions.h" +#include "CCLuaValue.h" +#include "CCLuaEngine.h" + + + +static int lua_cocos2dx_experimental_video_VideoPlayer_addEventListener(lua_State* L) +{ + + int argc = 0; + cocos2d::experimental::ui::VideoPlayer* self = nullptr; + +#if COCOS2D_DEBUG >= 1 + tolua_Error tolua_err; + if (!tolua_isusertype(L,1,"ccexp.VideoPlayer",0,&tolua_err)) goto tolua_lerror; +#endif + + self = static_cast(tolua_tousertype(L,1,0)); + +#if COCOS2D_DEBUG >= 1 + if (nullptr == self) { + tolua_error(L,"invalid 'self' in function 'lua_cocos2dx_Widget_addTouchEventListener'\n", nullptr); + return 0; + } +#endif + + argc = lua_gettop(L) - 1; + + if (argc == 1) + { +#if COCOS2D_DEBUG >= 1 + if (!toluafix_isfunction(L,2,"LUA_FUNCTION",0,&tolua_err)) + { + goto tolua_lerror; + } +#endif + + LUA_FUNCTION handler = ( toluafix_ref_function(L,2,0)); + + self->addEventListener([=](cocos2d::Ref* ref, cocos2d::experimental::ui::VideoPlayer::EventType eventType){ + LuaStack* stack = LuaEngine::getInstance()->getLuaStack(); + + stack->pushObject(ref, "cc.Ref"); + stack->pushInt((int)eventType); + + stack->executeFunctionByHandler(handler, 2); + }); + + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccexp.VideoPlayer:addEventListener",argc, 0); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(L, "#ferror in function 'lua_cocos2dx_experimental_VideoPlayer_addEventListener'.", &tolua_err); +#endif + return 0; +} + +static void extendVideoPlayer(lua_State* L) +{ + lua_pushstring(L, "ccexp.VideoPlayer"); + lua_rawget(L, LUA_REGISTRYINDEX); + if (lua_istable(L,-1)) + { + tolua_function(L, "addEventListener", lua_cocos2dx_experimental_video_VideoPlayer_addEventListener); + } + lua_pop(L, 1); +} + +int register_all_cocos2dx_experimental_video_manual(lua_State* L) +{ + if (nullptr == L) + return 0; + + extendVideoPlayer(L); + + return 0; +} + +#endif diff --git a/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.hpp b/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.hpp new file mode 100644 index 0000000000..6201540e59 --- /dev/null +++ b/cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.hpp @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#include "base/ccConfig.h" +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + +#ifndef COCOS_SCRIPTING_LUA_BINDINGS_LUA_COCOS2DX_EXPERIMENTAL_VIDEO_MANUAL_H +#define COCOS_SCRIPTING_LUA_BINDINGS_LUA_COCOS2DX_EXPERIMENTAL_VIDEO_MANUAL_H + +#ifdef __cplusplus +extern "C" { +#endif +#include "tolua++.h" +#ifdef __cplusplus +} +#endif + +TOLUA_API int register_all_cocos2dx_experimental_video_manual(lua_State* L); + +#endif //#ifndef COCOS_SCRIPTING_LUA_BINDINGS_LUA_COCOS2DX_EXPERIMENTAL_VIDEO_MANUAL_H +#endif //#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) diff --git a/cocos/scripting/lua-bindings/proj.android/Android.mk b/cocos/scripting/lua-bindings/proj.android/Android.mk new file mode 100644 index 0000000000..1ffe8757e6 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.android/Android.mk @@ -0,0 +1,243 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2d_lua_static + +LOCAL_MODULE_FILENAME := libluacocos2d + +LOCAL_SRC_FILES := ../manual/CCLuaBridge.cpp \ + ../manual/CCLuaEngine.cpp \ + ../manual/CCLuaStack.cpp \ + ../manual/lua_debugger.c \ + ../manual/CCLuaValue.cpp \ + ../manual/Cocos2dxLuaLoader.cpp \ + ../manual/LuaBasicConversions.cpp \ + ../auto/lua_cocos2dx_auto.cpp \ + ../auto/lua_cocos2dx_physics_auto.cpp \ + ../auto/lua_cocos2dx_experimental_auto.cpp \ + ../manual/cocos2d/lua_cocos2dx_deprecated.cpp \ + ../manual/cocos2d/lua_cocos2dx_experimental_manual.cpp \ + ../manual/cocos2d/lua_cocos2dx_manual.cpp \ + ../manual/cocos2d/lua_cocos2dx_physics_manual.cpp \ + ../manual/cocos2d/LuaOpengl.cpp \ + ../manual/cocos2d/LuaScriptHandlerMgr.cpp \ + ../manual/platform/android/CCLuaJavaBridge.cpp \ + ../manual/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.cpp \ + ../manual/tolua_fix.cpp \ + ../../../../external/lua/tolua/tolua_event.c \ + ../../../../external/lua/tolua/tolua_is.c \ + ../../../../external/lua/tolua/tolua_map.c \ + ../../../../external/lua/tolua/tolua_push.c \ + ../../../../external/lua/tolua/tolua_to.c \ + ../../../../external/xxtea/xxtea.cpp + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../external/lua/tolua \ + $(LOCAL_PATH)/../../../../external/lua/luajit/include \ + $(LOCAL_PATH)/../../../2d \ + $(LOCAL_PATH)/../../../3d \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../manual \ + $(LOCAL_PATH)/../manual/extension \ + $(LOCAL_PATH)/../manual/cocostudio \ + $(LOCAL_PATH)/../manual/ui \ + $(LOCAL_PATH)/../manual/cocos2d \ + $(LOCAL_PATH)/../manual/platform/android \ + $(LOCAL_PATH)/../manual/platform/android/jni \ + $(LOCAL_PATH)/../../../../external/xxtea \ + $(LOCAL_PATH)/../../../.. \ + $(LOCAL_PATH)/../../../../extensions + + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../../external/lua/tolua \ + $(LOCAL_PATH)/../../../../external/lua/luajit/include \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../manual \ + $(LOCAL_PATH)/../manual/cocos2d + + +LOCAL_WHOLE_STATIC_LIBRARIES := luajit_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocosdenshion_lua_static + +LOCAL_MODULE_FILENAME := libluacocosdenshion + +LOCAL_SRC_FILES := ../manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp \ + ../auto/lua_cocos2dx_cocosdenshion_auto.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../manual/cocosdenshion \ + $(LOCAL_PATH)/../../../audio/include \ + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/cocosdenshion + +LOCAL_WHOLE_STATIC_LIBRARIES := cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos2d_lua_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := network_lua_static + +LOCAL_MODULE_FILENAME := libluanetwork + +LOCAL_SRC_FILES := ../manual/network/lua_cocos2dx_network_manual.cpp \ + ../manual/network/lua_extensions.c \ + ../manual/network/Lua_web_socket.cpp \ + ../manual/network/lua_xml_http_request.cpp \ + ../../../../external/lua/luasocket/auxiliar.c \ + ../../../../external/lua/luasocket/buffer.c \ + ../../../../external/lua/luasocket/except.c \ + ../../../../external/lua/luasocket/inet.c \ + ../../../../external/lua/luasocket/io.c \ + ../../../../external/lua/luasocket/luasocket.c \ + ../../../../external/lua/luasocket/mime.c \ + ../../../../external/lua/luasocket/options.c \ + ../../../../external/lua/luasocket/select.c \ + ../../../../external/lua/luasocket/serial.c \ + ../../../../external/lua/luasocket/tcp.c \ + ../../../../external/lua/luasocket/timeout.c \ + ../../../../external/lua/luasocket/udp.c \ + ../../../../external/lua/luasocket/unix.c \ + ../../../../external/lua/luasocket/usocket.c \ + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/network \ + $(LOCAL_PATH)/../../../../external/lua \ + $(LOCAL_PATH)/../../../network + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/network + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocosbuilder_lua_static + +LOCAL_MODULE_FILENAME := libluacocosbuilder + +LOCAL_SRC_FILES := ../manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp \ + ../manual/cocosbuilder/CCBProxy.cpp \ + ../auto/lua_cocos2dx_cocosbuilder_auto.cpp \ + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/cocosbuilder \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../../../editor-support/cocosbuilder + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/cocosbuilder + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosbuilder_static + +include $(BUILD_STATIC_LIBRARY) + + +# +include $(CLEAR_VARS) + +LOCAL_MODULE := cocostudio_lua_static + +LOCAL_MODULE_FILENAME := libluacocostudio + +LOCAL_SRC_FILES := ../manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp \ + ../auto/lua_cocos2dx_studio_auto.cpp \ + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/cocostudio \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../../../editor-support/cocostudio + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/cocostudio + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := spine_lua_static + +LOCAL_MODULE_FILENAME := libluaspine + +LOCAL_SRC_FILES := ../manual/spine/lua_cocos2dx_spine_manual.cpp \ + ../manual/spine/LuaSkeletonAnimation.cpp \ + ../auto/lua_cocos2dx_spine_auto.cpp \ + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/spine \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../../../editor-support/spine + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/spine + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += spine_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := extension_lua_static + +LOCAL_MODULE_FILENAME := libluaextension + +LOCAL_SRC_FILES := ../manual/extension/lua_cocos2dx_extension_manual.cpp \ + ../auto/lua_cocos2dx_extension_auto.cpp \ + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/extension \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../../../../extensions + + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/extension + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static + +include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_MODULE := ui_lua_static + +LOCAL_MODULE_FILENAME := libluaui + +LOCAL_SRC_FILES := ../manual/ui/lua_cocos2dx_experimental_video_manual.cpp \ + ../manual/ui/lua_cocos2dx_ui_manual.cpp \ + ../auto/lua_cocos2dx_experimental_video_auto.cpp \ + ../auto/lua_cocos2dx_ui_auto.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../manual/ui \ + $(LOCAL_PATH)/../auto \ + $(LOCAL_PATH)/../../../ui + + +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../manual/ui + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_ui_static + +include $(BUILD_STATIC_LIBRARY) + +$(call import-module,lua/luajit/prebuilt/android) +$(call import-module,.) +$(call import-module,audio/android) +$(call import-module,network) +$(call import-module,editor-support/cocosbuilder) +$(call import-module,editor-support/cocostudio) +$(call import-module,editor-support/spine) +$(call import-module,ui) +$(call import-module,extensions) + + diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj index 80163c3135..ace44db367 100644 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj +++ b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj @@ -7,223 +7,247 @@ objects = { /* Begin PBXBuildFile section */ - 1503FAA118DA8A1C00F6518C /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9D18DA8A1C00F6518C /* buffer.c */; }; - 1503FAA218DA8A1C00F6518C /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9D18DA8A1C00F6518C /* buffer.c */; }; - 1503FAA318DA8A1C00F6518C /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FA9E18DA8A1C00F6518C /* buffer.h */; }; - 1503FAA418DA8A1C00F6518C /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FA9E18DA8A1C00F6518C /* buffer.h */; }; - 1503FAA518DA8A1C00F6518C /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9F18DA8A1C00F6518C /* io.c */; }; - 1503FAA618DA8A1C00F6518C /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9F18DA8A1C00F6518C /* io.c */; }; - 1503FAA718DA8A1C00F6518C /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FAA018DA8A1C00F6518C /* io.h */; }; - 1503FAA818DA8A1C00F6518C /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FAA018DA8A1C00F6518C /* io.h */; }; - 1540AF57193EC30500717D8E /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; - 1540AF58193EC30500717D8E /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; - 1540AF59193EC30500717D8E /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; - 1540AF5A193EC30500717D8E /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; - 15622969197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */; }; - 1562296A197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; - 1562297519778209009C9067 /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1562297119778209009C9067 /* lua_cocos2dx_experimental_manual.cpp */; }; - 1562297619778209009C9067 /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1562297219778209009C9067 /* lua_cocos2dx_experimental_manual.hpp */; }; - 156EADF31977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; - 156EADF41977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */; }; - 156EADF51977A2BF00F53709 /* lua_cocos2dx_experimental_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */; }; - 156EADF61977A2C200F53709 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; - 156EADF91977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF71977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.cpp */; }; - 156EADFA1977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 156EADF81977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.hpp */; }; - 156EADFB1977A3A300F53709 /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1562297119778209009C9067 /* lua_cocos2dx_experimental_manual.cpp */; }; - 156EADFC1977A3A500F53709 /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1562297219778209009C9067 /* lua_cocos2dx_experimental_manual.hpp */; }; - 1A262AB818BEEF5900D2DB92 /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; - 1A262AB918BEEF5900D2DB92 /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; - 1AACE7B518BC45C200215002 /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; - 1AACE7B618BC45C200215002 /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; - 1AACE7B718BC45C200215002 /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; - 1AACE7B818BC45C200215002 /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; - 1AACE7BB18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; - 1AACE7BC18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; - 1AACE7BD18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74D18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp */; }; - 1AACE7BE18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74D18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp */; }; - 1AACE7C718BC45C200215002 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; - 1AACE7C818BC45C200215002 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; - 1AACE7C918BC45C200215002 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; - 1AACE7CA18BC45C200215002 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; - 1AACE7CD18BC45C200215002 /* lua_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */; }; - 1AACE7CE18BC45C200215002 /* lua_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */; }; - 1AACE7CF18BC45C200215002 /* lua_cocos2dx_spine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */; }; - 1AACE7D018BC45C200215002 /* lua_cocos2dx_spine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */; }; - 1AACE7D318BC45C200215002 /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; - 1AACE7D418BC45C200215002 /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; - 1AACE7D518BC45C200215002 /* lua_cocos2dx_studio_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */; }; - 1AACE7D618BC45C200215002 /* lua_cocos2dx_studio_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */; }; - 1AACE7D918BC45C200215002 /* CCBProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75E18BC45C200215002 /* CCBProxy.cpp */; }; - 1AACE7DA18BC45C200215002 /* CCBProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75E18BC45C200215002 /* CCBProxy.cpp */; }; - 1AACE7DB18BC45C200215002 /* CCBProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75F18BC45C200215002 /* CCBProxy.h */; }; - 1AACE7DC18BC45C200215002 /* CCBProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75F18BC45C200215002 /* CCBProxy.h */; }; - 1AACE7DD18BC45C200215002 /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; - 1AACE7DE18BC45C200215002 /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; - 1AACE7DF18BC45C200215002 /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; - 1AACE7E018BC45C200215002 /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; - 1AACE7E118BC45C200215002 /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; - 1AACE7E218BC45C200215002 /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; - 1AACE7E318BC45C200215002 /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; - 1AACE7E418BC45C200215002 /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; - 1AACE7E518BC45C200215002 /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; - 1AACE7E618BC45C200215002 /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; - 1AACE7E718BC45C200215002 /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; - 1AACE7E818BC45C200215002 /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; - 1AACE7E918BC45C200215002 /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; - 1AACE7EA18BC45C200215002 /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; - 1AACE7EB18BC45C200215002 /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; - 1AACE7EC18BC45C200215002 /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; - 1AACE7ED18BC45C200215002 /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; - 1AACE7EE18BC45C200215002 /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; - 1AACE7EF18BC45C200215002 /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; - 1AACE7F018BC45C200215002 /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; - 1AACE7F118BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76A18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp */; }; - 1AACE7F218BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76A18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp */; }; - 1AACE7F318BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76B18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp */; }; - 1AACE7F418BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76B18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp */; }; - 1AACE7F518BC45C200215002 /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76C18BC45C200215002 /* lua_cocos2dx_deprecated.cpp */; }; - 1AACE7F618BC45C200215002 /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76C18BC45C200215002 /* lua_cocos2dx_deprecated.cpp */; }; - 1AACE7F718BC45C200215002 /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76D18BC45C200215002 /* lua_cocos2dx_deprecated.h */; }; - 1AACE7F818BC45C200215002 /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76D18BC45C200215002 /* lua_cocos2dx_deprecated.h */; }; - 1AACE7F918BC45C200215002 /* lua_cocos2dx_extension_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76E18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp */; }; - 1AACE7FA18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76E18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp */; }; - 1AACE7FB18BC45C200215002 /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76F18BC45C200215002 /* lua_cocos2dx_extension_manual.h */; }; - 1AACE7FC18BC45C200215002 /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76F18BC45C200215002 /* lua_cocos2dx_extension_manual.h */; }; - 1AACE80118BC45C200215002 /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77218BC45C200215002 /* lua_cocos2dx_manual.cpp */; }; - 1AACE80218BC45C200215002 /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77218BC45C200215002 /* lua_cocos2dx_manual.cpp */; }; - 1AACE80318BC45C200215002 /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77318BC45C200215002 /* lua_cocos2dx_manual.hpp */; }; - 1AACE80418BC45C200215002 /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77318BC45C200215002 /* lua_cocos2dx_manual.hpp */; }; - 1AACE80518BC45C200215002 /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77418BC45C200215002 /* lua_cocos2dx_physics_manual.cpp */; }; - 1AACE80618BC45C200215002 /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77418BC45C200215002 /* lua_cocos2dx_physics_manual.cpp */; }; - 1AACE80718BC45C200215002 /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77518BC45C200215002 /* lua_cocos2dx_physics_manual.hpp */; }; - 1AACE80818BC45C200215002 /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77518BC45C200215002 /* lua_cocos2dx_physics_manual.hpp */; }; - 1AACE80918BC45C200215002 /* lua_cocos2dx_spine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77618BC45C200215002 /* lua_cocos2dx_spine_manual.cpp */; }; - 1AACE80A18BC45C200215002 /* lua_cocos2dx_spine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77618BC45C200215002 /* lua_cocos2dx_spine_manual.cpp */; }; - 1AACE80B18BC45C200215002 /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77718BC45C200215002 /* lua_cocos2dx_spine_manual.hpp */; }; - 1AACE80C18BC45C200215002 /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77718BC45C200215002 /* lua_cocos2dx_spine_manual.hpp */; }; - 1AACE80D18BC45C200215002 /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77818BC45C200215002 /* lua_extensions.c */; }; - 1AACE80E18BC45C200215002 /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77818BC45C200215002 /* lua_extensions.c */; }; - 1AACE80F18BC45C200215002 /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77918BC45C200215002 /* lua_extensions.h */; }; - 1AACE81018BC45C200215002 /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77918BC45C200215002 /* lua_extensions.h */; }; - 1AACE81118BC45C200215002 /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77A18BC45C200215002 /* Lua_web_socket.cpp */; }; - 1AACE81218BC45C200215002 /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77A18BC45C200215002 /* Lua_web_socket.cpp */; }; - 1AACE81318BC45C200215002 /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77B18BC45C200215002 /* Lua_web_socket.h */; }; - 1AACE81418BC45C200215002 /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77B18BC45C200215002 /* Lua_web_socket.h */; }; - 1AACE81518BC45C200215002 /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77C18BC45C200215002 /* lua_xml_http_request.cpp */; }; - 1AACE81618BC45C200215002 /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77C18BC45C200215002 /* lua_xml_http_request.cpp */; }; - 1AACE81718BC45C200215002 /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77D18BC45C200215002 /* lua_xml_http_request.h */; }; - 1AACE81818BC45C200215002 /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77D18BC45C200215002 /* lua_xml_http_request.h */; }; - 1AACE81918BC45C200215002 /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; - 1AACE81A18BC45C200215002 /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; - 1AACE81B18BC45C200215002 /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; - 1AACE81C18BC45C200215002 /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; - 1AACE81D18BC45C200215002 /* LuaOpengl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78018BC45C200215002 /* LuaOpengl.cpp */; }; - 1AACE81E18BC45C200215002 /* LuaOpengl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78018BC45C200215002 /* LuaOpengl.cpp */; }; - 1AACE81F18BC45C200215002 /* LuaOpengl.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78118BC45C200215002 /* LuaOpengl.h */; }; - 1AACE82018BC45C200215002 /* LuaOpengl.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78118BC45C200215002 /* LuaOpengl.h */; }; - 1AACE82118BC45C200215002 /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78218BC45C200215002 /* LuaScriptHandlerMgr.cpp */; }; - 1AACE82218BC45C200215002 /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78218BC45C200215002 /* LuaScriptHandlerMgr.cpp */; }; - 1AACE82318BC45C200215002 /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78318BC45C200215002 /* LuaScriptHandlerMgr.h */; }; - 1AACE82418BC45C200215002 /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78318BC45C200215002 /* LuaScriptHandlerMgr.h */; }; - 1AACE82518BC45C200215002 /* LuaSkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78418BC45C200215002 /* LuaSkeletonAnimation.cpp */; }; - 1AACE82618BC45C200215002 /* LuaSkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78418BC45C200215002 /* LuaSkeletonAnimation.cpp */; }; - 1AACE82718BC45C200215002 /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78518BC45C200215002 /* LuaSkeletonAnimation.h */; }; - 1AACE82818BC45C200215002 /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78518BC45C200215002 /* LuaSkeletonAnimation.h */; }; - 1AACE83118BC45C200215002 /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; - 1AACE83218BC45C200215002 /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; - 1AACE83318BC45C200215002 /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; - 1AACE83418BC45C200215002 /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; - 1AACE87B18BC45C200215002 /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; - 1AACE87C18BC45C200215002 /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; - 1ABCA1EA18CD8F470087CE3A /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; - 1ABCA1EB18CD8F470087CE3A /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; - 1ABCA1EC18CD8F470087CE3A /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; - 1ABCA1ED18CD8F470087CE3A /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; - 1ABCA1EE18CD8F470087CE3A /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; - 1ABCA1EF18CD8F470087CE3A /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; - 1ABCA1F018CD8F470087CE3A /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; - 1ABCA1F118CD8F470087CE3A /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; - 1ABCA1F418CD8F540087CE3A /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F318CD8F540087CE3A /* libluajit.a */; }; - 1ABCA20018CD8F6E0087CE3A /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; - 1ABCA20118CD8F6E0087CE3A /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; - 1ABCA20218CD8F6E0087CE3A /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; - 1ABCA20318CD8F6E0087CE3A /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; - 1ABCA20418CD8F6E0087CE3A /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; - 1ABCA20518CD8F6E0087CE3A /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; - 1ABCA20618CD8F6E0087CE3A /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; - 1ABCA20718CD8F6E0087CE3A /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; - 1ABCA20818CD8F6E0087CE3A /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; - 1ABCA20918CD8F6E0087CE3A /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; - 1ABCA20A18CD8F6E0087CE3A /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; - 1ABCA20B18CD8F6E0087CE3A /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; - 1ABCA20C18CD8F6E0087CE3A /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; - 1ABCA20D18CD8F6E0087CE3A /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; - 1ABCA23118CD8F7D0087CE3A /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA20F18CD8F7D0087CE3A /* auxiliar.c */; }; - 1ABCA23218CD8F7D0087CE3A /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA20F18CD8F7D0087CE3A /* auxiliar.c */; }; - 1ABCA23318CD8F7D0087CE3A /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21018CD8F7D0087CE3A /* auxiliar.h */; }; - 1ABCA23418CD8F7D0087CE3A /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21018CD8F7D0087CE3A /* auxiliar.h */; }; - 1ABCA23518CD8F7D0087CE3A /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21118CD8F7D0087CE3A /* except.c */; }; - 1ABCA23618CD8F7D0087CE3A /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21118CD8F7D0087CE3A /* except.c */; }; - 1ABCA23718CD8F7D0087CE3A /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21218CD8F7D0087CE3A /* except.h */; }; - 1ABCA23818CD8F7D0087CE3A /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21218CD8F7D0087CE3A /* except.h */; }; - 1ABCA23918CD8F7D0087CE3A /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21318CD8F7D0087CE3A /* inet.c */; }; - 1ABCA23A18CD8F7D0087CE3A /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21318CD8F7D0087CE3A /* inet.c */; }; - 1ABCA23B18CD8F7D0087CE3A /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21418CD8F7D0087CE3A /* inet.h */; }; - 1ABCA23C18CD8F7D0087CE3A /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21418CD8F7D0087CE3A /* inet.h */; }; - 1ABCA23D18CD8F7D0087CE3A /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21518CD8F7D0087CE3A /* luasocket.c */; }; - 1ABCA23E18CD8F7D0087CE3A /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21518CD8F7D0087CE3A /* luasocket.c */; }; - 1ABCA23F18CD8F7D0087CE3A /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21618CD8F7D0087CE3A /* luasocket.h */; }; - 1ABCA24018CD8F7D0087CE3A /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21618CD8F7D0087CE3A /* luasocket.h */; }; - 1ABCA24918CD8F7D0087CE3A /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21B18CD8F7D0087CE3A /* mime.c */; }; - 1ABCA24A18CD8F7D0087CE3A /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21B18CD8F7D0087CE3A /* mime.c */; }; - 1ABCA24B18CD8F7D0087CE3A /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21C18CD8F7D0087CE3A /* mime.h */; }; - 1ABCA24C18CD8F7D0087CE3A /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21C18CD8F7D0087CE3A /* mime.h */; }; - 1ABCA24D18CD8F7D0087CE3A /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21D18CD8F7D0087CE3A /* options.c */; }; - 1ABCA24E18CD8F7D0087CE3A /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21D18CD8F7D0087CE3A /* options.c */; }; - 1ABCA24F18CD8F7D0087CE3A /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21E18CD8F7D0087CE3A /* options.h */; }; - 1ABCA25018CD8F7D0087CE3A /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21E18CD8F7D0087CE3A /* options.h */; }; - 1ABCA25118CD8F7D0087CE3A /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21F18CD8F7D0087CE3A /* select.c */; }; - 1ABCA25218CD8F7D0087CE3A /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21F18CD8F7D0087CE3A /* select.c */; }; - 1ABCA25318CD8F7D0087CE3A /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22018CD8F7D0087CE3A /* select.h */; }; - 1ABCA25418CD8F7D0087CE3A /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22018CD8F7D0087CE3A /* select.h */; }; - 1ABCA25518CD8F7D0087CE3A /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22118CD8F7D0087CE3A /* serial.c */; }; - 1ABCA25618CD8F7D0087CE3A /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22118CD8F7D0087CE3A /* serial.c */; }; - 1ABCA25718CD8F7D0087CE3A /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22218CD8F7D0087CE3A /* socket.h */; }; - 1ABCA25818CD8F7D0087CE3A /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22218CD8F7D0087CE3A /* socket.h */; }; - 1ABCA25D18CD8F7D0087CE3A /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22518CD8F7D0087CE3A /* tcp.c */; }; - 1ABCA25E18CD8F7D0087CE3A /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22518CD8F7D0087CE3A /* tcp.c */; }; - 1ABCA25F18CD8F7D0087CE3A /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22618CD8F7D0087CE3A /* tcp.h */; }; - 1ABCA26018CD8F7D0087CE3A /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22618CD8F7D0087CE3A /* tcp.h */; }; - 1ABCA26118CD8F7D0087CE3A /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22718CD8F7D0087CE3A /* timeout.c */; }; - 1ABCA26218CD8F7D0087CE3A /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22718CD8F7D0087CE3A /* timeout.c */; }; - 1ABCA26318CD8F7D0087CE3A /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22818CD8F7D0087CE3A /* timeout.h */; }; - 1ABCA26418CD8F7D0087CE3A /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22818CD8F7D0087CE3A /* timeout.h */; }; - 1ABCA26518CD8F7D0087CE3A /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22918CD8F7D0087CE3A /* udp.c */; }; - 1ABCA26618CD8F7D0087CE3A /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22918CD8F7D0087CE3A /* udp.c */; }; - 1ABCA26718CD8F7D0087CE3A /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22A18CD8F7D0087CE3A /* udp.h */; }; - 1ABCA26818CD8F7D0087CE3A /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22A18CD8F7D0087CE3A /* udp.h */; }; - 1ABCA26918CD8F7D0087CE3A /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22B18CD8F7D0087CE3A /* unix.c */; }; - 1ABCA26A18CD8F7D0087CE3A /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22B18CD8F7D0087CE3A /* unix.c */; }; - 1ABCA26B18CD8F7D0087CE3A /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22C18CD8F7D0087CE3A /* unix.h */; }; - 1ABCA26C18CD8F7D0087CE3A /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22C18CD8F7D0087CE3A /* unix.h */; }; - 1ABCA26D18CD8F7D0087CE3A /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22D18CD8F7D0087CE3A /* usocket.c */; }; - 1ABCA26E18CD8F7D0087CE3A /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22D18CD8F7D0087CE3A /* usocket.c */; }; - 1ABCA26F18CD8F7D0087CE3A /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22E18CD8F7D0087CE3A /* usocket.h */; }; - 1ABCA27018CD8F7D0087CE3A /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22E18CD8F7D0087CE3A /* usocket.h */; }; - 1ABCA36318CD9D7F0087CE3A /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F618CD8F5F0087CE3A /* libluajit.a */; }; - 2905FAD018CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; - 2905FAD118CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; - 2905FAD218CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */; }; - 2905FAD318CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */; }; - 2905FAD618CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FAD418CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp */; }; - 2905FAD718CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FAD418CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp */; }; - 2905FAD818CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FAD518CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp */; }; - 2905FAD918CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FAD518CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp */; }; - C08D4F731974E00F00C87690 /* liblua.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D9BAFA1974D30000EC35BB /* liblua.a */; }; - C0FEF4D618BE0E70001F446C /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; }; - C0FEF4D718BE0E70001F446C /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; }; - C0FEF4D818BE0E70001F446C /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; }; - C0FEF4D918BE0E70001F446C /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; }; + 15427D44198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */; }; + 15427D45198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */; }; + 15427D46198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */; }; + 15427D47198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */; }; + 155CA35F1988E261006E0A08 /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22D18CD8F7D0087CE3A /* usocket.c */; }; + 155CA3601988E26D006E0A08 /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22E18CD8F7D0087CE3A /* usocket.h */; }; + 15AC69D519876E9300D17520 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; + 15AC69D619876EA200D17520 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; + 15AC69D91987710400D17520 /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; + 15AC69DA1987710400D17520 /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; + 15AC69DB1987710400D17520 /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; + 15AC69DC1987710400D17520 /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; + 15AC69DD1987710400D17520 /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; + 15AC69DE1987711400D17520 /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; + 15AC69DF1987711400D17520 /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; + 15AC69E01987711400D17520 /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; + 15AC69E11987711400D17520 /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; + 15AC69E21987712500D17520 /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; + 15AC69E31987712500D17520 /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; + 15AC69E4198771FF00D17520 /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F618CD8F5F0087CE3A /* libluajit.a */; }; + 15AC69EB1987B42600D17520 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; + 15AC69EC1987B43B00D17520 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */; }; + 15C1BDDB1986541800A46ACC /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; + 15C1BDDC1986541800A46ACC /* lua_cocos2dx_extension_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */; }; + 15C1BDDD1986542B00A46ACC /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; + 15C1BDDE1986542B00A46ACC /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */; }; + 15C1BEE21986550500A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCC019864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp */; }; + 15C1BEE31986550500A46ACC /* CCBProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCF21986526C00A46ACC /* CCBProxy.cpp */; }; + 15C1BEE41986550500A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCF41986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp */; }; + 15C1BEE51986555100A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCC119864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp */; }; + 15C1BEE61986555100A46ACC /* CCBProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCF31986526C00A46ACC /* CCBProxy.h */; }; + 15C1BEE71986555100A46ACC /* lua_cocos2dx_cocosbuilder_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCF51986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.h */; }; + 15C1BF6A19865AAB00A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCC219864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp */; }; + 15C1BF6B19865AC200A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */; }; + 15C1BFEE19865CBE00A46ACC /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; + 15C1BFF019865CD400A46ACC /* lua_cocos2dx_studio_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */; }; + 15C1C074198731C000A46ACC /* lua_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */; }; + 15C1C075198731C000A46ACC /* lua_cocos2dx_spine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */; }; + 15C1C076198731C000A46ACC /* LuaSkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */; }; + 15C1C077198731D300A46ACC /* lua_cocos2dx_spine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */; }; + 15C1C078198731D300A46ACC /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */; }; + 15C1C079198731D300A46ACC /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */; }; + 15C1C0FC1987330D00A46ACC /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; + 15C1C0FD1987330D00A46ACC /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */; }; + 15C1C0FE1987331B00A46ACC /* lua_cocos2dx_ui_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */; }; + 15C1C0FF1987331B00A46ACC /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */; }; + 15C1C1A01987347200A46ACC /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD011986526C00A46ACC /* lua_extensions.c */; }; + 15C1C1A21987347200A46ACC /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */; }; + 15C1C1A41987347200A46ACC /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */; }; + 15C1C1A6198734AC00A46ACC /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD021986526C00A46ACC /* lua_extensions.h */; }; + 15C1C1A7198734AC00A46ACC /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD041986526C00A46ACC /* Lua_web_socket.h */; }; + 15C1C1A8198734AC00A46ACC /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */; }; + 15C1C1A91987370000A46ACC /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9D18DA8A1C00F6518C /* buffer.c */; }; + 15C1C1AA1987370000A46ACC /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9F18DA8A1C00F6518C /* io.c */; }; + 15C1C1AB1987370000A46ACC /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA20F18CD8F7D0087CE3A /* auxiliar.c */; }; + 15C1C1AC1987370000A46ACC /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21118CD8F7D0087CE3A /* except.c */; }; + 15C1C1AD1987370000A46ACC /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21318CD8F7D0087CE3A /* inet.c */; }; + 15C1C1AE1987370000A46ACC /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21518CD8F7D0087CE3A /* luasocket.c */; }; + 15C1C1AF1987370000A46ACC /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21B18CD8F7D0087CE3A /* mime.c */; }; + 15C1C1B01987370000A46ACC /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21D18CD8F7D0087CE3A /* options.c */; }; + 15C1C1B11987370000A46ACC /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21F18CD8F7D0087CE3A /* select.c */; }; + 15C1C1B21987370000A46ACC /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22118CD8F7D0087CE3A /* serial.c */; }; + 15C1C1B31987370000A46ACC /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22518CD8F7D0087CE3A /* tcp.c */; }; + 15C1C1B41987370000A46ACC /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22718CD8F7D0087CE3A /* timeout.c */; }; + 15C1C1B51987370000A46ACC /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22918CD8F7D0087CE3A /* udp.c */; }; + 15C1C1B61987370000A46ACC /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22B18CD8F7D0087CE3A /* unix.c */; }; + 15C1C1B71987374000A46ACC /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FA9E18DA8A1C00F6518C /* buffer.h */; }; + 15C1C1B81987374000A46ACC /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FAA018DA8A1C00F6518C /* io.h */; }; + 15C1C1B91987374000A46ACC /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21018CD8F7D0087CE3A /* auxiliar.h */; }; + 15C1C1BA1987374000A46ACC /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21218CD8F7D0087CE3A /* except.h */; }; + 15C1C1BB1987374000A46ACC /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21418CD8F7D0087CE3A /* inet.h */; }; + 15C1C1BC1987374000A46ACC /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21618CD8F7D0087CE3A /* luasocket.h */; }; + 15C1C1BD1987374000A46ACC /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21C18CD8F7D0087CE3A /* mime.h */; }; + 15C1C1BE1987374000A46ACC /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21E18CD8F7D0087CE3A /* options.h */; }; + 15C1C1BF1987374000A46ACC /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22018CD8F7D0087CE3A /* select.h */; }; + 15C1C1C01987374000A46ACC /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22218CD8F7D0087CE3A /* socket.h */; }; + 15C1C1C11987374000A46ACC /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22618CD8F7D0087CE3A /* tcp.h */; }; + 15C1C1C21987374000A46ACC /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22818CD8F7D0087CE3A /* timeout.h */; }; + 15C1C1C31987374000A46ACC /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22A18CD8F7D0087CE3A /* udp.h */; }; + 15C1C1C41987374000A46ACC /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22C18CD8F7D0087CE3A /* unix.h */; }; + 15C1C24D1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */; }; + 15C1C24E1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */; }; + 15C1C2CD1987495500A46ACC /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; + 15C1C2CE1987498B00A46ACC /* LuaOpengl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24F198747E400A46ACC /* LuaOpengl.cpp */; }; + 15C1C2CF1987498B00A46ACC /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */; }; + 15C1C2D01987498B00A46ACC /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */; }; + 15C1C2D11987498B00A46ACC /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */; }; + 15C1C2D21987498B00A46ACC /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */; }; + 15C1C2D31987498B00A46ACC /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */; }; + 15C1C2D41987499F00A46ACC /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; + 15C1C2D5198749BC00A46ACC /* LuaOpengl.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C250198747E400A46ACC /* LuaOpengl.h */; }; + 15C1C2D6198749BC00A46ACC /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */; }; + 15C1C2D7198749BC00A46ACC /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */; }; + 15C1C2D8198749BC00A46ACC /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; }; + 15C1C2D9198749BC00A46ACC /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; }; + 15C1C2DA198749BC00A46ACC /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; }; + 15C1C2DB19874B3D00A46ACC /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; + 15C1C2DC19874B4400A46ACC /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; + 15C1C2DD19874B8800A46ACC /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; + 15C1C2DE19874B8800A46ACC /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; + 15C1C2DF19874B8800A46ACC /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; + 15C1C2E019874B8800A46ACC /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; + 15C1C2E119874B8800A46ACC /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; + 15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; + 15C1C2E319874BEC00A46ACC /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; }; + 15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; + 15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; + 15C1C2E619874CBE00A46ACC /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; }; + 15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; + 15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; + 15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; + 15C1C2EA19874CBE00A46ACC /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; + 15C1C2EB19874CBE00A46ACC /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; + 15C1C2EC19874CBE00A46ACC /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; + 15C1C2ED19874CBE00A46ACC /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; + 15C1C2EE19874CBE00A46ACC /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; + 15EFA1F61989E528000C57D3 /* lua_cocos2dx_experimental_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */; }; + 15EFA1F71989E582000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; + 15EFA27B198B274B000C57D3 /* lua_cocos2dx_extension_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */; }; + 15EFA27C198B275D000C57D3 /* lua_cocos2dx_extension_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */; }; + 15EFA27D198B2777000C57D3 /* lua_cocos2dx_extension_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74D18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp */; }; + 15EFA27E198B2777000C57D3 /* lua_cocos2dx_extension_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */; }; + 15EFA2FA198B2860000C57D3 /* CCBProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCF21986526C00A46ACC /* CCBProxy.cpp */; }; + 15EFA2FB198B2860000C57D3 /* lua_cocos2dx_cocosbuilder_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCF41986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp */; }; + 15EFA2FC198B2869000C57D3 /* lua_cocos2dx_cocosbuilder_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCC019864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp */; }; + 15EFA2FD198B2875000C57D3 /* lua_cocos2dx_cocosbuilder_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCC119864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp */; }; + 15EFA2FE198B2875000C57D3 /* CCBProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCF31986526C00A46ACC /* CCBProxy.h */; }; + 15EFA2FF198B2875000C57D3 /* lua_cocos2dx_cocosbuilder_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCF51986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.h */; }; + 15EFA37B198B28FF000C57D3 /* lua_cocos2dx_ui_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */; }; + 15EFA37C198B28FF000C57D3 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */; }; + 15EFA37D198B28FF000C57D3 /* lua_cocos2dx_ui_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */; }; + 15EFA37E198B2911000C57D3 /* lua_cocos2dx_ui_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */; }; + 15EFA37F198B2911000C57D3 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */; }; + 15EFA380198B2912000C57D3 /* lua_cocos2dx_ui_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */; }; + 15EFA3FC198B29F9000C57D3 /* lua_cocos2dx_studio_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */; }; + 15EFA3FE198B2A11000C57D3 /* lua_cocos2dx_studio_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */; }; + 15EFA403198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */; }; + 15EFA404198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */; }; + 15EFA405198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */; }; + 15EFA406198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */; }; + 15EFA480198B2B57000C57D3 /* lua_cocos2dx_spine_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75518BC45C200215002 /* lua_cocos2dx_spine_auto.cpp */; }; + 15EFA481198B2B57000C57D3 /* lua_cocos2dx_spine_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */; }; + 15EFA482198B2B57000C57D3 /* LuaSkeletonAnimation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */; }; + 15EFA483198B2B68000C57D3 /* lua_cocos2dx_spine_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */; }; + 15EFA484198B2B68000C57D3 /* lua_cocos2dx_spine_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */; }; + 15EFA485198B2B68000C57D3 /* LuaSkeletonAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */; }; + 15EFA4FF198B2C0B000C57D3 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9D18DA8A1C00F6518C /* buffer.c */; }; + 15EFA500198B2C0B000C57D3 /* io.c in Sources */ = {isa = PBXBuildFile; fileRef = 1503FA9F18DA8A1C00F6518C /* io.c */; }; + 15EFA501198B2C0B000C57D3 /* auxiliar.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA20F18CD8F7D0087CE3A /* auxiliar.c */; }; + 15EFA502198B2C0B000C57D3 /* except.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21118CD8F7D0087CE3A /* except.c */; }; + 15EFA503198B2C0B000C57D3 /* inet.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21318CD8F7D0087CE3A /* inet.c */; }; + 15EFA504198B2C0C000C57D3 /* luasocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21518CD8F7D0087CE3A /* luasocket.c */; }; + 15EFA505198B2C0C000C57D3 /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21B18CD8F7D0087CE3A /* mime.c */; }; + 15EFA506198B2C0C000C57D3 /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21D18CD8F7D0087CE3A /* options.c */; }; + 15EFA507198B2C0C000C57D3 /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA21F18CD8F7D0087CE3A /* select.c */; }; + 15EFA508198B2C0C000C57D3 /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22118CD8F7D0087CE3A /* serial.c */; }; + 15EFA509198B2C0C000C57D3 /* tcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22518CD8F7D0087CE3A /* tcp.c */; }; + 15EFA50A198B2C0C000C57D3 /* timeout.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22718CD8F7D0087CE3A /* timeout.c */; }; + 15EFA50B198B2C0C000C57D3 /* udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22918CD8F7D0087CE3A /* udp.c */; }; + 15EFA50C198B2C0C000C57D3 /* unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22B18CD8F7D0087CE3A /* unix.c */; }; + 15EFA50D198B2C0C000C57D3 /* usocket.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA22D18CD8F7D0087CE3A /* usocket.c */; }; + 15EFA50E198B2CD0000C57D3 /* buffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FA9E18DA8A1C00F6518C /* buffer.h */; }; + 15EFA50F198B2CD0000C57D3 /* io.h in Headers */ = {isa = PBXBuildFile; fileRef = 1503FAA018DA8A1C00F6518C /* io.h */; }; + 15EFA510198B2CD0000C57D3 /* auxiliar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21018CD8F7D0087CE3A /* auxiliar.h */; }; + 15EFA511198B2CD0000C57D3 /* except.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21218CD8F7D0087CE3A /* except.h */; }; + 15EFA512198B2CD0000C57D3 /* inet.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21418CD8F7D0087CE3A /* inet.h */; }; + 15EFA513198B2CD1000C57D3 /* luasocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21618CD8F7D0087CE3A /* luasocket.h */; }; + 15EFA514198B2CD1000C57D3 /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21C18CD8F7D0087CE3A /* mime.h */; }; + 15EFA515198B2CD1000C57D3 /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA21E18CD8F7D0087CE3A /* options.h */; }; + 15EFA516198B2CD1000C57D3 /* select.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22018CD8F7D0087CE3A /* select.h */; }; + 15EFA517198B2CD1000C57D3 /* socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22218CD8F7D0087CE3A /* socket.h */; }; + 15EFA518198B2CD1000C57D3 /* tcp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22618CD8F7D0087CE3A /* tcp.h */; }; + 15EFA519198B2CD1000C57D3 /* timeout.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22818CD8F7D0087CE3A /* timeout.h */; }; + 15EFA51A198B2CD1000C57D3 /* udp.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22A18CD8F7D0087CE3A /* udp.h */; }; + 15EFA51B198B2CD1000C57D3 /* unix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22C18CD8F7D0087CE3A /* unix.h */; }; + 15EFA51C198B2CD1000C57D3 /* usocket.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA22E18CD8F7D0087CE3A /* usocket.h */; }; + 15EFA51D198B2CE5000C57D3 /* lua_extensions.c in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD011986526C00A46ACC /* lua_extensions.c */; }; + 15EFA51E198B2CE5000C57D3 /* Lua_web_socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */; }; + 15EFA51F198B2CE5000C57D3 /* lua_xml_http_request.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */; }; + 15EFA520198B2CF3000C57D3 /* lua_extensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD021986526C00A46ACC /* lua_extensions.h */; }; + 15EFA521198B2CF4000C57D3 /* Lua_web_socket.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD041986526C00A46ACC /* Lua_web_socket.h */; }; + 15EFA522198B2CF4000C57D3 /* lua_xml_http_request.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */; }; + 15EFA59C198B2D5F000C57D3 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCC219864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp */; }; + 15EFA59D198B2D69000C57D3 /* lua_cocos2dx_cocosdenshion_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */; }; + 15EFA5D8198B2DAA000C57D3 /* liblua.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D9BAFA1974D30000EC35BB /* liblua.a */; }; + 15EFA5D9198B2DAA000C57D3 /* libluajit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1ABCA1F318CD8F540087CE3A /* libluajit.a */; }; + 15EFA617198B2E2B000C57D3 /* lua_cocos2dx_experimental_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */; }; + 15EFA618198B2E2B000C57D3 /* lua_cocos2dx_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */; }; + 15EFA619198B2E2B000C57D3 /* lua_cocos2dx_physics_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE75218BC45C200215002 /* lua_cocos2dx_physics_auto.cpp */; }; + 15EFA622198B2E74000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */; }; + 15EFA623198B2E74000C57D3 /* lua_cocos2dx_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */; }; + 15EFA624198B2E74000C57D3 /* lua_cocos2dx_physics_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE75318BC45C200215002 /* lua_cocos2dx_physics_auto.hpp */; }; + 15EFA625198B31FB000C57D3 /* LuaOpengl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1C24F198747E400A46ACC /* LuaOpengl.cpp */; }; + 15EFA626198B31FB000C57D3 /* lua_cocos2dx_deprecated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */; }; + 15EFA627198B31FB000C57D3 /* lua_cocos2dx_experimental_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */; }; + 15EFA628198B31FB000C57D3 /* lua_cocos2dx_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */; }; + 15EFA629198B31FB000C57D3 /* lua_cocos2dx_physics_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */; }; + 15EFA62A198B31FB000C57D3 /* LuaScriptHandlerMgr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */; }; + 15EFA62B198B3220000C57D3 /* LuaOpengl.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1C250198747E400A46ACC /* LuaOpengl.h */; }; + 15EFA62C198B3220000C57D3 /* lua_cocos2dx_deprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */; }; + 15EFA62D198B3220000C57D3 /* lua_cocos2dx_experimental_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */; }; + 15EFA62E198B3220000C57D3 /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; }; + 15EFA62F198B3220000C57D3 /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; }; + 15EFA630198B3220000C57D3 /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; }; + 15EFA631198B328B000C57D3 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; }; + 15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; }; + 15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; }; + 15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; }; + 15EFA635198B328B000C57D3 /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; }; + 15EFA636198B328B000C57D3 /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; }; + 15EFA637198B328B000C57D3 /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; }; + 15EFA638198B328B000C57D3 /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; }; + 15EFA639198B328B000C57D3 /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; }; + 15EFA63A198B32BB000C57D3 /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; }; + 15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; }; + 15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; }; + 15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; }; + 15EFA63E198B32BB000C57D3 /* CCLuaValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76718BC45C200215002 /* CCLuaValue.h */; }; + 15EFA63F198B32BB000C57D3 /* Cocos2dxLuaLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */; }; + 15EFA640198B32BB000C57D3 /* LuaBasicConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */; }; + 15EFA641198B32BB000C57D3 /* CCLuaObjcBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */; }; + 15EFA642198B32BB000C57D3 /* tolua_fix.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE7B418BC45C200215002 /* tolua_fix.h */; }; + 15EFA644198B32D5000C57D3 /* xxtea.h in Headers */ = {isa = PBXBuildFile; fileRef = 1540AF56193EC30500717D8E /* xxtea.h */; }; + 15EFA645198B32DB000C57D3 /* xxtea.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1540AF55193EC30500717D8E /* xxtea.cpp */; }; + 15EFA646198B3311000C57D3 /* tolua_event.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1F918CD8F6E0087CE3A /* tolua_event.c */; }; + 15EFA647198B3311000C57D3 /* tolua_is.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FB18CD8F6E0087CE3A /* tolua_is.c */; }; + 15EFA648198B3311000C57D3 /* tolua_map.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FC18CD8F6E0087CE3A /* tolua_map.c */; }; + 15EFA649198B3311000C57D3 /* tolua_push.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FD18CD8F6E0087CE3A /* tolua_push.c */; }; + 15EFA64A198B3311000C57D3 /* tolua_to.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ABCA1FE18CD8F6E0087CE3A /* tolua_to.c */; }; + 15EFA64B198B3320000C57D3 /* tolua_event.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FA18CD8F6E0087CE3A /* tolua_event.h */; }; + 15EFA64C198B3320000C57D3 /* tolua++.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1FF18CD8F6E0087CE3A /* tolua++.h */; }; + 15EFA64D198B3342000C57D3 /* lauxlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E618CD8F470087CE3A /* lauxlib.h */; }; + 15EFA64E198B3342000C57D3 /* lua.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E718CD8F470087CE3A /* lua.h */; }; + 15EFA64F198B3342000C57D3 /* luaconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E818CD8F470087CE3A /* luaconf.h */; }; + 15EFA650198B3342000C57D3 /* lualib.h in Headers */ = {isa = PBXBuildFile; fileRef = 1ABCA1E918CD8F470087CE3A /* lualib.h */; }; + 15EFA696198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */; }; + 15EFA697198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */; }; + 15EFA698198B668C000C57D3 /* lua_cocos2dx_network_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */; }; + 15EFA699198B668C000C57D3 /* lua_cocos2dx_network_manual.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */; }; + 15EFA69A198B6B67000C57D3 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */; }; + 15EFA69B198B6B84000C57D3 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -233,17 +257,86 @@ 1503FAA018DA8A1C00F6518C /* io.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = io.h; sourceTree = ""; }; 1540AF55193EC30500717D8E /* xxtea.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xxtea.cpp; sourceTree = ""; }; 1540AF56193EC30500717D8E /* xxtea.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xxtea.h; sourceTree = ""; }; + 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosdenshion_manual.cpp; sourceTree = ""; }; + 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_cocosdenshion_manual.h; sourceTree = ""; }; + 155CA3431988C494006E0A08 /* libluaextension iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaextension iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_auto.cpp; sourceTree = ""; }; 15622968197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_auto.hpp; sourceTree = ""; }; - 1562297119778209009C9067 /* lua_cocos2dx_experimental_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_manual.cpp; sourceTree = ""; }; - 1562297219778209009C9067 /* lua_cocos2dx_experimental_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_manual.hpp; sourceTree = ""; }; 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_video_auto.cpp; sourceTree = ""; }; 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_video_auto.hpp; sourceTree = ""; }; - 156EADF71977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_video_manual.cpp; sourceTree = ""; }; - 156EADF81977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_video_manual.hpp; sourceTree = ""; }; + 15C1BCC019864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosbuilder_auto.cpp; sourceTree = ""; }; + 15C1BCC119864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_cocosbuilder_auto.hpp; sourceTree = ""; }; + 15C1BCC219864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosdenshion_auto.cpp; sourceTree = ""; }; + 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_cocosdenshion_auto.hpp; sourceTree = ""; }; + 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_deprecated.cpp; sourceTree = ""; }; + 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_deprecated.h; sourceTree = ""; }; + 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_manual.cpp; sourceTree = ""; }; + 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_manual.hpp; sourceTree = ""; }; + 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_manual.cpp; sourceTree = ""; }; + 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_manual.hpp; sourceTree = ""; }; + 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_physics_manual.cpp; sourceTree = ""; }; + 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_physics_manual.hpp; sourceTree = ""; }; + 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaScriptHandlerMgr.cpp; sourceTree = ""; }; + 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaScriptHandlerMgr.h; sourceTree = ""; }; + 15C1BCF21986526C00A46ACC /* CCBProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCBProxy.cpp; sourceTree = ""; }; + 15C1BCF31986526C00A46ACC /* CCBProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBProxy.h; sourceTree = ""; }; + 15C1BCF41986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_cocosbuilder_manual.cpp; sourceTree = ""; }; + 15C1BCF51986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_cocosbuilder_manual.h; sourceTree = ""; }; + 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_extension_manual.cpp; sourceTree = ""; }; + 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_extension_manual.h; sourceTree = ""; }; + 15C1BD011986526C00A46ACC /* lua_extensions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_extensions.c; sourceTree = ""; }; + 15C1BD021986526C00A46ACC /* lua_extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_extensions.h; sourceTree = ""; }; + 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Lua_web_socket.cpp; sourceTree = ""; }; + 15C1BD041986526C00A46ACC /* Lua_web_socket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Lua_web_socket.h; sourceTree = ""; }; + 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_xml_http_request.cpp; sourceTree = ""; }; + 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_xml_http_request.h; sourceTree = ""; }; + 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_spine_manual.cpp; sourceTree = ""; }; + 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_spine_manual.hpp; sourceTree = ""; }; + 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaSkeletonAnimation.cpp; sourceTree = ""; }; + 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaSkeletonAnimation.h; sourceTree = ""; }; + 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_manual.cpp; sourceTree = ""; }; + 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_manual.hpp; sourceTree = ""; }; + 15C1BDDA1986538000A46ACC /* libluaextension Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaextension Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1BDDF1986543D00A46ACC /* libextension Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libextension Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libextension Mac.a"; sourceTree = ""; }; + 15C1BEE1198654BE00A46ACC /* libluacocosbuilder Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocosbuilder Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1BEE81986555D00A46ACC /* libcocosbuilder Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocosbuilder Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libcocosbuilder Mac.a"; sourceTree = ""; }; + 15C1BF6919865A0600A46ACC /* libluacocosdenshion Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocosdenshion Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1BF6C19865AD000A46ACC /* libcocosdenshion Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocosdenshion Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libcocosdenshion Mac.a"; sourceTree = ""; }; + 15C1BFED19865C2000A46ACC /* libluacocostudio Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocostudio Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1BFF219865CEA00A46ACC /* libcocostudio Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocostudio Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libcocostudio Mac.a"; sourceTree = ""; }; + 15C1C07319865E5F00A46ACC /* libluaspine Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaspine Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1C07A198731E200A46ACC /* libspine Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libspine Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libspine Mac.a"; sourceTree = ""; }; + 15C1C0FB1987328E00A46ACC /* libluaui Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaui Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1C1001987332900A46ACC /* libui Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libui Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libui Mac.a"; sourceTree = ""; }; + 15C1C1811987340C00A46ACC /* libluanetwork Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluanetwork Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1C1C5198737B400A46ACC /* libnetwork Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libnetwork Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libnetwork Mac.a"; sourceTree = ""; }; + 15C1C1C7198737BF00A46ACC /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; + 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_experimental_video_manual.cpp; sourceTree = ""; }; + 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_experimental_video_manual.hpp; sourceTree = ""; }; + 15C1C24F198747E400A46ACC /* LuaOpengl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaOpengl.cpp; sourceTree = ""; }; + 15C1C250198747E400A46ACC /* LuaOpengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaOpengl.h; sourceTree = ""; }; + 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocos2d Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15C1C2EF19874CCD00A46ACC /* libcocos2d Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocos2d Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug/libcocos2d Mac.a"; sourceTree = ""; }; + 15EFA25E198A500A000C57D3 /* libextension Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libextension Mac.a"; path = "../../../../build/build/Debug/libextension Mac.a"; sourceTree = ""; }; + 15EFA260198A5013000C57D3 /* libui Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libui Mac.a"; path = "../../../../build/build/Debug/libui Mac.a"; sourceTree = ""; }; + 15EFA262198A501E000C57D3 /* libcocostudio Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocostudio Mac.a"; path = "../../../../build/build/Debug/libcocostudio Mac.a"; sourceTree = ""; }; + 15EFA264198A502A000C57D3 /* libcocosbuilder Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocosbuilder Mac.a"; path = "../../../../build/build/Debug/libcocosbuilder Mac.a"; sourceTree = ""; }; + 15EFA266198A5034000C57D3 /* libspine Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libspine Mac.a"; path = "../../../../build/build/Debug/libspine Mac.a"; sourceTree = ""; }; + 15EFA268198A503F000C57D3 /* libnetwork Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libnetwork Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Release/libnetwork Mac.a"; sourceTree = ""; }; + 15EFA26A198A504A000C57D3 /* libcocosdenshion Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocosdenshion Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Release/libcocosdenshion Mac.a"; sourceTree = ""; }; + 15EFA26C198A5056000C57D3 /* libcocos2d Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocos2d Mac.a"; path = "../../../../../../Library/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Release/libcocos2d Mac.a"; sourceTree = ""; }; + 15EFA2F9198B2791000C57D3 /* libluacocosbuilder iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocosbuilder iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA37A198B28A8000C57D3 /* libluaui iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaui iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA3FB198B2934000C57D3 /* libluacocostudio iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocostudio iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_coco_studio_manual.cpp; sourceTree = ""; }; + 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_coco_studio_manual.hpp; sourceTree = ""; }; + 15EFA47F198B2AFD000C57D3 /* libluaspine iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluaspine iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA4FE198B2B9B000C57D3 /* libluanetwork iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluanetwork iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA59B198B2D13000C57D3 /* libluacocosdenshion iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocosdenshion iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluacocos2d iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_network_manual.cpp; sourceTree = ""; }; + 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_network_manual.h; sourceTree = ""; }; 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tolua_fix.cpp; sourceTree = ""; }; - 1AACE74618BC45A000215002 /* libluabindings Mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluabindings Mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 1AACE74718BC45A000215002 /* libluabindings iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libluabindings iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 1AACE74918BC45C200215002 /* lua_cocos2dx_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = lua_cocos2dx_auto.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; 1AACE74A18BC45C200215002 /* lua_cocos2dx_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_auto.hpp; sourceTree = ""; }; 1AACE74C18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_extension_auto.cpp; sourceTree = ""; }; @@ -254,8 +347,6 @@ 1AACE75618BC45C200215002 /* lua_cocos2dx_spine_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_spine_auto.hpp; sourceTree = ""; }; 1AACE75818BC45C200215002 /* lua_cocos2dx_studio_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_studio_auto.cpp; sourceTree = ""; }; 1AACE75918BC45C200215002 /* lua_cocos2dx_studio_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_studio_auto.hpp; sourceTree = ""; }; - 1AACE75E18BC45C200215002 /* CCBProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCBProxy.cpp; sourceTree = ""; }; - 1AACE75F18BC45C200215002 /* CCBProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBProxy.h; sourceTree = ""; }; 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaBridge.cpp; sourceTree = ""; }; 1AACE76118BC45C200215002 /* CCLuaBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaBridge.h; sourceTree = ""; }; 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCLuaEngine.cpp; sourceTree = ""; }; @@ -266,32 +357,8 @@ 1AACE76718BC45C200215002 /* CCLuaValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaValue.h; sourceTree = ""; }; 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Cocos2dxLuaLoader.cpp; sourceTree = ""; }; 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cocos2dxLuaLoader.h; sourceTree = ""; }; - 1AACE76A18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_coco_studio_manual.cpp; sourceTree = ""; }; - 1AACE76B18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_coco_studio_manual.hpp; sourceTree = ""; }; - 1AACE76C18BC45C200215002 /* lua_cocos2dx_deprecated.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_deprecated.cpp; sourceTree = ""; }; - 1AACE76D18BC45C200215002 /* lua_cocos2dx_deprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_deprecated.h; sourceTree = ""; }; - 1AACE76E18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_extension_manual.cpp; sourceTree = ""; }; - 1AACE76F18BC45C200215002 /* lua_cocos2dx_extension_manual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_cocos2dx_extension_manual.h; sourceTree = ""; }; - 1AACE77218BC45C200215002 /* lua_cocos2dx_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_manual.cpp; sourceTree = ""; }; - 1AACE77318BC45C200215002 /* lua_cocos2dx_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_manual.hpp; sourceTree = ""; }; - 1AACE77418BC45C200215002 /* lua_cocos2dx_physics_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_physics_manual.cpp; sourceTree = ""; }; - 1AACE77518BC45C200215002 /* lua_cocos2dx_physics_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_physics_manual.hpp; sourceTree = ""; }; - 1AACE77618BC45C200215002 /* lua_cocos2dx_spine_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_spine_manual.cpp; sourceTree = ""; }; - 1AACE77718BC45C200215002 /* lua_cocos2dx_spine_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_spine_manual.hpp; sourceTree = ""; }; - 1AACE77818BC45C200215002 /* lua_extensions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_extensions.c; sourceTree = ""; }; - 1AACE77918BC45C200215002 /* lua_extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_extensions.h; sourceTree = ""; }; - 1AACE77A18BC45C200215002 /* Lua_web_socket.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Lua_web_socket.cpp; sourceTree = ""; }; - 1AACE77B18BC45C200215002 /* Lua_web_socket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Lua_web_socket.h; sourceTree = ""; }; - 1AACE77C18BC45C200215002 /* lua_xml_http_request.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_xml_http_request.cpp; sourceTree = ""; }; - 1AACE77D18BC45C200215002 /* lua_xml_http_request.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_xml_http_request.h; sourceTree = ""; }; 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaBasicConversions.cpp; sourceTree = ""; }; 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaBasicConversions.h; sourceTree = ""; }; - 1AACE78018BC45C200215002 /* LuaOpengl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = LuaOpengl.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 1AACE78118BC45C200215002 /* LuaOpengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaOpengl.h; sourceTree = ""; }; - 1AACE78218BC45C200215002 /* LuaScriptHandlerMgr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaScriptHandlerMgr.cpp; sourceTree = ""; }; - 1AACE78318BC45C200215002 /* LuaScriptHandlerMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaScriptHandlerMgr.h; sourceTree = ""; }; - 1AACE78418BC45C200215002 /* LuaSkeletonAnimation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LuaSkeletonAnimation.cpp; sourceTree = ""; }; - 1AACE78518BC45C200215002 /* LuaSkeletonAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LuaSkeletonAnimation.h; sourceTree = ""; }; 1AACE78E18BC45C200215002 /* CCLuaObjcBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLuaObjcBridge.h; sourceTree = ""; }; 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CCLuaObjcBridge.mm; sourceTree = ""; }; 1AACE7B418BC45C200215002 /* tolua_fix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tolua_fix.h; sourceTree = ""; }; @@ -336,28 +403,124 @@ 1ABCA22E18CD8F7D0087CE3A /* usocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usocket.h; sourceTree = ""; }; 2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_auto.cpp; sourceTree = ""; }; 2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_auto.hpp; sourceTree = ""; }; - 2905FAD418CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_manual.cpp; sourceTree = ""; }; - 2905FAD518CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_manual.hpp; sourceTree = ""; }; C0D9BAFA1974D30000EC35BB /* liblua.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liblua.a; path = ../../../../external/lua/lua/prebuilt/ios/liblua.a; sourceTree = ""; }; C0FEF4D418BE0E70001F446C /* lua_debugger.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_debugger.c; sourceTree = ""; }; C0FEF4D518BE0E70001F446C /* lua_debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_debugger.h; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 1A11972D178526AA00D62A44 /* Frameworks */ = { + 155CA3021988C494006E0A08 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C08D4F731974E00F00C87690 /* liblua.a in Frameworks */, - 1ABCA1F418CD8F540087CE3A /* libluajit.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 1A6FB51817854BC200CDF010 /* Frameworks */ = { + 15C1BD9A1986538000A46ACC /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 1ABCA36318CD9D7F0087CE3A /* libluajit.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BEA1198654BE00A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BF2919865A0600A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BFAD19865C2000A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C03319865E5F00A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C0BB1987328E00A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C1411987340C00A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C28E198748D200A46ACC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 15AC69E4198771FF00D17520 /* libluajit.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA2B9198B2791000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA33A198B28A8000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA3BB198B2934000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA440198B2AFD000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA4BF198B2B9B000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA55C198B2D13000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA5D7198B2DAA000C57D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA5D8198B2DAA000C57D3 /* liblua.a in Frameworks */, + 15EFA5D9198B2DAA000C57D3 /* libluajit.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -374,21 +537,150 @@ path = ../../../../external/xxtea; sourceTree = ""; }; + 15427D41198F73F700DC375D /* cocosdenshion */ = { + isa = PBXGroup; + children = ( + 15427D42198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp */, + 15427D43198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h */, + ); + path = cocosdenshion; + sourceTree = ""; + }; 1551A334158F2AB200E66CFE = { isa = PBXGroup; children = ( + 15EFA26C198A5056000C57D3 /* libcocos2d Mac.a */, + 15EFA26A198A504A000C57D3 /* libcocosdenshion Mac.a */, + 15EFA268198A503F000C57D3 /* libnetwork Mac.a */, + 15EFA266198A5034000C57D3 /* libspine Mac.a */, + 15EFA264198A502A000C57D3 /* libcocosbuilder Mac.a */, + 15EFA262198A501E000C57D3 /* libcocostudio Mac.a */, + 15EFA260198A5013000C57D3 /* libui Mac.a */, + 15EFA25E198A500A000C57D3 /* libextension Mac.a */, + 15C1C2EF19874CCD00A46ACC /* libcocos2d Mac.a */, + 15C1C1C7198737BF00A46ACC /* libcurl.dylib */, + 15C1C1C5198737B400A46ACC /* libnetwork Mac.a */, + 15C1C1001987332900A46ACC /* libui Mac.a */, + 15C1C07A198731E200A46ACC /* libspine Mac.a */, + 15C1BFF219865CEA00A46ACC /* libcocostudio Mac.a */, + 15C1BF6C19865AD000A46ACC /* libcocosdenshion Mac.a */, + 15C1BEE81986555D00A46ACC /* libcocosbuilder Mac.a */, + 15C1BDDF1986543D00A46ACC /* libextension Mac.a */, C0D9BAFA1974D30000EC35BB /* liblua.a */, 1ABCA1E218CD8F230087CE3A /* external */, 1AACE74818BC45C200215002 /* auto */, 1AACE75B18BC45C200215002 /* manual */, - 1AACE74618BC45A000215002 /* libluabindings Mac.a */, - 1AACE74718BC45A000215002 /* libluabindings iOS.a */, + 15C1BDDA1986538000A46ACC /* libluaextension Mac.a */, + 15C1BEE1198654BE00A46ACC /* libluacocosbuilder Mac.a */, + 15C1BF6919865A0600A46ACC /* libluacocosdenshion Mac.a */, + 15C1BFED19865C2000A46ACC /* libluacocostudio Mac.a */, + 15C1C07319865E5F00A46ACC /* libluaspine Mac.a */, + 15C1C0FB1987328E00A46ACC /* libluaui Mac.a */, + 15C1C1811987340C00A46ACC /* libluanetwork Mac.a */, + 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */, + 155CA3431988C494006E0A08 /* libluaextension iOS.a */, + 15EFA2F9198B2791000C57D3 /* libluacocosbuilder iOS.a */, + 15EFA37A198B28A8000C57D3 /* libluaui iOS.a */, + 15EFA3FB198B2934000C57D3 /* libluacocostudio iOS.a */, + 15EFA47F198B2AFD000C57D3 /* libluaspine iOS.a */, + 15EFA4FE198B2B9B000C57D3 /* libluanetwork iOS.a */, + 15EFA59B198B2D13000C57D3 /* libluacocosdenshion iOS.a */, + 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */, ); sourceTree = ""; }; + 15C1BCD21986525900A46ACC /* cocos2d */ = { + isa = PBXGroup; + children = ( + 15C1C24F198747E400A46ACC /* LuaOpengl.cpp */, + 15C1C250198747E400A46ACC /* LuaOpengl.h */, + 15C1BCD31986525900A46ACC /* lua_cocos2dx_deprecated.cpp */, + 15C1BCD41986525900A46ACC /* lua_cocos2dx_deprecated.h */, + 15C1BCD51986525900A46ACC /* lua_cocos2dx_experimental_manual.cpp */, + 15C1BCD61986525900A46ACC /* lua_cocos2dx_experimental_manual.hpp */, + 15C1BCD71986525900A46ACC /* lua_cocos2dx_manual.cpp */, + 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */, + 15C1BCD91986525900A46ACC /* lua_cocos2dx_physics_manual.cpp */, + 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */, + 15C1BCDB1986525900A46ACC /* LuaScriptHandlerMgr.cpp */, + 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */, + ); + path = cocos2d; + sourceTree = ""; + }; + 15C1BCF11986526C00A46ACC /* cocosbuilder */ = { + isa = PBXGroup; + children = ( + 15C1BCF21986526C00A46ACC /* CCBProxy.cpp */, + 15C1BCF31986526C00A46ACC /* CCBProxy.h */, + 15C1BCF41986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp */, + 15C1BCF51986526C00A46ACC /* lua_cocos2dx_cocosbuilder_manual.h */, + ); + path = cocosbuilder; + sourceTree = ""; + }; + 15C1BCFD1986526C00A46ACC /* extension */ = { + isa = PBXGroup; + children = ( + 15C1BCFE1986526C00A46ACC /* lua_cocos2dx_extension_manual.cpp */, + 15C1BCFF1986526C00A46ACC /* lua_cocos2dx_extension_manual.h */, + ); + path = extension; + sourceTree = ""; + }; + 15C1BD001986526C00A46ACC /* network */ = { + isa = PBXGroup; + children = ( + 15EFA694198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp */, + 15EFA695198B668C000C57D3 /* lua_cocos2dx_network_manual.h */, + 15C1BD011986526C00A46ACC /* lua_extensions.c */, + 15C1BD021986526C00A46ACC /* lua_extensions.h */, + 15C1BD031986526C00A46ACC /* Lua_web_socket.cpp */, + 15C1BD041986526C00A46ACC /* Lua_web_socket.h */, + 15C1BD051986526C00A46ACC /* lua_xml_http_request.cpp */, + 15C1BD061986526C00A46ACC /* lua_xml_http_request.h */, + ); + path = network; + sourceTree = ""; + }; + 15C1BD141986526C00A46ACC /* spine */ = { + isa = PBXGroup; + children = ( + 15C1BD151986526C00A46ACC /* lua_cocos2dx_spine_manual.cpp */, + 15C1BD161986526C00A46ACC /* lua_cocos2dx_spine_manual.hpp */, + 15C1BD171986526C00A46ACC /* LuaSkeletonAnimation.cpp */, + 15C1BD181986526C00A46ACC /* LuaSkeletonAnimation.h */, + ); + path = spine; + sourceTree = ""; + }; + 15C1BD191986526C00A46ACC /* ui */ = { + isa = PBXGroup; + children = ( + 15C1C24B1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp */, + 15C1C24C1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp */, + 15C1BD1A1986526C00A46ACC /* lua_cocos2dx_ui_manual.cpp */, + 15C1BD1B1986526C00A46ACC /* lua_cocos2dx_ui_manual.hpp */, + ); + path = ui; + sourceTree = ""; + }; + 15EFA400198B2AB2000C57D3 /* cocostudio */ = { + isa = PBXGroup; + children = ( + 15EFA401198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp */, + 15EFA402198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp */, + ); + path = cocostudio; + sourceTree = ""; + }; 1AACE74818BC45C200215002 /* auto */ = { isa = PBXGroup; children = ( + 15C1BCC019864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp */, + 15C1BCC119864D8700A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp */, + 15C1BCC219864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp */, + 15C1BCC319864D8700A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp */, 156EADF11977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp */, 156EADF21977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp */, 15622967197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp */, @@ -413,16 +705,16 @@ 1AACE75B18BC45C200215002 /* manual */ = { isa = PBXGroup; children = ( - 156EADF71977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.cpp */, - 156EADF81977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.hpp */, - 1562297119778209009C9067 /* lua_cocos2dx_experimental_manual.cpp */, - 1562297219778209009C9067 /* lua_cocos2dx_experimental_manual.hpp */, - 2905FAD418CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp */, - 2905FAD518CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp */, - 1AACE75E18BC45C200215002 /* CCBProxy.cpp */, + 15427D41198F73F700DC375D /* cocosdenshion */, + 15EFA400198B2AB2000C57D3 /* cocostudio */, + 15C1BCF11986526C00A46ACC /* cocosbuilder */, + 15C1BCFD1986526C00A46ACC /* extension */, + 15C1BD001986526C00A46ACC /* network */, + 15C1BD141986526C00A46ACC /* spine */, + 15C1BD191986526C00A46ACC /* ui */, + 15C1BCD21986525900A46ACC /* cocos2d */, C0FEF4D418BE0E70001F446C /* lua_debugger.c */, C0FEF4D518BE0E70001F446C /* lua_debugger.h */, - 1AACE75F18BC45C200215002 /* CCBProxy.h */, 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */, 1AACE76118BC45C200215002 /* CCLuaBridge.h */, 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */, @@ -433,32 +725,8 @@ 1AACE76718BC45C200215002 /* CCLuaValue.h */, 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */, 1AACE76918BC45C200215002 /* Cocos2dxLuaLoader.h */, - 1AACE76A18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp */, - 1AACE76B18BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp */, - 1AACE76C18BC45C200215002 /* lua_cocos2dx_deprecated.cpp */, - 1AACE76D18BC45C200215002 /* lua_cocos2dx_deprecated.h */, - 1AACE76E18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp */, - 1AACE76F18BC45C200215002 /* lua_cocos2dx_extension_manual.h */, - 1AACE77218BC45C200215002 /* lua_cocos2dx_manual.cpp */, - 1AACE77318BC45C200215002 /* lua_cocos2dx_manual.hpp */, - 1AACE77418BC45C200215002 /* lua_cocos2dx_physics_manual.cpp */, - 1AACE77518BC45C200215002 /* lua_cocos2dx_physics_manual.hpp */, - 1AACE77618BC45C200215002 /* lua_cocos2dx_spine_manual.cpp */, - 1AACE77718BC45C200215002 /* lua_cocos2dx_spine_manual.hpp */, - 1AACE77818BC45C200215002 /* lua_extensions.c */, - 1AACE77918BC45C200215002 /* lua_extensions.h */, - 1AACE77A18BC45C200215002 /* Lua_web_socket.cpp */, - 1AACE77B18BC45C200215002 /* Lua_web_socket.h */, - 1AACE77C18BC45C200215002 /* lua_xml_http_request.cpp */, - 1AACE77D18BC45C200215002 /* lua_xml_http_request.h */, 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */, 1AACE77F18BC45C200215002 /* LuaBasicConversions.h */, - 1AACE78018BC45C200215002 /* LuaOpengl.cpp */, - 1AACE78118BC45C200215002 /* LuaOpengl.h */, - 1AACE78218BC45C200215002 /* LuaScriptHandlerMgr.cpp */, - 1AACE78318BC45C200215002 /* LuaScriptHandlerMgr.h */, - 1AACE78418BC45C200215002 /* LuaSkeletonAnimation.cpp */, - 1AACE78518BC45C200215002 /* LuaSkeletonAnimation.h */, 1AACE78618BC45C200215002 /* platform */, 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */, 1AACE7B418BC45C200215002 /* tolua_fix.h */, @@ -590,163 +858,511 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 1A11972F178526AA00D62A44 /* Headers */ = { + 155CA3051988C494006E0A08 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 1503FAA818DA8A1C00F6518C /* io.h in Headers */, - 1ABCA26C18CD8F7D0087CE3A /* unix.h in Headers */, - 1AACE7E018BC45C200215002 /* CCLuaBridge.h in Headers */, - 1540AF5A193EC30500717D8E /* xxtea.h in Headers */, - C0FEF4D918BE0E70001F446C /* lua_debugger.h in Headers */, - 1AACE7B818BC45C200215002 /* lua_cocos2dx_auto.hpp in Headers */, - 1AACE7E418BC45C200215002 /* CCLuaEngine.h in Headers */, - 1AACE7F018BC45C200215002 /* Cocos2dxLuaLoader.h in Headers */, - 1AACE7DC18BC45C200215002 /* CCBProxy.h in Headers */, - 1ABCA20D18CD8F6E0087CE3A /* tolua++.h in Headers */, - 1ABCA24018CD8F7D0087CE3A /* luasocket.h in Headers */, - 1ABCA25818CD8F7D0087CE3A /* socket.h in Headers */, - 1ABCA23418CD8F7D0087CE3A /* auxiliar.h in Headers */, - 1AACE7E818BC45C200215002 /* CCLuaStack.h in Headers */, - 1ABCA1EF18CD8F470087CE3A /* luaconf.h in Headers */, - 1ABCA23C18CD8F7D0087CE3A /* inet.h in Headers */, - 1562296A197780DE009C9067 /* lua_cocos2dx_experimental_auto.hpp in Headers */, - 1AACE7D018BC45C200215002 /* lua_cocos2dx_spine_auto.hpp in Headers */, - 1ABCA1EB18CD8F470087CE3A /* lauxlib.h in Headers */, - 1AACE81018BC45C200215002 /* lua_extensions.h in Headers */, - 1AACE82018BC45C200215002 /* LuaOpengl.h in Headers */, - 1503FAA418DA8A1C00F6518C /* buffer.h in Headers */, - 1ABCA26018CD8F7D0087CE3A /* tcp.h in Headers */, - 1AACE80418BC45C200215002 /* lua_cocos2dx_manual.hpp in Headers */, - 1AACE81818BC45C200215002 /* lua_xml_http_request.h in Headers */, - 1AACE87C18BC45C200215002 /* tolua_fix.h in Headers */, - 1AACE83218BC45C200215002 /* CCLuaObjcBridge.h in Headers */, - 1562297619778209009C9067 /* lua_cocos2dx_experimental_manual.hpp in Headers */, - 1AACE82418BC45C200215002 /* LuaScriptHandlerMgr.h in Headers */, - 1AACE7FC18BC45C200215002 /* lua_cocos2dx_extension_manual.h in Headers */, - 2905FAD318CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp in Headers */, - 156EADF41977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */, - 1AACE7EC18BC45C200215002 /* CCLuaValue.h in Headers */, - 2905FAD918CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp in Headers */, - 1AACE80C18BC45C200215002 /* lua_cocos2dx_spine_manual.hpp in Headers */, - 1ABCA25018CD8F7D0087CE3A /* options.h in Headers */, - 1ABCA1F118CD8F470087CE3A /* lualib.h in Headers */, - 1ABCA20318CD8F6E0087CE3A /* tolua_event.h in Headers */, - 1AACE82818BC45C200215002 /* LuaSkeletonAnimation.h in Headers */, - 1ABCA27018CD8F7D0087CE3A /* usocket.h in Headers */, - 1AACE80818BC45C200215002 /* lua_cocos2dx_physics_manual.hpp in Headers */, - 1AACE7BE18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp in Headers */, - 1ABCA23818CD8F7D0087CE3A /* except.h in Headers */, - 1ABCA26418CD8F7D0087CE3A /* timeout.h in Headers */, - 1AACE81418BC45C200215002 /* Lua_web_socket.h in Headers */, - 1AACE81C18BC45C200215002 /* LuaBasicConversions.h in Headers */, - 1AACE7CA18BC45C200215002 /* lua_cocos2dx_physics_auto.hpp in Headers */, - 1AACE7F818BC45C200215002 /* lua_cocos2dx_deprecated.h in Headers */, - 1ABCA24C18CD8F7D0087CE3A /* mime.h in Headers */, - 1ABCA1ED18CD8F470087CE3A /* lua.h in Headers */, - 1AACE7F418BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, - 1ABCA26818CD8F7D0087CE3A /* udp.h in Headers */, - 156EADFA1977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, - 1ABCA25418CD8F7D0087CE3A /* select.h in Headers */, - 1AACE7D618BC45C200215002 /* lua_cocos2dx_studio_auto.hpp in Headers */, + 15EFA27D198B2777000C57D3 /* lua_cocos2dx_extension_auto.hpp in Headers */, + 15EFA27E198B2777000C57D3 /* lua_cocos2dx_extension_manual.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 1A6FB51B17854BC200CDF010 /* Headers */ = { + 15C1BD9C1986538000A46ACC /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 1503FAA718DA8A1C00F6518C /* io.h in Headers */, - 1ABCA26B18CD8F7D0087CE3A /* unix.h in Headers */, - 1AACE7DF18BC45C200215002 /* CCLuaBridge.h in Headers */, - 1540AF59193EC30500717D8E /* xxtea.h in Headers */, - C0FEF4D818BE0E70001F446C /* lua_debugger.h in Headers */, - 1AACE7B718BC45C200215002 /* lua_cocos2dx_auto.hpp in Headers */, - 1AACE7E318BC45C200215002 /* CCLuaEngine.h in Headers */, - 1AACE7EF18BC45C200215002 /* Cocos2dxLuaLoader.h in Headers */, - 1AACE7DB18BC45C200215002 /* CCBProxy.h in Headers */, - 1ABCA20C18CD8F6E0087CE3A /* tolua++.h in Headers */, - 1ABCA23F18CD8F7D0087CE3A /* luasocket.h in Headers */, - 1ABCA25718CD8F7D0087CE3A /* socket.h in Headers */, - 1ABCA23318CD8F7D0087CE3A /* auxiliar.h in Headers */, - 1AACE7E718BC45C200215002 /* CCLuaStack.h in Headers */, - 1ABCA1EE18CD8F470087CE3A /* luaconf.h in Headers */, - 1ABCA23B18CD8F7D0087CE3A /* inet.h in Headers */, - 1AACE7CF18BC45C200215002 /* lua_cocos2dx_spine_auto.hpp in Headers */, - 1ABCA1EA18CD8F470087CE3A /* lauxlib.h in Headers */, - 1AACE80F18BC45C200215002 /* lua_extensions.h in Headers */, - 156EADF61977A2C200F53709 /* lua_cocos2dx_experimental_auto.hpp in Headers */, - 156EADFC1977A3A500F53709 /* lua_cocos2dx_experimental_manual.hpp in Headers */, - 1AACE81F18BC45C200215002 /* LuaOpengl.h in Headers */, - 1503FAA318DA8A1C00F6518C /* buffer.h in Headers */, - 1ABCA25F18CD8F7D0087CE3A /* tcp.h in Headers */, - 1AACE80318BC45C200215002 /* lua_cocos2dx_manual.hpp in Headers */, - 1AACE81718BC45C200215002 /* lua_xml_http_request.h in Headers */, - 1AACE87B18BC45C200215002 /* tolua_fix.h in Headers */, - 1AACE83118BC45C200215002 /* CCLuaObjcBridge.h in Headers */, - 1AACE82318BC45C200215002 /* LuaScriptHandlerMgr.h in Headers */, - 1AACE7FB18BC45C200215002 /* lua_cocos2dx_extension_manual.h in Headers */, - 2905FAD218CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp in Headers */, - 1AACE7EB18BC45C200215002 /* CCLuaValue.h in Headers */, - 2905FAD818CF143800240AA3 /* lua_cocos2dx_ui_manual.hpp in Headers */, - 1AACE80B18BC45C200215002 /* lua_cocos2dx_spine_manual.hpp in Headers */, - 1ABCA24F18CD8F7D0087CE3A /* options.h in Headers */, - 1ABCA1F018CD8F470087CE3A /* lualib.h in Headers */, - 1ABCA20218CD8F6E0087CE3A /* tolua_event.h in Headers */, - 1AACE82718BC45C200215002 /* LuaSkeletonAnimation.h in Headers */, - 1ABCA26F18CD8F7D0087CE3A /* usocket.h in Headers */, - 1AACE80718BC45C200215002 /* lua_cocos2dx_physics_manual.hpp in Headers */, - 1AACE7BD18BC45C200215002 /* lua_cocos2dx_extension_auto.hpp in Headers */, - 1ABCA23718CD8F7D0087CE3A /* except.h in Headers */, - 1ABCA26318CD8F7D0087CE3A /* timeout.h in Headers */, - 1AACE81318BC45C200215002 /* Lua_web_socket.h in Headers */, - 1AACE81B18BC45C200215002 /* LuaBasicConversions.h in Headers */, - 1AACE7C918BC45C200215002 /* lua_cocos2dx_physics_auto.hpp in Headers */, - 1AACE7F718BC45C200215002 /* lua_cocos2dx_deprecated.h in Headers */, - 1ABCA24B18CD8F7D0087CE3A /* mime.h in Headers */, - 1ABCA1EC18CD8F470087CE3A /* lua.h in Headers */, - 1AACE7F318BC45C200215002 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, - 1ABCA26718CD8F7D0087CE3A /* udp.h in Headers */, - 1ABCA25318CD8F7D0087CE3A /* select.h in Headers */, - 1AACE7D518BC45C200215002 /* lua_cocos2dx_studio_auto.hpp in Headers */, + 15C1BDDD1986542B00A46ACC /* lua_cocos2dx_experimental_auto.hpp in Headers */, + 15C1BDDE1986542B00A46ACC /* lua_cocos2dx_extension_manual.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BEA3198654BE00A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1BEE51986555100A46ACC /* lua_cocos2dx_cocosbuilder_auto.hpp in Headers */, + 15C1BEE61986555100A46ACC /* CCBProxy.h in Headers */, + 15C1BEE71986555100A46ACC /* lua_cocos2dx_cocosbuilder_manual.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BF2B19865A0600A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15427D46198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h in Headers */, + 15C1BF6B19865AC200A46ACC /* lua_cocos2dx_cocosdenshion_auto.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BFAF19865C2000A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA405198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, + 15C1BFF019865CD400A46ACC /* lua_cocos2dx_studio_auto.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C03519865E5F00A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1C077198731D300A46ACC /* lua_cocos2dx_spine_auto.hpp in Headers */, + 15C1C078198731D300A46ACC /* lua_cocos2dx_spine_manual.hpp in Headers */, + 15C1C079198731D300A46ACC /* LuaSkeletonAnimation.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C0BD1987328E00A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15AC69EC1987B43B00D17520 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */, + 15C1C24E1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, + 15C1C0FE1987331B00A46ACC /* lua_cocos2dx_ui_auto.hpp in Headers */, + 15C1C0FF1987331B00A46ACC /* lua_cocos2dx_ui_manual.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C1431987340C00A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA698198B668C000C57D3 /* lua_cocos2dx_network_manual.h in Headers */, + 155CA3601988E26D006E0A08 /* usocket.h in Headers */, + 15C1C1B71987374000A46ACC /* buffer.h in Headers */, + 15C1C1B81987374000A46ACC /* io.h in Headers */, + 15C1C1B91987374000A46ACC /* auxiliar.h in Headers */, + 15C1C1BA1987374000A46ACC /* except.h in Headers */, + 15C1C1BB1987374000A46ACC /* inet.h in Headers */, + 15C1C1BC1987374000A46ACC /* luasocket.h in Headers */, + 15C1C1BD1987374000A46ACC /* mime.h in Headers */, + 15C1C1BE1987374000A46ACC /* options.h in Headers */, + 15C1C1BF1987374000A46ACC /* select.h in Headers */, + 15C1C1C01987374000A46ACC /* socket.h in Headers */, + 15C1C1C11987374000A46ACC /* tcp.h in Headers */, + 15C1C1C21987374000A46ACC /* timeout.h in Headers */, + 15C1C1C31987374000A46ACC /* udp.h in Headers */, + 15C1C1C41987374000A46ACC /* unix.h in Headers */, + 15C1C1A6198734AC00A46ACC /* lua_extensions.h in Headers */, + 15C1C1A7198734AC00A46ACC /* Lua_web_socket.h in Headers */, + 15C1C1A8198734AC00A46ACC /* lua_xml_http_request.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C290198748D200A46ACC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA1F71989E582000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */, + 15AC69E21987712500D17520 /* tolua_event.h in Headers */, + 15AC69E31987712500D17520 /* tolua++.h in Headers */, + 15AC69DE1987711400D17520 /* lauxlib.h in Headers */, + 15AC69DF1987711400D17520 /* lua.h in Headers */, + 15AC69E01987711400D17520 /* luaconf.h in Headers */, + 15AC69E11987711400D17520 /* lualib.h in Headers */, + 15C1C2E619874CBE00A46ACC /* lua_debugger.h in Headers */, + 15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */, + 15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */, + 15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */, + 15C1C2EA19874CBE00A46ACC /* CCLuaValue.h in Headers */, + 15C1C2EB19874CBE00A46ACC /* Cocos2dxLuaLoader.h in Headers */, + 15C1C2EC19874CBE00A46ACC /* LuaBasicConversions.h in Headers */, + 15C1C2ED19874CBE00A46ACC /* CCLuaObjcBridge.h in Headers */, + 15C1C2EE19874CBE00A46ACC /* tolua_fix.h in Headers */, + 15C1C2DC19874B4400A46ACC /* xxtea.h in Headers */, + 15C1C2D5198749BC00A46ACC /* LuaOpengl.h in Headers */, + 15C1C2D6198749BC00A46ACC /* lua_cocos2dx_deprecated.h in Headers */, + 15C1C2D7198749BC00A46ACC /* lua_cocos2dx_experimental_manual.hpp in Headers */, + 15C1C2D8198749BC00A46ACC /* lua_cocos2dx_manual.hpp in Headers */, + 15C1C2D9198749BC00A46ACC /* lua_cocos2dx_physics_manual.hpp in Headers */, + 15C1C2DA198749BC00A46ACC /* LuaScriptHandlerMgr.h in Headers */, + 15AC69D619876EA200D17520 /* lua_cocos2dx_physics_auto.hpp in Headers */, + 15C1C2D41987499F00A46ACC /* lua_cocos2dx_auto.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA2BC198B2791000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA2FD198B2875000C57D3 /* lua_cocos2dx_cocosbuilder_auto.hpp in Headers */, + 15EFA2FE198B2875000C57D3 /* CCBProxy.h in Headers */, + 15EFA2FF198B2875000C57D3 /* lua_cocos2dx_cocosbuilder_manual.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA33D198B28A8000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA37E198B2911000C57D3 /* lua_cocos2dx_ui_auto.hpp in Headers */, + 15EFA69B198B6B84000C57D3 /* lua_cocos2dx_experimental_video_auto.hpp in Headers */, + 15EFA380198B2912000C57D3 /* lua_cocos2dx_ui_manual.hpp in Headers */, + 15EFA37F198B2911000C57D3 /* lua_cocos2dx_experimental_video_manual.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA3BE198B2934000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA406198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.hpp in Headers */, + 15EFA3FE198B2A11000C57D3 /* lua_cocos2dx_studio_auto.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA443198B2AFD000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA483198B2B68000C57D3 /* lua_cocos2dx_spine_auto.hpp in Headers */, + 15EFA484198B2B68000C57D3 /* lua_cocos2dx_spine_manual.hpp in Headers */, + 15EFA485198B2B68000C57D3 /* LuaSkeletonAnimation.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA4C2198B2B9B000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA699198B668C000C57D3 /* lua_cocos2dx_network_manual.h in Headers */, + 15EFA520198B2CF3000C57D3 /* lua_extensions.h in Headers */, + 15EFA521198B2CF4000C57D3 /* Lua_web_socket.h in Headers */, + 15EFA522198B2CF4000C57D3 /* lua_xml_http_request.h in Headers */, + 15EFA50E198B2CD0000C57D3 /* buffer.h in Headers */, + 15EFA50F198B2CD0000C57D3 /* io.h in Headers */, + 15EFA510198B2CD0000C57D3 /* auxiliar.h in Headers */, + 15EFA511198B2CD0000C57D3 /* except.h in Headers */, + 15EFA512198B2CD0000C57D3 /* inet.h in Headers */, + 15EFA513198B2CD1000C57D3 /* luasocket.h in Headers */, + 15EFA514198B2CD1000C57D3 /* mime.h in Headers */, + 15EFA515198B2CD1000C57D3 /* options.h in Headers */, + 15EFA516198B2CD1000C57D3 /* select.h in Headers */, + 15EFA517198B2CD1000C57D3 /* socket.h in Headers */, + 15EFA518198B2CD1000C57D3 /* tcp.h in Headers */, + 15EFA519198B2CD1000C57D3 /* timeout.h in Headers */, + 15EFA51A198B2CD1000C57D3 /* udp.h in Headers */, + 15EFA51B198B2CD1000C57D3 /* unix.h in Headers */, + 15EFA51C198B2CD1000C57D3 /* usocket.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA55F198B2D13000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15427D47198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.h in Headers */, + 15EFA59D198B2D69000C57D3 /* lua_cocos2dx_cocosdenshion_auto.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA5DA198B2DAA000C57D3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA64D198B3342000C57D3 /* lauxlib.h in Headers */, + 15EFA64E198B3342000C57D3 /* lua.h in Headers */, + 15EFA64F198B3342000C57D3 /* luaconf.h in Headers */, + 15EFA650198B3342000C57D3 /* lualib.h in Headers */, + 15EFA64B198B3320000C57D3 /* tolua_event.h in Headers */, + 15EFA64C198B3320000C57D3 /* tolua++.h in Headers */, + 15EFA644198B32D5000C57D3 /* xxtea.h in Headers */, + 15EFA63A198B32BB000C57D3 /* lua_debugger.h in Headers */, + 15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */, + 15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */, + 15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */, + 15EFA63E198B32BB000C57D3 /* CCLuaValue.h in Headers */, + 15EFA63F198B32BB000C57D3 /* Cocos2dxLuaLoader.h in Headers */, + 15EFA640198B32BB000C57D3 /* LuaBasicConversions.h in Headers */, + 15EFA641198B32BB000C57D3 /* CCLuaObjcBridge.h in Headers */, + 15EFA642198B32BB000C57D3 /* tolua_fix.h in Headers */, + 15EFA62B198B3220000C57D3 /* LuaOpengl.h in Headers */, + 15EFA62C198B3220000C57D3 /* lua_cocos2dx_deprecated.h in Headers */, + 15EFA62D198B3220000C57D3 /* lua_cocos2dx_experimental_manual.hpp in Headers */, + 15EFA62E198B3220000C57D3 /* lua_cocos2dx_manual.hpp in Headers */, + 15EFA62F198B3220000C57D3 /* lua_cocos2dx_physics_manual.hpp in Headers */, + 15EFA630198B3220000C57D3 /* LuaScriptHandlerMgr.h in Headers */, + 15EFA622198B2E74000C57D3 /* lua_cocos2dx_experimental_auto.hpp in Headers */, + 15EFA623198B2E74000C57D3 /* lua_cocos2dx_auto.hpp in Headers */, + 15EFA624198B2E74000C57D3 /* lua_cocos2dx_physics_auto.hpp in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 1A119716178526AA00D62A44 /* luabindings iOS */ = { + 155CA2C71988C494006E0A08 /* libluaextension iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 1A11978E178526AA00D62A44 /* Build configuration list for PBXNativeTarget "luabindings iOS" */; + buildConfigurationList = 155CA3401988C494006E0A08 /* Build configuration list for PBXNativeTarget "libluaextension iOS" */; buildPhases = ( - 1A119717178526AA00D62A44 /* Sources */, - 1A11972D178526AA00D62A44 /* Frameworks */, - 1A11972F178526AA00D62A44 /* Headers */, + 155CA2C81988C494006E0A08 /* Sources */, + 155CA3021988C494006E0A08 /* Frameworks */, + 155CA3051988C494006E0A08 /* Headers */, ); buildRules = ( ); dependencies = ( ); - name = "luabindings iOS"; + name = "libluaextension iOS"; productName = cocos2dx; - productReference = 1AACE74718BC45A000215002 /* libluabindings iOS.a */; + productReference = 155CA3431988C494006E0A08 /* libluaextension iOS.a */; productType = "com.apple.product-type.library.static"; }; - 1A6FB50417854BC200CDF010 /* luabindings Mac */ = { + 15C1BD5F1986538000A46ACC /* libluaextension Mac */ = { isa = PBXNativeTarget; - buildConfigurationList = 1A6FB52D17854BC200CDF010 /* Build configuration list for PBXNativeTarget "luabindings Mac" */; + buildConfigurationList = 15C1BDD71986538000A46ACC /* Build configuration list for PBXNativeTarget "libluaextension Mac" */; buildPhases = ( - 1A6FB50517854BC200CDF010 /* Sources */, - 1A6FB51817854BC200CDF010 /* Frameworks */, - 1A6FB51B17854BC200CDF010 /* Headers */, + 15C1BD601986538000A46ACC /* Sources */, + 15C1BD9A1986538000A46ACC /* Frameworks */, + 15C1BD9C1986538000A46ACC /* Headers */, ); buildRules = ( ); dependencies = ( ); - name = "luabindings Mac"; + name = "libluaextension Mac"; productName = cocos2dx; - productReference = 1AACE74618BC45A000215002 /* libluabindings Mac.a */; + productReference = 15C1BDDA1986538000A46ACC /* libluaextension Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1BE66198654BE00A46ACC /* libluacocosbuilder Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1BEDE198654BE00A46ACC /* Build configuration list for PBXNativeTarget "libluacocosbuilder Mac" */; + buildPhases = ( + 15C1BE67198654BE00A46ACC /* Sources */, + 15C1BEA1198654BE00A46ACC /* Frameworks */, + 15C1BEA3198654BE00A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocosbuilder Mac"; + productName = cocos2dx; + productReference = 15C1BEE1198654BE00A46ACC /* libluacocosbuilder Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1BEEE19865A0600A46ACC /* libluacocosdenshion Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1BF6619865A0600A46ACC /* Build configuration list for PBXNativeTarget "libluacocosdenshion Mac" */; + buildPhases = ( + 15C1BEEF19865A0600A46ACC /* Sources */, + 15C1BF2919865A0600A46ACC /* Frameworks */, + 15C1BF2B19865A0600A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocosdenshion Mac"; + productName = cocos2dx; + productReference = 15C1BF6919865A0600A46ACC /* libluacocosdenshion Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1BF7219865C2000A46ACC /* libluacocostudio Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1BFEA19865C2000A46ACC /* Build configuration list for PBXNativeTarget "libluacocostudio Mac" */; + buildPhases = ( + 15C1BF7319865C2000A46ACC /* Sources */, + 15C1BFAD19865C2000A46ACC /* Frameworks */, + 15C1BFAF19865C2000A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocostudio Mac"; + productName = cocos2dx; + productReference = 15C1BFED19865C2000A46ACC /* libluacocostudio Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1BFF819865E5F00A46ACC /* libluaspine Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1C07019865E5F00A46ACC /* Build configuration list for PBXNativeTarget "libluaspine Mac" */; + buildPhases = ( + 15C1BFF919865E5F00A46ACC /* Sources */, + 15C1C03319865E5F00A46ACC /* Frameworks */, + 15C1C03519865E5F00A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluaspine Mac"; + productName = cocos2dx; + productReference = 15C1C07319865E5F00A46ACC /* libluaspine Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1C0801987328E00A46ACC /* libluaui Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1C0F81987328E00A46ACC /* Build configuration list for PBXNativeTarget "libluaui Mac" */; + buildPhases = ( + 15C1C0811987328E00A46ACC /* Sources */, + 15C1C0BB1987328E00A46ACC /* Frameworks */, + 15C1C0BD1987328E00A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluaui Mac"; + productName = cocos2dx; + productReference = 15C1C0FB1987328E00A46ACC /* libluaui Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1C1061987340C00A46ACC /* libluanetwork Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1C17E1987340C00A46ACC /* Build configuration list for PBXNativeTarget "libluanetwork Mac" */; + buildPhases = ( + 15C1C1071987340C00A46ACC /* Sources */, + 15C1C1411987340C00A46ACC /* Frameworks */, + 15C1C1431987340C00A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluanetwork Mac"; + productName = cocos2dx; + productReference = 15C1C1811987340C00A46ACC /* libluanetwork Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15C1C255198748D200A46ACC /* libluacocos2d Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15C1C2C9198748D200A46ACC /* Build configuration list for PBXNativeTarget "libluacocos2d Mac" */; + buildPhases = ( + 15C1C256198748D200A46ACC /* Sources */, + 15C1C28E198748D200A46ACC /* Frameworks */, + 15C1C290198748D200A46ACC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocos2d Mac"; + productName = cocos2dx; + productReference = 15C1C2CC198748D200A46ACC /* libluacocos2d Mac.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA27F198B2791000C57D3 /* libluacocosbuilder iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA2F6198B2791000C57D3 /* Build configuration list for PBXNativeTarget "libluacocosbuilder iOS" */; + buildPhases = ( + 15EFA280198B2791000C57D3 /* Sources */, + 15EFA2B9198B2791000C57D3 /* Frameworks */, + 15EFA2BC198B2791000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocosbuilder iOS"; + productName = cocos2dx; + productReference = 15EFA2F9198B2791000C57D3 /* libluacocosbuilder iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA300198B28A8000C57D3 /* libluaui iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA377198B28A8000C57D3 /* Build configuration list for PBXNativeTarget "libluaui iOS" */; + buildPhases = ( + 15EFA301198B28A8000C57D3 /* Sources */, + 15EFA33A198B28A8000C57D3 /* Frameworks */, + 15EFA33D198B28A8000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluaui iOS"; + productName = cocos2dx; + productReference = 15EFA37A198B28A8000C57D3 /* libluaui iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA381198B2934000C57D3 /* libluacocostudio iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA3F8198B2934000C57D3 /* Build configuration list for PBXNativeTarget "libluacocostudio iOS" */; + buildPhases = ( + 15EFA382198B2934000C57D3 /* Sources */, + 15EFA3BB198B2934000C57D3 /* Frameworks */, + 15EFA3BE198B2934000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocostudio iOS"; + productName = cocos2dx; + productReference = 15EFA3FB198B2934000C57D3 /* libluacocostudio iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA407198B2AFD000C57D3 /* libluaspine iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA47C198B2AFD000C57D3 /* Build configuration list for PBXNativeTarget "libluaspine iOS" */; + buildPhases = ( + 15EFA408198B2AFD000C57D3 /* Sources */, + 15EFA440198B2AFD000C57D3 /* Frameworks */, + 15EFA443198B2AFD000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluaspine iOS"; + productName = cocos2dx; + productReference = 15EFA47F198B2AFD000C57D3 /* libluaspine iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA486198B2B9B000C57D3 /* libluanetwork iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA4FB198B2B9B000C57D3 /* Build configuration list for PBXNativeTarget "libluanetwork iOS" */; + buildPhases = ( + 15EFA487198B2B9B000C57D3 /* Sources */, + 15EFA4BF198B2B9B000C57D3 /* Frameworks */, + 15EFA4C2198B2B9B000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluanetwork iOS"; + productName = cocos2dx; + productReference = 15EFA4FE198B2B9B000C57D3 /* libluanetwork iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA523198B2D13000C57D3 /* libluacocosdenshion iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA598198B2D13000C57D3 /* Build configuration list for PBXNativeTarget "libluacocosdenshion iOS" */; + buildPhases = ( + 15EFA524198B2D13000C57D3 /* Sources */, + 15EFA55C198B2D13000C57D3 /* Frameworks */, + 15EFA55F198B2D13000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocosdenshion iOS"; + productName = cocos2dx; + productReference = 15EFA59B198B2D13000C57D3 /* libluacocosdenshion iOS.a */; + productType = "com.apple.product-type.library.static"; + }; + 15EFA59E198B2DAA000C57D3 /* libluacocos2d iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 15EFA613198B2DAA000C57D3 /* Build configuration list for PBXNativeTarget "libluacocos2d iOS" */; + buildPhases = ( + 15EFA59F198B2DAA000C57D3 /* Sources */, + 15EFA5D7198B2DAA000C57D3 /* Frameworks */, + 15EFA5DA198B2DAA000C57D3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "libluacocos2d iOS"; + productName = cocos2dx; + productReference = 15EFA616198B2DAA000C57D3 /* libluacocos2d iOS.a */; productType = "com.apple.product-type.library.static"; }; /* End PBXNativeTarget section */ @@ -770,130 +1386,254 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 1A6FB50417854BC200CDF010 /* luabindings Mac */, - 1A119716178526AA00D62A44 /* luabindings iOS */, + 15C1BD5F1986538000A46ACC /* libluaextension Mac */, + 15C1C0801987328E00A46ACC /* libluaui Mac */, + 15C1BF7219865C2000A46ACC /* libluacocostudio Mac */, + 15C1BE66198654BE00A46ACC /* libluacocosbuilder Mac */, + 15C1BFF819865E5F00A46ACC /* libluaspine Mac */, + 15C1C1061987340C00A46ACC /* libluanetwork Mac */, + 15C1BEEE19865A0600A46ACC /* libluacocosdenshion Mac */, + 15C1C255198748D200A46ACC /* libluacocos2d Mac */, + 155CA2C71988C494006E0A08 /* libluaextension iOS */, + 15EFA300198B28A8000C57D3 /* libluaui iOS */, + 15EFA381198B2934000C57D3 /* libluacocostudio iOS */, + 15EFA27F198B2791000C57D3 /* libluacocosbuilder iOS */, + 15EFA407198B2AFD000C57D3 /* libluaspine iOS */, + 15EFA486198B2B9B000C57D3 /* libluanetwork iOS */, + 15EFA523198B2D13000C57D3 /* libluacocosdenshion iOS */, + 15EFA59E198B2DAA000C57D3 /* libluacocos2d iOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ - 1A119717178526AA00D62A44 /* Sources */ = { + 155CA2C81988C494006E0A08 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1AACE7C818BC45C200215002 /* lua_cocos2dx_physics_auto.cpp in Sources */, - 1AACE83418BC45C200215002 /* CCLuaObjcBridge.mm in Sources */, - 15622969197780DE009C9067 /* lua_cocos2dx_experimental_auto.cpp in Sources */, - 1ABCA20518CD8F6E0087CE3A /* tolua_is.c in Sources */, - 1AACE7F618BC45C200215002 /* lua_cocos2dx_deprecated.cpp in Sources */, - 1ABCA24E18CD8F7D0087CE3A /* options.c in Sources */, - 1A262AB918BEEF5900D2DB92 /* tolua_fix.cpp in Sources */, - 1AACE81E18BC45C200215002 /* LuaOpengl.cpp in Sources */, - 1AACE7CE18BC45C200215002 /* lua_cocos2dx_spine_auto.cpp in Sources */, - 1AACE80218BC45C200215002 /* lua_cocos2dx_manual.cpp in Sources */, - 1ABCA23E18CD8F7D0087CE3A /* luasocket.c in Sources */, - 1ABCA25218CD8F7D0087CE3A /* select.c in Sources */, - 1ABCA24A18CD8F7D0087CE3A /* mime.c in Sources */, - 1540AF58193EC30500717D8E /* xxtea.cpp in Sources */, - 1ABCA26218CD8F7D0087CE3A /* timeout.c in Sources */, - 1503FAA618DA8A1C00F6518C /* io.c in Sources */, - 1ABCA26618CD8F7D0087CE3A /* udp.c in Sources */, - 1AACE82218BC45C200215002 /* LuaScriptHandlerMgr.cpp in Sources */, - 1ABCA23618CD8F7D0087CE3A /* except.c in Sources */, - 2905FAD718CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp in Sources */, - 1ABCA26A18CD8F7D0087CE3A /* unix.c in Sources */, - 1AACE7F218BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, - 1503FAA218DA8A1C00F6518C /* buffer.c in Sources */, - 1AACE80E18BC45C200215002 /* lua_extensions.c in Sources */, - 1562297519778209009C9067 /* lua_cocos2dx_experimental_manual.cpp in Sources */, - 1AACE7EA18BC45C200215002 /* CCLuaValue.cpp in Sources */, - 1AACE7D418BC45C200215002 /* lua_cocos2dx_studio_auto.cpp in Sources */, - 1AACE7BC18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp in Sources */, - 1ABCA20918CD8F6E0087CE3A /* tolua_push.c in Sources */, - 1AACE82618BC45C200215002 /* LuaSkeletonAnimation.cpp in Sources */, - 1ABCA25E18CD8F7D0087CE3A /* tcp.c in Sources */, - 1AACE80A18BC45C200215002 /* lua_cocos2dx_spine_manual.cpp in Sources */, - 1AACE81A18BC45C200215002 /* LuaBasicConversions.cpp in Sources */, - 1AACE7EE18BC45C200215002 /* Cocos2dxLuaLoader.cpp in Sources */, - 1AACE7DA18BC45C200215002 /* CCBProxy.cpp in Sources */, - 156EADF91977A39F00F53709 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, - 1AACE81618BC45C200215002 /* lua_xml_http_request.cpp in Sources */, - 1ABCA23A18CD8F7D0087CE3A /* inet.c in Sources */, - 2905FAD118CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp in Sources */, - 1AACE7E218BC45C200215002 /* CCLuaEngine.cpp in Sources */, - 1ABCA26E18CD8F7D0087CE3A /* usocket.c in Sources */, - 1AACE81218BC45C200215002 /* Lua_web_socket.cpp in Sources */, - 1AACE7FA18BC45C200215002 /* lua_cocos2dx_extension_manual.cpp in Sources */, - 1AACE7DE18BC45C200215002 /* CCLuaBridge.cpp in Sources */, - 1ABCA23218CD8F7D0087CE3A /* auxiliar.c in Sources */, - 1ABCA20118CD8F6E0087CE3A /* tolua_event.c in Sources */, - 156EADF31977A2BA00F53709 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, - C0FEF4D718BE0E70001F446C /* lua_debugger.c in Sources */, - 1AACE7E618BC45C200215002 /* CCLuaStack.cpp in Sources */, - 1AACE80618BC45C200215002 /* lua_cocos2dx_physics_manual.cpp in Sources */, - 1AACE7B618BC45C200215002 /* lua_cocos2dx_auto.cpp in Sources */, - 1ABCA20718CD8F6E0087CE3A /* tolua_map.c in Sources */, - 1ABCA25618CD8F7D0087CE3A /* serial.c in Sources */, - 1ABCA20B18CD8F6E0087CE3A /* tolua_to.c in Sources */, + 15EFA27C198B275D000C57D3 /* lua_cocos2dx_extension_manual.cpp in Sources */, + 15EFA27B198B274B000C57D3 /* lua_cocos2dx_extension_auto.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 1A6FB50517854BC200CDF010 /* Sources */ = { + 15C1BD601986538000A46ACC /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1AACE7C718BC45C200215002 /* lua_cocos2dx_physics_auto.cpp in Sources */, - 1AACE83318BC45C200215002 /* CCLuaObjcBridge.mm in Sources */, - 1ABCA20418CD8F6E0087CE3A /* tolua_is.c in Sources */, - 1AACE7F518BC45C200215002 /* lua_cocos2dx_deprecated.cpp in Sources */, - 1ABCA24D18CD8F7D0087CE3A /* options.c in Sources */, - 1A262AB818BEEF5900D2DB92 /* tolua_fix.cpp in Sources */, - 1AACE81D18BC45C200215002 /* LuaOpengl.cpp in Sources */, - 1AACE7CD18BC45C200215002 /* lua_cocos2dx_spine_auto.cpp in Sources */, - 1AACE80118BC45C200215002 /* lua_cocos2dx_manual.cpp in Sources */, - 1ABCA23D18CD8F7D0087CE3A /* luasocket.c in Sources */, - 1ABCA25118CD8F7D0087CE3A /* select.c in Sources */, - 1ABCA24918CD8F7D0087CE3A /* mime.c in Sources */, - 1540AF57193EC30500717D8E /* xxtea.cpp in Sources */, - 1ABCA26118CD8F7D0087CE3A /* timeout.c in Sources */, - 1503FAA518DA8A1C00F6518C /* io.c in Sources */, - 1ABCA26518CD8F7D0087CE3A /* udp.c in Sources */, - 1AACE82118BC45C200215002 /* LuaScriptHandlerMgr.cpp in Sources */, - 1ABCA23518CD8F7D0087CE3A /* except.c in Sources */, - 2905FAD618CF143800240AA3 /* lua_cocos2dx_ui_manual.cpp in Sources */, - 1ABCA26918CD8F7D0087CE3A /* unix.c in Sources */, - 1AACE7F118BC45C200215002 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, - 1503FAA118DA8A1C00F6518C /* buffer.c in Sources */, - 1AACE80D18BC45C200215002 /* lua_extensions.c in Sources */, - 1AACE7E918BC45C200215002 /* CCLuaValue.cpp in Sources */, - 156EADF51977A2BF00F53709 /* lua_cocos2dx_experimental_auto.cpp in Sources */, - 1AACE7D318BC45C200215002 /* lua_cocos2dx_studio_auto.cpp in Sources */, - 1AACE7BB18BC45C200215002 /* lua_cocos2dx_extension_auto.cpp in Sources */, - 1ABCA20818CD8F6E0087CE3A /* tolua_push.c in Sources */, - 1AACE82518BC45C200215002 /* LuaSkeletonAnimation.cpp in Sources */, - 1ABCA25D18CD8F7D0087CE3A /* tcp.c in Sources */, - 1AACE80918BC45C200215002 /* lua_cocos2dx_spine_manual.cpp in Sources */, - 1AACE81918BC45C200215002 /* LuaBasicConversions.cpp in Sources */, - 1AACE7ED18BC45C200215002 /* Cocos2dxLuaLoader.cpp in Sources */, - 1AACE7D918BC45C200215002 /* CCBProxy.cpp in Sources */, - 1AACE81518BC45C200215002 /* lua_xml_http_request.cpp in Sources */, - 1ABCA23918CD8F7D0087CE3A /* inet.c in Sources */, - 2905FAD018CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp in Sources */, - 1AACE7E118BC45C200215002 /* CCLuaEngine.cpp in Sources */, - 1ABCA26D18CD8F7D0087CE3A /* usocket.c in Sources */, - 1AACE81118BC45C200215002 /* Lua_web_socket.cpp in Sources */, - 1AACE7F918BC45C200215002 /* lua_cocos2dx_extension_manual.cpp in Sources */, - 156EADFB1977A3A300F53709 /* lua_cocos2dx_experimental_manual.cpp in Sources */, - 1AACE7DD18BC45C200215002 /* CCLuaBridge.cpp in Sources */, - 1ABCA23118CD8F7D0087CE3A /* auxiliar.c in Sources */, - 1ABCA20018CD8F6E0087CE3A /* tolua_event.c in Sources */, - C0FEF4D618BE0E70001F446C /* lua_debugger.c in Sources */, - 1AACE7E518BC45C200215002 /* CCLuaStack.cpp in Sources */, - 1AACE80518BC45C200215002 /* lua_cocos2dx_physics_manual.cpp in Sources */, - 1AACE7B518BC45C200215002 /* lua_cocos2dx_auto.cpp in Sources */, - 1ABCA20618CD8F6E0087CE3A /* tolua_map.c in Sources */, - 1ABCA25518CD8F7D0087CE3A /* serial.c in Sources */, - 1ABCA20A18CD8F6E0087CE3A /* tolua_to.c in Sources */, + 15C1BDDB1986541800A46ACC /* lua_cocos2dx_extension_auto.cpp in Sources */, + 15C1BDDC1986541800A46ACC /* lua_cocos2dx_extension_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BE67198654BE00A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1BEE21986550500A46ACC /* lua_cocos2dx_cocosbuilder_auto.cpp in Sources */, + 15C1BEE31986550500A46ACC /* CCBProxy.cpp in Sources */, + 15C1BEE41986550500A46ACC /* lua_cocos2dx_cocosbuilder_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BEEF19865A0600A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1BF6A19865AAB00A46ACC /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */, + 15427D44198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BF7319865C2000A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1BFEE19865CBE00A46ACC /* lua_cocos2dx_studio_auto.cpp in Sources */, + 15EFA403198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1BFF919865E5F00A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15C1C074198731C000A46ACC /* lua_cocos2dx_spine_auto.cpp in Sources */, + 15C1C075198731C000A46ACC /* lua_cocos2dx_spine_manual.cpp in Sources */, + 15C1C076198731C000A46ACC /* LuaSkeletonAnimation.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C0811987328E00A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15AC69EB1987B42600D17520 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, + 15C1C0FC1987330D00A46ACC /* lua_cocos2dx_ui_auto.cpp in Sources */, + 15C1C0FD1987330D00A46ACC /* lua_cocos2dx_ui_manual.cpp in Sources */, + 15C1C24D1987473200A46ACC /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C1071987340C00A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 155CA35F1988E261006E0A08 /* usocket.c in Sources */, + 15C1C1A91987370000A46ACC /* buffer.c in Sources */, + 15C1C1AA1987370000A46ACC /* io.c in Sources */, + 15C1C1AB1987370000A46ACC /* auxiliar.c in Sources */, + 15C1C1AC1987370000A46ACC /* except.c in Sources */, + 15C1C1AD1987370000A46ACC /* inet.c in Sources */, + 15C1C1AE1987370000A46ACC /* luasocket.c in Sources */, + 15C1C1AF1987370000A46ACC /* mime.c in Sources */, + 15EFA696198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp in Sources */, + 15C1C1B01987370000A46ACC /* options.c in Sources */, + 15C1C1B11987370000A46ACC /* select.c in Sources */, + 15C1C1B21987370000A46ACC /* serial.c in Sources */, + 15C1C1B31987370000A46ACC /* tcp.c in Sources */, + 15C1C1B41987370000A46ACC /* timeout.c in Sources */, + 15C1C1B51987370000A46ACC /* udp.c in Sources */, + 15C1C1B61987370000A46ACC /* unix.c in Sources */, + 15C1C1A01987347200A46ACC /* lua_extensions.c in Sources */, + 15C1C1A21987347200A46ACC /* Lua_web_socket.cpp in Sources */, + 15C1C1A41987347200A46ACC /* lua_xml_http_request.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15C1C256198748D200A46ACC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15AC69D91987710400D17520 /* tolua_event.c in Sources */, + 15AC69DA1987710400D17520 /* tolua_is.c in Sources */, + 15AC69DB1987710400D17520 /* tolua_map.c in Sources */, + 15AC69DC1987710400D17520 /* tolua_push.c in Sources */, + 15AC69DD1987710400D17520 /* tolua_to.c in Sources */, + 15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */, + 15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */, + 15C1C2E319874BEC00A46ACC /* lua_debugger.c in Sources */, + 15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */, + 15C1C2DD19874B8800A46ACC /* CCLuaBridge.cpp in Sources */, + 15C1C2DE19874B8800A46ACC /* CCLuaEngine.cpp in Sources */, + 15C1C2DF19874B8800A46ACC /* CCLuaStack.cpp in Sources */, + 15C1C2E019874B8800A46ACC /* CCLuaValue.cpp in Sources */, + 15C1C2E119874B8800A46ACC /* Cocos2dxLuaLoader.cpp in Sources */, + 15C1C2DB19874B3D00A46ACC /* xxtea.cpp in Sources */, + 15EFA1F61989E528000C57D3 /* lua_cocos2dx_experimental_auto.cpp in Sources */, + 15AC69D519876E9300D17520 /* lua_cocos2dx_physics_auto.cpp in Sources */, + 15C1C2CE1987498B00A46ACC /* LuaOpengl.cpp in Sources */, + 15C1C2CF1987498B00A46ACC /* lua_cocos2dx_deprecated.cpp in Sources */, + 15C1C2D01987498B00A46ACC /* lua_cocos2dx_experimental_manual.cpp in Sources */, + 15C1C2D11987498B00A46ACC /* lua_cocos2dx_manual.cpp in Sources */, + 15C1C2D21987498B00A46ACC /* lua_cocos2dx_physics_manual.cpp in Sources */, + 15C1C2D31987498B00A46ACC /* LuaScriptHandlerMgr.cpp in Sources */, + 15C1C2CD1987495500A46ACC /* lua_cocos2dx_auto.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA280198B2791000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA2FC198B2869000C57D3 /* lua_cocos2dx_cocosbuilder_auto.cpp in Sources */, + 15EFA2FA198B2860000C57D3 /* CCBProxy.cpp in Sources */, + 15EFA2FB198B2860000C57D3 /* lua_cocos2dx_cocosbuilder_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA301198B28A8000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA37B198B28FF000C57D3 /* lua_cocos2dx_ui_auto.cpp in Sources */, + 15EFA69A198B6B67000C57D3 /* lua_cocos2dx_experimental_video_auto.cpp in Sources */, + 15EFA37D198B28FF000C57D3 /* lua_cocos2dx_ui_manual.cpp in Sources */, + 15EFA37C198B28FF000C57D3 /* lua_cocos2dx_experimental_video_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA382198B2934000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA3FC198B29F9000C57D3 /* lua_cocos2dx_studio_auto.cpp in Sources */, + 15EFA404198B2AB2000C57D3 /* lua_cocos2dx_coco_studio_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA408198B2AFD000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA480198B2B57000C57D3 /* lua_cocos2dx_spine_auto.cpp in Sources */, + 15EFA481198B2B57000C57D3 /* lua_cocos2dx_spine_manual.cpp in Sources */, + 15EFA482198B2B57000C57D3 /* LuaSkeletonAnimation.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA487198B2B9B000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA51D198B2CE5000C57D3 /* lua_extensions.c in Sources */, + 15EFA51E198B2CE5000C57D3 /* Lua_web_socket.cpp in Sources */, + 15EFA51F198B2CE5000C57D3 /* lua_xml_http_request.cpp in Sources */, + 15EFA4FF198B2C0B000C57D3 /* buffer.c in Sources */, + 15EFA500198B2C0B000C57D3 /* io.c in Sources */, + 15EFA501198B2C0B000C57D3 /* auxiliar.c in Sources */, + 15EFA502198B2C0B000C57D3 /* except.c in Sources */, + 15EFA503198B2C0B000C57D3 /* inet.c in Sources */, + 15EFA697198B668C000C57D3 /* lua_cocos2dx_network_manual.cpp in Sources */, + 15EFA504198B2C0C000C57D3 /* luasocket.c in Sources */, + 15EFA505198B2C0C000C57D3 /* mime.c in Sources */, + 15EFA506198B2C0C000C57D3 /* options.c in Sources */, + 15EFA507198B2C0C000C57D3 /* select.c in Sources */, + 15EFA508198B2C0C000C57D3 /* serial.c in Sources */, + 15EFA509198B2C0C000C57D3 /* tcp.c in Sources */, + 15EFA50A198B2C0C000C57D3 /* timeout.c in Sources */, + 15EFA50B198B2C0C000C57D3 /* udp.c in Sources */, + 15EFA50C198B2C0C000C57D3 /* unix.c in Sources */, + 15EFA50D198B2C0C000C57D3 /* usocket.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA524198B2D13000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA59C198B2D5F000C57D3 /* lua_cocos2dx_cocosdenshion_auto.cpp in Sources */, + 15427D45198F73F700DC375D /* lua_cocos2dx_cocosdenshion_manual.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 15EFA59F198B2DAA000C57D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15EFA646198B3311000C57D3 /* tolua_event.c in Sources */, + 15EFA647198B3311000C57D3 /* tolua_is.c in Sources */, + 15EFA648198B3311000C57D3 /* tolua_map.c in Sources */, + 15EFA649198B3311000C57D3 /* tolua_push.c in Sources */, + 15EFA64A198B3311000C57D3 /* tolua_to.c in Sources */, + 15EFA645198B32DB000C57D3 /* xxtea.cpp in Sources */, + 15EFA631198B328B000C57D3 /* lua_debugger.c in Sources */, + 15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */, + 15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */, + 15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */, + 15EFA635198B328B000C57D3 /* CCLuaValue.cpp in Sources */, + 15EFA636198B328B000C57D3 /* Cocos2dxLuaLoader.cpp in Sources */, + 15EFA637198B328B000C57D3 /* LuaBasicConversions.cpp in Sources */, + 15EFA638198B328B000C57D3 /* CCLuaObjcBridge.mm in Sources */, + 15EFA639198B328B000C57D3 /* tolua_fix.cpp in Sources */, + 15EFA625198B31FB000C57D3 /* LuaOpengl.cpp in Sources */, + 15EFA626198B31FB000C57D3 /* lua_cocos2dx_deprecated.cpp in Sources */, + 15EFA627198B31FB000C57D3 /* lua_cocos2dx_experimental_manual.cpp in Sources */, + 15EFA628198B31FB000C57D3 /* lua_cocos2dx_manual.cpp in Sources */, + 15EFA629198B31FB000C57D3 /* lua_cocos2dx_physics_manual.cpp in Sources */, + 15EFA62A198B31FB000C57D3 /* LuaScriptHandlerMgr.cpp in Sources */, + 15EFA617198B2E2B000C57D3 /* lua_cocos2dx_experimental_auto.cpp in Sources */, + 15EFA618198B2E2B000C57D3 /* lua_cocos2dx_auto.cpp in Sources */, + 15EFA619198B2E2B000C57D3 /* lua_cocos2dx_physics_auto.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -971,10 +1711,11 @@ }; name = Release; }; - 1A11978F178526AA00D62A44 /* Debug */ = { + 155CA3411988C494006E0A08 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -983,22 +1724,20 @@ ); HEADER_SEARCH_PATHS = ""; IPHONEOS_DEPLOYMENT_TARGET = 5.1; - LIBRARY_SEARCH_PATHS = ( - "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios", - "$(SRCROOT)/../../../../external/lua/lua/prebuilt/ios", - ); - "OTHER_LDFLAGS[sdk=iphonesimulator7.1]" = "-llua"; - "OTHER_LDFLAGS[sdk=iphonesimulator8.0]" = "-llua"; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluaextension iOS"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; }; name = Debug; }; - 1A119790178526AA00D62A44 /* Release */ = { + 155CA3421988C494006E0A08 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; @@ -1008,23 +1747,348 @@ ); HEADER_SEARCH_PATHS = ""; IPHONEOS_DEPLOYMENT_TARGET = 5.1; - LIBRARY_SEARCH_PATHS = ( - "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios", - "$(SRCROOT)/../../../../external/lua/lua/prebuilt/ios", - ); - "OTHER_LDFLAGS[sdk=iphonesimulator7.1]" = "-llua"; - "OTHER_LDFLAGS[sdk=iphonesimulator8.0]" = "-llua"; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluaextension iOS"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; }; name = Release; }; - 1A6FB52E17854BC200CDF010 /* Debug */ = { + 15C1BDD81986538000A46ACC /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluaextension Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1BDD91986538000A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluaextension Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1BEDF198654BE00A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosbuilder Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1BEE0198654BE00A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosbuilder Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1BF6719865A0600A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosdenshion Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1BF6819865A0600A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosdenshion Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1BFEB19865C2000A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac", + "$(USER_LIBRARY_DIR)/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug", + "/Users/cocos2d/MyWork/cocos2d-x-develop/build/build/Debug", + ); + PRODUCT_NAME = "libluacocostudio Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1BFEC19865C2000A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac", + "$(USER_LIBRARY_DIR)/Developer/Xcode/DerivedData/cocos2d_tests-hfwnhsdtjxbycbgwztnpjtkcaupu/Build/Products/Debug", + "/Users/cocos2d/MyWork/cocos2d-x-develop/build/build/Debug", + ); + PRODUCT_NAME = "libluacocostudio Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1C07119865E5F00A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaspine Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1C07219865E5F00A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaspine Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1C0F91987328E00A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaui Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1C0FA1987328E00A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaui Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1C17F1987340C00A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluanetwork Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Debug; + }; + 15C1C1801987340C00A46ACC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_MAC, + CC_KEYBOARD_SUPPORT, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "libluanetwork Mac"; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; + }; + name = Release; + }; + 15C1C2CA198748D200A46ACC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -1035,16 +2099,18 @@ HEADER_SEARCH_PATHS = ""; IPHONEOS_DEPLOYMENT_TARGET = 5.0; LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac"; + PRODUCT_NAME = "libluacocos2d Mac"; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; }; name = Debug; }; - 1A6FB52F17854BC200CDF010 /* Release */ = { + 15C1C2CB198748D200A46ACC /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + EXECUTABLE_PREFIX = ""; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; @@ -1056,11 +2122,323 @@ HEADER_SEARCH_PATHS = ""; IPHONEOS_DEPLOYMENT_TARGET = 5.0; LIBRARY_SEARCH_PATHS = "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/mac"; + PRODUCT_NAME = "libluacocos2d Mac"; TARGETED_DEVICE_FAMILY = "1,2"; USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/mac $(SRCROOT)/../../../../external/glfw3/include/mac"; }; name = Release; }; + 15EFA2F7198B2791000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosbuilder iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA2F8198B2791000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosbuilder iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA378198B28A8000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaui iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA379198B28A8000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaui iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA3F9198B2934000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocostudio iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA3FA198B2934000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocostudio iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA47D198B2AFD000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaspine iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA47E198B2AFD000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluaspine iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA4FC198B2B9B000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluanetwork iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA4FD198B2B9B000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluanetwork iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA599198B2D13000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosdenshion iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA59A198B2D13000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ""; + PRODUCT_NAME = "libluacocosdenshion iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; + 15EFA614198B2DAA000C57D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios", + "$(SRCROOT)/../../../../external/lua/lua/prebuilt/ios", + ); + "OTHER_LDFLAGS[sdk=iphonesimulator7.1]" = "-llua"; + "OTHER_LDFLAGS[sdk=iphonesimulator8.0]" = "-llua"; + PRODUCT_NAME = "libluacocos2d iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Debug; + }; + 15EFA615198B2DAA000C57D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + EXECUTABLE_PREFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + CC_TARGET_OS_IPHONE, + ); + HEADER_SEARCH_PATHS = ""; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../../../external/lua/luajit/prebuilt/ios", + "$(SRCROOT)/../../../../external/lua/lua/prebuilt/ios", + ); + "OTHER_LDFLAGS[sdk=iphonesimulator7.1]" = "-llua"; + "OTHER_LDFLAGS[sdk=iphonesimulator8.0]" = "-llua"; + PRODUCT_NAME = "libluacocos2d iOS"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(inherited) $(SRCROOT)/../../../platform/ios"; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1073,20 +2451,146 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 1A11978E178526AA00D62A44 /* Build configuration list for PBXNativeTarget "luabindings iOS" */ = { + 155CA3401988C494006E0A08 /* Build configuration list for PBXNativeTarget "libluaextension iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - 1A11978F178526AA00D62A44 /* Debug */, - 1A119790178526AA00D62A44 /* Release */, + 155CA3411988C494006E0A08 /* Debug */, + 155CA3421988C494006E0A08 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 1A6FB52D17854BC200CDF010 /* Build configuration list for PBXNativeTarget "luabindings Mac" */ = { + 15C1BDD71986538000A46ACC /* Build configuration list for PBXNativeTarget "libluaextension Mac" */ = { isa = XCConfigurationList; buildConfigurations = ( - 1A6FB52E17854BC200CDF010 /* Debug */, - 1A6FB52F17854BC200CDF010 /* Release */, + 15C1BDD81986538000A46ACC /* Debug */, + 15C1BDD91986538000A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1BEDE198654BE00A46ACC /* Build configuration list for PBXNativeTarget "libluacocosbuilder Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1BEDF198654BE00A46ACC /* Debug */, + 15C1BEE0198654BE00A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1BF6619865A0600A46ACC /* Build configuration list for PBXNativeTarget "libluacocosdenshion Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1BF6719865A0600A46ACC /* Debug */, + 15C1BF6819865A0600A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1BFEA19865C2000A46ACC /* Build configuration list for PBXNativeTarget "libluacocostudio Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1BFEB19865C2000A46ACC /* Debug */, + 15C1BFEC19865C2000A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1C07019865E5F00A46ACC /* Build configuration list for PBXNativeTarget "libluaspine Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1C07119865E5F00A46ACC /* Debug */, + 15C1C07219865E5F00A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1C0F81987328E00A46ACC /* Build configuration list for PBXNativeTarget "libluaui Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1C0F91987328E00A46ACC /* Debug */, + 15C1C0FA1987328E00A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1C17E1987340C00A46ACC /* Build configuration list for PBXNativeTarget "libluanetwork Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1C17F1987340C00A46ACC /* Debug */, + 15C1C1801987340C00A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15C1C2C9198748D200A46ACC /* Build configuration list for PBXNativeTarget "libluacocos2d Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15C1C2CA198748D200A46ACC /* Debug */, + 15C1C2CB198748D200A46ACC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA2F6198B2791000C57D3 /* Build configuration list for PBXNativeTarget "libluacocosbuilder iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA2F7198B2791000C57D3 /* Debug */, + 15EFA2F8198B2791000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA377198B28A8000C57D3 /* Build configuration list for PBXNativeTarget "libluaui iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA378198B28A8000C57D3 /* Debug */, + 15EFA379198B28A8000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA3F8198B2934000C57D3 /* Build configuration list for PBXNativeTarget "libluacocostudio iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA3F9198B2934000C57D3 /* Debug */, + 15EFA3FA198B2934000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA47C198B2AFD000C57D3 /* Build configuration list for PBXNativeTarget "libluaspine iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA47D198B2AFD000C57D3 /* Debug */, + 15EFA47E198B2AFD000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA4FB198B2B9B000C57D3 /* Build configuration list for PBXNativeTarget "libluanetwork iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA4FC198B2B9B000C57D3 /* Debug */, + 15EFA4FD198B2B9B000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA598198B2D13000C57D3 /* Build configuration list for PBXNativeTarget "libluacocosdenshion iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA599198B2D13000C57D3 /* Debug */, + 15EFA59A198B2D13000C57D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 15EFA613198B2DAA000C57D3 /* Build configuration list for PBXNativeTarget "libluacocos2d iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15EFA614198B2DAA000C57D3 /* Debug */, + 15EFA615198B2DAA000C57D3 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings Mac.xcscheme b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings Mac.xcscheme deleted file mode 100644 index 4aa19dbd74..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings Mac.xcscheme +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings iOS.xcscheme b/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings iOS.xcscheme deleted file mode 100644 index d9f900f7bb..0000000000 --- a/cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/xcshareddata/xcschemes/luabindings iOS.xcscheme +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.filters deleted file mode 100644 index 17e309c94c..0000000000 --- a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.filters +++ /dev/null @@ -1,386 +0,0 @@ - - - - - {8d269c90-26ad-4ce8-b355-d8df01d59914} - - - {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} - - - {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} - - - {c36f2204-a252-47c0-b36c-b84cda218746} - - - {24fae6d6-ebb5-4da1-b0da-3f3845a9e9a9} - - - {cc863463-a948-487a-aacd-dc233c3e5200} - - - {1fa7ff75-c142-4928-8aef-e6a2eb2b465f} - - - - - auto - - - auto - - - auto - - - auto - - - auto - - - auto - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - tolua - - - tolua - - - tolua - - - tolua - - - tolua - - - xxtea - - - manual - - - auto - - - - - auto - - - auto - - - auto - - - auto - - - auto - - - auto - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - manual - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - luasocket - - - tolua - - - tolua - - - luajit - - - luajit - - - luajit - - - luajit - - - xxtea - - - manual - - - auto - - - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - script - - - \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.user b/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.user deleted file mode 100644 index ace9a86acb..0000000000 --- a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.user +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj similarity index 63% rename from cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj rename to cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj index 17d4be7a0a..ad7f8f6c24 100644 --- a/cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj @@ -11,19 +11,6 @@ - - - - - - - - - - - - - @@ -32,33 +19,20 @@ - - - - - + + + + + + - - - - - - - - - - - - - - @@ -66,73 +40,41 @@ - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - + + + - - @@ -140,8 +82,8 @@ - {DDC3E27F-004D-4DD4-9DD3-931A013D2159} - liblua + {9F2D6CE6-C893-4400-B50C-6DB70CC2562F} + libluacocos2d Win32Proj @@ -197,7 +139,7 @@ Disabled - $(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)cocos\ui;$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocostudio;$(EngineRoot)cocos\editor-support\cocosbuilder;$(EngineRoot)cocos\editor-support\spine;$(EngineRoot)cocos\audio\include;$(EngineRoot)extensions;$(EngineRoot)extensions\network;$(EngineRoot)external;$(EngineRoot)external\libwebsockets\win32\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\2d;$(EngineRoot)cocos\3d;%(AdditionalIncludeDirectories) + $(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\2d;$(EngineRoot)cocos\3d;$(EngineRoot)cocos\scripting\lua-bindings\manual\extension;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocostudio;$(EngineRoot)cocos\scripting\lua-bindings\manual\ui;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)extensions;%(AdditionalIncludeDirectories) WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false EnableFastChecks @@ -229,7 +171,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\lua\luajit\prebuilt\win32\*.*" "$ MinSpace true - $(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)cocos\ui;$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocostudio;$(EngineRoot)cocos\editor-support\cocosbuilder;$(EngineRoot)cocos\editor-support\spine;$(EngineRoot)cocos\audio\include;$(EngineRoot)extensions;$(EngineRoot)extensions\network;$(EngineRoot)external;$(EngineRoot)external\libwebsockets\win32\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\2d;$(EngineRoot)cocos\3d;%(AdditionalIncludeDirectories) + $(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\2d;$(EngineRoot)cocos\3d;$(EngineRoot)cocos\scripting\lua-bindings\manual\extension;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocostudio;$(EngineRoot)cocos\scripting\lua-bindings\manual\ui;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)extensions;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) MultiThreadedDLL true diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj.filters new file mode 100644 index 0000000000..a777b58f12 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj.filters @@ -0,0 +1,212 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {24fae6d6-ebb5-4da1-b0da-3f3845a9e9a9} + + + {cc863463-a948-487a-aacd-dc233c3e5200} + + + {1fa7ff75-c142-4928-8aef-e6a2eb2b465f} + + + {d326dcc4-b1e3-4326-95c2-c14144076fd9} + + + + + auto + + + tolua + + + tolua + + + tolua + + + tolua + + + tolua + + + xxtea + + + auto + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + auto + + + + + auto + + + tolua + + + tolua + + + luajit + + + luajit + + + luajit + + + luajit + + + xxtea + + + auto + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + manual\cocos2d + + + auto + + + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + script + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj new file mode 100644 index 0000000000..13d9777f13 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj @@ -0,0 +1,153 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + + {811c0dab-7b96-4bd3-a154-b7572b58e4ab} + + + + {F8198014-F4F3-49F0-88AB-C1969A5829AF} + libluacocosbuilder + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocosbuilder;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocosbuilder;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj.filters new file mode 100644 index 0000000000..8be7929c39 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {a70474d7-7a4d-41e4-93de-0a1e24b7ec5c} + + + + + auto + + + manual\cocosbuilder + + + manual\cocosbuilder + + + + + auto + + + manual\cocosbuilder + + + manual\cocosbuilder + + + + + script + + + script + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj new file mode 100644 index 0000000000..1245202edf --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj @@ -0,0 +1,152 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + + + + + + + + + + {46A7D57A-7F25-4F52-823B-FFAC4FF3A624} + libluacocosdenshion + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocosdenshion;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\manual;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocosdenshion;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\manual;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj.filters new file mode 100644 index 0000000000..8a163cb31d --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj.filters @@ -0,0 +1,44 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {e6ef7820-87ef-4975-a15d-969267d181ad} + + + + + script + + + script + + + script + + + + + manual\cocosdenshion + + + auto + + + + + manual\cocosdenshion + + + auto + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj new file mode 100644 index 0000000000..d45a30e5a8 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj @@ -0,0 +1,152 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + + {9640951E-C5D0-47B5-9C42-0BCADA261C50} + libluacocostudio + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocostudio;$(EngineRoot)external;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocostudio;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\cocostudio;$(EngineRoot)external;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocostudio;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj.filters new file mode 100644 index 0000000000..f88ce0910f --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj.filters @@ -0,0 +1,44 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {900827d1-f640-4a49-b4bd-34c6d4a4b8b5} + + + + + auto + + + manual\cocostudio + + + + + auto + + + manual\cocostudio + + + + + script + + + script + + + script + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj new file mode 100644 index 0000000000..5c58593b13 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj @@ -0,0 +1,153 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + + {7068296E-38A4-4BCA-85DB-3A09BD014847} + libluaextension + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot);$(EngineRoot)extensions;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\manual\extension;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot);$(EngineRoot)extensions;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\manual\extension;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj.filters new file mode 100644 index 0000000000..78457289b0 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {af407ec6-3b69-4f0f-a053-6f68467c82e9} + + + + + auto + + + manual\extension + + + + + auto + + + manual\extension + + + + + script + + + script + + + script + + + script + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj new file mode 100644 index 0000000000..fe3b661884 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {df2638c0-8128-4847-867c-6eafe3dee7b5} + + + + {65E52F4B-703F-419E-AD67-926241A10042} + libluacocosdenshion + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot);$(EngineRoot)extensions\network;$(EngineRoot)external\libwebsockets\win32\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)external\lua;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot);$(EngineRoot)extensions\network;$(EngineRoot)external\libwebsockets\win32\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)external\lua;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj.filters new file mode 100644 index 0000000000..1591a543b7 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj.filters @@ -0,0 +1,126 @@ + + + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + {633582d6-6f80-4dd1-b719-951e1c1dc6ff} + + + {0c791425-97c1-4eaa-869d-2454d9670a72} + + + + + manual\network + + + manual\network + + + manual\network + + + manual\network + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + + + manual\network + + + manual\network + + + manual\network + + + manual\network + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + luasocket + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj new file mode 100644 index 0000000000..a65555602b --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj @@ -0,0 +1,149 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + {b7c2a162-dec9-4418-972e-240ab3cbfcae} + + + + {31EF6AB1-0D9A-4BC6-99B8-2C482EA373C4} + libluaextension + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\spine;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\spine;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\editor-support\spine;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\spine;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj.filters new file mode 100644 index 0000000000..19b40b6120 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj.filters @@ -0,0 +1,33 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + + + auto + + + manual + + + manual + + + + + auto + + + manual + + + manual + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj b/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj new file mode 100644 index 0000000000..bef30a2acb --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj @@ -0,0 +1,156 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + + + + + + + + + + + + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + + {FE78EEBB-3DBB-4713-8CBF-63D742C5BD82} + libluaui + Win32Proj + + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + StaticLibrary + Unicode + v100 + v110 + v110_xp + v120 + v120_xp + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\ui;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\ui;%(AdditionalIncludeDirectories) + WIN32;_WINDOWS;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + + + + + Level3 + OldStyle + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + MinSpace + true + $(EngineRoot)cocos\ui;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\lua-bindings\manual\cocos2d;$(EngineRoot)cocos\scripting\lua-bindings\ui;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;LIBLUA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + + + + + Level3 + None + 4800;4267;4251;4244;%(DisableSpecificWarnings) + true + false + + + libcocos2d.lib;%(AdditionalLibraryDirectories) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj.filters b/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj.filters new file mode 100644 index 0000000000..2d25598cd1 --- /dev/null +++ b/cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj.filters @@ -0,0 +1,53 @@ + + + + + {8d269c90-26ad-4ce8-b355-d8df01d59914} + + + {25c7b94b-a9a1-4b93-b285-93c9b620e2ad} + + + {af4b7d5f-f563-4069-ade8-c1a954e6fe5e} + + + + + auto + + + auto + + + manual + + + manual + + + + + auto + + + auto + + + manual + + + manual + + + + + script + + + script + + + script + + + \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/script/CocoStudio.lua b/cocos/scripting/lua-bindings/script/CocoStudio.lua index 66eb80121f..e0df56a60d 100644 --- a/cocos/scripting/lua-bindings/script/CocoStudio.lua +++ b/cocos/scripting/lua-bindings/script/CocoStudio.lua @@ -371,3 +371,9 @@ end function ccs.TriggerMng:isEmpty() return (not (nil == self._eventTriggers)) or table.getn(self._eventTriggers) <= 0 end + +function __onParseConfig(configType,jasonStr) + if configType == cc.ConfigType.COCOSTUDIO then + ccs.TriggerMng.getInstance():parse(jasonStr) + end +end diff --git a/cocos/scripting/lua-bindings/script/Cocos2d.lua b/cocos/scripting/lua-bindings/script/Cocos2d.lua index 2c14f075e9..aa020eb804 100644 --- a/cocos/scripting/lua-bindings/script/Cocos2d.lua +++ b/cocos/scripting/lua-bindings/script/Cocos2d.lua @@ -1,10 +1,5 @@ -require "CocoStudio" - cc = cc or {} -cc.DIRECTOR_PROJECTION_2D = 0 -cc.DIRECTOR_PROJECTION_3D = 1 - function cc.clampf(value, min_inclusive, max_inclusive) -- body local temp = 0 @@ -367,15 +362,3 @@ end function cc.PhysicsMaterial(_density, _restitution, _friction) return { density = _density, restitution = _restitution, friction = _friction } end - -local ConfigType = -{ - NONE = 0, - COCOSTUDIO = 1, -} - -function __onParseConfig(configType,jasonStr) - if configType == ConfigType.COCOSTUDIO then - ccs.TriggerMng.getInstance():parse(jasonStr) - end -end diff --git a/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua b/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua index efcac61305..c66734c530 100644 --- a/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua +++ b/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua @@ -186,59 +186,6 @@ cc.PLATFORM_OS_NACL = 7 cc.PLATFORM_OS_EMSCRIPTEN = 8 cc.PLATFORM_OS_TIZEN = 9 -cc.SCROLLVIEW_SCRIPT_SCROLL = 0 -cc.SCROLLVIEW_SCRIPT_ZOOM = 1 -cc.TABLECELL_TOUCHED = 2 -cc.TABLECELL_HIGH_LIGHT = 3 -cc.TABLECELL_UNHIGH_LIGHT = 4 -cc.TABLECELL_WILL_RECYCLE = 5 -cc.TABLECELL_SIZE_FOR_INDEX = 6 -cc.TABLECELL_SIZE_AT_INDEX = 7 -cc.NUMBER_OF_CELLS_IN_TABLEVIEW = 8 - -cc.SCROLLVIEW_DIRECTION_NONE = -1 -cc.SCROLLVIEW_DIRECTION_HORIZONTAL = 0 -cc.SCROLLVIEW_DIRECTION_VERTICAL = 1 -cc.SCROLLVIEW_DIRECTION_BOTH = 2 - -cc.CONTROL_EVENTTYPE_TOUCH_DOWN = 1 -cc.CONTROL_EVENTTYPE_DRAG_INSIDE = 2 -cc.CONTROL_EVENTTYPE_DRAG_OUTSIDE = 4 -cc.CONTROL_EVENTTYPE_DRAG_ENTER = 8 -cc.CONTROL_EVENTTYPE_DRAG_EXIT = 16 -cc.CONTROL_EVENTTYPE_TOUCH_UP_INSIDE = 32 -cc.CONTROL_EVENTTYPE_TOUCH_UP_OUTSIDE = 64 -cc.CONTROL_EVENTTYPE_TOUCH_CANCEL = 128 -cc.CONTROL_EVENTTYPE_VALUE_CHANGED = 256 - -cc.CONTROL_STATE_NORMAL = 1 -cc.CONTROL_STATE_HIGH_LIGHTED = 2 -cc.CONTROL_STATE_DISABLED = 4 -cc.CONTROL_STATE_SELECTED = 8 - - -cc.KEYBOARD_RETURNTYPE_DEFAULT = 0 -cc.KEYBOARD_RETURNTYPE_DONE = 1 -cc.KEYBOARD_RETURNTYPE_SEND = 2 -cc.KEYBOARD_RETURNTYPE_SEARCH = 3 -cc.KEYBOARD_RETURNTYPE_GO = 4 - - -cc.EDITBOX_INPUT_MODE_ANY = 0 -cc.EDITBOX_INPUT_MODE_EMAILADDR = 1 -cc.EDITBOX_INPUT_MODE_NUMERIC = 2 -cc.EDITBOX_INPUT_MODE_PHONENUMBER = 3 -cc.EDITBOX_INPUT_MODE_URL = 4 -cc.EDITBOX_INPUT_MODE_DECIMAL = 5 -cc.EDITBOX_INPUT_MODE_SINGLELINE = 6 - - -cc.EDITBOX_INPUT_FLAG_PASSWORD = 0 -cc.EDITBOX_INPUT_FLAG_SENSITIVE = 1 -cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_WORD = 2 -cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_SENTENCE = 3 -cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_ALL_CHARACTERS = 4 - cc.LANGUAGE_ENGLISH = 0 cc.LANGUAGE_CHINESE = 1 cc.LANGUAGE_FRENCH = 2 @@ -258,39 +205,6 @@ cc.NODE_ON_ENTER_TRANSITION_DID_FINISH = 2 cc.NODE_ON_EXIT_TRANSITION_DID_START = 3 cc.NODE_ON_CLEAN_UP = 4 -cc.CONTROL_STEPPER_PART_MINUS = 0 -cc.CONTROL_STEPPER_PART_PLUS = 1 -cc.CONTROL_STEPPER_PART_NONE = 2 - -cc.TABLEVIEW_FILL_TOPDOWN = 0 -cc.TABLEVIEW_FILL_BOTTOMUP = 1 - -cc.WEBSOCKET_OPEN = 0 -cc.WEBSOCKET_MESSAGE = 1 -cc.WEBSOCKET_CLOSE = 2 -cc.WEBSOCKET_ERROR = 3 - -cc.WEBSOCKET_STATE_CONNECTING = 0 -cc.WEBSOCKET_STATE_OPEN = 1 -cc.WEBSOCKET_STATE_CLOSING = 2 -cc.WEBSOCKET_STATE_CLOSED = 3 - - -cc.XMLHTTPREQUEST_RESPONSE_STRING = 0 -cc.XMLHTTPREQUEST_RESPONSE_ARRAY_BUFFER = 1 -cc.XMLHTTPREQUEST_RESPONSE_BLOB = 2 -cc.XMLHTTPREQUEST_RESPONSE_DOCUMENT = 3 -cc.XMLHTTPREQUEST_RESPONSE_JSON = 4 - -cc.ASSETSMANAGER_CREATE_FILE = 0 -cc.ASSETSMANAGER_NETWORK = 1 -cc.ASSETSMANAGER_NO_NEW_VERSION = 2 -cc.ASSETSMANAGER_UNCOMPRESS = 3 - -cc.ASSETSMANAGER_PROTOCOL_PROGRESS = 0 -cc.ASSETSMANAGER_PROTOCOL_SUCCESS = 1 -cc.ASSETSMANAGER_PROTOCOL_ERROR = 2 - cc.Handler = cc.Handler or {} cc.Handler.NODE = 0 cc.Handler.MENU_CLICKED = 1 @@ -577,38 +491,11 @@ cc.EventCode = CANCELLED = 3, } -cc.ControllerKey = +cc.DIRECTOR_PROJECTION_2D = 0 +cc.DIRECTOR_PROJECTION_3D = 1 + +cc.ConfigType = { - JOYSTICK_LEFT_X = 1000, - JOYSTICK_LEFT_Y = 1001, - JOYSTICK_RIGHT_X = 1002, - JOYSTICK_RIGHT_Y = 1003, - - BUTTON_A = 1004, - BUTTON_B = 1005, - BUTTON_C = 1006, - BUTTON_X = 1007, - BUTTON_Y = 1008, - BUTTON_Z = 1009, - - BUTTON_DPAD_UP = 1010, - BUTTON_DPAD_DOWN = 1011, - BUTTON_DPAD_LEFT = 1012, - BUTTON_DPAD_RIGHT = 1013, - BUTTON_DPAD_CENTER = 1014, - - BUTTON_LEFT_SHOULDER = 1015, - BUTTON_RIGHT_SHOULDER = 1016, - - AXIS_LEFT_TRIGGER = 1017, - AXIS_RIGHT_TRIGGER = 1018, - - BUTTON_LEFT_THUMBSTICK = 1019, - BUTTON_RIGHT_THUMBSTICK = 1020, - - BUTTON_START = 1021, - BUTTON_SELECT = 1022, - - BUTTON_PAUSE = 1023, - KEY_MAX = 1024, + NONE = 0, + COCOSTUDIO = 1, } diff --git a/cocos/scripting/lua-bindings/script/ControllerConstants.lua b/cocos/scripting/lua-bindings/script/ControllerConstants.lua new file mode 100644 index 0000000000..074e254bfd --- /dev/null +++ b/cocos/scripting/lua-bindings/script/ControllerConstants.lua @@ -0,0 +1,37 @@ +cc = cc or {} + +cc.ControllerKey = +{ + JOYSTICK_LEFT_X = 1000, + JOYSTICK_LEFT_Y = 1001, + JOYSTICK_RIGHT_X = 1002, + JOYSTICK_RIGHT_Y = 1003, + + BUTTON_A = 1004, + BUTTON_B = 1005, + BUTTON_C = 1006, + BUTTON_X = 1007, + BUTTON_Y = 1008, + BUTTON_Z = 1009, + + BUTTON_DPAD_UP = 1010, + BUTTON_DPAD_DOWN = 1011, + BUTTON_DPAD_LEFT = 1012, + BUTTON_DPAD_RIGHT = 1013, + BUTTON_DPAD_CENTER = 1014, + + BUTTON_LEFT_SHOULDER = 1015, + BUTTON_RIGHT_SHOULDER = 1016, + + AXIS_LEFT_TRIGGER = 1017, + AXIS_RIGHT_TRIGGER = 1018, + + BUTTON_LEFT_THUMBSTICK = 1019, + BUTTON_RIGHT_THUMBSTICK = 1020, + + BUTTON_START = 1021, + BUTTON_SELECT = 1022, + + BUTTON_PAUSE = 1023, + KEY_MAX = 1024, +} diff --git a/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioClass.lua new file mode 100644 index 0000000000..6dba789064 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioClass.lua @@ -0,0 +1,304 @@ +-- This is the DeprecatedExtensionClass + +DeprecatedExtensionClass = {} or DeprecatedExtensionClass + +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--CCArmature class will be Deprecated,begin +function DeprecatedExtensionClass.CCArmature() + deprecatedTip("CCArmature","ccs.Armature") + return ccs.Armature +end +_G["CCArmature"] = DeprecatedExtensionClass.CCArmature() +--CCArmature class will be Deprecated,end + +--CCArmatureAnimation class will be Deprecated,begin +function DeprecatedExtensionClass.CCArmatureAnimation() + deprecatedTip("CCArmatureAnimation","ccs.ArmatureAnimation") + return ccs.ArmatureAnimation +end +_G["CCArmatureAnimation"] = DeprecatedExtensionClass.CCArmatureAnimation() +--CCArmatureAnimation class will be Deprecated,end + +--CCSkin class will be Deprecated,begin +function DeprecatedExtensionClass.CCSkin() + deprecatedTip("CCSkin","ccs.Skin") + return ccs.Skin +end +_G["CCSkin"] = DeprecatedExtensionClass.CCSkin() +--CCSkin class will be Deprecated,end + +--CCBone class will be Deprecated,begin +function DeprecatedExtensionClass.CCBone() + deprecatedTip("CCBone","ccs.Bone") + return ccs.Bone +end +_G["CCBone"] = DeprecatedExtensionClass.CCBone() +--CCBone class will be Deprecated,end + +--CCArmatureDataManager class will be Deprecated,begin +function DeprecatedExtensionClass.CCArmatureDataManager() + deprecatedTip("CCArmatureDataManager","ccs.ArmatureDataManager") + return ccs.ArmatureDataManager +end +_G["CCArmatureDataManager"] = DeprecatedExtensionClass.CCArmatureDataManager() +--CCArmatureDataManager class will be Deprecated,end + +--CCBatchNode class will be Deprecated,begin +function DeprecatedExtensionClass.CCBatchNode() + deprecatedTip("CCBatchNode","ccs.BatchNode") + return ccs.BatchNode +end +_G["CCBatchNode"] = DeprecatedExtensionClass.CCBatchNode() +--CCBatchNode class will be Deprecated,end + +--CCTween class will be Deprecated,begin +function DeprecatedExtensionClass.CCTween() + deprecatedTip("CCTween","ccs.Tween") + return ccs.Tween +end +_G["CCTween"] = DeprecatedExtensionClass.CCTween() +--CCTween class will be Deprecated,end + +--CCBaseData class will be Deprecated,begin +function DeprecatedExtensionClass.CCBaseData() + deprecatedTip("CCBaseData","ccs.BaseData") + return ccs.BaseData +end +_G["CCBaseData"] = DeprecatedExtensionClass.CCBaseData() +--CCBaseData class will be Deprecated,end + +--CCDisplayManager class will be Deprecated,begin +function DeprecatedExtensionClass.CCDisplayManager() + deprecatedTip("CCDisplayManager","ccs.DisplayManager") + return ccs.DisplayManager +end +_G["CCDisplayManager"] = DeprecatedExtensionClass.CCDisplayManager() +--CCDisplayManager class will be Deprecated,end + +--UIHelper class will be Deprecated,begin +function DeprecatedExtensionClass.UIHelper() + deprecatedTip("UIHelper","ccs.UIHelper") + return ccs.UIHelper +end +_G["UIHelper"] = DeprecatedExtensionClass.UIHelper() +--UIHelper class will be Deprecated,end + +--UILayout class will be Deprecated,begin +function DeprecatedExtensionClass.UILayout() + deprecatedTip("UILayout","ccs.UILayout") + return ccs.UILayout +end +_G["UILayout"] = DeprecatedExtensionClass.UILayout() +--UILayout class will be Deprecated,end + +--UIWidget class will be Deprecated,begin +function DeprecatedExtensionClass.UIWidget() + deprecatedTip("UIWidget","ccs.UIWidget") + return ccs.UIWidget +end +_G["UIWidget"] = DeprecatedExtensionClass.UIWidget() +--UIWidget class will be Deprecated,end + +--UILayer class will be Deprecated,begin +function DeprecatedExtensionClass.UILayer() + deprecatedTip("UILayer","ccs.UILayer") + return ccs.UILayer +end +_G["UILayer"] = DeprecatedExtensionClass.UILayer() +--UILayer class will be Deprecated,end + +--UIButton class will be Deprecated,begin +function DeprecatedExtensionClass.UIButton() + deprecatedTip("UIButton","ccs.UIButton") + return ccs.UIButton +end +_G["UIButton"] = DeprecatedExtensionClass.UIButton() +--UIButton class will be Deprecated,end + +--UICheckBox class will be Deprecated,begin +function DeprecatedExtensionClass.UICheckBox() + deprecatedTip("UICheckBox","ccs.UICheckBox") + return ccs.UICheckBox +end +_G["UICheckBox"] = DeprecatedExtensionClass.UICheckBox() +--UICheckBox class will be Deprecated,end + +--UIImageView class will be Deprecated,begin +function DeprecatedExtensionClass.UIImageView() + deprecatedTip("UIImageView","ccs.UIImageView") + return ccs.UIImageView +end +_G["UIImageView"] = DeprecatedExtensionClass.UIImageView() +--UIImageView class will be Deprecated,end + +--UILabel class will be Deprecated,begin +function DeprecatedExtensionClass.UILabel() + deprecatedTip("UILabel","ccs.UILabel") + return ccs.UILabel +end +_G["UILabel"] = DeprecatedExtensionClass.UILabel() +--UILabel class will be Deprecated,end + +--UILabelAtlas class will be Deprecated,begin +function DeprecatedExtensionClass.UILabelAtlas() + deprecatedTip("UILabelAtlas","ccs.UILabelAtlas") + return ccs.UILabelAtlas +end +_G["UILabelAtlas"] = DeprecatedExtensionClass.UILabelAtlas() +--UILabelAtlas class will be Deprecated,end + +--UILabelBMFont class will be Deprecated,begin +function DeprecatedExtensionClass.UILabelBMFont() + deprecatedTip("UILabelBMFont","ccs.UILabelBMFont") + return ccs.UILabelBMFont +end +_G["UILabelBMFont"] = DeprecatedExtensionClass.UILabelBMFont() +--UILabelBMFont class will be Deprecated,end + +--UILoadingBar class will be Deprecated,begin +function DeprecatedExtensionClass.UILoadingBar() + deprecatedTip("UILoadingBar","ccs.UILoadingBar") + return ccs.UILoadingBar +end +_G["UILoadingBar"] = DeprecatedExtensionClass.UILoadingBar() +--UILoadingBar class will be Deprecated,end + +--UISlider class will be Deprecated,begin +function DeprecatedExtensionClass.UISlider() + deprecatedTip("UISlider","ccs.UISlider") + return ccs.UISlider +end +_G["UISlider"] = DeprecatedExtensionClass.UISlider() +--UISlider class will be Deprecated,end + +--UITextField class will be Deprecated,begin +function DeprecatedExtensionClass.UITextField() + deprecatedTip("UITextField","ccs.UITextField") + return ccs.UITextField +end +_G["UITextField"] = DeprecatedExtensionClass.UITextField() +--UITextField class will be Deprecated,end + +--UIScrollView class will be Deprecated,begin +function DeprecatedExtensionClass.UIScrollView() + deprecatedTip("UIScrollView","ccs.UIScrollView") + return ccs.UIScrollView +end +_G["UIScrollView"] = DeprecatedExtensionClass.UIScrollView() +--UIScrollView class will be Deprecated,end + +--UIPageView class will be Deprecated,begin +function DeprecatedExtensionClass.UIPageView() + deprecatedTip("UIPageView","ccs.UIPageView") + return ccs.UIPageView +end +_G["UIPageView"] = DeprecatedExtensionClass.UIPageView() +--UIPageView class will be Deprecated,end + +--UIListView class will be Deprecated,begin +function DeprecatedExtensionClass.UIListView() + deprecatedTip("UIListView","ccs.UIListView") + return ccs.UIListView +end +_G["UIListView"] = DeprecatedExtensionClass.UIListView() +--UIListView class will be Deprecated,end + +--UILayoutParameter class will be Deprecated,begin +function DeprecatedExtensionClass.UILayoutParameter() + deprecatedTip("UILayoutParameter","ccs.UILayoutParameter") + return ccs.UILayoutParameter +end +_G["UILayoutParameter"] = DeprecatedExtensionClass.UILayoutParameter() +--UILayoutParameter class will be Deprecated,end + +--UILinearLayoutParameter class will be Deprecated,begin +function DeprecatedExtensionClass.UILinearLayoutParameter() + deprecatedTip("UILinearLayoutParameter","ccs.UILinearLayoutParameter") + return ccs.UILinearLayoutParameter +end +_G["UILinearLayoutParameter"] = DeprecatedExtensionClass.UILinearLayoutParameter() +--UILinearLayoutParameter class will be Deprecated,end + +--UIRelativeLayoutParameter class will be Deprecated,begin +function DeprecatedExtensionClass.UIRelativeLayoutParameter() + deprecatedTip("UIRelativeLayoutParameter","ccs.UIRelativeLayoutParameter") + return ccs.UIRelativeLayoutParameter +end +_G["UIRelativeLayoutParameter"] = DeprecatedExtensionClass.UIRelativeLayoutParameter() +--UIRelativeLayoutParameter class will be Deprecated,end + +--CCComController class will be Deprecated,begin +function DeprecatedExtensionClass.CCComController() + deprecatedTip("CCComController","ccs.ComController") + return ccs.CCComController +end +_G["CCComController"] = DeprecatedExtensionClass.CCComController() +--CCComController class will be Deprecated,end + +--CCComAudio class will be Deprecated,begin +function DeprecatedExtensionClass.CCComAudio() + deprecatedTip("CCComAudio","ccs.ComAudio") + return ccs.ComAudio +end +_G["CCComAudio"] = DeprecatedExtensionClass.CCComAudio() +--CCComAudio class will be Deprecated,end + +--CCComAttribute class will be Deprecated,begin +function DeprecatedExtensionClass.CCComAttribute() + deprecatedTip("CCComAttribute","ccs.ComAttribute") + return ccs.ComAttribute +end +_G["CCComAttribute"] = DeprecatedExtensionClass.CCComAttribute() +--CCComAttribute class will be Deprecated,end + +--CCComRender class will be Deprecated,begin +function DeprecatedExtensionClass.CCComRender() + deprecatedTip("CCComRender","ccs.ComRender") + return ccs.ComRender +end +_G["CCComRender"] = DeprecatedExtensionClass.CCComRender() +--CCComRender class will be Deprecated,end + +--ActionManager class will be Deprecated,begin +function DeprecatedExtensionClass.ActionManager() + deprecatedTip("ActionManager","ccs.ActionManagerEx") + return ccs.ActionManagerEx +end +_G["ActionManager"] = DeprecatedExtensionClass.ActionManager() +--CCComRender class will be Deprecated,end + +--SceneReader class will be Deprecated,begin +function DeprecatedExtensionClass.SceneReader() + deprecatedTip("SceneReader","ccs.SceneReader") + return ccs.SceneReader +end +_G["SceneReader"] = DeprecatedExtensionClass.SceneReader() +--SceneReader class will be Deprecated,end + +--GUIReader class will be Deprecated,begin +function DeprecatedExtensionClass.GUIReader() + deprecatedTip("GUIReader","ccs.GUIReader") + return ccs.GUIReader +end +_G["GUIReader"] = DeprecatedExtensionClass.GUIReader() +--GUIReader class will be Deprecated,end + +--UIRootWidget class will be Deprecated,begin +function DeprecatedExtensionClass.UIRootWidget() + deprecatedTip("UIRootWidget","ccs.UIRootWidget") + return ccs.UIRootWidget +end +_G["UIRootWidget"] = DeprecatedExtensionClass.UIRootWidget() +--UIRootWidget class will be Deprecated,end + +--ActionObject class will be Deprecated,begin +function DeprecatedExtensionClass.ActionObject() + deprecatedTip("ActionObject","ccs.ActionObject") + return ccs.ActionObject +end +_G["ActionObject"] = DeprecatedExtensionClass.ActionObject() +--ActionObject class will be Deprecated,end \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioFunc.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioFunc.lua new file mode 100644 index 0000000000..72331f1b09 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocoStudioFunc.lua @@ -0,0 +1,77 @@ +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--functions of GUIReader will be deprecated begin +local GUIReaderDeprecated = { } +function GUIReaderDeprecated.shareReader() + deprecatedTip("GUIReader:shareReader","ccs.GUIReader:getInstance") + return ccs.GUIReader:getInstance() +end +rawset(GUIReader,"shareReader",GUIReaderDeprecated.shareReader) + +function GUIReaderDeprecated.purgeGUIReader() + deprecatedTip("GUIReader:purgeGUIReader","ccs.GUIReader:destroyInstance") + return ccs.GUIReader:destroyInstance() +end +rawset(GUIReader,"purgeGUIReader",GUIReaderDeprecated.purgeGUIReader) +--functions of GUIReader will be deprecated end + +--functions of SceneReader will be deprecated begin +local SceneReaderDeprecated = { } +function SceneReaderDeprecated.sharedSceneReader() + deprecatedTip("SceneReader:sharedSceneReader","ccs.SceneReader:getInstance") + return ccs.SceneReader:getInstance() +end +rawset(SceneReader,"sharedSceneReader",SceneReaderDeprecated.sharedSceneReader) + +function SceneReaderDeprecated.purgeSceneReader(self) + deprecatedTip("SceneReader:purgeSceneReader","ccs.SceneReader:destroyInstance") + return self:destroyInstance() +end +rawset(SceneReader,"purgeSceneReader",SceneReaderDeprecated.purgeSceneReader) +--functions of SceneReader will be deprecated end + + +--functions of ccs.GUIReader will be deprecated begin +local CCSGUIReaderDeprecated = { } +function CCSGUIReaderDeprecated.purgeGUIReader() + deprecatedTip("ccs.GUIReader:purgeGUIReader","ccs.GUIReader:destroyInstance") + return ccs.GUIReader:destroyInstance() +end +rawset(ccs.GUIReader,"purgeGUIReader",CCSGUIReaderDeprecated.purgeGUIReader) +--functions of ccs.GUIReader will be deprecated end + +--functions of ccs.ActionManagerEx will be deprecated begin +local CCSActionManagerExDeprecated = { } +function CCSActionManagerExDeprecated.destroyActionManager() + deprecatedTip("ccs.ActionManagerEx:destroyActionManager","ccs.ActionManagerEx:destroyInstance") + return ccs.ActionManagerEx:destroyInstance() +end +rawset(ccs.ActionManagerEx,"destroyActionManager",CCSActionManagerExDeprecated.destroyActionManager) +--functions of ccs.ActionManagerEx will be deprecated end + +--functions of ccs.SceneReader will be deprecated begin +local CCSSceneReaderDeprecated = { } +function CCSSceneReaderDeprecated.destroySceneReader(self) + deprecatedTip("ccs.SceneReader:destroySceneReader","ccs.SceneReader:destroyInstance") + return self:destroyInstance() +end +rawset(ccs.SceneReader,"destroySceneReader",CCSSceneReaderDeprecated.destroySceneReader) +--functions of ccs.SceneReader will be deprecated end + +--functions of CCArmatureDataManager will be deprecated begin +local CCArmatureDataManagerDeprecated = { } +function CCArmatureDataManagerDeprecated.sharedArmatureDataManager() + deprecatedTip("CCArmatureDataManager:sharedArmatureDataManager","ccs.ArmatureDataManager:getInstance") + return ccs.ArmatureDataManager:getInstance() +end +rawset(CCArmatureDataManager,"sharedArmatureDataManager",CCArmatureDataManagerDeprecated.sharedArmatureDataManager) + +function CCArmatureDataManagerDeprecated.purge() + deprecatedTip("CCArmatureDataManager:purge","ccs.ArmatureDataManager:destoryInstance") + return ccs.ArmatureDataManager:destoryInstance() +end +rawset(CCArmatureDataManager,"purge",CCArmatureDataManagerDeprecated.purge) +--functions of CCArmatureDataManager will be deprecated end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua similarity index 80% rename from cocos/scripting/lua-bindings/script/DeprecatedClass.lua rename to cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua index 61cb41428b..3228789177 100644 --- a/cocos/scripting/lua-bindings/script/DeprecatedClass.lua +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua @@ -55,14 +55,6 @@ end _G["CCEaseInOut"] = DeprecatedClass.CCEaseInOut() --CCEaseInOut class will be Deprecated,end ---SimpleAudioEngine class will be Deprecated,begin -function DeprecatedClass.SimpleAudioEngine() - deprecatedTip("SimpleAudioEngine","cc.SimpleAudioEngine") - return cc.SimpleAudioEngine -end -_G["SimpleAudioEngine"] = DeprecatedClass.SimpleAudioEngine() ---SimpleAudioEngine class will be Deprecated,end - --CCTransitionMoveInT class will be Deprecated,begin function DeprecatedClass.CCTransitionMoveInT() deprecatedTip("CCTransitionMoveInT","cc.TransitionMoveInT") @@ -79,14 +71,6 @@ end _G["CCTransitionMoveInR"] = DeprecatedClass.CCTransitionMoveInR() --CCTransitionMoveInR class will be Deprecated,end ---CCControlHuePicker class will be Deprecated,begin -function DeprecatedClass.CCControlHuePicker() - deprecatedTip("CCControlHuePicker","cc.ControlHuePicker") - return cc.ControlHuePicker -end -_G["CCControlHuePicker"] = DeprecatedClass.CCControlHuePicker() ---CCControlHuePicker class will be Deprecated,end - --CCParticleSnow class will be Deprecated,begin function DeprecatedClass.CCParticleSnow() deprecatedTip("CCParticleSnow","cc.ParticleSnow") @@ -143,14 +127,6 @@ end _G["CCTransitionRotoZoom"] = DeprecatedClass.CCTransitionRotoZoom() --CCTransitionRotoZoom class will be Deprecated,end ---CCControlColourPicker class will be Deprecated,begin -function DeprecatedClass.CCControlColourPicker() - deprecatedTip("CCControlColourPicker","cc.ControlColourPicker") - return cc.ControlColourPicker -end -_G["CCControlColourPicker"] = DeprecatedClass.CCControlColourPicker() ---CCControlColourPicker class will be Deprecated,end - --CCDirector class will be Deprecated,begin function DeprecatedClass.CCDirector() deprecatedTip("CCDirector","cc.Director") @@ -320,14 +296,6 @@ end _G["CCTransitionFlipAngular"] = DeprecatedClass.CCTransitionFlipAngular() --CCTransitionFlipAngular class will be Deprecated,end ---CCControl class will be Deprecated,begin -function DeprecatedClass.CCControl() - deprecatedTip("CCControl","cc.Control") - return cc.Control -end -_G["CCControl"] = DeprecatedClass.CCControl() ---CCControl class will be Deprecated,end - --CCEaseElasticInOut class will be Deprecated,begin function DeprecatedClass.CCEaseElasticInOut() deprecatedTip("CCEaseElasticInOut","cc.EaseElasticInOut") @@ -352,14 +320,6 @@ end _G["CCShow"] = DeprecatedClass.CCShow() --CCShow class will be Deprecated,end ---CCEditBox class will be Deprecated,begin -function DeprecatedClass.CCEditBox() - deprecatedTip("CCEditBox","cc.EditBox") - return cc.EditBox -end -_G["CCEditBox"] = DeprecatedClass.CCEditBox() ---CCEditBox class will be Deprecated,end - --CCFadeOut class will be Deprecated,begin function DeprecatedClass.CCFadeOut() deprecatedTip("CCFadeOut","cc.FadeOut") @@ -496,14 +456,6 @@ end _G["CCApplication"] = DeprecatedClass.CCApplication() --CCApplication class will be Deprecated,end ---CCControlSlider class will be Deprecated,begin -function DeprecatedClass.CCControlSlider() - deprecatedTip("CCControlSlider","cc.ControlSlider") - return cc.ControlSlider -end -_G["CCControlSlider"] = DeprecatedClass.CCControlSlider() ---CCControlSlider class will be Deprecated,end - --CCDelayTime class will be Deprecated,begin function DeprecatedClass.CCDelayTime() deprecatedTip("CCDelayTime","cc.DelayTime") @@ -528,14 +480,6 @@ end _G["CCLabelBMFont"] = DeprecatedClass.CCLabelBMFont() --CCLabelBMFont class will be Deprecated,end ---CCScale9Sprite class will be Deprecated,begin -function DeprecatedClass.CCScale9Sprite() - deprecatedTip("CCScale9Sprite","cc.Scale9Sprite") - return cc.Scale9Sprite -end -_G["CCScale9Sprite"] = DeprecatedClass.CCScale9Sprite() ---CCScale9Sprite class will be Deprecated,end - --CCFadeOutTRTiles class will be Deprecated,begin function DeprecatedClass.CCFadeOutTRTiles() deprecatedTip("CCFadeOutTRTiles","cc.FadeOutTRTiles") @@ -560,14 +504,6 @@ end _G["CCParticleSpiral"] = DeprecatedClass.CCParticleSpiral() --CCParticleSpiral class will be Deprecated,end ---CCBReader class will be Deprecated,begin -function DeprecatedClass.CCBReader() - deprecatedTip("CCBReader","cc.BReader") - return cc.BReader -end -_G["CCBReader"] = DeprecatedClass.CCBReader() ---CCBReader class will be Deprecated,end - --CCFiniteTimeAction class will be Deprecated,begin function DeprecatedClass.CCFiniteTimeAction() deprecatedTip("CCFiniteTimeAction","cc.FiniteTimeAction") @@ -704,14 +640,6 @@ end _G["CCFadeTo"] = DeprecatedClass.CCFadeTo() --CCFadeTo class will be Deprecated,end ---CCBAnimationManager class will be Deprecated,begin -function DeprecatedClass.CCBAnimationManager() - deprecatedTip("CCBAnimationManager","cc.BAnimationManager") - return cc.BAnimationManager -end -_G["CCBAnimationManager"] = DeprecatedClass.CCBAnimationManager() ---CCBAnimationManager class will be Deprecated,end - --CCRepeatForever class will be Deprecated,begin function DeprecatedClass.CCRepeatForever() deprecatedTip("CCRepeatForever","cc.RepeatForever") @@ -728,14 +656,6 @@ end _G["CCPlace"] = DeprecatedClass.CCPlace() --CCPlace class will be Deprecated,end ---CCScrollView class will be Deprecated,begin -function DeprecatedClass.CCScrollView() - deprecatedTip("CCScrollView","cc.ScrollView") - return cc.ScrollView -end -_G["CCScrollView"] = DeprecatedClass.CCScrollView() ---CCScrollView class will be Deprecated,end - --CCGLProgram class will be Deprecated,begin function DeprecatedClass.CCGLProgram() @@ -817,15 +737,6 @@ end _G["CCParticleFlower"] = DeprecatedClass.CCParticleFlower() --CCParticleFlower class will be Deprecated,end ---CCTableView class will be Deprecated,begin -function DeprecatedClass.CCTableView() - deprecatedTip("CCTableView","cc.TableView") - return cc.TableView -end -_G["CCTableView"] = DeprecatedClass.CCTableView() ---CCTableView class will be Deprecated,end - - --CCParticleSmoke class will be Deprecated,begin function DeprecatedClass.CCParticleSmoke() deprecatedTip("CCParticleSmoke","cc.ParticleSmoke") @@ -1194,14 +1105,6 @@ end _G["CCTransitionZoomFlipX"] = DeprecatedClass.CCTransitionZoomFlipX() --CCTransitionZoomFlipX class will be Deprecated,end ---CCControlPotentiometer class will be Deprecated,begin -function DeprecatedClass.CCControlPotentiometer() - deprecatedTip("CCControlPotentiometer","cc.ControlPotentiometer") - return cc.ControlPotentiometer -end -_G["CCControlPotentiometer"] = DeprecatedClass.CCControlPotentiometer() ---CCControlPotentiometer class will be Deprecated,end - --CCScaleBy class will be Deprecated,begin function DeprecatedClass.CCScaleBy() deprecatedTip("CCScaleBy","cc.ScaleBy") @@ -1338,14 +1241,6 @@ end _G["CCBezierTo"] = DeprecatedClass.CCBezierTo() --CCBezierTo class will be Deprecated,end ---CCControlButton class will be Deprecated,begin -function DeprecatedClass.CCControlButton() - deprecatedTip("CCControlButton","cc.ControlButton") - return cc.ControlButton -end -_G["CCControlButton"] = DeprecatedClass.CCControlButton() ---CCControlButton class will be Deprecated,end - --CCFollow class will be Deprecated,begin function DeprecatedClass.CCFollow() deprecatedTip("CCFollow","cc.Follow") @@ -1498,14 +1393,6 @@ end _G["CCSplitRows"] = DeprecatedClass.CCSplitRows() --CCSplitRows class will be Deprecated,end ---CCControlStepper class will be Deprecated,begin -function DeprecatedClass.CCControlStepper() - deprecatedTip("CCControlStepper","cc.ControlStepper") - return cc.ControlStepper -end -_G["CCControlStepper"] = DeprecatedClass.CCControlStepper() ---CCControlStepper class will be Deprecated,end - --CCSprite class will be Deprecated,begin function DeprecatedClass.CCSprite() deprecatedTip("CCSprite","cc.Sprite") @@ -1610,14 +1497,6 @@ end _G["CCRemoveSelf"] = DeprecatedClass.CCRemoveSelf() --CCRemoveSelf class will be Deprecated,end ---CCControlSaturationBrightnessPicker class will be Deprecated,begin -function DeprecatedClass.CCControlSaturationBrightnessPicker() - deprecatedTip("CCControlSaturationBrightnessPicker","cc.ControlSaturationBrightnessPicker") - return cc.ControlSaturationBrightnessPicker -end -_G["CCControlSaturationBrightnessPicker"] = DeprecatedClass.CCControlSaturationBrightnessPicker() ---CCControlSaturationBrightnessPicker class will be Deprecated,end - --CCLabelTTF class will be Deprecated,begin function DeprecatedClass.CCLabelTTF() deprecatedTip("CCLabelTTF","cc.LabelTTF") @@ -1786,14 +1665,6 @@ end _G["CCTransitionSlideInL"] = DeprecatedClass.CCTransitionSlideInL() --CCTransitionSlideInL class will be Deprecated,end ---CCControlSwitch class will be Deprecated,begin -function DeprecatedClass.CCControlSwitch() - deprecatedTip("CCControlSwitch","cc.ControlSwitch") - return cc.ControlSwitch -end -_G["CCControlSwitch"] = DeprecatedClass.CCControlSwitch() ---CCControlSwitch class will be Deprecated,end - --CCWavesTiles3D class will be Deprecated,begin function DeprecatedClass.CCWavesTiles3D() deprecatedTip("CCWavesTiles3D","cc.WavesTiles3D") @@ -1834,302 +1705,6 @@ end _G["CCCallFuncN"] = DeprecatedClass.CCCallFuncN() --CCCallFuncN class will be Deprecated,end ---CCArmature class will be Deprecated,begin -function DeprecatedClass.CCArmature() - deprecatedTip("CCArmature","ccs.Armature") - return ccs.Armature -end -_G["CCArmature"] = DeprecatedClass.CCArmature() ---CCArmature class will be Deprecated,end - ---CCArmatureAnimation class will be Deprecated,begin -function DeprecatedClass.CCArmatureAnimation() - deprecatedTip("CCArmatureAnimation","ccs.ArmatureAnimation") - return ccs.ArmatureAnimation -end -_G["CCArmatureAnimation"] = DeprecatedClass.CCArmatureAnimation() ---CCArmatureAnimation class will be Deprecated,end - ---CCSkin class will be Deprecated,begin -function DeprecatedClass.CCSkin() - deprecatedTip("CCSkin","ccs.Skin") - return ccs.Skin -end -_G["CCSkin"] = DeprecatedClass.CCSkin() ---CCSkin class will be Deprecated,end - ---CCBone class will be Deprecated,begin -function DeprecatedClass.CCBone() - deprecatedTip("CCBone","ccs.Bone") - return ccs.Bone -end -_G["CCBone"] = DeprecatedClass.CCBone() ---CCBone class will be Deprecated,end - ---CCArmatureDataManager class will be Deprecated,begin -function DeprecatedClass.CCArmatureDataManager() - deprecatedTip("CCArmatureDataManager","ccs.ArmatureDataManager") - return ccs.ArmatureDataManager -end -_G["CCArmatureDataManager"] = DeprecatedClass.CCArmatureDataManager() ---CCArmatureDataManager class will be Deprecated,end - ---CCBatchNode class will be Deprecated,begin -function DeprecatedClass.CCBatchNode() - deprecatedTip("CCBatchNode","ccs.BatchNode") - return ccs.BatchNode -end -_G["CCBatchNode"] = DeprecatedClass.CCBatchNode() ---CCBatchNode class will be Deprecated,end - ---CCTween class will be Deprecated,begin -function DeprecatedClass.CCTween() - deprecatedTip("CCTween","ccs.Tween") - return ccs.Tween -end -_G["CCTween"] = DeprecatedClass.CCTween() ---CCTween class will be Deprecated,end - ---CCBaseData class will be Deprecated,begin -function DeprecatedClass.CCBaseData() - deprecatedTip("CCBaseData","ccs.BaseData") - return ccs.BaseData -end -_G["CCBaseData"] = DeprecatedClass.CCBaseData() ---CCBaseData class will be Deprecated,end - ---CCDisplayManager class will be Deprecated,begin -function DeprecatedClass.CCDisplayManager() - deprecatedTip("CCDisplayManager","ccs.DisplayManager") - return ccs.DisplayManager -end -_G["CCDisplayManager"] = DeprecatedClass.CCDisplayManager() ---CCDisplayManager class will be Deprecated,end - ---UIHelper class will be Deprecated,begin -function DeprecatedClass.UIHelper() - deprecatedTip("UIHelper","ccs.UIHelper") - return ccs.UIHelper -end -_G["UIHelper"] = DeprecatedClass.UIHelper() ---UIHelper class will be Deprecated,end - ---UILayout class will be Deprecated,begin -function DeprecatedClass.UILayout() - deprecatedTip("UILayout","ccs.UILayout") - return ccs.UILayout -end -_G["UILayout"] = DeprecatedClass.UILayout() ---UILayout class will be Deprecated,end - ---UIWidget class will be Deprecated,begin -function DeprecatedClass.UIWidget() - deprecatedTip("UIWidget","ccs.UIWidget") - return ccs.UIWidget -end -_G["UIWidget"] = DeprecatedClass.UIWidget() ---UIWidget class will be Deprecated,end - ---UILayer class will be Deprecated,begin -function DeprecatedClass.UILayer() - deprecatedTip("UILayer","ccs.UILayer") - return ccs.UILayer -end -_G["UILayer"] = DeprecatedClass.UILayer() ---UILayer class will be Deprecated,end - ---UIButton class will be Deprecated,begin -function DeprecatedClass.UIButton() - deprecatedTip("UIButton","ccs.UIButton") - return ccs.UIButton -end -_G["UIButton"] = DeprecatedClass.UIButton() ---UIButton class will be Deprecated,end - ---UICheckBox class will be Deprecated,begin -function DeprecatedClass.UICheckBox() - deprecatedTip("UICheckBox","ccs.UICheckBox") - return ccs.UICheckBox -end -_G["UICheckBox"] = DeprecatedClass.UICheckBox() ---UICheckBox class will be Deprecated,end - ---UIImageView class will be Deprecated,begin -function DeprecatedClass.UIImageView() - deprecatedTip("UIImageView","ccs.UIImageView") - return ccs.UIImageView -end -_G["UIImageView"] = DeprecatedClass.UIImageView() ---UIImageView class will be Deprecated,end - ---UILabel class will be Deprecated,begin -function DeprecatedClass.UILabel() - deprecatedTip("UILabel","ccs.UILabel") - return ccs.UILabel -end -_G["UILabel"] = DeprecatedClass.UILabel() ---UILabel class will be Deprecated,end - ---UILabelAtlas class will be Deprecated,begin -function DeprecatedClass.UILabelAtlas() - deprecatedTip("UILabelAtlas","ccs.UILabelAtlas") - return ccs.UILabelAtlas -end -_G["UILabelAtlas"] = DeprecatedClass.UILabelAtlas() ---UILabelAtlas class will be Deprecated,end - ---UILabelBMFont class will be Deprecated,begin -function DeprecatedClass.UILabelBMFont() - deprecatedTip("UILabelBMFont","ccs.UILabelBMFont") - return ccs.UILabelBMFont -end -_G["UILabelBMFont"] = DeprecatedClass.UILabelBMFont() ---UILabelBMFont class will be Deprecated,end - ---UILoadingBar class will be Deprecated,begin -function DeprecatedClass.UILoadingBar() - deprecatedTip("UILoadingBar","ccs.UILoadingBar") - return ccs.UILoadingBar -end -_G["UILoadingBar"] = DeprecatedClass.UILoadingBar() ---UILoadingBar class will be Deprecated,end - ---UISlider class will be Deprecated,begin -function DeprecatedClass.UISlider() - deprecatedTip("UISlider","ccs.UISlider") - return ccs.UISlider -end -_G["UISlider"] = DeprecatedClass.UISlider() ---UISlider class will be Deprecated,end - ---UITextField class will be Deprecated,begin -function DeprecatedClass.UITextField() - deprecatedTip("UITextField","ccs.UITextField") - return ccs.UITextField -end -_G["UITextField"] = DeprecatedClass.UITextField() ---UITextField class will be Deprecated,end - ---UIScrollView class will be Deprecated,begin -function DeprecatedClass.UIScrollView() - deprecatedTip("UIScrollView","ccs.UIScrollView") - return ccs.UIScrollView -end -_G["UIScrollView"] = DeprecatedClass.UIScrollView() ---UIScrollView class will be Deprecated,end - ---UIPageView class will be Deprecated,begin -function DeprecatedClass.UIPageView() - deprecatedTip("UIPageView","ccs.UIPageView") - return ccs.UIPageView -end -_G["UIPageView"] = DeprecatedClass.UIPageView() ---UIPageView class will be Deprecated,end - ---UIListView class will be Deprecated,begin -function DeprecatedClass.UIListView() - deprecatedTip("UIListView","ccs.UIListView") - return ccs.UIListView -end -_G["UIListView"] = DeprecatedClass.UIListView() ---UIListView class will be Deprecated,end - ---UILayoutParameter class will be Deprecated,begin -function DeprecatedClass.UILayoutParameter() - deprecatedTip("UILayoutParameter","ccs.UILayoutParameter") - return ccs.UILayoutParameter -end -_G["UILayoutParameter"] = DeprecatedClass.UILayoutParameter() ---UILayoutParameter class will be Deprecated,end - ---UILinearLayoutParameter class will be Deprecated,begin -function DeprecatedClass.UILinearLayoutParameter() - deprecatedTip("UILinearLayoutParameter","ccs.UILinearLayoutParameter") - return ccs.UILinearLayoutParameter -end -_G["UILinearLayoutParameter"] = DeprecatedClass.UILinearLayoutParameter() ---UILinearLayoutParameter class will be Deprecated,end - ---UIRelativeLayoutParameter class will be Deprecated,begin -function DeprecatedClass.UIRelativeLayoutParameter() - deprecatedTip("UIRelativeLayoutParameter","ccs.UIRelativeLayoutParameter") - return ccs.UIRelativeLayoutParameter -end -_G["UIRelativeLayoutParameter"] = DeprecatedClass.UIRelativeLayoutParameter() ---UIRelativeLayoutParameter class will be Deprecated,end - ---CCComController class will be Deprecated,begin -function DeprecatedClass.CCComController() - deprecatedTip("CCComController","ccs.ComController") - return ccs.CCComController -end -_G["CCComController"] = DeprecatedClass.CCComController() ---CCComController class will be Deprecated,end - ---CCComAudio class will be Deprecated,begin -function DeprecatedClass.CCComAudio() - deprecatedTip("CCComAudio","ccs.ComAudio") - return ccs.ComAudio -end -_G["CCComAudio"] = DeprecatedClass.CCComAudio() ---CCComAudio class will be Deprecated,end - ---CCComAttribute class will be Deprecated,begin -function DeprecatedClass.CCComAttribute() - deprecatedTip("CCComAttribute","ccs.ComAttribute") - return ccs.ComAttribute -end -_G["CCComAttribute"] = DeprecatedClass.CCComAttribute() ---CCComAttribute class will be Deprecated,end - ---CCComRender class will be Deprecated,begin -function DeprecatedClass.CCComRender() - deprecatedTip("CCComRender","ccs.ComRender") - return ccs.ComRender -end -_G["CCComRender"] = DeprecatedClass.CCComRender() ---CCComRender class will be Deprecated,end - ---ActionManager class will be Deprecated,begin -function DeprecatedClass.ActionManager() - deprecatedTip("ActionManager","ccs.ActionManagerEx") - return ccs.ActionManagerEx -end -_G["ActionManager"] = DeprecatedClass.ActionManager() ---CCComRender class will be Deprecated,end - ---SceneReader class will be Deprecated,begin -function DeprecatedClass.SceneReader() - deprecatedTip("SceneReader","ccs.SceneReader") - return ccs.SceneReader -end -_G["SceneReader"] = DeprecatedClass.SceneReader() ---SceneReader class will be Deprecated,end - ---GUIReader class will be Deprecated,begin -function DeprecatedClass.GUIReader() - deprecatedTip("GUIReader","ccs.GUIReader") - return ccs.GUIReader -end -_G["GUIReader"] = DeprecatedClass.GUIReader() ---GUIReader class will be Deprecated,end - ---UIRootWidget class will be Deprecated,begin -function DeprecatedClass.UIRootWidget() - deprecatedTip("UIRootWidget","ccs.UIRootWidget") - return ccs.UIRootWidget -end -_G["UIRootWidget"] = DeprecatedClass.UIRootWidget() ---UIRootWidget class will be Deprecated,end - ---ActionObject class will be Deprecated,begin -function DeprecatedClass.ActionObject() - deprecatedTip("ActionObject","ccs.ActionObject") - return ccs.ActionObject -end -_G["ActionObject"] = DeprecatedClass.ActionObject() ---ActionObject class will be Deprecated,end - --CCEGLViewProtocol class will be Deprecated,begin function DeprecatedClass.CCEGLViewProtocol() deprecatedTip("CCEGLViewProtocol","cc.GLViewProtocol") @@ -2147,22 +1722,6 @@ end _G["CCEGLView"] = DeprecatedClass.CCEGLView() --CCEGLView class will be Deprecated,end ---CCBProxy class will be Deprecated,begin -function DeprecatedClass.CCBProxy() - deprecatedTip("CCBProxy","cc.CCBProxy") - return cc.CCBProxy -end -_G["CCBProxy"] = DeprecatedClass.CCBProxy() ---CCBProxy class will be Deprecated,end - ---WebSocket class will be Deprecated,begin -function DeprecatedClass.WebSocket() - deprecatedTip("WebSocket","cc.WebSocket") - return cc.WebSocket -end -_G["WebSocket"] = DeprecatedClass.WebSocket() ---WebSocket class will be Deprecated,end - --XMLHttpRequest class will be Deprecated,begin function DeprecatedClass.XMLHttpRequest() deprecatedTip("XMLHttpRequest","cc.XMLHttpRequest") diff --git a/cocos/scripting/lua-bindings/script/DeprecatedEnum.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua similarity index 71% rename from cocos/scripting/lua-bindings/script/DeprecatedEnum.lua rename to cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua index fd21cc4ecb..58419c2d44 100644 --- a/cocos/scripting/lua-bindings/script/DeprecatedEnum.lua +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua @@ -1,7 +1,5 @@ require "Cocos2dConstants.lua" require "OpenglConstants.lua" -require "StudioConstants.lua" -require "GuiConstants.lua" --Enums will be deprecated,begin _G.kCCTextAlignmentLeft = cc.TEXT_ALIGNMENT_LEFT _G.kCCTextAlignmentRight = cc.TEXT_ALIGNMENT_RIGHT @@ -55,9 +53,6 @@ _G.kCCTMXTileVerticalFlag = cc.TMX_TILE_VERTICAL_FLAG _G.kCCTMXTileDiagonalFlag = cc.TMX_TILE_DIAGONAL_FLAG _G.kCCFlipedAll = cc.FLIPED_ALL _G.kCCFlippedMask = cc.FLIPPED_MASK -_G.kCCControlStepperPartMinus = cc.CONTROL_STEPPER_PART_MINUS -_G.kCCControlStepperPartPlus = cc.CONTROL_STEPPER_PART_PLUS -_G.kCCControlStepperPartNone = cc.CONTROL_STEPPER_PART_NONE _G.kLanguageEnglish = cc.LANGUAGE_ENGLISH _G.kLanguageChinese = cc.LANGUAGE_CHINESE @@ -373,124 +368,3 @@ _G.GL_ALPHA = gl.ALPHA _G.GL_CURRENT_VERTEX_ATTRIB = gl.CURRENT_VERTEX_ATTRIB _G.GL_SCISSOR_TEST = gl.SCISSOR_TEST _G.GL_TRIANGLES = gl.TRIANGLES - -_G.CCControlEventTouchDown = cc.CONTROL_EVENTTYPE_TOUCH_DOWN -_G.CCControlEventTouchDragInside = cc.CONTROL_EVENTTYPE_DRAG_INSIDE -_G.CCControlEventTouchDragOutside = cc.CONTROL_EVENTTYPE_DRAG_OUTSIDE -_G.CCControlEventTouchDragEnter = cc.CONTROL_EVENTTYPE_DRAG_ENTER -_G.CCControlEventTouchDragExit = cc.CONTROL_EVENTTYPE_DRAG_EXIT -_G.CCControlEventTouchUpInside = cc.CONTROL_EVENTTYPE_TOUCH_UP_INSIDE -_G.CCControlEventTouchUpOutside = cc.CONTROL_EVENTTYPE_TOUCH_UP_OUTSIDE -_G.CCControlEventTouchCancel = cc.CONTROL_EVENTTYPE_TOUCH_CANCEL -_G.CCControlEventValueChanged = cc.CONTROL_EVENTTYPE_VALUE_CHANGED -_G.CCControlStateNormal = cc.CONTROL_STATE_NORMAL -_G.CCControlStateHighlighted = cc.CONTROL_STATE_HIGH_LIGHTED -_G.CCControlStateDisabled = cc.CONTROL_STATE_DISABLED -_G.CCControlStateSelected = cc.CONTROL_STATE_SELECTED - -_G.kWebSocketScriptHandlerOpen = cc.WEBSOCKET_OPEN -_G.kWebSocketScriptHandlerMessage = cc.WEBSOCKET_MESSAGE -_G.kWebSocketScriptHandlerClose = cc.WEBSOCKET_CLOSE -_G.kWebSocketScriptHandlerError = cc.WEBSOCKET_ERROR - -_G.kStateConnecting = cc.WEBSOCKET_STATE_CONNECTING -_G.kStateOpen = cc.WEBSOCKET_STATE_OPEN -_G.kStateClosing = cc.WEBSOCKET_STATE_CLOSING -_G.kStateClosed = cc.WEBSOCKET_STATE_CLOSED - -_G.LAYOUT_COLOR_NONE = ccui.LayoutBackGroundColorType.none -_G.LAYOUT_COLOR_SOLID = ccui.LayoutBackGroundColorType.solid -_G.LAYOUT_COLOR_GRADIENT = ccui.LayoutBackGroundColorType.gradient - -_G.LAYOUT_ABSOLUTE = ccui.LayoutType.ABSOLUTE -_G.LAYOUT_LINEAR_VERTICAL = ccui.LayoutType.VERTICAL -_G.LAYOUT_LINEAR_HORIZONTAL = ccui.LayoutType.HORIZONTAL -_G.LAYOUT_RELATIVE = ccui.LayoutType.RELATIVE - -_G.BRIGHT_NONE = ccui.BrightStyle.none -_G.BRIGHT_NORMAL = ccui.BrightStyle.normal -_G.BRIGHT_HIGHLIGHT = ccui.BrightStyle.highlight - -_G.UI_TEX_TYPE_LOCAL = ccui.TextureResType.localType -_G.UI_TEX_TYPE_PLIST = ccui.TextureResType.plistType - -_G.TOUCH_EVENT_BEGAN = ccui.TouchEventType.began -_G.TOUCH_EVENT_MOVED = ccui.TouchEventType.moved -_G.TOUCH_EVENT_ENDED = ccui.TouchEventType.ended -_G.TOUCH_EVENT_CANCELED = ccui.TouchEventType.canceled - -_G.SIZE_ABSOLUTE = ccui.SizeType.absolute -_G.SIZE_PERCENT = ccui.SizeType.percent - -_G.POSITION_ABSOLUTE = ccui.PositionType.absolute -_G.POSITION_PERCENT = ccui.PositionType.percent - -_G.CHECKBOX_STATE_EVENT_SELECTED = ccui.CheckBoxEventType.selected -_G.CHECKBOX_STATE_EVENT_UNSELECTED = ccui.CheckBoxEventType.unselected - -_G.CHECKBOX_STATE_EVENT_SELECTED = ccui.CheckBoxEventType.selected -_G.CHECKBOX_STATE_EVENT_UNSELECTED = ccui.CheckBoxEventType.unselected - -_G.LoadingBarTypeLeft = ccui.LoadingBarDirection.LEFT -_G.LoadingBarTypeRight = ccui.LoadingBarDirection.RIGHT - -_G.LoadingBarTypeRight = ccui.SliderEventType.percent_changed - -_G.TEXTFIELD_EVENT_ATTACH_WITH_IME = ccui.TextFiledEventType.attach_with_ime -_G.TEXTFIELD_EVENT_DETACH_WITH_IME = ccui.TextFiledEventType.detach_with_ime -_G.TEXTFIELD_EVENT_INSERT_TEXT = ccui.TextFiledEventType.insert_text -_G.TEXTFIELD_EVENT_DELETE_BACKWARD = ccui.TextFiledEventType.delete_backward - -_G.SCROLLVIEW_EVENT_SCROLL_TO_TOP = ccui.ScrollViewDir.none -_G.SCROLLVIEW_DIR_VERTICAL = ccui.ScrollViewDir.vertical -_G.SCROLLVIEW_DIR_HORIZONTAL = ccui.ScrollViewDir.horizontal -_G.SCROLLVIEW_DIR_BOTH = ccui.ScrollViewDir.both - -_G.SCROLLVIEW_EVENT_SCROLL_TO_TOP = ccui.ScrollviewEventType.scrollToTop -_G.SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM = ccui.ScrollviewEventType.scrollToBottom -_G.SCROLLVIEW_EVENT_SCROLL_TO_LEFT = ccui.ScrollviewEventType.scrollToLeft -_G.SCROLLVIEW_EVENT_SCROLL_TO_RIGHT = ccui.ScrollviewEventType.scrollToRight -_G.SCROLLVIEW_EVENT_SCROLLING = ccui.ScrollviewEventType.scrolling -_G.SCROLLVIEW_EVENT_BOUNCE_TOP = ccui.ScrollviewEventType.bounceTop -_G.SCROLLVIEW_EVENT_BOUNCE_BOTTOM = ccui.ScrollviewEventType.bounceBottom -_G.SCROLLVIEW_EVENT_BOUNCE_LEFT = ccui.ScrollviewEventType.bounceLeft -_G.SCROLLVIEW_EVENT_BOUNCE_RIGHT = ccui.ScrollviewEventType.bounceRight - -_G.PAGEVIEW_EVENT_TURNING = ccui.PageViewEventType.turning - -_G.PAGEVIEW_TOUCHLEFT = ccui.PVTouchDir.touch_left -_G.PAGEVIEW_TOUCHRIGHT = ccui.PVTouchDir.touch_right - -_G.LISTVIEW_DIR_NONE = ccui.ListViewDirection.none -_G.LISTVIEW_DIR_VERTICAL = ccui.ListViewDirection.vertical -_G.LISTVIEW_DIR_HORIZONTAL = ccui.ListViewDirection.horizontal - -_G.LISTVIEW_MOVE_DIR_NONE = ccui.ListViewMoveDirection.none -_G.LISTVIEW_MOVE_DIR_UP = ccui.ListViewMoveDirection.up -_G.LISTVIEW_MOVE_DIR_DOWN = ccui.ListViewMoveDirection.down -_G.LISTVIEW_MOVE_DIR_LEFT = ccui.ListViewMoveDirection.left -_G.LISTVIEW_MOVE_DIR_RIGHT = ccui.ListViewMoveDirection.right - -_G.LISTVIEW_EVENT_INIT_CHILD = ccui.ListViewEventType.init_child -_G.LISTVIEW_EVENT_UPDATE_CHILD = ccui.ListViewEventType.update_child - -_G.LAYOUT_PARAMETER_NONE = ccui.LayoutParameterType.none -_G.LAYOUT_PARAMETER_LINEAR = ccui.LayoutParameterType.linear -_G.LAYOUT_PARAMETER_RELATIVE = ccui.LayoutParameterType.relative - -_G.kCCScrollViewDirectionHorizontal = cc.SCROLLVIEW_DIRECTION_HORIZONTAL -_G.kCCScrollViewDirectionVertical = cc.SCROLLVIEW_DIRECTION_VERTICAL -_G.kCCTableViewFillTopDown = cc.TABLEVIEW_FILL_TOPDOWN -_G.kCCTableViewFillBottomUp = cc.TABLEVIEW_FILL_BOTTOMUP - -ccui.LoadingBarType = ccui.LoadingBarDirection -ccui.LoadingBarType.left = ccui.LoadingBarDirection.LEFT -ccui.LoadingBarType.right = ccui.LoadingBarDirection.RIGHT - -ccui.LayoutType.absolute = ccui.LayoutType.ABSOLUTE -ccui.LayoutType.linearVertical = ccui.LayoutType.VERTICAL -ccui.LayoutType.linearHorizontal = ccui.LayoutType.HORIZONTAL -ccui.LayoutType.relative = ccui.LayoutType.RELATIVE - -ccui.ListViewEventType.onsSelectedItem = ccui.ListViewEventType.ONSELECTEDITEM_START - diff --git a/cocos/scripting/lua-bindings/script/Deprecated.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua similarity index 76% rename from cocos/scripting/lua-bindings/script/Deprecated.lua rename to cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua index bd2b0689bb..b0e065a8ee 100644 --- a/cocos/scripting/lua-bindings/script/Deprecated.lua +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua @@ -113,22 +113,6 @@ end rawset(CCFileUtils,"purgeFileUtils",CCFileUtilsDeprecated.purgeFileUtils) --functions of CCFileUtils will be deprecated end - ---functions of SimpleAudioEngine will be deprecated begin -local SimpleAudioEngineDeprecated = { } -function SimpleAudioEngineDeprecated.sharedEngine() - deprecatedTip("SimpleAudioEngine:sharedEngine","SimpleAudioEngine:getInstance") - return cc.SimpleAudioEngine:getInstance() -end -rawset(SimpleAudioEngine,"sharedEngine",SimpleAudioEngineDeprecated.sharedEngine) - -function SimpleAudioEngineDeprecated.playBackgroundMusic(self,...) - deprecatedTip("SimpleAudioEngine:playBackgroundMusic","SimpleAudioEngine:playMusic") - return self:playMusic(...) -end -rawset(SimpleAudioEngine,"playBackgroundMusic",SimpleAudioEngineDeprecated.playBackgroundMusic) ---functions of SimpleAudioEngine will be deprecated end - --functions of CCMenu will be deprecated begin local CCMenuDeprecated = { } function CCMenuDeprecated.createWithItem(self,...) @@ -690,32 +674,7 @@ local function tex2(u,v) deprecatedTip("tex2(u,v)","cc.tex2f(u,v)") return cc.tex2f(u,v) end -rawset(_G,"tex2",tex2) - ---functions of CCControl will be deprecated end -local CCControlDeprecated = { } -function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEvent) - deprecatedTip("addHandleOfControlEvent","registerControlEventHandler") - print("come in addHandleOfControlEvent") - self:registerControlEventHandler(func,controlEvent) -end -rawset(CCControl,"addHandleOfControlEvent",CCControlDeprecated.addHandleOfControlEvent) ---functions of CCControl will be deprecated end - ---Enums of CCTableView will be deprecated begin -rawset(CCTableView, "kTableViewScroll",cc.SCROLLVIEW_SCRIPT_SCROLL) -rawset(CCTableView,"kTableViewZoom",cc.SCROLLVIEW_SCRIPT_ZOOM) -rawset(CCTableView,"kTableCellTouched",cc.TABLECELL_TOUCHED) -rawset(CCTableView,"kTableCellSizeForIndex",cc.TABLECELL_SIZE_FOR_INDEX) -rawset(CCTableView,"kTableCellSizeAtIndex",cc.TABLECELL_SIZE_AT_INDEX) -rawset(CCTableView,"kNumberOfCellsInTableView",cc.NUMBER_OF_CELLS_IN_TABLEVIEW) ---Enums of CCTableView will be deprecated end - ---Enums of CCScrollView will be deprecated begin -rawset(CCScrollView, "kScrollViewScroll",cc.SCROLLVIEW_SCRIPT_SCROLL) -rawset(CCScrollView,"kScrollViewZoom",cc.SCROLLVIEW_SCRIPT_ZOOM) ---Enums of CCScrollView will be deprecated end - +rawset(_G,"tex2",tex2) --functions of CCApplication will be deprecated end @@ -969,26 +928,6 @@ end rawset(CCTMXObjectGroup,"objectNamed", CCTMXObjectGroupDeprecated.objectNamed) --functions of CCTMXObject will be deprecated end - ---functions of WebSocket will be deprecated begin -local targetPlatform = CCApplication:getInstance():getTargetPlatform() -if (kTargetIphone == targetPlatform) or (kTargetIpad == targetPlatform) or (kTargetAndroid == targetPlatform) or (kTargetWindows == targetPlatform) then - local WebSocketDeprecated = { } - function WebSocketDeprecated.sendTextMsg(self, string) - deprecatedTip("WebSocket:sendTextMsg","WebSocket:sendString") - return self:sendString(string) - end - rawset(WebSocket,"sendTextMsg", WebSocketDeprecated.sendTextMsg) - - function WebSocketDeprecated.sendBinaryMsg(self, table,tablesize) - deprecatedTip("WebSocket:sendBinaryMsg","WebSocket:sendString") - string.char(unpack(table)) - return self:sendString(string.char(unpack(table))) - end - rawset(WebSocket,"sendBinaryMsg", WebSocketDeprecated.sendBinaryMsg) -end ---functions of WebSocket will be deprecated end - --functions of CCRenderTexture will be deprecated begin local CCRenderTextureDeprecated = { } function CCRenderTextureDeprecated.newCCImage(self) @@ -1027,78 +966,6 @@ end rawset(cc.Layer, "isKeypadEnabled", CCLayerDeprecated.isKeypadEnabled ) --functions of Layer will be deprecated end ---functions of ccs.GUIReader will be deprecated begin -local CCSGUIReaderDeprecated = { } -function CCSGUIReaderDeprecated.purgeGUIReader() - deprecatedTip("ccs.GUIReader:purgeGUIReader","ccs.GUIReader:destroyInstance") - return ccs.GUIReader:destroyInstance() -end -rawset(ccs.GUIReader,"purgeGUIReader",CCSGUIReaderDeprecated.purgeGUIReader) ---functions of ccs.GUIReader will be deprecated end - ---functions of ccs.ActionManagerEx will be deprecated begin -local CCSActionManagerExDeprecated = { } -function CCSActionManagerExDeprecated.destroyActionManager() - deprecatedTip("ccs.ActionManagerEx:destroyActionManager","ccs.ActionManagerEx:destroyInstance") - return ccs.ActionManagerEx:destroyInstance() -end -rawset(ccs.ActionManagerEx,"destroyActionManager",CCSActionManagerExDeprecated.destroyActionManager) ---functions of ccs.ActionManagerEx will be deprecated end - ---functions of ccs.SceneReader will be deprecated begin -local CCSSceneReaderDeprecated = { } -function CCSSceneReaderDeprecated.destroySceneReader(self) - deprecatedTip("ccs.SceneReader:destroySceneReader","ccs.SceneReader:destroyInstance") - return self:destroyInstance() -end -rawset(ccs.SceneReader,"destroySceneReader",CCSSceneReaderDeprecated.destroySceneReader) ---functions of ccs.SceneReader will be deprecated end - ---functions of CCArmatureDataManager will be deprecated begin -local CCArmatureDataManagerDeprecated = { } -function CCArmatureDataManagerDeprecated.sharedArmatureDataManager() - deprecatedTip("CCArmatureDataManager:sharedArmatureDataManager","ccs.ArmatureDataManager:getInstance") - return ccs.ArmatureDataManager:getInstance() -end -rawset(CCArmatureDataManager,"sharedArmatureDataManager",CCArmatureDataManagerDeprecated.sharedArmatureDataManager) - -function CCArmatureDataManagerDeprecated.purge() - deprecatedTip("CCArmatureDataManager:purge","ccs.ArmatureDataManager:destoryInstance") - return ccs.ArmatureDataManager:destoryInstance() -end -rawset(CCArmatureDataManager,"purge",CCArmatureDataManagerDeprecated.purge) ---functions of CCArmatureDataManager will be deprecated end - ---functions of GUIReader will be deprecated begin -local GUIReaderDeprecated = { } -function GUIReaderDeprecated.shareReader() - deprecatedTip("GUIReader:shareReader","ccs.GUIReader:getInstance") - return ccs.GUIReader:getInstance() -end -rawset(GUIReader,"shareReader",GUIReaderDeprecated.shareReader) - -function GUIReaderDeprecated.purgeGUIReader() - deprecatedTip("GUIReader:purgeGUIReader","ccs.GUIReader:destroyInstance") - return ccs.GUIReader:destroyInstance() -end -rawset(GUIReader,"purgeGUIReader",GUIReaderDeprecated.purgeGUIReader) ---functions of GUIReader will be deprecated end - ---functions of SceneReader will be deprecated begin -local SceneReaderDeprecated = { } -function SceneReaderDeprecated.sharedSceneReader() - deprecatedTip("SceneReader:sharedSceneReader","ccs.SceneReader:getInstance") - return ccs.SceneReader:getInstance() -end -rawset(SceneReader,"sharedSceneReader",SceneReaderDeprecated.sharedSceneReader) - -function SceneReaderDeprecated.purgeSceneReader(self) - deprecatedTip("SceneReader:purgeSceneReader","ccs.SceneReader:destroyInstance") - return self:destroyInstance() -end -rawset(SceneReader,"purgeSceneReader",SceneReaderDeprecated.purgeSceneReader) ---functions of SceneReader will be deprecated end - --functions of cc.Node will be deprecated begin local NodeDeprecated = { } function NodeDeprecated.setZOrder(self,zOrder) @@ -1146,156 +1013,3 @@ function GLProgram.addAttribute(self, attributeName, index) end rawset(cc.GLProgram,"addAttribute", GLProgram.addAttribute) --functions of cc.GLProgram will be deprecated end - ---functions of ccui.Text will be deprecated begin -local TextDeprecated = { } -function TextDeprecated.setText(self, str) - deprecatedTip("ccui.Text:setText","ccui.Text:setString") - return self:setString(str) -end -rawset(ccui.Text,"setText", TextDeprecated.setText) - -function TextDeprecated.getStringValue(self) - deprecatedTip("ccui.Text:getStringValue","ccui.Text:getString") - return self:getString() -end -rawset(ccui.Text,"getStringValue", TextDeprecated.getStringValue) - ---functions of ccui.Text will be deprecated begin - ---functions of ccui.TextAtlas will be deprecated begin -local TextAtlasDeprecated = { } -function TextAtlasDeprecated.setStringValue(self, str) - deprecatedTip("ccui.TextAtlas:setStringValue","ccui.TextAtlas:setString") - return self:setString(str) -end -rawset(ccui.TextAtlas,"setStringValue", TextAtlasDeprecated.setStringValue) - -function TextAtlasDeprecated.getStringValue(self) - deprecatedTip("ccui.TextAtlas:getStringValue","ccui.TextAtlas:getString") - return self:getString() -end -rawset(ccui.TextAtlas,"getStringValue", TextAtlasDeprecated.getStringValue) - ---functions of ccui.TextAtlas will be deprecated begin - - ---functions of ccui.TextBMFont will be deprecated begin -local TextBMFontDeprecated = { } -function TextBMFontDeprecated.setText(self, str) - deprecatedTip("ccui.TextBMFont:setText","ccui.TextBMFont:setString") - return self:setString(str) -end -rawset(ccui.TextBMFont,"setText", TextBMFontDeprecated.setText) - -function TextBMFontDeprecated.getStringValue(self) - deprecatedTip("ccui.Text:getStringValue","ccui.TextBMFont:getString") - return self:getString() -end -rawset(ccui.Text,"getStringValue", TextBMFontDeprecated.getStringValue) ---functions of ccui.TextBMFont will be deprecated begin - ---functions of cc.ShaderCache will be deprecated begin -local ShaderCacheDeprecated = { } -function ShaderCacheDeprecated.getProgram(self,strShader) - deprecatedTip("cc.ShaderCache:getProgram","cc.ShaderCache:getGLProgram") - return self:getGLProgram(strShader) -end -rawset(cc.ShaderCache,"getProgram", ShaderCacheDeprecated.getProgram) ---functions of ccui.TextBMFont will be deprecated begin - ---functions of ccui.Widget will be deprecated begin -local UIWidgetDeprecated = { } -function UIWidgetDeprecated.getLeftInParent(self) - deprecatedTip("ccui.Widget:getLeftInParent","ccui.Widget:getLeftBoundary") - return self:getLeftBoundary() -end -rawset(ccui.Widget,"getLeftInParent", UIWidgetDeprecated.getLeftInParent) - -function UIWidgetDeprecated.getBottomInParent(self) - deprecatedTip("ccui.Widget:getBottomInParent","ccui.Widget:getBottomBoundary") - return self:getBottomBoundary() -end -rawset(ccui.Widget,"getBottomInParent", UIWidgetDeprecated.getBottomInParent) - -function UIWidgetDeprecated.getRightInParent(self) - deprecatedTip("ccui.Widget:getRightInParent","ccui.Widget:getRightBoundary") - return self:getRightBoundary() -end -rawset(ccui.Widget,"getRightInParent", UIWidgetDeprecated.getRightInParent) - -function UIWidgetDeprecated.getTopInParent(self) - deprecatedTip("ccui.Widget:getTopInParent","ccui.Widget:getTopBoundary") - return self:getTopBoundary() -end -rawset(ccui.Widget,"getTopInParent", UIWidgetDeprecated.getTopInParent) - -function UIWidgetDeprecated.getSize(self) - deprecatedTip("ccui.Widget:getSize","ccui.Widget:getContentSize") - return self:getContentSize() -end -rawset(ccui.Widget,"getSize", UIWidgetDeprecated.getSize) - -function UIWidgetDeprecated.setSize(self, ...) - deprecatedTip("ccui.Widget:setSize","ccui.Widget:setContentSize") - return self:setContentSize(...) -end -rawset(ccui.Widget,"setSize", UIWidgetDeprecated.setSize) - ---functions of ccui.Widget will be deprecated end - ---functions of ccui.CheckBox will be deprecated begin -local UICheckBoxDeprecated = { } -function UICheckBoxDeprecated.addEventListenerCheckBox(self,handler) - deprecatedTip("ccui.CheckBox:addEventListenerCheckBox","ccui.CheckBox:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.CheckBox,"addEventListenerCheckBox", UICheckBoxDeprecated.addEventListenerCheckBox) ---functions of ccui.CheckBox will be deprecated end - ---functions of ccui.Slider will be deprecated begin -local UISliderDeprecated = { } -function UISliderDeprecated.addEventListenerSlider(self,handler) - deprecatedTip("ccui.Slider:addEventListenerSlider","ccui.Slider:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.Slider,"addEventListenerSlider", UISliderDeprecated.addEventListenerSlider) ---functions of ccui.Slider will be deprecated end - ---functions of ccui.TextField will be deprecated begin -local UITextFieldDeprecated = { } -function UITextFieldDeprecated.addEventListenerTextField(self,handler) - deprecatedTip("ccui.TextField:addEventListenerTextField","ccui.TextField:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.TextField,"addEventListenerTextField", UITextFieldDeprecated.addEventListenerTextField) ---functions of ccui.TextField will be deprecated end - ---functions of ccui.PageView will be deprecated begin -local UIPageViewDeprecated = { } -function UIPageViewDeprecated.addEventListenerPageView(self,handler) - deprecatedTip("ccui.PageView:addEventListenerPageView","ccui.PageView:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.PageView,"addEventListenerPageView", UIPageViewDeprecated.addEventListenerPageView) ---functions of ccui.PageView will be deprecated end - ---functions of ccui.ScrollView will be deprecated begin -local UIScrollViewDeprecated = { } -function UIScrollViewDeprecated.addEventListenerScrollView(self,handler) - deprecatedTip("ccui.ScrollView:addEventListenerScrollView","ccui.ScrollView:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.ScrollView,"addEventListenerScrollView", UIScrollViewDeprecated.addEventListenerScrollView) ---functions of ccui.ScrollView will be deprecated end - ---functions of ccui.ListView will be deprecated begin -local UIListViewDeprecated = { } -function UIListViewDeprecated.addEventListenerListView(self,handler) - deprecatedTip("ccui.ListView:addEventListenerListView","ccui.ListView:addEventListener") - return self:addEventListener(handler) -end -rawset(ccui.ListView,"addEventListenerListView", UIListViewDeprecated.addEventListenerListView) ---functions of ccui.ListView will be deprecated end - - diff --git a/cocos/scripting/lua-bindings/script/DeprecatedCocosBuilderClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocosBuilderClass.lua new file mode 100644 index 0000000000..66f1f5affd --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocosBuilderClass.lua @@ -0,0 +1,32 @@ +-- This is the DeprecatedCocosBuilderClass + +DeprecatedCocosBuilderClass = {} or DeprecatedCocosBuilderClass + +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--CCBReader class will be Deprecated,begin +function DeprecatedCocosBuilderClass.CCBReader() + deprecatedTip("CCBReader","cc.BReader") + return cc.BReader +end +_G["CCBReader"] = DeprecatedCocosBuilderClass.CCBReader() +--CCBReader class will be Deprecated,end + +--CCBAnimationManager class will be Deprecated,begin +function DeprecatedCocosBuilderClass.CCBAnimationManager() + deprecatedTip("CCBAnimationManager","cc.BAnimationManager") + return cc.BAnimationManager +end +_G["CCBAnimationManager"] = DeprecatedCocosBuilderClass.CCBAnimationManager() +--CCBAnimationManager class will be Deprecated,end + +--CCBProxy class will be Deprecated,begin +function DeprecatedCocosBuilderClass.CCBProxy() + deprecatedTip("CCBProxy","cc.CCBProxy") + return cc.CCBProxy +end +_G["CCBProxy"] = DeprecatedCocosBuilderClass.CCBProxy() +--CCBProxy class will be Deprecated,end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua new file mode 100644 index 0000000000..49e3cc3c3d --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua @@ -0,0 +1,16 @@ +-- This is the DeprecatedCocosDenshionClass + +DeprecatedCocosDenshionClass = {} or DeprecatedCocosDenshionClass + +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--SimpleAudioEngine class will be Deprecated,begin +function DeprecatedCocosDenshionClass.SimpleAudioEngine() + deprecatedTip("SimpleAudioEngine","cc.SimpleAudioEngine") + return cc.SimpleAudioEngine +end +_G["SimpleAudioEngine"] = DeprecatedCocosDenshionClass.SimpleAudioEngine() +--SimpleAudioEngine class will be Deprecated,end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua b/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua new file mode 100644 index 0000000000..f6a5401ed2 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua @@ -0,0 +1,19 @@ +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--functions of SimpleAudioEngine will be deprecated begin +local SimpleAudioEngineDeprecated = { } +function SimpleAudioEngineDeprecated.sharedEngine() + deprecatedTip("SimpleAudioEngine:sharedEngine","SimpleAudioEngine:getInstance") + return cc.SimpleAudioEngine:getInstance() +end +rawset(SimpleAudioEngine,"sharedEngine",SimpleAudioEngineDeprecated.sharedEngine) + +function SimpleAudioEngineDeprecated.playBackgroundMusic(self,...) + deprecatedTip("SimpleAudioEngine:playBackgroundMusic","SimpleAudioEngine:playMusic") + return self:playMusic(...) +end +rawset(SimpleAudioEngine,"playBackgroundMusic",SimpleAudioEngineDeprecated.playBackgroundMusic) +--functions of SimpleAudioEngine will be deprecated end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedExtensionClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedExtensionClass.lua new file mode 100644 index 0000000000..03cc96c49e --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedExtensionClass.lua @@ -0,0 +1,113 @@ +-- This is the DeprecatedExtensionClass + +DeprecatedExtensionClass = {} or DeprecatedExtensionClass + +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--CCControl class will be Deprecated,begin +function DeprecatedExtensionClass.CCControl() + deprecatedTip("CCControl","cc.Control") + return cc.Control +end +_G["CCControl"] = DeprecatedExtensionClass.CCControl() +--CCControl class will be Deprecated,end + +--CCEditBox class will be Deprecated,begin +function DeprecatedExtensionClass.CCEditBox() + deprecatedTip("CCEditBox","cc.EditBox") + return cc.EditBox +end +_G["CCEditBox"] = DeprecatedExtensionClass.CCEditBox() +--CCEditBox class will be Deprecated,end + +--CCScrollView class will be Deprecated,begin +function DeprecatedExtensionClass.CCScrollView() + deprecatedTip("CCScrollView","cc.ScrollView") + return cc.ScrollView +end +_G["CCScrollView"] = DeprecatedExtensionClass.CCScrollView() +--CCScrollView class will be Deprecated,end + +--CCTableView class will be Deprecated,begin +function DeprecatedExtensionClass.CCTableView() + deprecatedTip("CCTableView","cc.TableView") + return cc.TableView +end +_G["CCTableView"] = DeprecatedExtensionClass.CCTableView() +--CCTableView class will be Deprecated,end + +--CCControlPotentiometer class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlPotentiometer() + deprecatedTip("CCControlPotentiometer","cc.ControlPotentiometer") + return cc.ControlPotentiometer +end +_G["CCControlPotentiometer"] = DeprecatedExtensionClass.CCControlPotentiometer() +--CCControlPotentiometer class will be Deprecated,end + +--CCControlStepper class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlStepper() + deprecatedTip("CCControlStepper","cc.ControlStepper") + return cc.ControlStepper +end +_G["CCControlStepper"] = DeprecatedExtensionClass.CCControlStepper() +--CCControlStepper class will be Deprecated,end + +--CCControlHuePicker class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlHuePicker() + deprecatedTip("CCControlHuePicker","cc.ControlHuePicker") + return cc.ControlHuePicker +end +_G["CCControlHuePicker"] = DeprecatedExtensionClass.CCControlHuePicker() +--CCControlHuePicker class will be Deprecated,end + +--CCControlSlider class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlSlider() + deprecatedTip("CCControlSlider","cc.ControlSlider") + return cc.ControlSlider +end +_G["CCControlSlider"] = DeprecatedExtensionClass.CCControlSlider() +--CCControlSlider class will be Deprecated,end + +--CCControlSaturationBrightnessPicker class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlSaturationBrightnessPicker() + deprecatedTip("CCControlSaturationBrightnessPicker","cc.ControlSaturationBrightnessPicker") + return cc.ControlSaturationBrightnessPicker +end +_G["CCControlSaturationBrightnessPicker"] = DeprecatedExtensionClass.CCControlSaturationBrightnessPicker() +--CCControlSaturationBrightnessPicker class will be Deprecated,end + +--CCControlSwitch class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlSwitch() + deprecatedTip("CCControlSwitch","cc.ControlSwitch") + return cc.ControlSwitch +end +_G["CCControlSwitch"] = DeprecatedExtensionClass.CCControlSwitch() +--CCControlSwitch class will be Deprecated,end + +--CCControlButton class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlButton() + deprecatedTip("CCControlButton","cc.ControlButton") + return cc.ControlButton +end +_G["CCControlButton"] = DeprecatedExtensionClass.CCControlButton() +--CCControlButton class will be Deprecated,end + +--CCScale9Sprite class will be Deprecated,begin +function DeprecatedExtensionClass.CCScale9Sprite() + deprecatedTip("CCScale9Sprite","cc.Scale9Sprite") + return cc.Scale9Sprite +end +_G["CCScale9Sprite"] = DeprecatedExtensionClass.CCScale9Sprite() +--CCScale9Sprite class will be Deprecated,end + +--CCControlColourPicker class will be Deprecated,begin +function DeprecatedExtensionClass.CCControlColourPicker() + deprecatedTip("CCControlColourPicker","cc.ControlColourPicker") + return cc.ControlColourPicker +end +_G["CCControlColourPicker"] = DeprecatedExtensionClass.CCControlColourPicker() +--CCControlColourPicker class will be Deprecated,end + diff --git a/cocos/scripting/lua-bindings/script/DeprecatedExtensionEnum.lua b/cocos/scripting/lua-bindings/script/DeprecatedExtensionEnum.lua new file mode 100644 index 0000000000..aad58e5753 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedExtensionEnum.lua @@ -0,0 +1,23 @@ + +_G.kCCControlStepperPartMinus = cc.CONTROL_STEPPER_PART_MINUS +_G.kCCControlStepperPartPlus = cc.CONTROL_STEPPER_PART_PLUS +_G.kCCControlStepperPartNone = cc.CONTROL_STEPPER_PART_NONE + +_G.CCControlEventTouchDown = cc.CONTROL_EVENTTYPE_TOUCH_DOWN +_G.CCControlEventTouchDragInside = cc.CONTROL_EVENTTYPE_DRAG_INSIDE +_G.CCControlEventTouchDragOutside = cc.CONTROL_EVENTTYPE_DRAG_OUTSIDE +_G.CCControlEventTouchDragEnter = cc.CONTROL_EVENTTYPE_DRAG_ENTER +_G.CCControlEventTouchDragExit = cc.CONTROL_EVENTTYPE_DRAG_EXIT +_G.CCControlEventTouchUpInside = cc.CONTROL_EVENTTYPE_TOUCH_UP_INSIDE +_G.CCControlEventTouchUpOutside = cc.CONTROL_EVENTTYPE_TOUCH_UP_OUTSIDE +_G.CCControlEventTouchCancel = cc.CONTROL_EVENTTYPE_TOUCH_CANCEL +_G.CCControlEventValueChanged = cc.CONTROL_EVENTTYPE_VALUE_CHANGED +_G.CCControlStateNormal = cc.CONTROL_STATE_NORMAL +_G.CCControlStateHighlighted = cc.CONTROL_STATE_HIGH_LIGHTED +_G.CCControlStateDisabled = cc.CONTROL_STATE_DISABLED +_G.CCControlStateSelected = cc.CONTROL_STATE_SELECTED + +_G.kCCScrollViewDirectionHorizontal = cc.SCROLLVIEW_DIRECTION_HORIZONTAL +_G.kCCScrollViewDirectionVertical = cc.SCROLLVIEW_DIRECTION_VERTICAL +_G.kCCTableViewFillTopDown = cc.TABLEVIEW_FILL_TOPDOWN +_G.kCCTableViewFillBottomUp = cc.TABLEVIEW_FILL_BOTTOMUP diff --git a/cocos/scripting/lua-bindings/script/DeprecatedExtensionFunc.lua b/cocos/scripting/lua-bindings/script/DeprecatedExtensionFunc.lua new file mode 100644 index 0000000000..513c2cbf85 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedExtensionFunc.lua @@ -0,0 +1,28 @@ +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--functions of CCControl will be deprecated end +local CCControlDeprecated = { } +function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEvent) + deprecatedTip("addHandleOfControlEvent","registerControlEventHandler") + print("come in addHandleOfControlEvent") + self:registerControlEventHandler(func,controlEvent) +end +rawset(CCControl,"addHandleOfControlEvent",CCControlDeprecated.addHandleOfControlEvent) +--functions of CCControl will be deprecated end + +--Enums of CCTableView will be deprecated begin +rawset(CCTableView, "kTableViewScroll",cc.SCROLLVIEW_SCRIPT_SCROLL) +rawset(CCTableView,"kTableViewZoom",cc.SCROLLVIEW_SCRIPT_ZOOM) +rawset(CCTableView,"kTableCellTouched",cc.TABLECELL_TOUCHED) +rawset(CCTableView,"kTableCellSizeForIndex",cc.TABLECELL_SIZE_FOR_INDEX) +rawset(CCTableView,"kTableCellSizeAtIndex",cc.TABLECELL_SIZE_AT_INDEX) +rawset(CCTableView,"kNumberOfCellsInTableView",cc.NUMBER_OF_CELLS_IN_TABLEVIEW) +--Enums of CCTableView will be deprecated end + +--Enums of CCScrollView will be deprecated begin +rawset(CCScrollView, "kScrollViewScroll",cc.SCROLLVIEW_SCRIPT_SCROLL) +rawset(CCScrollView,"kScrollViewZoom",cc.SCROLLVIEW_SCRIPT_ZOOM) +--Enums of CCScrollView will be deprecated end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua b/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua new file mode 100644 index 0000000000..f465dc7bbd --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua @@ -0,0 +1,16 @@ +-- This is the DeprecatedNetworkClass + +DeprecatedNetworkClass = {} or DeprecatedNetworkClass + +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--WebSocket class will be Deprecated,begin +function DeprecatedNetworkClass.WebSocket() + deprecatedTip("WebSocket","cc.WebSocket") + return cc.WebSocket +end +_G["WebSocket"] = DeprecatedNetworkClass.WebSocket() +--WebSocket class will be Deprecated,end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua b/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua new file mode 100644 index 0000000000..da9051cd3e --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua @@ -0,0 +1,9 @@ +_G.kWebSocketScriptHandlerOpen = cc.WEBSOCKET_OPEN +_G.kWebSocketScriptHandlerMessage = cc.WEBSOCKET_MESSAGE +_G.kWebSocketScriptHandlerClose = cc.WEBSOCKET_CLOSE +_G.kWebSocketScriptHandlerError = cc.WEBSOCKET_ERROR + +_G.kStateConnecting = cc.WEBSOCKET_STATE_CONNECTING +_G.kStateOpen = cc.WEBSOCKET_STATE_OPEN +_G.kStateClosing = cc.WEBSOCKET_STATE_CLOSING +_G.kStateClosed = cc.WEBSOCKET_STATE_CLOSED diff --git a/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua b/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua new file mode 100644 index 0000000000..83869f7775 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua @@ -0,0 +1,23 @@ +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--functions of WebSocket will be deprecated begin +local targetPlatform = CCApplication:getInstance():getTargetPlatform() +if (kTargetIphone == targetPlatform) or (kTargetIpad == targetPlatform) or (kTargetAndroid == targetPlatform) or (kTargetWindows == targetPlatform) then + local WebSocketDeprecated = { } + function WebSocketDeprecated.sendTextMsg(self, string) + deprecatedTip("WebSocket:sendTextMsg","WebSocket:sendString") + return self:sendString(string) + end + rawset(WebSocket,"sendTextMsg", WebSocketDeprecated.sendTextMsg) + + function WebSocketDeprecated.sendBinaryMsg(self, table,tablesize) + deprecatedTip("WebSocket:sendBinaryMsg","WebSocket:sendString") + string.char(unpack(table)) + return self:sendString(string.char(unpack(table))) + end + rawset(WebSocket,"sendBinaryMsg", WebSocketDeprecated.sendBinaryMsg) +end +--functions of WebSocket will be deprecated end diff --git a/cocos/scripting/lua-bindings/script/DeprecatedUIEnum.lua b/cocos/scripting/lua-bindings/script/DeprecatedUIEnum.lua new file mode 100644 index 0000000000..bc3fc5a226 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedUIEnum.lua @@ -0,0 +1,92 @@ +require("GuiConstants") + +_G.LAYOUT_COLOR_NONE = ccui.LayoutBackGroundColorType.none +_G.LAYOUT_COLOR_SOLID = ccui.LayoutBackGroundColorType.solid +_G.LAYOUT_COLOR_GRADIENT = ccui.LayoutBackGroundColorType.gradient + +_G.LAYOUT_ABSOLUTE = ccui.LayoutType.ABSOLUTE +_G.LAYOUT_LINEAR_VERTICAL = ccui.LayoutType.VERTICAL +_G.LAYOUT_LINEAR_HORIZONTAL = ccui.LayoutType.HORIZONTAL +_G.LAYOUT_RELATIVE = ccui.LayoutType.RELATIVE + +_G.BRIGHT_NONE = ccui.BrightStyle.none +_G.BRIGHT_NORMAL = ccui.BrightStyle.normal +_G.BRIGHT_HIGHLIGHT = ccui.BrightStyle.highlight + +_G.UI_TEX_TYPE_LOCAL = ccui.TextureResType.localType +_G.UI_TEX_TYPE_PLIST = ccui.TextureResType.plistType + +_G.TOUCH_EVENT_BEGAN = ccui.TouchEventType.began +_G.TOUCH_EVENT_MOVED = ccui.TouchEventType.moved +_G.TOUCH_EVENT_ENDED = ccui.TouchEventType.ended +_G.TOUCH_EVENT_CANCELED = ccui.TouchEventType.canceled + +_G.SIZE_ABSOLUTE = ccui.SizeType.absolute +_G.SIZE_PERCENT = ccui.SizeType.percent + +_G.POSITION_ABSOLUTE = ccui.PositionType.absolute +_G.POSITION_PERCENT = ccui.PositionType.percent + +_G.CHECKBOX_STATE_EVENT_SELECTED = ccui.CheckBoxEventType.selected +_G.CHECKBOX_STATE_EVENT_UNSELECTED = ccui.CheckBoxEventType.unselected + +_G.CHECKBOX_STATE_EVENT_SELECTED = ccui.CheckBoxEventType.selected +_G.CHECKBOX_STATE_EVENT_UNSELECTED = ccui.CheckBoxEventType.unselected + +_G.LoadingBarTypeLeft = ccui.LoadingBarDirection.LEFT +_G.LoadingBarTypeRight = ccui.LoadingBarDirection.RIGHT + +_G.LoadingBarTypeRight = ccui.SliderEventType.percent_changed + +_G.TEXTFIELD_EVENT_ATTACH_WITH_IME = ccui.TextFiledEventType.attach_with_ime +_G.TEXTFIELD_EVENT_DETACH_WITH_IME = ccui.TextFiledEventType.detach_with_ime +_G.TEXTFIELD_EVENT_INSERT_TEXT = ccui.TextFiledEventType.insert_text +_G.TEXTFIELD_EVENT_DELETE_BACKWARD = ccui.TextFiledEventType.delete_backward + +_G.SCROLLVIEW_EVENT_SCROLL_TO_TOP = ccui.ScrollViewDir.none +_G.SCROLLVIEW_DIR_VERTICAL = ccui.ScrollViewDir.vertical +_G.SCROLLVIEW_DIR_HORIZONTAL = ccui.ScrollViewDir.horizontal +_G.SCROLLVIEW_DIR_BOTH = ccui.ScrollViewDir.both + +_G.SCROLLVIEW_EVENT_SCROLL_TO_TOP = ccui.ScrollviewEventType.scrollToTop +_G.SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM = ccui.ScrollviewEventType.scrollToBottom +_G.SCROLLVIEW_EVENT_SCROLL_TO_LEFT = ccui.ScrollviewEventType.scrollToLeft +_G.SCROLLVIEW_EVENT_SCROLL_TO_RIGHT = ccui.ScrollviewEventType.scrollToRight +_G.SCROLLVIEW_EVENT_SCROLLING = ccui.ScrollviewEventType.scrolling +_G.SCROLLVIEW_EVENT_BOUNCE_TOP = ccui.ScrollviewEventType.bounceTop +_G.SCROLLVIEW_EVENT_BOUNCE_BOTTOM = ccui.ScrollviewEventType.bounceBottom +_G.SCROLLVIEW_EVENT_BOUNCE_LEFT = ccui.ScrollviewEventType.bounceLeft +_G.SCROLLVIEW_EVENT_BOUNCE_RIGHT = ccui.ScrollviewEventType.bounceRight + +_G.PAGEVIEW_EVENT_TURNING = ccui.PageViewEventType.turning + +_G.PAGEVIEW_TOUCHLEFT = ccui.PVTouchDir.touch_left +_G.PAGEVIEW_TOUCHRIGHT = ccui.PVTouchDir.touch_right + +_G.LISTVIEW_DIR_NONE = ccui.ListViewDirection.none +_G.LISTVIEW_DIR_VERTICAL = ccui.ListViewDirection.vertical +_G.LISTVIEW_DIR_HORIZONTAL = ccui.ListViewDirection.horizontal + +_G.LISTVIEW_MOVE_DIR_NONE = ccui.ListViewMoveDirection.none +_G.LISTVIEW_MOVE_DIR_UP = ccui.ListViewMoveDirection.up +_G.LISTVIEW_MOVE_DIR_DOWN = ccui.ListViewMoveDirection.down +_G.LISTVIEW_MOVE_DIR_LEFT = ccui.ListViewMoveDirection.left +_G.LISTVIEW_MOVE_DIR_RIGHT = ccui.ListViewMoveDirection.right + +_G.LISTVIEW_EVENT_INIT_CHILD = ccui.ListViewEventType.init_child +_G.LISTVIEW_EVENT_UPDATE_CHILD = ccui.ListViewEventType.update_child + +_G.LAYOUT_PARAMETER_NONE = ccui.LayoutParameterType.none +_G.LAYOUT_PARAMETER_LINEAR = ccui.LayoutParameterType.linear +_G.LAYOUT_PARAMETER_RELATIVE = ccui.LayoutParameterType.relative + +ccui.LoadingBarType = ccui.LoadingBarDirection +ccui.LoadingBarType.left = ccui.LoadingBarDirection.LEFT +ccui.LoadingBarType.right = ccui.LoadingBarDirection.RIGHT + +ccui.LayoutType.absolute = ccui.LayoutType.ABSOLUTE +ccui.LayoutType.linearVertical = ccui.LayoutType.VERTICAL +ccui.LayoutType.linearHorizontal = ccui.LayoutType.HORIZONTAL +ccui.LayoutType.relative = ccui.LayoutType.RELATIVE + +ccui.ListViewEventType.onsSelectedItem = ccui.ListViewEventType.ONSELECTEDITEM_START \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/script/DeprecatedUIFunc.lua b/cocos/scripting/lua-bindings/script/DeprecatedUIFunc.lua new file mode 100644 index 0000000000..b11bf1d161 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/DeprecatedUIFunc.lua @@ -0,0 +1,154 @@ +--tip +local function deprecatedTip(old_name,new_name) + print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") +end + +--functions of ccui.Text will be deprecated begin +local TextDeprecated = { } +function TextDeprecated.setText(self, str) + deprecatedTip("ccui.Text:setText","ccui.Text:setString") + return self:setString(str) +end +rawset(ccui.Text,"setText", TextDeprecated.setText) + +function TextDeprecated.getStringValue(self) + deprecatedTip("ccui.Text:getStringValue","ccui.Text:getString") + return self:getString() +end +rawset(ccui.Text,"getStringValue", TextDeprecated.getStringValue) + +--functions of ccui.Text will be deprecated begin + +--functions of ccui.TextAtlas will be deprecated begin +local TextAtlasDeprecated = { } +function TextAtlasDeprecated.setStringValue(self, str) + deprecatedTip("ccui.TextAtlas:setStringValue","ccui.TextAtlas:setString") + return self:setString(str) +end +rawset(ccui.TextAtlas,"setStringValue", TextAtlasDeprecated.setStringValue) + +function TextAtlasDeprecated.getStringValue(self) + deprecatedTip("ccui.TextAtlas:getStringValue","ccui.TextAtlas:getString") + return self:getString() +end +rawset(ccui.TextAtlas,"getStringValue", TextAtlasDeprecated.getStringValue) +--functions of ccui.TextAtlas will be deprecated begin + + +--functions of ccui.TextBMFont will be deprecated begin +local TextBMFontDeprecated = { } +function TextBMFontDeprecated.setText(self, str) + deprecatedTip("ccui.TextBMFont:setText","ccui.TextBMFont:setString") + return self:setString(str) +end +rawset(ccui.TextBMFont,"setText", TextBMFontDeprecated.setText) + +function TextBMFontDeprecated.getStringValue(self) + deprecatedTip("ccui.Text:getStringValue","ccui.TextBMFont:getString") + return self:getString() +end +rawset(ccui.Text,"getStringValue", TextBMFontDeprecated.getStringValue) +--functions of ccui.TextBMFont will be deprecated begin + +--functions of cc.ShaderCache will be deprecated begin +local ShaderCacheDeprecated = { } +function ShaderCacheDeprecated.getProgram(self,strShader) + deprecatedTip("cc.ShaderCache:getProgram","cc.ShaderCache:getGLProgram") + return self:getGLProgram(strShader) +end +rawset(cc.ShaderCache,"getProgram", ShaderCacheDeprecated.getProgram) +--functions of ccui.TextBMFont will be deprecated begin + +--functions of ccui.Widget will be deprecated begin +local UIWidgetDeprecated = { } +function UIWidgetDeprecated.getLeftInParent(self) + deprecatedTip("ccui.Widget:getLeftInParent","ccui.Widget:getLeftBoundary") + return self:getLeftBoundary() +end +rawset(ccui.Widget,"getLeftInParent", UIWidgetDeprecated.getLeftInParent) + +function UIWidgetDeprecated.getBottomInParent(self) + deprecatedTip("ccui.Widget:getBottomInParent","ccui.Widget:getBottomBoundary") + return self:getBottomBoundary() +end +rawset(ccui.Widget,"getBottomInParent", UIWidgetDeprecated.getBottomInParent) + +function UIWidgetDeprecated.getRightInParent(self) + deprecatedTip("ccui.Widget:getRightInParent","ccui.Widget:getRightBoundary") + return self:getRightBoundary() +end +rawset(ccui.Widget,"getRightInParent", UIWidgetDeprecated.getRightInParent) + +function UIWidgetDeprecated.getTopInParent(self) + deprecatedTip("ccui.Widget:getTopInParent","ccui.Widget:getTopBoundary") + return self:getTopBoundary() +end +rawset(ccui.Widget,"getTopInParent", UIWidgetDeprecated.getTopInParent) + +function UIWidgetDeprecated.getSize(self) + deprecatedTip("ccui.Widget:getSize","ccui.Widget:getContentSize") + return self:getContentSize() +end +rawset(ccui.Widget,"getSize", UIWidgetDeprecated.getSize) + +function UIWidgetDeprecated.setSize(self, ...) + deprecatedTip("ccui.Widget:setSize","ccui.Widget:setContentSize") + return self:setContentSize(...) +end +rawset(ccui.Widget,"setSize", UIWidgetDeprecated.setSize) + +--functions of ccui.Widget will be deprecated end + +--functions of ccui.CheckBox will be deprecated begin +local UICheckBoxDeprecated = { } +function UICheckBoxDeprecated.addEventListenerCheckBox(self,handler) + deprecatedTip("ccui.CheckBox:addEventListenerCheckBox","ccui.CheckBox:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.CheckBox,"addEventListenerCheckBox", UICheckBoxDeprecated.addEventListenerCheckBox) +--functions of ccui.CheckBox will be deprecated end + +--functions of ccui.Slider will be deprecated begin +local UISliderDeprecated = { } +function UISliderDeprecated.addEventListenerSlider(self,handler) + deprecatedTip("ccui.Slider:addEventListenerSlider","ccui.Slider:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.Slider,"addEventListenerSlider", UISliderDeprecated.addEventListenerSlider) +--functions of ccui.Slider will be deprecated end + +--functions of ccui.TextField will be deprecated begin +local UITextFieldDeprecated = { } +function UITextFieldDeprecated.addEventListenerTextField(self,handler) + deprecatedTip("ccui.TextField:addEventListenerTextField","ccui.TextField:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.TextField,"addEventListenerTextField", UITextFieldDeprecated.addEventListenerTextField) +--functions of ccui.TextField will be deprecated end + +--functions of ccui.PageView will be deprecated begin +local UIPageViewDeprecated = { } +function UIPageViewDeprecated.addEventListenerPageView(self,handler) + deprecatedTip("ccui.PageView:addEventListenerPageView","ccui.PageView:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.PageView,"addEventListenerPageView", UIPageViewDeprecated.addEventListenerPageView) +--functions of ccui.PageView will be deprecated end + +--functions of ccui.ScrollView will be deprecated begin +local UIScrollViewDeprecated = { } +function UIScrollViewDeprecated.addEventListenerScrollView(self,handler) + deprecatedTip("ccui.ScrollView:addEventListenerScrollView","ccui.ScrollView:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.ScrollView,"addEventListenerScrollView", UIScrollViewDeprecated.addEventListenerScrollView) +--functions of ccui.ScrollView will be deprecated end + +--functions of ccui.ListView will be deprecated begin +local UIListViewDeprecated = { } +function UIListViewDeprecated.addEventListenerListView(self,handler) + deprecatedTip("ccui.ListView:addEventListenerListView","ccui.ListView:addEventListener") + return self:addEventListener(handler) +end +rawset(ccui.ListView,"addEventListenerListView", UIListViewDeprecated.addEventListenerListView) +--functions of ccui.ListView will be deprecated end diff --git a/cocos/scripting/lua-bindings/script/ExtensionConstants.lua b/cocos/scripting/lua-bindings/script/ExtensionConstants.lua new file mode 100644 index 0000000000..16065e1790 --- /dev/null +++ b/cocos/scripting/lua-bindings/script/ExtensionConstants.lua @@ -0,0 +1,58 @@ +cc = cc or {} + +cc.CONTROL_STATE_NORMAL = 1 +cc.CONTROL_STATE_HIGH_LIGHTED = 2 +cc.CONTROL_STATE_DISABLED = 4 +cc.CONTROL_STATE_SELECTED = 8 + +cc.CONTROL_STEPPER_PART_MINUS = 0 +cc.CONTROL_STEPPER_PART_PLUS = 1 +cc.CONTROL_STEPPER_PART_NONE = 2 + +cc.TABLEVIEW_FILL_TOPDOWN = 0 +cc.TABLEVIEW_FILL_BOTTOMUP = 1 + +cc.SCROLLVIEW_SCRIPT_SCROLL = 0 +cc.SCROLLVIEW_SCRIPT_ZOOM = 1 +cc.TABLECELL_TOUCHED = 2 +cc.TABLECELL_HIGH_LIGHT = 3 +cc.TABLECELL_UNHIGH_LIGHT = 4 +cc.TABLECELL_WILL_RECYCLE = 5 +cc.TABLECELL_SIZE_FOR_INDEX = 6 +cc.TABLECELL_SIZE_AT_INDEX = 7 +cc.NUMBER_OF_CELLS_IN_TABLEVIEW = 8 + +cc.SCROLLVIEW_DIRECTION_NONE = -1 +cc.SCROLLVIEW_DIRECTION_HORIZONTAL = 0 +cc.SCROLLVIEW_DIRECTION_VERTICAL = 1 +cc.SCROLLVIEW_DIRECTION_BOTH = 2 + +cc.CONTROL_EVENTTYPE_TOUCH_DOWN = 1 +cc.CONTROL_EVENTTYPE_DRAG_INSIDE = 2 +cc.CONTROL_EVENTTYPE_DRAG_OUTSIDE = 4 +cc.CONTROL_EVENTTYPE_DRAG_ENTER = 8 +cc.CONTROL_EVENTTYPE_DRAG_EXIT = 16 +cc.CONTROL_EVENTTYPE_TOUCH_UP_INSIDE = 32 +cc.CONTROL_EVENTTYPE_TOUCH_UP_OUTSIDE = 64 +cc.CONTROL_EVENTTYPE_TOUCH_CANCEL = 128 +cc.CONTROL_EVENTTYPE_VALUE_CHANGED = 256 + +cc.EDITBOX_INPUT_MODE_ANY = 0 +cc.EDITBOX_INPUT_MODE_EMAILADDR = 1 +cc.EDITBOX_INPUT_MODE_NUMERIC = 2 +cc.EDITBOX_INPUT_MODE_PHONENUMBER = 3 +cc.EDITBOX_INPUT_MODE_URL = 4 +cc.EDITBOX_INPUT_MODE_DECIMAL = 5 +cc.EDITBOX_INPUT_MODE_SINGLELINE = 6 + +cc.EDITBOX_INPUT_FLAG_PASSWORD = 0 +cc.EDITBOX_INPUT_FLAG_SENSITIVE = 1 +cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_WORD = 2 +cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_SENTENCE = 3 +cc.EDITBOX_INPUT_FLAG_INITIAL_CAPS_ALL_CHARACTERS = 4 + +cc.KEYBOARD_RETURNTYPE_DEFAULT = 0 +cc.KEYBOARD_RETURNTYPE_DONE = 1 +cc.KEYBOARD_RETURNTYPE_SEND = 2 +cc.KEYBOARD_RETURNTYPE_SEARCH = 3 +cc.KEYBOARD_RETURNTYPE_GO = 4 diff --git a/cocos/scripting/lua-bindings/script/NetworkConstants.lua b/cocos/scripting/lua-bindings/script/NetworkConstants.lua new file mode 100644 index 0000000000..0e7dd0004f --- /dev/null +++ b/cocos/scripting/lua-bindings/script/NetworkConstants.lua @@ -0,0 +1,18 @@ +cc = cc or {} + +cc.WEBSOCKET_OPEN = 0 +cc.WEBSOCKET_MESSAGE = 1 +cc.WEBSOCKET_CLOSE = 2 +cc.WEBSOCKET_ERROR = 3 + +cc.WEBSOCKET_STATE_CONNECTING = 0 +cc.WEBSOCKET_STATE_OPEN = 1 +cc.WEBSOCKET_STATE_CLOSING = 2 +cc.WEBSOCKET_STATE_CLOSED = 3 + + +cc.XMLHTTPREQUEST_RESPONSE_STRING = 0 +cc.XMLHTTPREQUEST_RESPONSE_ARRAY_BUFFER = 1 +cc.XMLHTTPREQUEST_RESPONSE_BLOB = 2 +cc.XMLHTTPREQUEST_RESPONSE_DOCUMENT = 3 +cc.XMLHTTPREQUEST_RESPONSE_JSON = 4 diff --git a/cocos/storage/CMakeLists.txt b/cocos/storage/CMakeLists.txt index 68f06b7a0f..180df106ae 100644 --- a/cocos/storage/CMakeLists.txt +++ b/cocos/storage/CMakeLists.txt @@ -1,9 +1,2 @@ - -set(COCOS_STORAGE_SRC - storage/local-storage/LocalStorage.cpp - ) - -set(COCOS_STORAGE_LINK - sqlite3 -) - +set(COCOS_STORAGE_SRC storage/local-storage/LocalStorage.cpp) +set(COCOS_STORAGE_LINK sqlite3 ) diff --git a/cocos/ui/CMakeLists.txt b/cocos/ui/CMakeLists.txt index 02829ab86a..5457fd19be 100644 --- a/cocos/ui/CMakeLists.txt +++ b/cocos/ui/CMakeLists.txt @@ -24,4 +24,3 @@ set(COCOS_UI_SRC ui/UIDeprecated.cpp ui/UIScale9Sprite.cpp ) - diff --git a/templates/cocos2dx_files.json b/templates/cocos2dx_files.json index 715de03789..49bba596f5 100644 --- a/templates/cocos2dx_files.json +++ b/templates/cocos2dx_files.json @@ -6,8 +6,6 @@ "README.md", "build/BuildHelpers.CMakeLists.txt", "build/android-build.py", - "build/build-mingw32-clang-make.sh", - "build/build-mingw32-gcc-make.sh", "build/cocos2d-win32.vc2012.sln", "build/cocos2d-wp8.vc2012.sln", "build/cocos2d_libs.xcodeproj/project.pbxproj", @@ -3579,7 +3577,6 @@ "tools/particle/convert_YCoordFlipped.py" ], "lua": [ - "cocos/scripting/lua-bindings/Android.mk", "cocos/scripting/lua-bindings/CMakeLists.txt", "cocos/scripting/lua-bindings/auto/api/Action.lua", "cocos/scripting/lua-bindings/auto/api/ActionCamera.lua", @@ -3961,6 +3958,8 @@ "cocos/scripting/lua-bindings/auto/api/Widget.lua", "cocos/scripting/lua-bindings/auto/api/ZOrderFrame.lua", "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_auto_api.lua", + "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosbuilder_auto_api.lua", + "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_cocosdenshion_auto_api.lua", "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua", "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_auto_api.lua", "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_experimental_video_auto_api.lua", @@ -3971,6 +3970,10 @@ "cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp", + "cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.cpp", + "cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosbuilder_auto.hpp", + "cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.cpp", + "cocos/scripting/lua-bindings/auto/lua_cocos2dx_cocosdenshion_auto.hpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.hpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp", @@ -3987,8 +3990,6 @@ "cocos/scripting/lua-bindings/auto/lua_cocos2dx_studio_auto.hpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp", "cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp", - "cocos/scripting/lua-bindings/manual/CCBProxy.cpp", - "cocos/scripting/lua-bindings/manual/CCBProxy.h", "cocos/scripting/lua-bindings/manual/CCLuaBridge.cpp", "cocos/scripting/lua-bindings/manual/CCLuaBridge.h", "cocos/scripting/lua-bindings/manual/CCLuaEngine.cpp", @@ -4001,63 +4002,103 @@ "cocos/scripting/lua-bindings/manual/Cocos2dxLuaLoader.h", "cocos/scripting/lua-bindings/manual/LuaBasicConversions.cpp", "cocos/scripting/lua-bindings/manual/LuaBasicConversions.h", - "cocos/scripting/lua-bindings/manual/LuaOpengl.cpp", - "cocos/scripting/lua-bindings/manual/LuaOpengl.h", - "cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.cpp", - "cocos/scripting/lua-bindings/manual/LuaScriptHandlerMgr.h", - "cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.cpp", - "cocos/scripting/lua-bindings/manual/LuaSkeletonAnimation.h", - "cocos/scripting/lua-bindings/manual/Lua_web_socket.cpp", - "cocos/scripting/lua-bindings/manual/Lua_web_socket.h", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_coco_studio_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_deprecated.h", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_experimental_video_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_extension_manual.h", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_physics_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_spine_manual.hpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.cpp", - "cocos/scripting/lua-bindings/manual/lua_cocos2dx_ui_manual.hpp", + "cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/LuaOpengl.h", + "cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/LuaScriptHandlerMgr.h", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_deprecated.h", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_experimental_manual.hpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp", + "cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.cpp", + "cocos/scripting/lua-bindings/manual/cocosbuilder/CCBProxy.h", + "cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocosbuilder/lua_cocos2dx_cocosbuilder_manual.h", + "cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h", + "cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.cpp", + "cocos/scripting/lua-bindings/manual/cocostudio/lua_cocos2dx_coco_studio_manual.hpp", + "cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp", + "cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.hpp", + "cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.cpp", + "cocos/scripting/lua-bindings/manual/extension/lua_cocos2dx_extension_manual.h", "cocos/scripting/lua-bindings/manual/lua_debugger.c", "cocos/scripting/lua-bindings/manual/lua_debugger.h", - "cocos/scripting/lua-bindings/manual/lua_extensions.c", - "cocos/scripting/lua-bindings/manual/lua_extensions.h", - "cocos/scripting/lua-bindings/manual/lua_xml_http_request.cpp", - "cocos/scripting/lua-bindings/manual/lua_xml_http_request.h", + "cocos/scripting/lua-bindings/manual/network/Lua_web_socket.cpp", + "cocos/scripting/lua-bindings/manual/network/Lua_web_socket.h", + "cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.cpp", + "cocos/scripting/lua-bindings/manual/network/lua_cocos2dx_network_manual.h", + "cocos/scripting/lua-bindings/manual/network/lua_extensions.c", + "cocos/scripting/lua-bindings/manual/network/lua_extensions.h", + "cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp", + "cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.h", "cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.cpp", "cocos/scripting/lua-bindings/manual/platform/android/CCLuaJavaBridge.h", "cocos/scripting/lua-bindings/manual/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.cpp", "cocos/scripting/lua-bindings/manual/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.h", "cocos/scripting/lua-bindings/manual/platform/ios/CCLuaObjcBridge.h", "cocos/scripting/lua-bindings/manual/platform/ios/CCLuaObjcBridge.mm", + "cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.cpp", + "cocos/scripting/lua-bindings/manual/spine/LuaSkeletonAnimation.h", + "cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.cpp", + "cocos/scripting/lua-bindings/manual/spine/lua_cocos2dx_spine_manual.hpp", "cocos/scripting/lua-bindings/manual/tolua_fix.cpp", "cocos/scripting/lua-bindings/manual/tolua_fix.h", + "cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp", + "cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.hpp", + "cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.cpp", + "cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_ui_manual.hpp", + "cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.cpp", + "cocos/scripting/lua-bindings/manual/video/lua_cocos2dx_experimental_video_manual.hpp", + "cocos/scripting/lua-bindings/proj.android/Android.mk", "cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj/project.pbxproj", - "cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj", - "cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.filters", - "cocos/scripting/lua-bindings/proj.win32/liblua.vcxproj.user", + "cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluacocos2d.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluacocosbuilder.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluacocosdenshion.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluacocostudio.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluaextension.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluanetwork.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluaspine.vcxproj.filters", + "cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj", + "cocos/scripting/lua-bindings/proj.win32/libluaui.vcxproj.filters", "cocos/scripting/lua-bindings/script/AudioEngine.lua", "cocos/scripting/lua-bindings/script/CCBReaderLoad.lua", "cocos/scripting/lua-bindings/script/CocoStudio.lua", "cocos/scripting/lua-bindings/script/Cocos2d.lua", "cocos/scripting/lua-bindings/script/Cocos2dConstants.lua", - "cocos/scripting/lua-bindings/script/Deprecated.lua", - "cocos/scripting/lua-bindings/script/DeprecatedClass.lua", - "cocos/scripting/lua-bindings/script/DeprecatedEnum.lua", + "cocos/scripting/lua-bindings/script/ControllerConstants.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocoStudioClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocoStudioFunc.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocosBuilderClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua", + "cocos/scripting/lua-bindings/script/DeprecatedExtensionClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedExtensionEnum.lua", + "cocos/scripting/lua-bindings/script/DeprecatedExtensionFunc.lua", + "cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua", + "cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua", + "cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua", "cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua", + "cocos/scripting/lua-bindings/script/DeprecatedUIEnum.lua", + "cocos/scripting/lua-bindings/script/DeprecatedUIFunc.lua", "cocos/scripting/lua-bindings/script/DrawPrimitives.lua", + "cocos/scripting/lua-bindings/script/ExtensionConstants.lua", "cocos/scripting/lua-bindings/script/GuiConstants.lua", + "cocos/scripting/lua-bindings/script/NetworkConstants.lua", "cocos/scripting/lua-bindings/script/Opengl.lua", "cocos/scripting/lua-bindings/script/OpenglConstants.lua", "cocos/scripting/lua-bindings/script/StudioConstants.lua", @@ -4447,6 +4488,8 @@ "tools/bindings-generator/tools/win32/cygwin1.dll", "tools/tolua/README.mdown", "tools/tolua/cocos2dx.ini", + "tools/tolua/cocos2dx_cocosbuilder.ini", + "tools/tolua/cocos2dx_cocosdenshion.ini", "tools/tolua/cocos2dx_controller.ini", "tools/tolua/cocos2dx_experimental.ini", "tools/tolua/cocos2dx_experimental_video.ini", diff --git a/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp b/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp index 7e99c14a37..8a84f29444 100644 --- a/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp +++ b/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp @@ -2,6 +2,7 @@ #include "CCLuaEngine.h" #include "SimpleAudioEngine.h" #include "cocos2d.h" +#include "lua_module_register.h" using namespace CocosDenshion; @@ -21,6 +22,8 @@ bool AppDelegate::applicationDidFinishLaunching() { auto engine = LuaEngine::getInstance(); ScriptEngineManager::getInstance()->setScriptEngine(engine); + lua_State* L = engine->getLuaStack()->getLuaState(); + lua_module_register(L); if (engine->executeScriptFile("src/main.lua")) { return false; } diff --git a/templates/lua-template-default/frameworks/runtime-src/Classes/lua_module_register.h b/templates/lua-template-default/frameworks/runtime-src/Classes/lua_module_register.h new file mode 100644 index 0000000000..c0293bc273 --- /dev/null +++ b/templates/lua-template-default/frameworks/runtime-src/Classes/lua_module_register.h @@ -0,0 +1,16 @@ +#ifndef __LUA_TEMPLATE_DEFAULT_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ +#define __LUA_TEMPLATE_DEFAULT_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ + +#include "network/lua_cocos2dx_network_manual.h" +#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h" + + +int lua_module_register(lua_State* L) +{ + register_network_module(L); + register_cocosdenshion_module(L); + return 1; +} + +#endif // __LUA_TEMPLATE_DEFAULT_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ + diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Android.mk b/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Android.mk index ac0e7ddd56..7ff0c8f8d6 100644 --- a/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Android.mk +++ b/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Android.mk @@ -14,8 +14,10 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes LOCAL_STATIC_LIBRARIES := curl_static_prebuilt -LOCAL_WHOLE_STATIC_LIBRARIES := cocos_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static include $(BUILD_SHARED_LIBRARY) -$(call import-module,scripting/lua-bindings) +$(call import-module,scripting/lua-bindings/proj.android) diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj b/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj index bdde18eec0..30aa39f910 100644 --- a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj +++ b/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj @@ -7,15 +7,37 @@ objects = { /* Begin PBXBuildFile section */ - 15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */; }; - 15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */; }; - 15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */; }; - 15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */; }; + 15427C5A198F1DF000DC375D /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */; }; + 15427C5B198F1E0100DC375D /* libluacocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C59198F1DE400DC375D /* libluacocos2d iOS.a */; }; + 15427C5C198F1E1400DC375D /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */; }; + 15427C5D198F1E2100DC375D /* libluacocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C57198F1DE400DC375D /* libluacocosdenshion iOS.a */; }; + 15427C5E198F1E2B00DC375D /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C29198F1DE400DC375D /* libnetwork iOS.a */; }; + 15427C5F198F1E3300DC375D /* libluanetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C55198F1DE400DC375D /* libluanetwork iOS.a */; }; + 15427C78198F1F9900DC375D /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */; }; + 15427C79198F1FA200DC375D /* libluacocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C49198F1DE400DC375D /* libluacocos2d Mac.a */; }; + 15427C7A198F1FB600DC375D /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */; }; + 15427C7B198F1FC100DC375D /* libluacocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C47198F1DE400DC375D /* libluacocosdenshion Mac.a */; }; + 15427C7C198F1FCB00DC375D /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C1F198F1DE400DC375D /* libnetwork Mac.a */; }; + 15427C7D198F1FD800DC375D /* libluanetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C45198F1DE400DC375D /* libluanetwork Mac.a */; }; + 15427D71198F82DA00DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D68198F82DA00DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D72198F82DA00DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D68198F82DA00DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427D73198F82DA00DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D69198F82DA00DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D74198F82DA00DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D69198F82DA00DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427D75198F82DA00DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6A198F82DA00DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D76198F82DA00DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6A198F82DA00DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427D77198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6B198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D78198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6B198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427D79198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6C198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D7A198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6C198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427D7B198F82DA00DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6D198F82DA00DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D7C198F82DA00DC375D /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6D198F82DA00DC375D /* DeprecatedNetworkClass.lua */; }; + 15427D7D198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6E198F82DA00DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D7E198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6E198F82DA00DC375D /* DeprecatedNetworkEnum.lua */; }; + 15427D7F198F82DA00DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6F198F82DA00DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D80198F82DA00DC375D /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D6F198F82DA00DC375D /* DeprecatedNetworkFunc.lua */; }; + 15427D81198F82DA00DC375D /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D70198F82DA00DC375D /* NetworkConstants.lua */; }; + 15427D82198F82DA00DC375D /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427D70198F82DA00DC375D /* NetworkConstants.lua */; }; 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; }; - 15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */; }; - 15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */; }; - 15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */; }; - 15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */; }; 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; }; 15AECE29195D482800907DB0 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15AECE28195D482800907DB0 /* MediaPlayer.framework */; }; 1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; }; @@ -57,28 +79,16 @@ C03781BC18BF655400FE4F13 /* src in Resources */ = {isa = PBXBuildFile; fileRef = C03781B818BF655400FE4F13 /* src */; }; C03781CF18BF656A00FE4F13 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BD18BF656900FE4F13 /* AudioEngine.lua */; }; C03781D018BF656A00FE4F13 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BD18BF656900FE4F13 /* AudioEngine.lua */; }; - C03781D118BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */; }; - C03781D218BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */; }; C03781D318BF656A00FE4F13 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BF18BF656900FE4F13 /* Cocos2d.lua */; }; C03781D418BF656A00FE4F13 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BF18BF656900FE4F13 /* Cocos2d.lua */; }; C03781D518BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */; }; C03781D618BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */; }; - C03781D718BF656A00FE4F13 /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C118BF656900FE4F13 /* CocoStudio.lua */; }; - C03781D818BF656A00FE4F13 /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C118BF656900FE4F13 /* CocoStudio.lua */; }; - C03781D918BF656A00FE4F13 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C218BF656900FE4F13 /* Deprecated.lua */; }; - C03781DA18BF656A00FE4F13 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C218BF656900FE4F13 /* Deprecated.lua */; }; - C03781DB18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C318BF656900FE4F13 /* DeprecatedClass.lua */; }; - C03781DC18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C318BF656900FE4F13 /* DeprecatedClass.lua */; }; - C03781DD18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */; }; - C03781DE18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */; }; C03781DF18BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */; }; C03781E018BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */; }; C03781E118BF656A00FE4F13 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */; }; C03781E218BF656A00FE4F13 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */; }; C03781E318BF656A00FE4F13 /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C718BF656A00FE4F13 /* extern.lua */; }; C03781E418BF656A00FE4F13 /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C718BF656A00FE4F13 /* extern.lua */; }; - C03781E518BF656A00FE4F13 /* GuiConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C818BF656A00FE4F13 /* GuiConstants.lua */; }; - C03781E618BF656A00FE4F13 /* GuiConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C818BF656A00FE4F13 /* GuiConstants.lua */; }; C03781E718BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; }; C03781E818BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; }; C03781E918BF656A00FE4F13 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CA18BF656A00FE4F13 /* luaj.lua */; }; @@ -89,10 +99,6 @@ C03781EE18BF656A00FE4F13 /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CC18BF656A00FE4F13 /* Opengl.lua */; }; C03781EF18BF656A00FE4F13 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */; }; C03781F018BF656A00FE4F13 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */; }; - C03781F118BF656A00FE4F13 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CE18BF656A00FE4F13 /* StudioConstants.lua */; }; - C03781F218BF656A00FE4F13 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CE18BF656A00FE4F13 /* StudioConstants.lua */; }; - C03781F518BF65A900FE4F13 /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C03781B418BF654500FE4F13 /* libluabindings Mac.a */; }; - C03781F618BF65B100FE4F13 /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C03781B618BF654500FE4F13 /* libluabindings iOS.a */; }; C06E23C418CEF9740093C81A /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06E23C318CEF9740093C81A /* main.cpp */; }; D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; }; F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3CC15EB7BE500256477 /* QuartzCore.framework */; }; @@ -105,6 +111,272 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 15427C16198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B245F13A19766132001920FD; + remoteInfo = "libui Mac"; + }; + 15427C18198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB484D1976716E00411E16; + remoteInfo = "libcocostudio Mac"; + }; + 15427C1A198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB47D2197669A100411E16; + remoteInfo = "libcocosbuilder Mac"; + }; + 15427C1C198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB490119767F1F00411E16; + remoteInfo = "libspine Mac"; + }; + 15427C1E198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB49C4197686CB00411E16; + remoteInfo = "libnetwork Mac"; + }; + 15427C20198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA6619775E92004493CC; + remoteInfo = "libui iOS"; + }; + 15427C22198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA6E19775EBB004493CC; + remoteInfo = "libcocostudio iOS"; + }; + 15427C24198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA7619775ECE004493CC; + remoteInfo = "libcocosbuilder iOS"; + }; + 15427C26198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA7E19775EE1004493CC; + remoteInfo = "libspine iOS"; + }; + 15427C28198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA8619775EF3004493CC; + remoteInfo = "libnetwork iOS"; + }; + 15427C3A198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BDDA1986538000A46ACC; + remoteInfo = "libluaextension Mac"; + }; + 15427C3C198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C0FB1987328E00A46ACC; + remoteInfo = "libluaui Mac"; + }; + 15427C3E198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BFED19865C2000A46ACC; + remoteInfo = "libluacocostudio Mac"; + }; + 15427C40198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BEE1198654BE00A46ACC; + remoteInfo = "libluacocosbuilder Mac"; + }; + 15427C42198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C07319865E5F00A46ACC; + remoteInfo = "libluaspine Mac"; + }; + 15427C44198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C1811987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15427C46198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BF6919865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427C48198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C2CC198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427C4A198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 155CA3431988C494006E0A08; + remoteInfo = "libluaextension iOS"; + }; + 15427C4C198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA37A198B28A8000C57D3; + remoteInfo = "libluaui iOS"; + }; + 15427C4E198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA3FB198B2934000C57D3; + remoteInfo = "libluacocostudio iOS"; + }; + 15427C50198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA2F9198B2791000C57D3; + remoteInfo = "libluacocosbuilder iOS"; + }; + 15427C52198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA47F198B2AFD000C57D3; + remoteInfo = "libluaspine iOS"; + }; + 15427C54198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA4FE198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15427C56198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA59B198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427C58198F1DE400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA616198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427C60198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA486198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15427C62198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA523198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427C64198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA59E198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427C66198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "libcocos2d iOS"; + }; + 15427C68198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "libcocosdenshion iOS"; + }; + 15427C6A198F1E7400DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = B24EEA7F19775EF3004493CC; + remoteInfo = "libnetwork iOS"; + }; + 15427C6C198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C1061987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15427C6E198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BEEE19865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427C70198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C255198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427C72198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "libcocos2d Mac"; + }; + 15427C74198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = B2DB498D197686CB00411E16; + remoteInfo = "libnetwork Mac"; + }; + 15427C76198F1F4D00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "libcocosdenshion Mac"; + }; 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; @@ -175,107 +447,19 @@ remoteGlobalIDString = A07A4FB4178387730073F6A7; remoteInfo = "CocosDenshion iOS"; }; - C03781B318BF654500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74618BC45A000215002; - remoteInfo = "luabindings Mac"; - }; - C03781B518BF654500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74718BC45A000215002; - remoteInfo = "luabindings iOS"; - }; - C03781F318BF659D00FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A6FB50417854BC200CDF010; - remoteInfo = "luabindings Mac"; - }; - C03781F718BF65B500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A119716178526AA00D62A44; - remoteInfo = "luabindings iOS"; - }; - C0A2F02618975FD30072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2B781780BD04006731B9; - remoteInfo = "chipmunk Mac"; - }; - C0A2F03818975FDA0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2D5D1780BDF7006731B9; - remoteInfo = "box2d Mac"; - }; - C0A2F03A18975FE20072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2FC117814595006731B9; - remoteInfo = "cocos2dx-extensions Mac"; - }; - C0A2F03C18975FEB0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2E9817814268006731B9; - remoteInfo = "CocosDenshion Mac"; - }; - C0A2F04018975FF80072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1551A33E158F2AB200E66CFE; - remoteInfo = "cocos2dx Mac"; - }; - C0A2F0421897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4C241783777C0073F6A7; - remoteInfo = "cocos2dx iOS"; - }; - C0A2F0441897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4E111783867C0073F6A7; - remoteInfo = "cocos2dx-extensions iOS"; - }; - C0A2F0461897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4EFD178387670073F6A7; - remoteInfo = "chipmunk iOS"; - }; - C0A2F0481897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F3C1783876B0073F6A7; - remoteInfo = "box2d iOS"; - }; - C0A2F04A1897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F9F178387730073F6A7; - remoteInfo = "CocosDenshion iOS"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 15427C7E198F201A00DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_module_register.h; path = ../Classes/lua_module_register.h; sourceTree = ""; }; + 15427D68198F82DA00DC375D /* DeprecatedCocos2dClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua"; sourceTree = ""; }; + 15427D69198F82DA00DC375D /* DeprecatedCocos2dEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua"; sourceTree = ""; }; + 15427D6A198F82DA00DC375D /* DeprecatedCocos2dFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua"; sourceTree = ""; }; + 15427D6B198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua"; sourceTree = ""; }; + 15427D6C198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua"; sourceTree = ""; }; + 15427D6D198F82DA00DC375D /* DeprecatedNetworkClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua"; sourceTree = ""; }; + 15427D6E198F82DA00DC375D /* DeprecatedNetworkEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua"; sourceTree = ""; }; + 15427D6F198F82DA00DC375D /* DeprecatedNetworkFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua"; sourceTree = ""; }; + 15427D70198F82DA00DC375D /* NetworkConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = NetworkConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/NetworkConstants.lua"; sourceTree = ""; }; 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = "../../cocos2d-x/build/cocos2d_libs.xcodeproj"; sourceTree = ""; }; 15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; 15AECE28195D482800907DB0 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/MediaPlayer.framework; sourceTree = DEVELOPER_DIR; }; @@ -317,23 +501,16 @@ C03781B718BF655400FE4F13 /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; name = res; path = ../../../res; sourceTree = ""; }; C03781B818BF655400FE4F13 /* src */ = {isa = PBXFileReference; lastKnownFileType = folder; name = src; path = ../../../src; sourceTree = ""; }; C03781BD18BF656900FE4F13 /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/AudioEngine.lua"; sourceTree = ""; }; - C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/CCBReaderLoad.lua"; sourceTree = ""; }; C03781BF18BF656900FE4F13 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Cocos2d.lua"; sourceTree = ""; }; C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua"; sourceTree = ""; }; - C03781C118BF656900FE4F13 /* CocoStudio.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CocoStudio.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/CocoStudio.lua"; sourceTree = ""; }; - C03781C218BF656900FE4F13 /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Deprecated.lua"; sourceTree = ""; }; - C03781C318BF656900FE4F13 /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedClass.lua"; sourceTree = ""; }; - C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedEnum.lua"; sourceTree = ""; }; C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua"; sourceTree = ""; }; C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DrawPrimitives.lua"; sourceTree = ""; }; C03781C718BF656A00FE4F13 /* extern.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = extern.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/extern.lua"; sourceTree = ""; }; - C03781C818BF656A00FE4F13 /* GuiConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = GuiConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/GuiConstants.lua"; sourceTree = ""; }; C03781C918BF656A00FE4F13 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/json.lua"; sourceTree = ""; }; C03781CA18BF656A00FE4F13 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaj.lua"; sourceTree = ""; }; C03781CB18BF656A00FE4F13 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaoc.lua"; sourceTree = ""; }; C03781CC18BF656A00FE4F13 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Opengl.lua"; sourceTree = ""; }; C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/OpenglConstants.lua"; sourceTree = ""; }; - C03781CE18BF656A00FE4F13 /* StudioConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = StudioConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/StudioConstants.lua"; sourceTree = ""; }; C06E23C318CEF9740093C81A /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = ""; }; D6B061341803AC000077942B /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreMotion.framework; sourceTree = DEVELOPER_DIR; }; F293B3C815EB7BE500256477 /* HelloLua iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloLua iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -354,12 +531,13 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C03781F518BF65A900FE4F13 /* libluabindings Mac.a in Frameworks */, + 15427C7D198F1FD800DC375D /* libluanetwork Mac.a in Frameworks */, + 15427C7C198F1FCB00DC375D /* libnetwork Mac.a in Frameworks */, + 15427C7B198F1FC100DC375D /* libluacocosdenshion Mac.a in Frameworks */, + 15427C7A198F1FB600DC375D /* libcocosdenshion Mac.a in Frameworks */, + 15427C79198F1FA200DC375D /* libluacocos2d Mac.a in Frameworks */, + 15427C78198F1F9900DC375D /* libcocos2d Mac.a in Frameworks */, 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */, - 15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */, - 15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */, - 15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */, - 15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */, 50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */, 50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */, 50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */, @@ -377,12 +555,13 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 15427C5F198F1E3300DC375D /* libluanetwork iOS.a in Frameworks */, + 15427C5E198F1E2B00DC375D /* libnetwork iOS.a in Frameworks */, + 15427C5D198F1E2100DC375D /* libluacocosdenshion iOS.a in Frameworks */, + 15427C5C198F1E1400DC375D /* libcocosdenshion iOS.a in Frameworks */, + 15427C5B198F1E0100DC375D /* libluacocos2d iOS.a in Frameworks */, + 15427C5A198F1DF000DC375D /* libcocos2d iOS.a in Frameworks */, 15AECE29195D482800907DB0 /* MediaPlayer.framework in Frameworks */, - C03781F618BF65B100FE4F13 /* libluabindings iOS.a in Frameworks */, - 15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */, - 15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */, - 15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */, - 15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */, D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */, 1AF4C403178663F200122817 /* libz.dylib in Frameworks */, 50805AAF17EBBEAA004CFAD3 /* UIKit.framework in Frameworks */, @@ -402,16 +581,26 @@ 15A8A4041834BDA200142BE0 /* Products */ = { isa = PBXGroup; children = ( - 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */, - 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */, + 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */, + 15A8A4191834BDA200142BE0 /* libextension Mac.a */, + 15427C17198F1DE400DC375D /* libui Mac.a */, + 15427C19198F1DE400DC375D /* libcocostudio Mac.a */, + 15427C1B198F1DE400DC375D /* libcocosbuilder Mac.a */, + 15427C1D198F1DE400DC375D /* libspine Mac.a */, + 15427C1F198F1DE400DC375D /* libnetwork Mac.a */, 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */, 15A8A41D1834BDA200142BE0 /* libbox2d Mac.a */, - 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */, - 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */, - 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */, + 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */, + 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */, + 15A8A4271834BDA200142BE0 /* libextension iOS.a */, 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */, 15A8A42B1834BDA200142BE0 /* libbox2d iOS.a */, - 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */, + 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */, + 15427C21198F1DE400DC375D /* libui iOS.a */, + 15427C23198F1DE400DC375D /* libcocostudio iOS.a */, + 15427C25198F1DE400DC375D /* libcocosbuilder iOS.a */, + 15427C27198F1DE400DC375D /* libspine iOS.a */, + 15427C29198F1DE400DC375D /* libnetwork iOS.a */, ); name = Products; sourceTree = ""; @@ -419,24 +608,26 @@ 1A0227A417A3AA1A00B867AD /* Lua Common */ = { isa = PBXGroup; children = ( + 15427D68198F82DA00DC375D /* DeprecatedCocos2dClass.lua */, + 15427D69198F82DA00DC375D /* DeprecatedCocos2dEnum.lua */, + 15427D6A198F82DA00DC375D /* DeprecatedCocos2dFunc.lua */, + 15427D6B198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua */, + 15427D6C198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua */, + 15427D6D198F82DA00DC375D /* DeprecatedNetworkClass.lua */, + 15427D6E198F82DA00DC375D /* DeprecatedNetworkEnum.lua */, + 15427D6F198F82DA00DC375D /* DeprecatedNetworkFunc.lua */, + 15427D70198F82DA00DC375D /* NetworkConstants.lua */, C03781BD18BF656900FE4F13 /* AudioEngine.lua */, - C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */, C03781BF18BF656900FE4F13 /* Cocos2d.lua */, C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */, - C03781C118BF656900FE4F13 /* CocoStudio.lua */, - C03781C218BF656900FE4F13 /* Deprecated.lua */, - C03781C318BF656900FE4F13 /* DeprecatedClass.lua */, - C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */, C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */, C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */, C03781C718BF656A00FE4F13 /* extern.lua */, - C03781C818BF656A00FE4F13 /* GuiConstants.lua */, C03781C918BF656A00FE4F13 /* json.lua */, C03781CA18BF656A00FE4F13 /* luaj.lua */, C03781CB18BF656A00FE4F13 /* luaoc.lua */, C03781CC18BF656A00FE4F13 /* Opengl.lua */, C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */, - C03781CE18BF656A00FE4F13 /* StudioConstants.lua */, ); name = "Lua Common"; sourceTree = ""; @@ -493,8 +684,22 @@ C03781AF18BF654500FE4F13 /* Products */ = { isa = PBXGroup; children = ( - C03781B418BF654500FE4F13 /* libluabindings Mac.a */, - C03781B618BF654500FE4F13 /* libluabindings iOS.a */, + 15427C3B198F1DE400DC375D /* libluaextension Mac.a */, + 15427C3D198F1DE400DC375D /* libluaui Mac.a */, + 15427C3F198F1DE400DC375D /* libluacocostudio Mac.a */, + 15427C41198F1DE400DC375D /* libluacocosbuilder Mac.a */, + 15427C43198F1DE400DC375D /* libluaspine Mac.a */, + 15427C45198F1DE400DC375D /* libluanetwork Mac.a */, + 15427C47198F1DE400DC375D /* libluacocosdenshion Mac.a */, + 15427C49198F1DE400DC375D /* libluacocos2d Mac.a */, + 15427C4B198F1DE400DC375D /* libluaextension iOS.a */, + 15427C4D198F1DE400DC375D /* libluaui iOS.a */, + 15427C4F198F1DE400DC375D /* libluacocostudio iOS.a */, + 15427C51198F1DE400DC375D /* libluacocosbuilder iOS.a */, + 15427C53198F1DE400DC375D /* libluaspine iOS.a */, + 15427C55198F1DE400DC375D /* libluanetwork iOS.a */, + 15427C57198F1DE400DC375D /* libluacocosdenshion iOS.a */, + 15427C59198F1DE400DC375D /* libluacocos2d iOS.a */, ); name = Products; sourceTree = ""; @@ -551,6 +756,7 @@ F293BB7C15EB830F00256477 /* Classes */ = { isa = PBXGroup; children = ( + 15427C7E198F201A00DC375D /* lua_module_register.h */, F293BB7E15EB831F00256477 /* AppDelegate.cpp */, F293BB7F15EB831F00256477 /* AppDelegate.h */, ); @@ -582,12 +788,12 @@ buildRules = ( ); dependencies = ( - C03781F418BF659D00FE4F13 /* PBXTargetDependency */, - C0A2F04118975FF80072A7AB /* PBXTargetDependency */, - C0A2F03D18975FEB0072A7AB /* PBXTargetDependency */, - C0A2F03B18975FE20072A7AB /* PBXTargetDependency */, - C0A2F03918975FDA0072A7AB /* PBXTargetDependency */, - C0A2F02718975FD30072A7AB /* PBXTargetDependency */, + 15427C6D198F1F4D00DC375D /* PBXTargetDependency */, + 15427C6F198F1F4D00DC375D /* PBXTargetDependency */, + 15427C71198F1F4D00DC375D /* PBXTargetDependency */, + 15427C73198F1F4D00DC375D /* PBXTargetDependency */, + 15427C75198F1F4D00DC375D /* PBXTargetDependency */, + 15427C77198F1F4D00DC375D /* PBXTargetDependency */, ); name = "HelloLua Mac"; productName = HelloLua; @@ -606,12 +812,12 @@ buildRules = ( ); dependencies = ( - C03781F818BF65B500FE4F13 /* PBXTargetDependency */, - C0A2F0431897600E0072A7AB /* PBXTargetDependency */, - C0A2F0451897600E0072A7AB /* PBXTargetDependency */, - C0A2F0471897600E0072A7AB /* PBXTargetDependency */, - C0A2F0491897600E0072A7AB /* PBXTargetDependency */, - C0A2F04B1897600E0072A7AB /* PBXTargetDependency */, + 15427C61198F1E7400DC375D /* PBXTargetDependency */, + 15427C63198F1E7400DC375D /* PBXTargetDependency */, + 15427C65198F1E7400DC375D /* PBXTargetDependency */, + 15427C67198F1E7400DC375D /* PBXTargetDependency */, + 15427C69198F1E7400DC375D /* PBXTargetDependency */, + 15427C6B198F1E7400DC375D /* PBXTargetDependency */, ); name = "HelloLua iOS"; productName = HelloLua; @@ -660,17 +866,199 @@ /* End PBXProject section */ /* Begin PBXReferenceProxy section */ - 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */ = { + 15427C17198F1DE400DC375D /* libui Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx Mac.a"; + path = "libui Mac.a"; + remoteRef = 15427C16198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C19198F1DE400DC375D /* libcocostudio Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocostudio Mac.a"; + remoteRef = 15427C18198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C1B198F1DE400DC375D /* libcocosbuilder Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocosbuilder Mac.a"; + remoteRef = 15427C1A198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C1D198F1DE400DC375D /* libspine Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libspine Mac.a"; + remoteRef = 15427C1C198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C1F198F1DE400DC375D /* libnetwork Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libnetwork Mac.a"; + remoteRef = 15427C1E198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C21198F1DE400DC375D /* libui iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libui iOS.a"; + remoteRef = 15427C20198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C23198F1DE400DC375D /* libcocostudio iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocostudio iOS.a"; + remoteRef = 15427C22198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C25198F1DE400DC375D /* libcocosbuilder iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocosbuilder iOS.a"; + remoteRef = 15427C24198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C27198F1DE400DC375D /* libspine iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libspine iOS.a"; + remoteRef = 15427C26198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C29198F1DE400DC375D /* libnetwork iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libnetwork iOS.a"; + remoteRef = 15427C28198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C3B198F1DE400DC375D /* libluaextension Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaextension Mac.a"; + remoteRef = 15427C3A198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C3D198F1DE400DC375D /* libluaui Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaui Mac.a"; + remoteRef = 15427C3C198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C3F198F1DE400DC375D /* libluacocostudio Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio Mac.a"; + remoteRef = 15427C3E198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C41198F1DE400DC375D /* libluacocosbuilder Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder Mac.a"; + remoteRef = 15427C40198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C43198F1DE400DC375D /* libluaspine Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine Mac.a"; + remoteRef = 15427C42198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C45198F1DE400DC375D /* libluanetwork Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork Mac.a"; + remoteRef = 15427C44198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C47198F1DE400DC375D /* libluacocosdenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion Mac.a"; + remoteRef = 15427C46198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C49198F1DE400DC375D /* libluacocos2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d Mac.a"; + remoteRef = 15427C48198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C4B198F1DE400DC375D /* libluaextension iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaextension iOS.a"; + remoteRef = 15427C4A198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C4D198F1DE400DC375D /* libluaui iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaui iOS.a"; + remoteRef = 15427C4C198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C4F198F1DE400DC375D /* libluacocostudio iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio iOS.a"; + remoteRef = 15427C4E198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C51198F1DE400DC375D /* libluacocosbuilder iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder iOS.a"; + remoteRef = 15427C50198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C53198F1DE400DC375D /* libluaspine iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine iOS.a"; + remoteRef = 15427C52198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C55198F1DE400DC375D /* libluanetwork iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork iOS.a"; + remoteRef = 15427C54198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C57198F1DE400DC375D /* libluacocosdenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion iOS.a"; + remoteRef = 15427C56198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C59198F1DE400DC375D /* libluacocos2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d iOS.a"; + remoteRef = 15427C58198F1DE400DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2d Mac.a"; remoteRef = 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */ = { + 15A8A4191834BDA200142BE0 /* libextension Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx-extensions Mac.a"; + path = "libextension Mac.a"; remoteRef = 15A8A4181834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -688,24 +1076,24 @@ remoteRef = 15A8A41C1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */ = { + 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libCocosDenshion Mac.a"; + path = "libcocosdenshion Mac.a"; remoteRef = 15A8A41E1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */ = { + 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx iOS.a"; + path = "libcocos2d iOS.a"; remoteRef = 15A8A4241834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */ = { + 15A8A4271834BDA200142BE0 /* libextension iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx-extensions iOS.a"; + path = "libextension iOS.a"; remoteRef = 15A8A4261834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -723,27 +1111,13 @@ remoteRef = 15A8A42A1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */ = { + 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libCocosDenshion iOS.a"; + path = "libcocosdenshion iOS.a"; remoteRef = 15A8A42C1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - C03781B418BF654500FE4F13 /* libluabindings Mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libluabindings Mac.a"; - remoteRef = C03781B318BF654500FE4F13 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - C03781B618BF654500FE4F13 /* libluabindings iOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libluabindings iOS.a"; - remoteRef = C03781B518BF654500FE4F13 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ @@ -752,25 +1126,27 @@ buildActionMask = 2147483647; files = ( C03781EE18BF656A00FE4F13 /* Opengl.lua in Resources */, + 15427D7A198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, C03781F018BF656A00FE4F13 /* OpenglConstants.lua in Resources */, C03781E418BF656A00FE4F13 /* extern.lua in Resources */, - C03781E618BF656A00FE4F13 /* GuiConstants.lua in Resources */, C03781D418BF656A00FE4F13 /* Cocos2d.lua in Resources */, C03781BA18BF655400FE4F13 /* res in Resources */, C03781BC18BF655400FE4F13 /* src in Resources */, C03781E218BF656A00FE4F13 /* DrawPrimitives.lua in Resources */, - C03781DA18BF656A00FE4F13 /* Deprecated.lua in Resources */, C03781E018BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */, C03781EC18BF656A00FE4F13 /* luaoc.lua in Resources */, + 15427D7C198F82DA00DC375D /* DeprecatedNetworkClass.lua in Resources */, 5023817617EBBE3400990C9B /* Icon.icns in Resources */, - C03781D218BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */, C03781D018BF656A00FE4F13 /* AudioEngine.lua in Resources */, - C03781D818BF656A00FE4F13 /* CocoStudio.lua in Resources */, - C03781DC18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */, - C03781F218BF656A00FE4F13 /* StudioConstants.lua in Resources */, + 15427D76198F82DA00DC375D /* DeprecatedCocos2dFunc.lua in Resources */, + 15427D7E198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */, + 15427D80198F82DA00DC375D /* DeprecatedNetworkFunc.lua in Resources */, C03781EA18BF656A00FE4F13 /* luaj.lua in Resources */, - C03781DE18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */, + 15427D74198F82DA00DC375D /* DeprecatedCocos2dEnum.lua in Resources */, C03781E818BF656A00FE4F13 /* json.lua in Resources */, + 15427D82198F82DA00DC375D /* NetworkConstants.lua in Resources */, + 15427D72198F82DA00DC375D /* DeprecatedCocos2dClass.lua in Resources */, + 15427D78198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, C03781D618BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -780,7 +1156,7 @@ buildActionMask = 2147483647; files = ( 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */, - C03781DB18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */, + 15427D7D198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */, 5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */, 5091733B17ECE17A00D62437 /* Icon-100.png in Resources */, C03781E918BF656A00FE4F13 /* luaj.lua in Resources */, @@ -790,15 +1166,17 @@ 5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */, C03781D318BF656A00FE4F13 /* Cocos2d.lua in Resources */, 5091733917ECE17A00D62437 /* Icon-58.png in Resources */, + 15427D81198F82DA00DC375D /* NetworkConstants.lua in Resources */, C03781ED18BF656A00FE4F13 /* Opengl.lua in Resources */, - C03781F118BF656A00FE4F13 /* StudioConstants.lua in Resources */, 5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */, - C03781D118BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */, + 15427D7F198F82DA00DC375D /* DeprecatedNetworkFunc.lua in Resources */, + 15427D71198F82DA00DC375D /* DeprecatedCocos2dClass.lua in Resources */, 5023812017EBBCAC00990C9B /* Icon-57.png in Resources */, + 15427D73198F82DA00DC375D /* DeprecatedCocos2dEnum.lua in Resources */, C03781CF18BF656A00FE4F13 /* AudioEngine.lua in Resources */, C03781B918BF655400FE4F13 /* res in Resources */, + 15427D75198F82DA00DC375D /* DeprecatedCocos2dFunc.lua in Resources */, C03781EF18BF656A00FE4F13 /* OpenglConstants.lua in Resources */, - C03781E518BF656A00FE4F13 /* GuiConstants.lua in Resources */, 5023812217EBBCAC00990C9B /* Icon-76.png in Resources */, C03781DF18BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */, 5091733A17ECE17A00D62437 /* Icon-80.png in Resources */, @@ -808,13 +1186,13 @@ C03781E118BF656A00FE4F13 /* DrawPrimitives.lua in Resources */, C03781BB18BF655400FE4F13 /* src in Resources */, C03781EB18BF656A00FE4F13 /* luaoc.lua in Resources */, + 15427D77198F82DA00DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, 5091733817ECE17A00D62437 /* Icon-50.png in Resources */, - C03781D718BF656A00FE4F13 /* CocoStudio.lua in Resources */, C03781D518BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */, + 15427D79198F82DA00DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, 5023812117EBBCAC00990C9B /* Icon-72.png in Resources */, - C03781DD18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */, C03781E318BF656A00FE4F13 /* extern.lua in Resources */, - C03781D918BF656A00FE4F13 /* Deprecated.lua in Resources */, + 15427D7B198F82DA00DC375D /* DeprecatedNetworkClass.lua in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -873,65 +1251,65 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - C03781F418BF659D00FE4F13 /* PBXTargetDependency */ = { + 15427C61198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "luabindings Mac"; - targetProxy = C03781F318BF659D00FE4F13 /* PBXContainerItemProxy */; + name = "libluanetwork iOS"; + targetProxy = 15427C60198F1E7400DC375D /* PBXContainerItemProxy */; }; - C03781F818BF65B500FE4F13 /* PBXTargetDependency */ = { + 15427C63198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "luabindings iOS"; - targetProxy = C03781F718BF65B500FE4F13 /* PBXContainerItemProxy */; + name = "libluacocosdenshion iOS"; + targetProxy = 15427C62198F1E7400DC375D /* PBXContainerItemProxy */; }; - C0A2F02718975FD30072A7AB /* PBXTargetDependency */ = { + 15427C65198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "chipmunk Mac"; - targetProxy = C0A2F02618975FD30072A7AB /* PBXContainerItemProxy */; + name = "libluacocos2d iOS"; + targetProxy = 15427C64198F1E7400DC375D /* PBXContainerItemProxy */; }; - C0A2F03918975FDA0072A7AB /* PBXTargetDependency */ = { + 15427C67198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "box2d Mac"; - targetProxy = C0A2F03818975FDA0072A7AB /* PBXContainerItemProxy */; + name = "libcocos2d iOS"; + targetProxy = 15427C66198F1E7400DC375D /* PBXContainerItemProxy */; }; - C0A2F03B18975FE20072A7AB /* PBXTargetDependency */ = { + 15427C69198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "cocos2dx-extensions Mac"; - targetProxy = C0A2F03A18975FE20072A7AB /* PBXContainerItemProxy */; + name = "libcocosdenshion iOS"; + targetProxy = 15427C68198F1E7400DC375D /* PBXContainerItemProxy */; }; - C0A2F03D18975FEB0072A7AB /* PBXTargetDependency */ = { + 15427C6B198F1E7400DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "CocosDenshion Mac"; - targetProxy = C0A2F03C18975FEB0072A7AB /* PBXContainerItemProxy */; + name = "libnetwork iOS"; + targetProxy = 15427C6A198F1E7400DC375D /* PBXContainerItemProxy */; }; - C0A2F04118975FF80072A7AB /* PBXTargetDependency */ = { + 15427C6D198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "cocos2dx Mac"; - targetProxy = C0A2F04018975FF80072A7AB /* PBXContainerItemProxy */; + name = "libluanetwork Mac"; + targetProxy = 15427C6C198F1F4D00DC375D /* PBXContainerItemProxy */; }; - C0A2F0431897600E0072A7AB /* PBXTargetDependency */ = { + 15427C6F198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "cocos2dx iOS"; - targetProxy = C0A2F0421897600E0072A7AB /* PBXContainerItemProxy */; + name = "libluacocosdenshion Mac"; + targetProxy = 15427C6E198F1F4D00DC375D /* PBXContainerItemProxy */; }; - C0A2F0451897600E0072A7AB /* PBXTargetDependency */ = { + 15427C71198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "cocos2dx-extensions iOS"; - targetProxy = C0A2F0441897600E0072A7AB /* PBXContainerItemProxy */; + name = "libluacocos2d Mac"; + targetProxy = 15427C70198F1F4D00DC375D /* PBXContainerItemProxy */; }; - C0A2F0471897600E0072A7AB /* PBXTargetDependency */ = { + 15427C73198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "chipmunk iOS"; - targetProxy = C0A2F0461897600E0072A7AB /* PBXContainerItemProxy */; + name = "libcocos2d Mac"; + targetProxy = 15427C72198F1F4D00DC375D /* PBXContainerItemProxy */; }; - C0A2F0491897600E0072A7AB /* PBXTargetDependency */ = { + 15427C75198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "box2d iOS"; - targetProxy = C0A2F0481897600E0072A7AB /* PBXContainerItemProxy */; + name = "libnetwork Mac"; + targetProxy = 15427C74198F1F4D00DC375D /* PBXContainerItemProxy */; }; - C0A2F04B1897600E0072A7AB /* PBXTargetDependency */ = { + 15427C77198F1F4D00DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "CocosDenshion iOS"; - targetProxy = C0A2F04A1897600E0072A7AB /* PBXContainerItemProxy */; + name = "libcocosdenshion Mac"; + targetProxy = 15427C76198F1F4D00DC375D /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ diff --git a/templates/lua-template-runtime/frameworks/runtime-src/Classes/AppDelegate.cpp b/templates/lua-template-runtime/frameworks/runtime-src/Classes/AppDelegate.cpp index 515cfdc6b0..49674ba673 100644 --- a/templates/lua-template-runtime/frameworks/runtime-src/Classes/AppDelegate.cpp +++ b/templates/lua-template-runtime/frameworks/runtime-src/Classes/AppDelegate.cpp @@ -4,6 +4,7 @@ #include "cocos2d.h" #include "Runtime.h" #include "ConfigParser.h" +#include "lua_module_register.h" using namespace CocosDenshion; @@ -52,6 +53,13 @@ bool AppDelegate::applicationDidFinishLaunching() auto engine = LuaEngine::getInstance(); ScriptEngineManager::getInstance()->setScriptEngine(engine); + lua_State* L = engine->getLuaStack()->getLuaState(); + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + lua_module_register(L); + } + lua_pop(L, 1);//statck:... LuaStack* stack = engine->getLuaStack(); stack->setXXTEAKeyAndSign("2dxLua", strlen("2dxLua"), "XXTEA", strlen("XXTEA")); diff --git a/templates/lua-template-runtime/frameworks/runtime-src/Classes/lua_module_register.h b/templates/lua-template-runtime/frameworks/runtime-src/Classes/lua_module_register.h new file mode 100644 index 0000000000..e9c4a85bae --- /dev/null +++ b/templates/lua-template-runtime/frameworks/runtime-src/Classes/lua_module_register.h @@ -0,0 +1,14 @@ +#ifndef __LUA_TEMPLATE_RUNTIME_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ +#define __LUA_TEMPLATE_RUNTIME_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ + +#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h" + + +int lua_module_register(lua_State* L) +{ + register_cocosdenshion_module(L); + return 1; +} + +#endif // __LUA_TEMPLATE_RUNTIME_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__ + diff --git a/templates/lua-template-runtime/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj b/templates/lua-template-runtime/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj index e3f1928ef5..ab7357d759 100644 --- a/templates/lua-template-runtime/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj +++ b/templates/lua-template-runtime/frameworks/runtime-src/proj.ios_mac/HelloLua.xcodeproj/project.pbxproj @@ -7,15 +7,27 @@ objects = { /* Begin PBXBuildFile section */ - 15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */; }; - 15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */; }; - 15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */; }; - 15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */; }; + 15427CD3198F221400DC375D /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */; }; + 15427CD4198F221400DC375D /* libcocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */; }; + 15427CD5198F222200DC375D /* libluacocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CD2198F220600DC375D /* libluacocos2d iOS.a */; }; + 15427CD6198F222200DC375D /* libluacocosdenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CD0198F220600DC375D /* libluacocosdenshion iOS.a */; }; + 15427CE3198F23A100DC375D /* libnetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CA2198F220600DC375D /* libnetwork iOS.a */; }; + 15427CEC198F24A600DC375D /* libluacocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CC2198F220600DC375D /* libluacocos2d Mac.a */; }; + 15427CED198F24A600DC375D /* libluacocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CC0198F220600DC375D /* libluacocosdenshion Mac.a */; }; + 15427CEE198F24AF00DC375D /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */; }; + 15427CEF198F24BD00DC375D /* libcocosdenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */; }; + 15427CF0198F24C400DC375D /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C98198F220600DC375D /* libnetwork Mac.a */; }; + 15427DA8198F83E600DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA3198F83E600DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427DA9198F83E600DC375D /* DeprecatedCocos2dClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA3198F83E600DC375D /* DeprecatedCocos2dClass.lua */; }; + 15427DAA198F83E600DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA4198F83E600DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427DAB198F83E600DC375D /* DeprecatedCocos2dEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA4198F83E600DC375D /* DeprecatedCocos2dEnum.lua */; }; + 15427DAC198F83E600DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA5198F83E600DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427DAD198F83E600DC375D /* DeprecatedCocos2dFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA5198F83E600DC375D /* DeprecatedCocos2dFunc.lua */; }; + 15427DAE198F83E600DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA6198F83E600DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427DAF198F83E600DC375D /* DeprecatedCocosDenshionClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA6198F83E600DC375D /* DeprecatedCocosDenshionClass.lua */; }; + 15427DB0198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA7198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua */; }; + 15427DB1198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15427DA7198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua */; }; 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; }; - 15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */; }; - 15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */; }; - 15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */; }; - 15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */; }; 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; }; 1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; }; 3EB5152C19528284006966AA /* Protos.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5152A19528284006966AA /* Protos.pb.cc */; }; @@ -97,28 +109,16 @@ C03781BC18BF655400FE4F13 /* src in Resources */ = {isa = PBXBuildFile; fileRef = C03781B818BF655400FE4F13 /* src */; }; C03781CF18BF656A00FE4F13 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BD18BF656900FE4F13 /* AudioEngine.lua */; }; C03781D018BF656A00FE4F13 /* AudioEngine.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BD18BF656900FE4F13 /* AudioEngine.lua */; }; - C03781D118BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */; }; - C03781D218BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */; }; C03781D318BF656A00FE4F13 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BF18BF656900FE4F13 /* Cocos2d.lua */; }; C03781D418BF656A00FE4F13 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781BF18BF656900FE4F13 /* Cocos2d.lua */; }; C03781D518BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */; }; C03781D618BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */; }; - C03781D718BF656A00FE4F13 /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C118BF656900FE4F13 /* CocoStudio.lua */; }; - C03781D818BF656A00FE4F13 /* CocoStudio.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C118BF656900FE4F13 /* CocoStudio.lua */; }; - C03781D918BF656A00FE4F13 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C218BF656900FE4F13 /* Deprecated.lua */; }; - C03781DA18BF656A00FE4F13 /* Deprecated.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C218BF656900FE4F13 /* Deprecated.lua */; }; - C03781DB18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C318BF656900FE4F13 /* DeprecatedClass.lua */; }; - C03781DC18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C318BF656900FE4F13 /* DeprecatedClass.lua */; }; - C03781DD18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */; }; - C03781DE18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */; }; C03781DF18BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */; }; C03781E018BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */; }; C03781E118BF656A00FE4F13 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */; }; C03781E218BF656A00FE4F13 /* DrawPrimitives.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */; }; C03781E318BF656A00FE4F13 /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C718BF656A00FE4F13 /* extern.lua */; }; C03781E418BF656A00FE4F13 /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C718BF656A00FE4F13 /* extern.lua */; }; - C03781E518BF656A00FE4F13 /* GuiConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C818BF656A00FE4F13 /* GuiConstants.lua */; }; - C03781E618BF656A00FE4F13 /* GuiConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C818BF656A00FE4F13 /* GuiConstants.lua */; }; C03781E718BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; }; C03781E818BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; }; C03781E918BF656A00FE4F13 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CA18BF656A00FE4F13 /* luaj.lua */; }; @@ -129,10 +129,6 @@ C03781EE18BF656A00FE4F13 /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CC18BF656A00FE4F13 /* Opengl.lua */; }; C03781EF18BF656A00FE4F13 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */; }; C03781F018BF656A00FE4F13 /* OpenglConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */; }; - C03781F118BF656A00FE4F13 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CE18BF656A00FE4F13 /* StudioConstants.lua */; }; - C03781F218BF656A00FE4F13 /* StudioConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CE18BF656A00FE4F13 /* StudioConstants.lua */; }; - C03781F518BF65A900FE4F13 /* libluabindings Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C03781B418BF654500FE4F13 /* libluabindings Mac.a */; }; - C03781F618BF65B100FE4F13 /* libluabindings iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C03781B618BF654500FE4F13 /* libluabindings iOS.a */; }; C05D1C121923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; }; C05D1C131923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; }; C0619CD71896894800872C26 /* Runtime_ios-mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0619CD61896894800872C26 /* Runtime_ios-mac.mm */; }; @@ -142,26 +138,6 @@ C07828F818B4D72E00BD2287 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C07828F418B4D72E00BD2287 /* main.m */; }; C07828F918B4D72E00BD2287 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = C07828F518B4D72E00BD2287 /* MainMenu.xib */; }; C07828FA18B4D72E00BD2287 /* SimulatorApp.mm in Sources */ = {isa = PBXBuildFile; fileRef = C07828F718B4D72E00BD2287 /* SimulatorApp.mm */; }; - C08D5D5618E567C6009071A4 /* ftp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4C18E567C6009071A4 /* ftp.lua */; }; - C08D5D5718E567C6009071A4 /* ftp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4C18E567C6009071A4 /* ftp.lua */; }; - C08D5D5818E567C6009071A4 /* headers.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4D18E567C6009071A4 /* headers.lua */; }; - C08D5D5918E567C6009071A4 /* headers.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4D18E567C6009071A4 /* headers.lua */; }; - C08D5D5A18E567C6009071A4 /* http.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4E18E567C6009071A4 /* http.lua */; }; - C08D5D5B18E567C6009071A4 /* http.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4E18E567C6009071A4 /* http.lua */; }; - C08D5D5C18E567C6009071A4 /* ltn12.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4F18E567C6009071A4 /* ltn12.lua */; }; - C08D5D5D18E567C6009071A4 /* ltn12.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D4F18E567C6009071A4 /* ltn12.lua */; }; - C08D5D5E18E567C6009071A4 /* mbox.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5018E567C6009071A4 /* mbox.lua */; }; - C08D5D5F18E567C6009071A4 /* mbox.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5018E567C6009071A4 /* mbox.lua */; }; - C08D5D6018E567C6009071A4 /* mime.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5118E567C6009071A4 /* mime.lua */; }; - C08D5D6118E567C6009071A4 /* mime.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5118E567C6009071A4 /* mime.lua */; }; - C08D5D6218E567C6009071A4 /* smtp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5218E567C6009071A4 /* smtp.lua */; }; - C08D5D6318E567C6009071A4 /* smtp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5218E567C6009071A4 /* smtp.lua */; }; - C08D5D6418E567C6009071A4 /* socket.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5318E567C6009071A4 /* socket.lua */; }; - C08D5D6518E567C6009071A4 /* socket.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5318E567C6009071A4 /* socket.lua */; }; - C08D5D6618E567C6009071A4 /* tp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5418E567C6009071A4 /* tp.lua */; }; - C08D5D6718E567C6009071A4 /* tp.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5418E567C6009071A4 /* tp.lua */; }; - C08D5D6818E567C6009071A4 /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5518E567C6009071A4 /* url.lua */; }; - C08D5D6918E567C6009071A4 /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = C08D5D5518E567C6009071A4 /* url.lua */; }; D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; }; F293B3CD15EB7BE500256477 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3CC15EB7BE500256477 /* QuartzCore.framework */; }; F293B3D115EB7BE500256477 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F293B3D015EB7BE500256477 /* OpenAL.framework */; }; @@ -173,6 +149,244 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 15427C8F198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B245F13A19766132001920FD; + remoteInfo = "libui Mac"; + }; + 15427C91198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB484D1976716E00411E16; + remoteInfo = "libcocostudio Mac"; + }; + 15427C93198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB47D2197669A100411E16; + remoteInfo = "libcocosbuilder Mac"; + }; + 15427C95198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB490119767F1F00411E16; + remoteInfo = "libspine Mac"; + }; + 15427C97198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B2DB49C4197686CB00411E16; + remoteInfo = "libnetwork Mac"; + }; + 15427C99198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA6619775E92004493CC; + remoteInfo = "libui iOS"; + }; + 15427C9B198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA6E19775EBB004493CC; + remoteInfo = "libcocostudio iOS"; + }; + 15427C9D198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA7619775ECE004493CC; + remoteInfo = "libcocosbuilder iOS"; + }; + 15427C9F198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA7E19775EE1004493CC; + remoteInfo = "libspine iOS"; + }; + 15427CA1198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = B24EEA8619775EF3004493CC; + remoteInfo = "libnetwork iOS"; + }; + 15427CB3198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BDDA1986538000A46ACC; + remoteInfo = "libluaextension Mac"; + }; + 15427CB5198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C0FB1987328E00A46ACC; + remoteInfo = "libluaui Mac"; + }; + 15427CB7198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BFED19865C2000A46ACC; + remoteInfo = "libluacocostudio Mac"; + }; + 15427CB9198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BEE1198654BE00A46ACC; + remoteInfo = "libluacocosbuilder Mac"; + }; + 15427CBB198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C07319865E5F00A46ACC; + remoteInfo = "libluaspine Mac"; + }; + 15427CBD198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C1811987340C00A46ACC; + remoteInfo = "libluanetwork Mac"; + }; + 15427CBF198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1BF6919865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427CC1198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15C1C2CC198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427CC3198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 155CA3431988C494006E0A08; + remoteInfo = "libluaextension iOS"; + }; + 15427CC5198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA37A198B28A8000C57D3; + remoteInfo = "libluaui iOS"; + }; + 15427CC7198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA3FB198B2934000C57D3; + remoteInfo = "libluacocostudio iOS"; + }; + 15427CC9198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA2F9198B2791000C57D3; + remoteInfo = "libluacocosbuilder iOS"; + }; + 15427CCB198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA47F198B2AFD000C57D3; + remoteInfo = "libluaspine iOS"; + }; + 15427CCD198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA4FE198B2B9B000C57D3; + remoteInfo = "libluanetwork iOS"; + }; + 15427CCF198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA59B198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427CD1198F220600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 15EFA616198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427CD7198F223300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BEEE19865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; + 15427CD9198F223300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C255198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427CDB198F223300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA523198B2D13000C57D3; + remoteInfo = "libluacocosdenshion iOS"; + }; + 15427CDD198F223300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15EFA59E198B2DAA000C57D3; + remoteInfo = "libluacocos2d iOS"; + }; + 15427CE4198F23B300DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = B24EEA7F19775EF3004493CC; + remoteInfo = "libnetwork iOS"; + }; + 15427CE6198F23E600DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = B2DB498D197686CB00411E16; + remoteInfo = "libnetwork Mac"; + }; + 15427CE8198F244500DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1C255198748D200A46ACC; + remoteInfo = "libluacocos2d Mac"; + }; + 15427CEA198F246A00DC375D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 15C1BEEE19865A0600A46ACC; + remoteInfo = "libluacocosdenshion Mac"; + }; 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; @@ -243,55 +457,6 @@ remoteGlobalIDString = A07A4FB4178387730073F6A7; remoteInfo = "CocosDenshion iOS"; }; - C03781B318BF654500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74618BC45A000215002; - remoteInfo = "luabindings Mac"; - }; - C03781B518BF654500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 1AACE74718BC45A000215002; - remoteInfo = "luabindings iOS"; - }; - C03781F318BF659D00FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A6FB50417854BC200CDF010; - remoteInfo = "luabindings Mac"; - }; - C03781F718BF65B500FE4F13 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 1A119716178526AA00D62A44; - remoteInfo = "luabindings iOS"; - }; - C0A2F02618975FD30072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2B781780BD04006731B9; - remoteInfo = "chipmunk Mac"; - }; - C0A2F03818975FDA0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2D5D1780BDF7006731B9; - remoteInfo = "box2d Mac"; - }; - C0A2F03A18975FE20072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A03F2FC117814595006731B9; - remoteInfo = "cocos2dx-extensions Mac"; - }; C0A2F03C18975FEB0072A7AB /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; @@ -306,44 +471,15 @@ remoteGlobalIDString = 1551A33E158F2AB200E66CFE; remoteInfo = "cocos2dx Mac"; }; - C0A2F0421897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4C241783777C0073F6A7; - remoteInfo = "cocos2dx iOS"; - }; - C0A2F0441897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4E111783867C0073F6A7; - remoteInfo = "cocos2dx-extensions iOS"; - }; - C0A2F0461897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4EFD178387670073F6A7; - remoteInfo = "chipmunk iOS"; - }; - C0A2F0481897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F3C1783876B0073F6A7; - remoteInfo = "box2d iOS"; - }; - C0A2F04A1897600E0072A7AB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = A07A4F9F178387730073F6A7; - remoteInfo = "CocosDenshion iOS"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 15427CE2198F237300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_module_register.h; path = ../Classes/lua_module_register.h; sourceTree = ""; }; + 15427DA3198F83E600DC375D /* DeprecatedCocos2dClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua"; sourceTree = ""; }; + 15427DA4198F83E600DC375D /* DeprecatedCocos2dEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua"; sourceTree = ""; }; + 15427DA5198F83E600DC375D /* DeprecatedCocos2dFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocos2dFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua"; sourceTree = ""; }; + 15427DA6198F83E600DC375D /* DeprecatedCocosDenshionClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua"; sourceTree = ""; }; + 15427DA7198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedCocosDenshionFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua"; sourceTree = ""; }; 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = "../../cocos2d-x/build/cocos2d_libs.xcodeproj"; sourceTree = ""; }; 15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; 15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = "../../cocos2d-x/cocos2dx/platform/third_party/ios/libraries/libcurl.a"; sourceTree = ""; }; @@ -435,23 +571,16 @@ C03781B718BF655400FE4F13 /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; name = res; path = ../../../res; sourceTree = ""; }; C03781B818BF655400FE4F13 /* src */ = {isa = PBXFileReference; lastKnownFileType = folder; name = src; path = ../../../src; sourceTree = ""; }; C03781BD18BF656900FE4F13 /* AudioEngine.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = AudioEngine.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/AudioEngine.lua"; sourceTree = ""; }; - C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CCBReaderLoad.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/CCBReaderLoad.lua"; sourceTree = ""; }; C03781BF18BF656900FE4F13 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Cocos2d.lua"; sourceTree = ""; }; C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2dConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua"; sourceTree = ""; }; - C03781C118BF656900FE4F13 /* CocoStudio.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CocoStudio.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/CocoStudio.lua"; sourceTree = ""; }; - C03781C218BF656900FE4F13 /* Deprecated.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Deprecated.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Deprecated.lua"; sourceTree = ""; }; - C03781C318BF656900FE4F13 /* DeprecatedClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedClass.lua"; sourceTree = ""; }; - C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedEnum.lua"; sourceTree = ""; }; C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedOpenglEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua"; sourceTree = ""; }; C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DrawPrimitives.lua"; sourceTree = ""; }; C03781C718BF656A00FE4F13 /* extern.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = extern.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/extern.lua"; sourceTree = ""; }; - C03781C818BF656A00FE4F13 /* GuiConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = GuiConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/GuiConstants.lua"; sourceTree = ""; }; C03781C918BF656A00FE4F13 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/json.lua"; sourceTree = ""; }; C03781CA18BF656A00FE4F13 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaj.lua"; sourceTree = ""; }; C03781CB18BF656A00FE4F13 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaoc.lua"; sourceTree = ""; }; C03781CC18BF656A00FE4F13 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Opengl.lua"; sourceTree = ""; }; C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/OpenglConstants.lua"; sourceTree = ""; }; - C03781CE18BF656A00FE4F13 /* StudioConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = StudioConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/StudioConstants.lua"; sourceTree = ""; }; C05D1C111923449100B808A4 /* config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = config.json; path = ../../../config.json; sourceTree = ""; }; C0619CD61896894800872C26 /* Runtime_ios-mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "Runtime_ios-mac.mm"; sourceTree = ""; }; C06C3794191A1D1E00617BED /* ConfigParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ConfigParser.cpp; path = ../Classes/ConfigParser.cpp; sourceTree = ""; }; @@ -460,16 +589,6 @@ C07828F518B4D72E00BD2287 /* MainMenu.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = ""; }; C07828F618B4D72E00BD2287 /* SimulatorApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimulatorApp.h; sourceTree = ""; }; C07828F718B4D72E00BD2287 /* SimulatorApp.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SimulatorApp.mm; sourceTree = ""; }; - C08D5D4C18E567C6009071A4 /* ftp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ftp.lua; path = "../../cocos2d-x/external/lua/luasocket/ftp.lua"; sourceTree = ""; }; - C08D5D4D18E567C6009071A4 /* headers.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = headers.lua; path = "../../cocos2d-x/external/lua/luasocket/headers.lua"; sourceTree = ""; }; - C08D5D4E18E567C6009071A4 /* http.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = http.lua; path = "../../cocos2d-x/external/lua/luasocket/http.lua"; sourceTree = ""; }; - C08D5D4F18E567C6009071A4 /* ltn12.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ltn12.lua; path = "../../cocos2d-x/external/lua/luasocket/ltn12.lua"; sourceTree = ""; }; - C08D5D5018E567C6009071A4 /* mbox.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = mbox.lua; path = "../../cocos2d-x/external/lua/luasocket/mbox.lua"; sourceTree = ""; }; - C08D5D5118E567C6009071A4 /* mime.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = mime.lua; path = "../../cocos2d-x/external/lua/luasocket/mime.lua"; sourceTree = ""; }; - C08D5D5218E567C6009071A4 /* smtp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = smtp.lua; path = "../../cocos2d-x/external/lua/luasocket/smtp.lua"; sourceTree = ""; }; - C08D5D5318E567C6009071A4 /* socket.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = socket.lua; path = "../../cocos2d-x/external/lua/luasocket/socket.lua"; sourceTree = ""; }; - C08D5D5418E567C6009071A4 /* tp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = tp.lua; path = "../../cocos2d-x/external/lua/luasocket/tp.lua"; sourceTree = ""; }; - C08D5D5518E567C6009071A4 /* url.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = url.lua; path = "../../cocos2d-x/external/lua/luasocket/url.lua"; sourceTree = ""; }; D6B061341803AC000077942B /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreMotion.framework; sourceTree = DEVELOPER_DIR; }; F293B3C815EB7BE500256477 /* HelloLua iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "HelloLua iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; F293B3CC15EB7BE500256477 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; @@ -489,12 +608,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C03781F518BF65A900FE4F13 /* libluabindings Mac.a in Frameworks */, + 15427CF0198F24C400DC375D /* libnetwork Mac.a in Frameworks */, + 15427CEF198F24BD00DC375D /* libcocosdenshion Mac.a in Frameworks */, + 15427CEE198F24AF00DC375D /* libcocos2d Mac.a in Frameworks */, + 15427CEC198F24A600DC375D /* libluacocos2d Mac.a in Frameworks */, + 15427CED198F24A600DC375D /* libluacocosdenshion Mac.a in Frameworks */, 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */, - 15A8A4821834C73500142BE0 /* libchipmunk Mac.a in Frameworks */, - 15A8A4831834C73500142BE0 /* libcocos2dx Mac.a in Frameworks */, - 15A8A4841834C73500142BE0 /* libcocos2dx-extensions Mac.a in Frameworks */, - 15A8A4851834C73500142BE0 /* libCocosDenshion Mac.a in Frameworks */, 50D7C97017EBBEEC005D0B91 /* IOKit.framework in Frameworks */, 50D7C96E17EBBEE6005D0B91 /* AppKit.framework in Frameworks */, 50D7C96C17EBBEDF005D0B91 /* OpenGL.framework in Frameworks */, @@ -512,12 +631,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 15427CE3198F23A100DC375D /* libnetwork iOS.a in Frameworks */, + 15427CD5198F222200DC375D /* libluacocos2d iOS.a in Frameworks */, + 15427CD6198F222200DC375D /* libluacocosdenshion iOS.a in Frameworks */, + 15427CD3198F221400DC375D /* libcocos2d iOS.a in Frameworks */, + 15427CD4198F221400DC375D /* libcocosdenshion iOS.a in Frameworks */, 3EEEDB61197107C0006A9FF8 /* MediaPlayer.framework in Frameworks */, - C03781F618BF65B100FE4F13 /* libluabindings iOS.a in Frameworks */, - 15A8A4441834C43700142BE0 /* libchipmunk iOS.a in Frameworks */, - 15A8A4451834C43700142BE0 /* libcocos2dx iOS.a in Frameworks */, - 15A8A4461834C43700142BE0 /* libcocos2dx-extensions iOS.a in Frameworks */, - 15A8A4471834C43700142BE0 /* libCocosDenshion iOS.a in Frameworks */, D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */, 1AF4C403178663F200122817 /* libz.dylib in Frameworks */, 50805AAF17EBBEAA004CFAD3 /* UIKit.framework in Frameworks */, @@ -537,16 +656,26 @@ 15A8A4041834BDA200142BE0 /* Products */ = { isa = PBXGroup; children = ( - 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */, - 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */, + 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */, + 15A8A4191834BDA200142BE0 /* libextension Mac.a */, + 15427C90198F220600DC375D /* libui Mac.a */, + 15427C92198F220600DC375D /* libcocostudio Mac.a */, + 15427C94198F220600DC375D /* libcocosbuilder Mac.a */, + 15427C96198F220600DC375D /* libspine Mac.a */, + 15427C98198F220600DC375D /* libnetwork Mac.a */, 15A8A41B1834BDA200142BE0 /* libchipmunk Mac.a */, 15A8A41D1834BDA200142BE0 /* libbox2d Mac.a */, - 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */, - 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */, - 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */, + 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */, + 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */, + 15A8A4271834BDA200142BE0 /* libextension iOS.a */, 15A8A4291834BDA200142BE0 /* libchipmunk iOS.a */, 15A8A42B1834BDA200142BE0 /* libbox2d iOS.a */, - 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */, + 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */, + 15427C9A198F220600DC375D /* libui iOS.a */, + 15427C9C198F220600DC375D /* libcocostudio iOS.a */, + 15427C9E198F220600DC375D /* libcocosbuilder iOS.a */, + 15427CA0198F220600DC375D /* libspine iOS.a */, + 15427CA2198F220600DC375D /* libnetwork iOS.a */, ); name = Products; sourceTree = ""; @@ -554,34 +683,22 @@ 1A0227A417A3AA1A00B867AD /* Lua Common */ = { isa = PBXGroup; children = ( - C08D5D4C18E567C6009071A4 /* ftp.lua */, - C08D5D4D18E567C6009071A4 /* headers.lua */, - C08D5D4E18E567C6009071A4 /* http.lua */, - C08D5D4F18E567C6009071A4 /* ltn12.lua */, - C08D5D5018E567C6009071A4 /* mbox.lua */, - C08D5D5118E567C6009071A4 /* mime.lua */, - C08D5D5218E567C6009071A4 /* smtp.lua */, - C08D5D5318E567C6009071A4 /* socket.lua */, - C08D5D5418E567C6009071A4 /* tp.lua */, - C08D5D5518E567C6009071A4 /* url.lua */, + 15427DA3198F83E600DC375D /* DeprecatedCocos2dClass.lua */, + 15427DA4198F83E600DC375D /* DeprecatedCocos2dEnum.lua */, + 15427DA5198F83E600DC375D /* DeprecatedCocos2dFunc.lua */, + 15427DA6198F83E600DC375D /* DeprecatedCocosDenshionClass.lua */, + 15427DA7198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua */, C03781BD18BF656900FE4F13 /* AudioEngine.lua */, - C03781BE18BF656900FE4F13 /* CCBReaderLoad.lua */, C03781BF18BF656900FE4F13 /* Cocos2d.lua */, C03781C018BF656900FE4F13 /* Cocos2dConstants.lua */, - C03781C118BF656900FE4F13 /* CocoStudio.lua */, - C03781C218BF656900FE4F13 /* Deprecated.lua */, - C03781C318BF656900FE4F13 /* DeprecatedClass.lua */, - C03781C418BF656A00FE4F13 /* DeprecatedEnum.lua */, C03781C518BF656A00FE4F13 /* DeprecatedOpenglEnum.lua */, C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */, C03781C718BF656A00FE4F13 /* extern.lua */, - C03781C818BF656A00FE4F13 /* GuiConstants.lua */, C03781C918BF656A00FE4F13 /* json.lua */, C03781CA18BF656A00FE4F13 /* luaj.lua */, C03781CB18BF656A00FE4F13 /* luaoc.lua */, C03781CC18BF656A00FE4F13 /* Opengl.lua */, C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */, - C03781CE18BF656A00FE4F13 /* StudioConstants.lua */, ); name = "Lua Common"; sourceTree = ""; @@ -737,8 +854,22 @@ C03781AF18BF654500FE4F13 /* Products */ = { isa = PBXGroup; children = ( - C03781B418BF654500FE4F13 /* libluabindings Mac.a */, - C03781B618BF654500FE4F13 /* libluabindings iOS.a */, + 15427CB4198F220600DC375D /* libluaextension Mac.a */, + 15427CB6198F220600DC375D /* libluaui Mac.a */, + 15427CB8198F220600DC375D /* libluacocostudio Mac.a */, + 15427CBA198F220600DC375D /* libluacocosbuilder Mac.a */, + 15427CBC198F220600DC375D /* libluaspine Mac.a */, + 15427CBE198F220600DC375D /* libluanetwork Mac.a */, + 15427CC0198F220600DC375D /* libluacocosdenshion Mac.a */, + 15427CC2198F220600DC375D /* libluacocos2d Mac.a */, + 15427CC4198F220600DC375D /* libluaextension iOS.a */, + 15427CC6198F220600DC375D /* libluaui iOS.a */, + 15427CC8198F220600DC375D /* libluacocostudio iOS.a */, + 15427CCA198F220600DC375D /* libluacocosbuilder iOS.a */, + 15427CCC198F220600DC375D /* libluaspine iOS.a */, + 15427CCE198F220600DC375D /* libluanetwork iOS.a */, + 15427CD0198F220600DC375D /* libluacocosdenshion iOS.a */, + 15427CD2198F220600DC375D /* libluacocos2d iOS.a */, ); name = Products; sourceTree = ""; @@ -796,6 +927,7 @@ F293BB7C15EB830F00256477 /* Classes */ = { isa = PBXGroup; children = ( + 15427CE2198F237300DC375D /* lua_module_register.h */, C00FD4891938512100C6382D /* runtime */, C033B51A191B337200D06937 /* VisibleRect.cpp */, C033B51B191B337200D06937 /* VisibleRect.h */, @@ -834,12 +966,11 @@ buildRules = ( ); dependencies = ( - C03781F418BF659D00FE4F13 /* PBXTargetDependency */, + 15427CEB198F246A00DC375D /* PBXTargetDependency */, + 15427CE9198F244500DC375D /* PBXTargetDependency */, + 15427CE7198F23E600DC375D /* PBXTargetDependency */, C0A2F04118975FF80072A7AB /* PBXTargetDependency */, C0A2F03D18975FEB0072A7AB /* PBXTargetDependency */, - C0A2F03B18975FE20072A7AB /* PBXTargetDependency */, - C0A2F03918975FDA0072A7AB /* PBXTargetDependency */, - C0A2F02718975FD30072A7AB /* PBXTargetDependency */, ); name = "HelloLua Mac"; productName = HelloLua; @@ -858,12 +989,11 @@ buildRules = ( ); dependencies = ( - C03781F818BF65B500FE4F13 /* PBXTargetDependency */, - C0A2F0431897600E0072A7AB /* PBXTargetDependency */, - C0A2F0451897600E0072A7AB /* PBXTargetDependency */, - C0A2F0471897600E0072A7AB /* PBXTargetDependency */, - C0A2F0491897600E0072A7AB /* PBXTargetDependency */, - C0A2F04B1897600E0072A7AB /* PBXTargetDependency */, + 15427CE5198F23B300DC375D /* PBXTargetDependency */, + 15427CD8198F223300DC375D /* PBXTargetDependency */, + 15427CDA198F223300DC375D /* PBXTargetDependency */, + 15427CDC198F223300DC375D /* PBXTargetDependency */, + 15427CDE198F223300DC375D /* PBXTargetDependency */, ); name = "HelloLua iOS"; productName = HelloLua; @@ -912,17 +1042,199 @@ /* End PBXProject section */ /* Begin PBXReferenceProxy section */ - 15A8A4171834BDA200142BE0 /* libcocos2dx Mac.a */ = { + 15427C90198F220600DC375D /* libui Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx Mac.a"; + path = "libui Mac.a"; + remoteRef = 15427C8F198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C92198F220600DC375D /* libcocostudio Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocostudio Mac.a"; + remoteRef = 15427C91198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C94198F220600DC375D /* libcocosbuilder Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocosbuilder Mac.a"; + remoteRef = 15427C93198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C96198F220600DC375D /* libspine Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libspine Mac.a"; + remoteRef = 15427C95198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C98198F220600DC375D /* libnetwork Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libnetwork Mac.a"; + remoteRef = 15427C97198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C9A198F220600DC375D /* libui iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libui iOS.a"; + remoteRef = 15427C99198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C9C198F220600DC375D /* libcocostudio iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocostudio iOS.a"; + remoteRef = 15427C9B198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427C9E198F220600DC375D /* libcocosbuilder iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocosbuilder iOS.a"; + remoteRef = 15427C9D198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CA0198F220600DC375D /* libspine iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libspine iOS.a"; + remoteRef = 15427C9F198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CA2198F220600DC375D /* libnetwork iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libnetwork iOS.a"; + remoteRef = 15427CA1198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CB4198F220600DC375D /* libluaextension Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaextension Mac.a"; + remoteRef = 15427CB3198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CB6198F220600DC375D /* libluaui Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaui Mac.a"; + remoteRef = 15427CB5198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CB8198F220600DC375D /* libluacocostudio Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio Mac.a"; + remoteRef = 15427CB7198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CBA198F220600DC375D /* libluacocosbuilder Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder Mac.a"; + remoteRef = 15427CB9198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CBC198F220600DC375D /* libluaspine Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine Mac.a"; + remoteRef = 15427CBB198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CBE198F220600DC375D /* libluanetwork Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork Mac.a"; + remoteRef = 15427CBD198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CC0198F220600DC375D /* libluacocosdenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion Mac.a"; + remoteRef = 15427CBF198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CC2198F220600DC375D /* libluacocos2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d Mac.a"; + remoteRef = 15427CC1198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CC4198F220600DC375D /* libluaextension iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaextension iOS.a"; + remoteRef = 15427CC3198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CC6198F220600DC375D /* libluaui iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaui iOS.a"; + remoteRef = 15427CC5198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CC8198F220600DC375D /* libluacocostudio iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocostudio iOS.a"; + remoteRef = 15427CC7198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CCA198F220600DC375D /* libluacocosbuilder iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosbuilder iOS.a"; + remoteRef = 15427CC9198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CCC198F220600DC375D /* libluaspine iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluaspine iOS.a"; + remoteRef = 15427CCB198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CCE198F220600DC375D /* libluanetwork iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluanetwork iOS.a"; + remoteRef = 15427CCD198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CD0198F220600DC375D /* libluacocosdenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocosdenshion iOS.a"; + remoteRef = 15427CCF198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15427CD2198F220600DC375D /* libluacocos2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluacocos2d iOS.a"; + remoteRef = 15427CD1198F220600DC375D /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2d Mac.a"; remoteRef = 15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4191834BDA200142BE0 /* libcocos2dx-extensions Mac.a */ = { + 15A8A4191834BDA200142BE0 /* libextension Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx-extensions Mac.a"; + path = "libextension Mac.a"; remoteRef = 15A8A4181834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -940,24 +1252,24 @@ remoteRef = 15A8A41C1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A41F1834BDA200142BE0 /* libCocosDenshion Mac.a */ = { + 15A8A41F1834BDA200142BE0 /* libcocosdenshion Mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libCocosDenshion Mac.a"; + path = "libcocosdenshion Mac.a"; remoteRef = 15A8A41E1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4251834BDA200142BE0 /* libcocos2dx iOS.a */ = { + 15A8A4251834BDA200142BE0 /* libcocos2d iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx iOS.a"; + path = "libcocos2d iOS.a"; remoteRef = 15A8A4241834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A4271834BDA200142BE0 /* libcocos2dx-extensions iOS.a */ = { + 15A8A4271834BDA200142BE0 /* libextension iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libcocos2dx-extensions iOS.a"; + path = "libextension iOS.a"; remoteRef = 15A8A4261834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -975,27 +1287,13 @@ remoteRef = 15A8A42A1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 15A8A42D1834BDA200142BE0 /* libCocosDenshion iOS.a */ = { + 15A8A42D1834BDA200142BE0 /* libcocosdenshion iOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; - path = "libCocosDenshion iOS.a"; + path = "libcocosdenshion iOS.a"; remoteRef = 15A8A42C1834BDA200142BE0 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - C03781B418BF654500FE4F13 /* libluabindings Mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libluabindings Mac.a"; - remoteRef = C03781B318BF654500FE4F13 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - C03781B618BF654500FE4F13 /* libluabindings iOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libluabindings iOS.a"; - remoteRef = C03781B518BF654500FE4F13 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ @@ -1006,33 +1304,21 @@ C03781EE18BF656A00FE4F13 /* Opengl.lua in Resources */, C03781F018BF656A00FE4F13 /* OpenglConstants.lua in Resources */, C03781E418BF656A00FE4F13 /* extern.lua in Resources */, - C03781E618BF656A00FE4F13 /* GuiConstants.lua in Resources */, - C08D5D6118E567C6009071A4 /* mime.lua in Resources */, + 15427DA9198F83E600DC375D /* DeprecatedCocos2dClass.lua in Resources */, C03781D418BF656A00FE4F13 /* Cocos2d.lua in Resources */, C03781BA18BF655400FE4F13 /* res in Resources */, C03781BC18BF655400FE4F13 /* src in Resources */, - C08D5D6918E567C6009071A4 /* url.lua in Resources */, C03781E218BF656A00FE4F13 /* DrawPrimitives.lua in Resources */, - C08D5D6318E567C6009071A4 /* smtp.lua in Resources */, - C08D5D5718E567C6009071A4 /* ftp.lua in Resources */, - C08D5D5B18E567C6009071A4 /* http.lua in Resources */, - C03781DA18BF656A00FE4F13 /* Deprecated.lua in Resources */, C03781E018BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */, - C08D5D6518E567C6009071A4 /* socket.lua in Resources */, - C08D5D5D18E567C6009071A4 /* ltn12.lua in Resources */, + 15427DAB198F83E600DC375D /* DeprecatedCocos2dEnum.lua in Resources */, + 15427DB1198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, C03781EC18BF656A00FE4F13 /* luaoc.lua in Resources */, + 15427DAF198F83E600DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, C07828F918B4D72E00BD2287 /* MainMenu.xib in Resources */, 5023817617EBBE3400990C9B /* Icon.icns in Resources */, - C03781D218BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */, - C08D5D5F18E567C6009071A4 /* mbox.lua in Resources */, + 15427DAD198F83E600DC375D /* DeprecatedCocos2dFunc.lua in Resources */, C03781D018BF656A00FE4F13 /* AudioEngine.lua in Resources */, - C03781D818BF656A00FE4F13 /* CocoStudio.lua in Resources */, - C08D5D5918E567C6009071A4 /* headers.lua in Resources */, - C03781DC18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */, - C08D5D6718E567C6009071A4 /* tp.lua in Resources */, - C03781F218BF656A00FE4F13 /* StudioConstants.lua in Resources */, C03781EA18BF656A00FE4F13 /* luaj.lua in Resources */, - C03781DE18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */, C03781E818BF656A00FE4F13 /* json.lua in Resources */, C03781D618BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */, C05D1C131923449100B808A4 /* config.json in Resources */, @@ -1044,52 +1330,40 @@ buildActionMask = 2147483647; files = ( 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */, - C08D5D5618E567C6009071A4 /* ftp.lua in Resources */, - C08D5D5C18E567C6009071A4 /* ltn12.lua in Resources */, - C08D5D5E18E567C6009071A4 /* mbox.lua in Resources */, - C03781DB18BF656A00FE4F13 /* DeprecatedClass.lua in Resources */, 5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */, 5091733B17ECE17A00D62437 /* Icon-100.png in Resources */, - C08D5D5818E567C6009071A4 /* headers.lua in Resources */, C03781E918BF656A00FE4F13 /* luaj.lua in Resources */, 5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */, 5091733617ECE17A00D62437 /* Icon-29.png in Resources */, - C08D5D6418E567C6009071A4 /* socket.lua in Resources */, + 15427DB0198F83E600DC375D /* DeprecatedCocosDenshionFunc.lua in Resources */, C03781E718BF656A00FE4F13 /* json.lua in Resources */, - C08D5D5A18E567C6009071A4 /* http.lua in Resources */, 5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */, C03781D318BF656A00FE4F13 /* Cocos2d.lua in Resources */, 5091733917ECE17A00D62437 /* Icon-58.png in Resources */, C03781ED18BF656A00FE4F13 /* Opengl.lua in Resources */, - C03781F118BF656A00FE4F13 /* StudioConstants.lua in Resources */, 5023811F17EBBCAC00990C9B /* Icon-152.png in Resources */, - C03781D118BF656A00FE4F13 /* CCBReaderLoad.lua in Resources */, 5023812017EBBCAC00990C9B /* Icon-57.png in Resources */, C03781CF18BF656A00FE4F13 /* AudioEngine.lua in Resources */, + 15427DAE198F83E600DC375D /* DeprecatedCocosDenshionClass.lua in Resources */, C03781B918BF655400FE4F13 /* res in Resources */, C03781EF18BF656A00FE4F13 /* OpenglConstants.lua in Resources */, - C03781E518BF656A00FE4F13 /* GuiConstants.lua in Resources */, + 15427DAC198F83E600DC375D /* DeprecatedCocos2dFunc.lua in Resources */, 5023812217EBBCAC00990C9B /* Icon-76.png in Resources */, C03781DF18BF656A00FE4F13 /* DeprecatedOpenglEnum.lua in Resources */, 5091733A17ECE17A00D62437 /* Icon-80.png in Resources */, - C08D5D6018E567C6009071A4 /* mime.lua in Resources */, 5091733717ECE17A00D62437 /* Icon-40.png in Resources */, 5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */, 5023811A17EBBCAC00990C9B /* Default.png in Resources */, C03781E118BF656A00FE4F13 /* DrawPrimitives.lua in Resources */, - C08D5D6218E567C6009071A4 /* smtp.lua in Resources */, + 15427DAA198F83E600DC375D /* DeprecatedCocos2dEnum.lua in Resources */, C03781BB18BF655400FE4F13 /* src in Resources */, C03781EB18BF656A00FE4F13 /* luaoc.lua in Resources */, 5091733817ECE17A00D62437 /* Icon-50.png in Resources */, - C03781D718BF656A00FE4F13 /* CocoStudio.lua in Resources */, C03781D518BF656A00FE4F13 /* Cocos2dConstants.lua in Resources */, - C08D5D6618E567C6009071A4 /* tp.lua in Resources */, + 15427DA8198F83E600DC375D /* DeprecatedCocos2dClass.lua in Resources */, 5023812117EBBCAC00990C9B /* Icon-72.png in Resources */, - C08D5D6818E567C6009071A4 /* url.lua in Resources */, C05D1C121923449100B808A4 /* config.json in Resources */, - C03781DD18BF656A00FE4F13 /* DeprecatedEnum.lua in Resources */, C03781E318BF656A00FE4F13 /* extern.lua in Resources */, - C03781D918BF656A00FE4F13 /* Deprecated.lua in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1193,30 +1467,45 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - C03781F418BF659D00FE4F13 /* PBXTargetDependency */ = { + 15427CD8198F223300DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "luabindings Mac"; - targetProxy = C03781F318BF659D00FE4F13 /* PBXContainerItemProxy */; + name = "libluacocosdenshion Mac"; + targetProxy = 15427CD7198F223300DC375D /* PBXContainerItemProxy */; }; - C03781F818BF65B500FE4F13 /* PBXTargetDependency */ = { + 15427CDA198F223300DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "luabindings iOS"; - targetProxy = C03781F718BF65B500FE4F13 /* PBXContainerItemProxy */; + name = "libluacocos2d Mac"; + targetProxy = 15427CD9198F223300DC375D /* PBXContainerItemProxy */; }; - C0A2F02718975FD30072A7AB /* PBXTargetDependency */ = { + 15427CDC198F223300DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "chipmunk Mac"; - targetProxy = C0A2F02618975FD30072A7AB /* PBXContainerItemProxy */; + name = "libluacocosdenshion iOS"; + targetProxy = 15427CDB198F223300DC375D /* PBXContainerItemProxy */; }; - C0A2F03918975FDA0072A7AB /* PBXTargetDependency */ = { + 15427CDE198F223300DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "box2d Mac"; - targetProxy = C0A2F03818975FDA0072A7AB /* PBXContainerItemProxy */; + name = "libluacocos2d iOS"; + targetProxy = 15427CDD198F223300DC375D /* PBXContainerItemProxy */; }; - C0A2F03B18975FE20072A7AB /* PBXTargetDependency */ = { + 15427CE5198F23B300DC375D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "cocos2dx-extensions Mac"; - targetProxy = C0A2F03A18975FE20072A7AB /* PBXContainerItemProxy */; + name = "libnetwork iOS"; + targetProxy = 15427CE4198F23B300DC375D /* PBXContainerItemProxy */; + }; + 15427CE7198F23E600DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libnetwork Mac"; + targetProxy = 15427CE6198F23E600DC375D /* PBXContainerItemProxy */; + }; + 15427CE9198F244500DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocos2d Mac"; + targetProxy = 15427CE8198F244500DC375D /* PBXContainerItemProxy */; + }; + 15427CEB198F246A00DC375D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "libluacocosdenshion Mac"; + targetProxy = 15427CEA198F246A00DC375D /* PBXContainerItemProxy */; }; C0A2F03D18975FEB0072A7AB /* PBXTargetDependency */ = { isa = PBXTargetDependency; @@ -1228,31 +1517,6 @@ name = "cocos2dx Mac"; targetProxy = C0A2F04018975FF80072A7AB /* PBXContainerItemProxy */; }; - C0A2F0431897600E0072A7AB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx iOS"; - targetProxy = C0A2F0421897600E0072A7AB /* PBXContainerItemProxy */; - }; - C0A2F0451897600E0072A7AB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "cocos2dx-extensions iOS"; - targetProxy = C0A2F0441897600E0072A7AB /* PBXContainerItemProxy */; - }; - C0A2F0471897600E0072A7AB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "chipmunk iOS"; - targetProxy = C0A2F0461897600E0072A7AB /* PBXContainerItemProxy */; - }; - C0A2F0491897600E0072A7AB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "box2d iOS"; - targetProxy = C0A2F0481897600E0072A7AB /* PBXContainerItemProxy */; - }; - C0A2F04B1897600E0072A7AB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "CocosDenshion iOS"; - targetProxy = C0A2F04A1897600E0072A7AB /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ diff --git a/templates/lua-template-runtime/src/main.lua b/templates/lua-template-runtime/src/main.lua index 32f49d9378..715ebba0ff 100644 --- a/templates/lua-template-runtime/src/main.lua +++ b/templates/lua-template-runtime/src/main.lua @@ -1,5 +1,6 @@ require "Cocos2d" +require "extern" -- cclog local cclog = function(...) diff --git a/tests/cpp-empty-test/CMakeLists.txt b/tests/cpp-empty-test/CMakeLists.txt index 88ebaceb4e..8221cc32c1 100644 --- a/tests/cpp-empty-test/CMakeLists.txt +++ b/tests/cpp-empty-test/CMakeLists.txt @@ -1,34 +1,38 @@ set(APP_NAME cpp-empty-test) -if(QT) - set(PLATFORM_SRC - proj.qt/main.cpp - ) -elseif(ANDROID) +if(ANDROID) + set(PLATFORM_SRC proj.android/jni/hellocpp/main.cpp ) -elseif(WIN32) + +elseif(WINDOWS) + set(PLATFORM_SRC proj.win32/main.cpp ) -elseif(APPLE) - if(IOS) - set(PLATFORM_SRC - proj.ios/main.m - proj.ios/AppController.mm - proj.ios/RootViewController.mm - ) - else() - set(PLATFORM_SRC - proj.mac/main.m - ) - endif() -else() + +elseif(IOS) + + set(PLATFORM_SRC + proj.ios/main.m + proj.ios/AppController.mm + proj.ios/RootViewController.mm + ) + +elseif(MACOSX) + + set(PLATFORM_SRC + proj.mac/main.m + ) + +elseif(LINUX) + set(PLATFORM_SRC proj.linux/main.cpp ) - endif() + +endif() set(SAMPLE_SRC ${PLATFORM_SRC} @@ -41,7 +45,8 @@ add_executable(${APP_NAME} ${SAMPLE_SRC} ) -if(WIN32 AND MSVC) +if(MSVC) + #get our resources add_custom_command(TARGET ${APP_NAME} PRE_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory @@ -60,7 +65,9 @@ if(WIN32 AND MSVC) #Visual Studio Defaults to wrong type set_target_properties(${APP_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:WINDOWS") set_target_properties(${APP_NAME} PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS") + else() + set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin/${APP_NAME}") set_target_properties(${APP_NAME} PROPERTIES diff --git a/tests/cpp-tests/Classes/SpriteTest/SpriteTest.cpp b/tests/cpp-tests/Classes/SpriteTest/SpriteTest.cpp index af90d8c5f5..354820ba84 100644 --- a/tests/cpp-tests/Classes/SpriteTest/SpriteTest.cpp +++ b/tests/cpp-tests/Classes/SpriteTest/SpriteTest.cpp @@ -109,6 +109,7 @@ static std::function createFunctions[] = CL(SpriteAnimationSplit), CL(SpriteFrameTest), CL(SpriteFrameAliasNameTest), + CL(SpriteFramesFromFileContent), CL(SpriteBatchNodeReorder), CL(SpriteBatchNodeReorderIssue744), CL(SpriteBatchNodeReorderIssue766), @@ -1880,6 +1881,87 @@ std::string SpriteFrameAliasNameTest::subtitle() const return "SpriteFrames are obtained using the alias name"; } +//------------------------------------------------------------------ +// +// SpriteFramesFromFileContent +// +//------------------------------------------------------------------ +void SpriteFramesFromFileContent::onEnter() +{ + SpriteTestDemo::onEnter(); + auto s = Director::getInstance()->getWinSize(); + + std::string plist_content; + { + std::string fullPath = FileUtils::getInstance()->fullPathForFilename("animations/grossini.plist"); + Data data = FileUtils::getInstance()->getDataFromFile(fullPath); + if (!data.isNull()) + plist_content.assign((const char*)data.getBytes(), data.getSize()); + } + + std::string image_content; + { + std::string fullPath = FileUtils::getInstance()->fullPathForFilename("animations/grossini.png"); + Data data = FileUtils::getInstance()->getDataFromFile(fullPath); + if (!data.isNull()) + image_content.assign((const char*)data.getBytes(), data.getSize()); + } + + Image image; + image.initWithImageData((const uint8_t*)image_content.c_str(), image_content.size()); + Texture2D* texture = new Texture2D(); + texture->initWithImage(&image); + texture->autorelease(); + + auto cache = SpriteFrameCache::getInstance(); + cache->addSpriteFramesWithFileContent(plist_content, texture); + + // + // Animation using Sprite BatchNode + // + Sprite * sprite = Sprite::createWithSpriteFrameName("grossini_dance_01.png"); + sprite->setPosition( Vec2( s.width/2-80, s.height/2) ); + addChild(sprite); + + Vector animFrames(15); + + char str[100] = {0}; + for(int i = 1; i < 15; i++) + { + sprintf(str, "grossini_dance_%02d.png", i); + auto frame = cache->getSpriteFrameByName( str ); + animFrames.pushBack(frame); + } + + auto animation = Animation::createWithSpriteFrames(animFrames, 0.3f); + sprite->runAction( RepeatForever::create( Animate::create(animation) ) ); +} + +void SpriteFramesFromFileContent::onExit() +{ + SpriteTestDemo::onExit(); + + std::string plist_content; + { + std::string fullPath = FileUtils::getInstance()->fullPathForFilename("animations/grossini.plist"); + Data data = FileUtils::getInstance()->getDataFromFile(fullPath); + if (!data.isNull()) + plist_content.assign((const char*)data.getBytes(), data.getSize()); + } + + SpriteFrameCache::getInstance()->removeSpriteFramesFromFileContent(plist_content); +} + +std::string SpriteFramesFromFileContent::title() const +{ + return "SpriteFrameCache load form file content"; +} + +std::string SpriteFramesFromFileContent::subtitle() const +{ + return "SpriteFrameCache load from plist file content"; +} + //------------------------------------------------------------------ // // SpriteOffsetAnchorRotation diff --git a/tests/cpp-tests/Classes/SpriteTest/SpriteTest.h b/tests/cpp-tests/Classes/SpriteTest/SpriteTest.h index 5467d46482..e4b6f7cd4e 100644 --- a/tests/cpp-tests/Classes/SpriteTest/SpriteTest.h +++ b/tests/cpp-tests/Classes/SpriteTest/SpriteTest.h @@ -337,6 +337,17 @@ public: virtual std::string subtitle() const override; }; +class SpriteFramesFromFileContent : public SpriteTestDemo +{ +public: + CREATE_FUNC(SpriteFramesFromFileContent); + + virtual void onEnter() override; + virtual void onExit() override; + virtual std::string title() const override; + virtual std::string subtitle() const override; +}; + class SpriteOffsetAnchorRotation: public SpriteTestDemo { public: diff --git a/tests/lua-empty-test/project/CMakeLists.txt b/tests/lua-empty-test/project/CMakeLists.txt index df91025c64..21766a81df 100644 --- a/tests/lua-empty-test/project/CMakeLists.txt +++ b/tests/lua-empty-test/project/CMakeLists.txt @@ -18,10 +18,9 @@ add_executable(${APP_NAME} ) target_link_libraries(${APP_NAME} - luabinding - cocostudio - cocosbuilder - extensions + luacocos2d + luacocosdenshion + luanetwork audio cocos2d ) diff --git a/tests/lua-empty-test/project/Classes/AppDelegate.cpp b/tests/lua-empty-test/project/Classes/AppDelegate.cpp index 8b650561ab..295ebc76a1 100644 --- a/tests/lua-empty-test/project/Classes/AppDelegate.cpp +++ b/tests/lua-empty-test/project/Classes/AppDelegate.cpp @@ -3,6 +3,7 @@ #include "audio/include/SimpleAudioEngine.h" #include "base/CCScriptSupport.h" #include "CCLuaEngine.h" +#include "lua_module_register.h" USING_NS_CC; using namespace CocosDenshion; @@ -25,7 +26,8 @@ bool AppDelegate::applicationDidFinishLaunching() // register lua engine LuaEngine* engine = LuaEngine::getInstance(); ScriptEngineManager::getInstance()->setScriptEngine(engine); - + lua_State* L = engine->getLuaStack()->getLuaState(); + lua_module_register(L); //The call was commented because it will lead to ZeroBrane Studio can't find correct context when debugging //engine->executeScriptFile("src/hello.lua"); engine->executeString("require 'src/hello.lua'"); diff --git a/tests/lua-empty-test/project/Classes/lua_module_register.h b/tests/lua-empty-test/project/Classes/lua_module_register.h new file mode 100644 index 0000000000..04b44661af --- /dev/null +++ b/tests/lua-empty-test/project/Classes/lua_module_register.h @@ -0,0 +1,16 @@ +#ifndef __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ +#define __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ + +#include "network/lua_cocos2dx_network_manual.h" +#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h" + + +int lua_module_register(lua_State* L) +{ + register_network_module(L); + register_cocosdenshion_module(L); + return 1; +} + +#endif // __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ + diff --git a/tests/lua-empty-test/project/proj.android/jni/Android.mk b/tests/lua-empty-test/project/proj.android/jni/Android.mk index 90ed50ee5c..61c5baf884 100644 --- a/tests/lua-empty-test/project/proj.android/jni/Android.mk +++ b/tests/lua-empty-test/project/proj.android/jni/Android.mk @@ -12,9 +12,11 @@ LOCAL_SRC_FILES := main.cpp \ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ $(LOCAL_PATH)/../../../../../external/lua/tolua \ -LOCAL_WHOLE_STATIC_LIBRARIES := cocos_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static include $(BUILD_SHARED_LIBRARY) -$(call import-module,scripting/lua-bindings) +$(call import-module,scripting/lua-bindings/proj.android) diff --git a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj index 234a4bee40..7b54ffcd7f 100644 --- a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj +++ b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj @@ -83,7 +83,7 @@ Disabled - $(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;%(AdditionalIncludeDirectories) + $(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;%(AdditionalIncludeDirectories) WIN32;_WINDOWS;STRICT;_DEBUG;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false EnableFastChecks @@ -131,7 +131,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\websockets\prebuilt\win32\*.*" "$ lua-empty-test_p.c - $(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;%(AdditionalIncludeDirectories) + $(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;%(AdditionalIncludeDirectories) WIN32;_WINDOWS;STRICT;NDEBUG;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -172,38 +172,18 @@ xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\. + - - {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + + {9f2d6ce6-c893-4400-b50c-6db70cc2562f} - - {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + {46a7d57a-7f25-4f52-823b-ffac4ff3a624} - - {811c0dab-7b96-4bd3-a154-b7572b58e4ab} - - - {b57cf53f-2e49-4031-9822-047cc0e6bde2} - - - {b7c2a162-dec9-4418-972e-240ab3cbfcae} - - - {ddc3e27f-004d-4dd4-9dd3-931a013d2159} - - - {df2638c0-8128-4847-867c-6eafe3dee7b5} - - - {7e06e92c-537a-442b-9e4a-4761c84f8a1a} - - - {21b2c324-891f-48ea-ad1a-5ae13de12e28} - - - {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + {65e52f4b-703f-419e-ad67-926241a10042} diff --git a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj.filters b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj.filters index 5de7838f8f..2b19b414cc 100644 --- a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj.filters +++ b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj.filters @@ -23,5 +23,8 @@ win32 + + Classes + \ No newline at end of file diff --git a/tests/lua-game-controller-test/project/Classes/AppDelegate.cpp b/tests/lua-game-controller-test/project/Classes/AppDelegate.cpp index ca92bd541c..c9fbd7cdfa 100644 --- a/tests/lua-game-controller-test/project/Classes/AppDelegate.cpp +++ b/tests/lua-game-controller-test/project/Classes/AppDelegate.cpp @@ -4,7 +4,7 @@ #include "base/CCScriptSupport.h" #include "CCLuaEngine.h" #include "scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.hpp" -#include "scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.hpp" +#include "scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.hpp" USING_NS_CC; using namespace CocosDenshion; @@ -38,7 +38,6 @@ bool AppDelegate::applicationDidFinishLaunching() } lua_pop(L, 1);//statck:... #endif - engine->executeString("require 'src/main.lua'"); return true; diff --git a/tests/lua-game-controller-test/project/proj.android/jni/Android.mk b/tests/lua-game-controller-test/project/proj.android/jni/Android.mk index 005ca87198..c1f283cb9f 100644 --- a/tests/lua-game-controller-test/project/proj.android/jni/Android.mk +++ b/tests/lua-game-controller-test/project/proj.android/jni/Android.mk @@ -9,17 +9,18 @@ LOCAL_MODULE_FILENAME := liblua_game_controller LOCAL_SRC_FILES := main.cpp \ ../../Classes/AppDelegate.cpp \ ../../../../../cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp \ - ../../../../../cocos/scripting/lua-bindings/manual/lua_cocos2dx_controller_manual.cpp \ + ../../../../../cocos/scripting/lua-bindings/manual/controller/lua_cocos2dx_controller_manual.cpp \ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ $(LOCAL_PATH)/../../../../../external/lua/tolua \ $(LOCAL_PATH)/../../../../../cocos/scripting/lua-bindings/auto \ - $(LOCAL_PATH)/../../../../../cocos/scripting/lua-bindings/manual \ + $(LOCAL_PATH)/../../../../../cocos/scripting/lua-bindings/manual\controller \ $(LOCAL_PATH)/../../../../../cocos/base -LOCAL_WHOLE_STATIC_LIBRARIES := cocos_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static include $(BUILD_SHARED_LIBRARY) -$(call import-module,scripting/lua-bindings) +$(call import-module,scripting/lua-bindings/proj.android) diff --git a/tests/lua-game-controller-test/src/GameControllerTest.lua b/tests/lua-game-controller-test/src/GameControllerTest.lua index 9b186fb84b..a822d85981 100644 --- a/tests/lua-game-controller-test/src/GameControllerTest.lua +++ b/tests/lua-game-controller-test/src/GameControllerTest.lua @@ -1,3 +1,5 @@ +require("extern") +require("ControllerConstants") local ControllerHolder = class("ControllerHolder") diff --git a/tests/lua-tests/project/CMakeLists.txt b/tests/lua-tests/project/CMakeLists.txt index 73bf301fce..868173d26b 100644 --- a/tests/lua-tests/project/CMakeLists.txt +++ b/tests/lua-tests/project/CMakeLists.txt @@ -19,12 +19,20 @@ add_executable(${APP_NAME} ) target_link_libraries(${APP_NAME} - luabinding + luacocos2d + luacocosdenshion + luanetwork + luacocosbuilder + luacocostudio + luaspine + luaextension + luaui + cocos2d + audio cocostudio + spine cocosbuilder extensions - audio - cocos2d ) set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin/${APP_NAME}") diff --git a/tests/lua-tests/project/Classes/AppDelegate.cpp b/tests/lua-tests/project/Classes/AppDelegate.cpp index ce312026d4..c38a9a1949 100644 --- a/tests/lua-tests/project/Classes/AppDelegate.cpp +++ b/tests/lua-tests/project/Classes/AppDelegate.cpp @@ -3,6 +3,7 @@ #include "CCLuaEngine.h" #include "audio/include/SimpleAudioEngine.h" #include "lua_assetsmanager_test_sample.h" +#include "lua_module_register.h" using namespace CocosDenshion; @@ -22,13 +23,22 @@ bool AppDelegate::applicationDidFinishLaunching() // register lua engine LuaEngine* pEngine = LuaEngine::getInstance(); ScriptEngineManager::getInstance()->setScriptEngine(pEngine); + LuaStack* stack = pEngine->getLuaStack(); stack->setXXTEAKeyAndSign("2dxLua", strlen("2dxLua"), "XXTEA", strlen("XXTEA")); - -#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID ||CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) - register_assetsmanager_test_sample(stack->getLuaState()); -#endif + + lua_State* L = stack->getLuaState(); + + lua_module_register(L); + #if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID ||CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) + lua_getglobal(L, "_G"); + if (lua_istable(L,-1))//stack:...,_G, + { + register_assetsmanager_test_sample(L); + } + lua_pop(L, 1); + #endif pEngine->executeScriptFile("src/controller.lua"); diff --git a/tests/lua-tests/project/Classes/lua_module_register.h b/tests/lua-tests/project/Classes/lua_module_register.h new file mode 100644 index 0000000000..a8e9e6d6be --- /dev/null +++ b/tests/lua-tests/project/Classes/lua_module_register.h @@ -0,0 +1,27 @@ +#ifndef __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ +#define __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ + +#include "extension/lua_cocos2dx_extension_manual.h" +#include "cocosbuilder/lua_cocos2dx_cocosbuilder_manual.h" +#include "cocostudio/lua_cocos2dx_coco_studio_manual.hpp" +#include "ui/lua_cocos2dx_ui_manual.hpp" +#include "spine/lua_cocos2dx_spine_manual.hpp" +#include "network/lua_cocos2dx_network_manual.h" +#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h" + + + +int lua_module_register(lua_State* L) +{ + register_extension_module(L); + register_cocostudio_module(L); + register_cocosbuilder_module(L); + register_ui_moudle(L); + register_spine_module(L); + register_network_module(L); + register_cocosdenshion_module(L); + return 1; +} + +#endif // __TEST_LUA_TESTS_PROJECT_CLASSES_LUA_MODULE_REGISTER_H__ + diff --git a/tests/lua-tests/project/proj.android/jni/Android.mk b/tests/lua-tests/project/proj.android/jni/Android.mk index 37abd43abb..e2b7121a98 100644 --- a/tests/lua-tests/project/proj.android/jni/Android.mk +++ b/tests/lua-tests/project/proj.android/jni/Android.mk @@ -15,8 +15,16 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../Classes LOCAL_STATIC_LIBRARIES := curl_static_prebuilt -LOCAL_WHOLE_STATIC_LIBRARIES := cocos_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosbuilder_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += spine_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += extension_lua_static +LOCAL_WHOLE_STATIC_LIBRARIES += ui_lua_static + include $(BUILD_SHARED_LIBRARY) -$(call import-module,scripting/lua-bindings) +$(call import-module,scripting/lua-bindings/proj.android) diff --git a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj index 0e3fb6f8e3..b80813c268 100644 --- a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj +++ b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj @@ -170,6 +170,7 @@ xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + @@ -178,35 +179,29 @@ xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" - - {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + + {9f2d6ce6-c893-4400-b50c-6db70cc2562f} - - {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + {f8198014-f4f3-49f0-88ab-c1969a5829af} - - {811c0dab-7b96-4bd3-a154-b7572b58e4ab} + + {46a7d57a-7f25-4f52-823b-ffac4ff3a624} - - {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + {9640951e-c5d0-47b5-9c42-0bcada261c50} - - {b7c2a162-dec9-4418-972e-240ab3cbfcae} + + {7068296e-38a4-4bca-85db-3a09bd014847} - - {ddc3e27f-004d-4dd4-9dd3-931a013d2159} + + {65e52f4b-703f-419e-ad67-926241a10042} - - {df2638c0-8128-4847-867c-6eafe3dee7b5} + + {31ef6ab1-0d9a-4bc6-99b8-2c482ea373c4} - - {7e06e92c-537a-442b-9e4a-4761c84f8a1a} - - - {21b2c324-891f-48ea-ad1a-5ae13de12e28} - - - {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + {fe78eebb-3dbb-4713-8cbf-63d742c5bd82} diff --git a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj.filters b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj.filters index 12f4b9ee7c..e6cf7a3008 100644 --- a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj.filters +++ b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj.filters @@ -18,6 +18,9 @@ Classes + + Classes + diff --git a/tests/lua-tests/src/CocoStudioTest/CocoStudioActionTimelineTest/CocoStudioActionTimelineTest.lua b/tests/lua-tests/src/CocoStudioTest/CocoStudioActionTimelineTest/CocoStudioActionTimelineTest.lua index e3a3d63916..d2319daf07 100644 --- a/tests/lua-tests/src/CocoStudioTest/CocoStudioActionTimelineTest/CocoStudioActionTimelineTest.lua +++ b/tests/lua-tests/src/CocoStudioTest/CocoStudioActionTimelineTest/CocoStudioActionTimelineTest.lua @@ -96,8 +96,8 @@ function TimelineTestLayer.create() end function TimelineTestLayer.backCallback() - local newScene = TimelineTestScene.create() - newScene:addChild(backimelineTest()) + local newScene = TimelineTestScene.create() + newScene:addChild(backTimelineTest()) cc.Director:getInstance():replaceScene(newScene) end diff --git a/tests/lua-tests/src/ExtensionTest/ExtensionTest.lua b/tests/lua-tests/src/ExtensionTest/ExtensionTest.lua index d0b5b72def..602aa260d3 100644 --- a/tests/lua-tests/src/ExtensionTest/ExtensionTest.lua +++ b/tests/lua-tests/src/ExtensionTest/ExtensionTest.lua @@ -1,3 +1,4 @@ +require "ExtensionConstants" require "src/ExtensionTest/CocosBuilderTest" require "src/ExtensionTest/WebProxyTest" diff --git a/tests/lua-tests/src/ExtensionTest/WebProxyTest.lua b/tests/lua-tests/src/ExtensionTest/WebProxyTest.lua index 9545978279..c14ffeab8c 100644 --- a/tests/lua-tests/src/ExtensionTest/WebProxyTest.lua +++ b/tests/lua-tests/src/ExtensionTest/WebProxyTest.lua @@ -1,4 +1,4 @@ - + require "NetworkConstants" local function WebSocketTestLayer() local layer = cc.Layer:create() local winSize = cc.Director:getInstance():getWinSize() diff --git a/tests/lua-tests/src/controller.lua b/tests/lua-tests/src/controller.lua index a4fb1c9718..df010e4491 100644 --- a/tests/lua-tests/src/controller.lua +++ b/tests/lua-tests/src/controller.lua @@ -2,7 +2,6 @@ -- avoid memory leak collectgarbage("setpause", 100) collectgarbage("setstepmul", 5000) - ---------------- -- run @@ -72,7 +71,6 @@ end addSearchPath("res/", screenSize.height) addSearchPath("", screenSize.height) - require "src/mainMenu" local scene = cc.Scene:create() diff --git a/tools/cocos2d-console b/tools/cocos2d-console index 5db5a4283a..65e93f5d57 160000 --- a/tools/cocos2d-console +++ b/tools/cocos2d-console @@ -1 +1 @@ -Subproject commit 5db5a4283aa22e362901e2924146ad66c2e1484f +Subproject commit 65e93f5d573f203c2a193d038f831ae635ac3e9d diff --git a/tools/jenkins-scripts/ci-dailybuild-android.py b/tools/jenkins-scripts/ci-dailybuild-android.py index 469ff1680a..3a48db9b9e 100644 --- a/tools/jenkins-scripts/ci-dailybuild-android.py +++ b/tools/jenkins-scripts/ci-dailybuild-android.py @@ -42,28 +42,33 @@ def strip_android_libs(): _cmd = strip_cmd + ' ./tests/cpp-tests/proj.android/obj/local/armeabi/*.a' os.system(_cmd) -def save_build_stats(filename, size): +def connect_db(): db_host = os.environ['db_host'] db_user = os.environ['db_user'] db_pw = os.environ['db_pw'] db = MySQLdb.connect(db_host, db_user, db_pw, "dailybuild" ) + return db + +def close_db(db): + db.close() + +def save_build_stats(db, filename, size): cursor = db.cursor() sql = "INSERT INTO %s (size, createdTime) VALUES(%d, now())" % (filename, size) print sql cursor.execute(sql) db.commit() - db.close() -def scan_all_libs(): +def scan_all_libs(db): stats = {} _path = 'tests/cpp-empty-test/proj.android/libs/armeabi/libcpp_empty_test.so' filesize = os.path.getsize(_path)/1024 stats['libcpp_empty_test'] = filesize - save_build_stats('libcpp_empty_test', filesize) + save_build_stats(db, 'libcpp_empty_test', filesize) _path = 'tests/lua-empty-test/project/proj.android/libs/armeabi/liblua_empty_test.so' filesize = os.path.getsize(_path)/1024 stats['liblua_empty_test'] = filesize - save_build_stats('liblua_empty_test', filesize) + save_build_stats(db, 'liblua_empty_test', filesize) lib_path = './tests/cpp-tests/proj.android/obj/local/armeabi' for root, dirs, files in os.walk(lib_path): for _file in files: @@ -74,7 +79,7 @@ def scan_all_libs(): _filename = _file.split('.')[0] filesize = os.path.getsize(libfile)/1024 stats[_filename]=filesize - save_build_stats(_filename, filesize) + save_build_stats(db, _filename, filesize) return stats def send_mail(sub,title,content): @@ -138,7 +143,9 @@ def main(): ret = os.system('python build/android-build.py -b release all') if(ret == 0): strip_android_libs() - stats = scan_all_libs() + db = connect_db() + stats = scan_all_libs(db) + close_db(db) sendEmail(stats) os.system('git clean -xdf -f') print 'build exit' diff --git a/tools/jenkins-scripts/job-trigger.py b/tools/jenkins-scripts/job-trigger.py index fbdcf0c3e1..fb979066ca 100755 --- a/tools/jenkins-scripts/job-trigger.py +++ b/tools/jenkins-scripts/job-trigger.py @@ -8,6 +8,9 @@ import sys import traceback from jenkinsapi.jenkins import Jenkins +access_token = os.environ['GITHUB_ACCESS_TOKEN'] +Headers = {"Authorization":"token " + access_token} + http_proxy = '' if(os.environ.has_key('HTTP_PROXY')): http_proxy = os.environ['HTTP_PROXY'] @@ -28,8 +31,6 @@ def check_queue_build(action, pr_num, statuses_url): queues.delete_item(queue) target_url = os.environ['JOB_PULL_REQUEST_BUILD_URL'] data = {"state":"error", "target_url":target_url} - access_token = os.environ['GITHUB_ACCESS_TOKEN'] - Headers = {"Authorization":"token " + access_token} try: requests.post(statuses_url, data=json.dumps(data), headers=Headers, proxies = proxyDict) except: @@ -76,7 +77,7 @@ def main(): print 'pull request #' + str(pr_num) + ' is '+action+', no build triggered' return(0) - r = requests.get(pr['url']+"/commits", proxies = proxyDict) + r = requests.get(pr['url']+"/commits", headers=Headers, proxies = proxyDict) commits = r.json() last_commit = commits[len(commits)-1] message = last_commit['commit']['message'] @@ -91,8 +92,7 @@ def main(): return(0) data = {"state":"pending", "target_url":target_url, "context":"Jenkins CI", "description":"Waiting available build machine..."} - access_token = os.environ['GITHUB_ACCESS_TOKEN'] - Headers = {"Authorization":"token " + access_token} + try: requests.post(statuses_url, data=json.dumps(data), headers=Headers, proxies = proxyDict) diff --git a/tools/tolua/cocos2dx.ini b/tools/tolua/cocos2dx.ini index a62975c257..613fa813a7 100644 --- a/tools/tolua/cocos2dx.ini +++ b/tools/tolua/cocos2dx.ini @@ -22,11 +22,11 @@ cxxgenerator_headers = extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s # what headers to parse -headers = %(cocosdir)s/cocos/cocos2d.h %(cocosdir)s/cocos/audio/include/SimpleAudioEngine.h %(cocosdir)s/cocos/2d/CCProtectedNode.h %(cocosdir)s/cocos/3d/CCAnimation3D.h %(cocosdir)s/cocos/3d/CCAnimate3D.h +headers = %(cocosdir)s/cocos/cocos2d.h %(cocosdir)s/cocos/2d/CCProtectedNode.h %(cocosdir)s/cocos/3d/CCAnimation3D.h %(cocosdir)s/cocos/3d/CCAnimate3D.h # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu*$". -classes = New.* Sprite.* Scene Node.* Director Layer.* Menu.* Touch .*Action.* Move.* Rotate.* Blink.* Tint.* Sequence Repeat.* Fade.* Ease.* Scale.* Transition.* Spawn Animat.* Flip.* Delay.* Skew.* Jump.* Place.* Show.* Progress.* PointArray ToggleVisibility.* RemoveSelf Hide Particle.* Label.* Atlas.* TextureCache.* Texture2D Cardinal.* CatmullRom.* ParallaxNode TileMap.* .*TMX.* CallFunc RenderTexture GridAction Grid3DAction GridBase$ .+Grid Shaky3D Waves3D FlipX3D FlipY3D Speed ActionManager Set SimpleAudioEngine Scheduler Timer Orbit.* Follow.* Bezier.* CardinalSpline.* Camera.* DrawNode .*3D$ Liquid$ Waves$ ShuffleTiles$ TurnOffTiles$ Split.* Twirl$ FileUtils$ GLProgram ShaderCache Application ClippingNode MotionStreak ^Ref$ UserDefault GLViewImpl GLView Image Event(?!.*(Physics).*).* Component ProtectedNode Console Mesh GLProgramCache GLProgramState SubMeshState AttachNode +classes = New.* Sprite.* Scene Node.* Director Layer.* Menu.* Touch .*Action.* Move.* Rotate.* Blink.* Tint.* Sequence Repeat.* Fade.* Ease.* Scale.* Transition.* Spawn Animat.* Flip.* Delay.* Skew.* Jump.* Place.* Show.* Progress.* PointArray ToggleVisibility.* RemoveSelf Hide Particle.* Label.* Atlas.* TextureCache.* Texture2D Cardinal.* CatmullRom.* ParallaxNode TileMap.* .*TMX.* CallFunc RenderTexture GridAction Grid3DAction GridBase$ .+Grid Shaky3D Waves3D FlipX3D FlipY3D Speed ActionManager Set Scheduler Timer Orbit.* Follow.* Bezier.* CardinalSpline.* Camera.* DrawNode .*3D$ Liquid$ Waves$ ShuffleTiles$ TurnOffTiles$ Split.* Twirl$ FileUtils$ GLProgram ShaderCache Application ClippingNode MotionStreak ^Ref$ UserDefault GLViewImpl GLView Image Event(?!.*(Physics).*).* Component ProtectedNode Console Mesh GLProgramCache GLProgramState SubMeshState AttachNode # what should we skip? in the format ClassName::[function function] # ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also @@ -145,25 +145,23 @@ rename_functions = SpriteFrameCache::[addSpriteFramesWithFile=addSpriteFrames ge Sprite::[initWithFile=init], SpriteBatchNode::[initWithFile=init], Touch::[getID=getId], - SimpleAudioEngine::[preloadBackgroundMusic=preloadMusic setBackgroundMusicVolume=setMusicVolume getBackgroundMusicVolume=getMusicVolume playBackgroundMusic=playMusic stopBackgroundMusic=stopMusic pauseBackgroundMusic=pauseMusic resumeBackgroundMusic=resumeMusic rewindBackgroundMusic=rewindMusic isBackgroundMusicPlaying=isMusicPlaying willPlayBackgroundMusic=willPlayMusic end=destroyInstance], FileUtils::[loadFilenameLookupDictionaryFromFile=loadFilenameLookup], Director::[end=endToLua] -rename_classes = ParticleSystemQuad::ParticleSystem, - SimpleAudioEngine::AudioEngine +rename_classes = ParticleSystemQuad::ParticleSystem # for all class names, should we remove something when registering in the target VM? remove_prefix = # classes for which there will be no "parent" lookup -classes_have_no_parents = Director SimpleAudioEngine FileUtils TMXMapInfo Application +classes_have_no_parents = Director FileUtils TMXMapInfo Application # base classes which will be skipped when their sub-classes found them. base_classes_to_skip = Clonable # classes that create no constructor # Set is special and we will use a hand-written constructor -abstract_classes = Action FiniteTimeAction ActionInterval ActionEase EaseRateAction EaseElastic EaseBounce ActionInstant GridAction Grid3DAction TiledGrid3DAction Director SpriteFrameCache TransitionEaseScene Set SimpleAudioEngine FileUtils Application ClippingNode Label GLViewImpl GLView EventAcceleration DisplayLinkDirector Component Console +abstract_classes = Action FiniteTimeAction ActionInterval ActionEase EaseRateAction EaseElastic EaseBounce ActionInstant GridAction Grid3DAction TiledGrid3DAction Director SpriteFrameCache TransitionEaseScene Set FileUtils Application ClippingNode Label GLViewImpl GLView EventAcceleration DisplayLinkDirector Component Console # 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 diff --git a/tools/tolua/cocos2dx_cocosbuilder.ini b/tools/tolua/cocos2dx_cocosbuilder.ini new file mode 100644 index 0000000000..40a7de384b --- /dev/null +++ b/tools/tolua/cocos2dx_cocosbuilder.ini @@ -0,0 +1,64 @@ +[cocos2dx_cocosbuilder] +# the prefix to be added to the generated functions. You might or might not use this in your own +# templates +prefix = cocos2dx_cocosbuilder + +# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) +# all classes will be embedded in that namespace +target_namespace = cc + +android_headers = -I%(androidndkdir)s/platforms/android-14/arch-arm/usr/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.7/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.8/include +android_flags = -D_SIZE_T_DEFINED_ + +clang_headers = -I%(clangllvmdir)s/lib/clang/3.3/include +clang_flags = -nostdinc -x c++ -std=c++11 + +cocos_headers = -I%(cocosdir)s -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/editor-support -I%(cocosdir)s/cocos/platform/android + +cocos_flags = -DANDROID + +cxxgenerator_headers = + +# extra arguments for clang +extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s + +# what headers to parse +headers = %(cocosdir)s/cocos/editor-support/cocosbuilder/CocosBuilder.h + +# what classes to produce code for. You can use regular expressions here. When testing the regular +# expression, it will be enclosed in "^$", like this: "^Menu*$". +classes = CCBReader.* CCBAnimationManager.* + +# what should we skip? in the format ClassName::[function function] +# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also +# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just +# add a single "*" as functions. See bellow for several examples. A special class name is "*", which +# will apply to all class names. This is a convenience wildcard to be able to skip similar named +# functions from all classes. + +skip = CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers], + CCBAnimationManager::[setAnimationCompletedCallback setCallFunc addNode], + .*Delegate::[*], + .*Loader.*::[*], + *::[^visit$ copyWith.* onEnter.* onExit.* ^description$ getObjectType (g|s)etDelegate .*HSV] + +rename_functions = CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager] + +rename_classes = + +# for all class names, should we remove something when registering in the target VM? +remove_prefix = + +# classes for which there will be no "parent" lookup +classes_have_no_parents = + +# base classes which will be skipped when their sub-classes found them. +base_classes_to_skip = + +# classes that create no constructor +# Set is special and we will use a hand-written constructor +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 + diff --git a/tools/tolua/cocos2dx_cocosdenshion.ini b/tools/tolua/cocos2dx_cocosdenshion.ini new file mode 100644 index 0000000000..b032989626 --- /dev/null +++ b/tools/tolua/cocos2dx_cocosdenshion.ini @@ -0,0 +1,59 @@ +[cocos2dx_cocosdenshion] +# the prefix to be added to the generated functions. You might or might not use this in your own +# templates +prefix = cocos2dx_cocosdenshion + +# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) +# all classes will be embedded in that namespace +target_namespace = cc + +android_headers = -I%(androidndkdir)s/platforms/android-14/arch-arm/usr/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.7/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I%(androidndkdir)s/sources/cxx-stl/gnu-libstdc++/4.8/include +android_flags = -D_SIZE_T_DEFINED_ + +clang_headers = -I%(clangllvmdir)s/lib/clang/3.3/include +clang_flags = -nostdinc -x c++ -std=c++11 + +cocos_headers = -I%(cocosdir)s -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/platform/android + +cocos_flags = -DANDROID + +cxxgenerator_headers = + +# extra arguments for clang +extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s + +# what headers to parse +headers = %(cocosdir)s/cocos/audio/include/SimpleAudioEngine.h + +# what classes to produce code for. You can use regular expressions here. When testing the regular +# expression, it will be enclosed in "^$", like this: "^Menu*$". +classes = SimpleAudioEngine + +# what should we skip? in the format ClassName::[function function] +# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also +# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just +# add a single "*" as functions. See bellow for several examples. A special class name is "*", which +# will apply to all class names. This is a convenience wildcard to be able to skip similar named +# functions from all classes. + +skip = + +rename_functions = SimpleAudioEngine::[preloadBackgroundMusic=preloadMusic setBackgroundMusicVolume=setMusicVolume getBackgroundMusicVolume=getMusicVolume playBackgroundMusic=playMusic stopBackgroundMusic=stopMusic pauseBackgroundMusic=pauseMusic resumeBackgroundMusic=resumeMusic rewindBackgroundMusic=rewindMusic isBackgroundMusicPlaying=isMusicPlaying willPlayBackgroundMusic=willPlayMusic end=destroyInstance] + +rename_classes = + +# for all class names, should we remove something when registering in the target VM? +remove_prefix = + +# classes for which there will be no "parent" lookup +classes_have_no_parents = SimpleAudioEngine + +# base classes which will be skipped when their sub-classes found them. +base_classes_to_skip = Clonable + +# classes that create no constructor +# Set is special and we will use a hand-written constructor +abstract_classes = SimpleAudioEngine + +# 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 diff --git a/tools/tolua/cocos2dx_extension.ini b/tools/tolua/cocos2dx_extension.ini index 5e5e1c39f6..03e0829edb 100644 --- a/tools/tolua/cocos2dx_extension.ini +++ b/tools/tolua/cocos2dx_extension.ini @@ -23,11 +23,11 @@ cxxgenerator_headers = extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s # what headers to parse -headers = %(cocosdir)s/extensions/cocos-ext.h %(cocosdir)s/cocos/editor-support/cocosbuilder/CocosBuilder.h +headers = %(cocosdir)s/extensions/cocos-ext.h # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu*$". -classes = AssetsManager.* CCBReader.* CCBAnimationManager.* Scale9Sprite Control.* ControlButton.* EditBox$ ScrollView$ TableView$ TableViewCell$ +classes = AssetsManager.* Scale9Sprite Control.* ControlButton.* EditBox$ ScrollView$ TableView$ TableViewCell$ # what should we skip? in the format ClassName::[function function] # ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also @@ -36,9 +36,7 @@ classes = AssetsManager.* CCBReader.* CCBAnimationManager.* Scale9Sprite Control # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getCCBMemberVariableAssigner readFloat getCCBSelectorResolver toLowerCase lastPathComponent deletePathExtension endsWith concat getResolutionScale getAnimatedProperties readBool readInt addOwnerCallbackNode addDocumentCallbackName readCachedString readNodeGraphFromData addDocumentCallbackNode getLoadedSpriteSheet initWithData readFileWithCleanUp getOwner$ readNodeGraphFromFile createSceneWithNodeGraphFromFile getAnimationManagers$ setAnimationManagers], - CCBAnimationManager::[setAnimationCompletedCallback setCallFunc addNode], - .*Delegate::[*], +skip = .*Delegate::[*], .*Loader.*::[*], *::[^visit$ copyWith.* onEnter.* onExit.* ^description$ getObjectType (g|s)etDelegate .*HSV], EditBox::[(g|s)etDelegate ^keyboard.* touchDownAction getScriptEditBoxHandler registerScriptEditBoxHandler unregisterScriptEditBoxHandler], @@ -51,10 +49,9 @@ skip = CCBReader::[^CCBReader$ addOwnerCallbackName isJSControlled readByte getC TableView::[create (g|s)etDataSource$ (g|s)etDelegate] -rename_functions = CCBReader::[getAnimationManager=getActionManager setAnimationManager=setActionManager] +rename_functions = -rename_classes = CCBReader::_Reader, - CCBAnimationManager::AnimationManager +rename_classes = # for all class names, should we remove something when registering in the target VM? remove_prefix = @@ -67,7 +64,7 @@ base_classes_to_skip = # classes that create no constructor # Set is special and we will use a hand-written constructor -abstract_classes = ArmatureDataManager +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 diff --git a/tools/tolua/genbindings.py b/tools/tolua/genbindings.py index 72fa4824bd..4e836491e5 100755 --- a/tools/tolua/genbindings.py +++ b/tools/tolua/genbindings.py @@ -135,6 +135,8 @@ def main(): 'cocos2dx_experimental_video.ini' : ('cocos2dx_experimental_video', 'lua_cocos2dx_experimental_video_auto'), \ 'cocos2dx_experimental.ini' : ('cocos2dx_experimental', 'lua_cocos2dx_experimental_auto'), \ 'cocos2dx_controller.ini' : ('cocos2dx_controller', 'lua_cocos2dx_controller_auto'), \ + 'cocos2dx_cocosbuilder.ini': ('cocos2dx_cocosbuilder', 'lua_cocos2dx_cocosbuilder_auto'), \ + 'cocos2dx_cocosdenshion.ini': ('cocos2dx_cocosdenshion', 'lua_cocos2dx_cocosdenshion_auto'), \ } target = 'lua' generator_py = '%s/generator.py' % cxx_generator_root