Compare commits
22
Commits
develop-25
...
develop-28
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edc75f8839 | ||
|
|
9b5264d916 | ||
|
|
beb685b3a1 | ||
|
|
f290ea0ae2 | ||
|
|
38354f3cc7 | ||
|
|
547332b8be | ||
|
|
823bc20c60 | ||
|
|
06c42fcd05 | ||
|
|
7983e5d777 | ||
|
|
109587f1dd | ||
|
|
4063971d00 | ||
|
|
80ca0b1f3c | ||
|
|
5fc3b6118c | ||
|
|
60b1792049 | ||
|
|
e24d2a019b | ||
|
|
53b03aa1de | ||
|
|
4296d772c0 | ||
|
|
8bfff93881 | ||
|
|
40df568df1 | ||
|
|
2a80c4c6db | ||
|
|
6e292f061a | ||
|
|
e1ee5ad00a |
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -255,6 +255,7 @@ declare namespace Bullet {
|
|||||||
// CharacterController
|
// CharacterController
|
||||||
ControllerHitReport_new(): ptr;
|
ControllerHitReport_new(): ptr;
|
||||||
CharacterController_getGhostObject(ptrCCT: ptr): ptr;
|
CharacterController_getGhostObject(ptrCCT: ptr): ptr;
|
||||||
|
CharacterController_getCollisionShape(ptrCCT: ptr): ptr;
|
||||||
ControllerHit_getCurrentController(p: ptr): ptr;
|
ControllerHit_getCurrentController(p: ptr): ptr;
|
||||||
ControllerHit_getHitWorldPos(p: ptr): ptr;
|
ControllerHit_getHitWorldPos(p: ptr): ptr;
|
||||||
ControllerHit_getHitWorldNormal(p: ptr): ptr;
|
ControllerHit_getHitWorldNormal(p: ptr): ptr;
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Vendored
-4
@@ -6,10 +6,6 @@ declare module 'external:emscripten/spine/spine.wasm.js' {
|
|||||||
export default SpineWasm;
|
export default SpineWasm;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module 'external:emscripten/spine/spine.wasm.fallback.js' {
|
|
||||||
export default SpineWasm;
|
|
||||||
}
|
|
||||||
|
|
||||||
// tslint:disable
|
// tslint:disable
|
||||||
declare function SpineWasm (moduleOptions?: any): Promise<void>;
|
declare function SpineWasm (moduleOptions?: any): Promise<void>;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -21,4 +21,11 @@
|
|||||||
%include <javascriptinit.swg>
|
%include <javascriptinit.swg>
|
||||||
|
|
||||||
#define %module_macro(m) %feature("module_macro","m")
|
#define %module_macro(m) %feature("module_macro","m")
|
||||||
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
||||||
|
|
||||||
|
%define %virtual_inherit(klass)
|
||||||
|
%feature("virtual_inherit", "1") klass;
|
||||||
|
%typemap(in) klass *self
|
||||||
|
%{ $1 = SE_THIS_OBJECT_VIRTUAL<$*ltype, cc::VirtualInheritBase>(s);
|
||||||
|
if (nullptr == $1) return true;%}
|
||||||
|
%enddef
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
$js_check_arg_count
|
$js_check_arg_count
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
||||||
@@ -62,8 +61,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
CC_UNUSED bool ok = true;
|
CC_UNUSED bool ok = true;
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
@@ -86,19 +84,20 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
%fragment ("js_dtor", "templates")
|
%fragment ("js_dtor", "templates")
|
||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s) {
|
static bool $jswrapper(se::State& s) {
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* - ${destructor_action}: The custom destructor action to invoke.
|
* - ${destructor_action}: The custom destructor action to invoke.
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
@@ -106,6 +105,7 @@ SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
|||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s)
|
static bool $jswrapper(se::State& s)
|
||||||
{
|
{
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|||||||
Binary file not shown.
@@ -21,4 +21,11 @@
|
|||||||
%include <javascriptinit.swg>
|
%include <javascriptinit.swg>
|
||||||
|
|
||||||
#define %module_macro(m) %feature("module_macro","m")
|
#define %module_macro(m) %feature("module_macro","m")
|
||||||
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
||||||
|
|
||||||
|
%define %virtual_inherit(klass)
|
||||||
|
%feature("virtual_inherit", "1") klass;
|
||||||
|
%typemap(in) klass *self
|
||||||
|
%{ $1 = SE_THIS_OBJECT_VIRTUAL<$*ltype, cc::VirtualInheritBase>(s);
|
||||||
|
if (nullptr == $1) return true;%}
|
||||||
|
%enddef
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
$js_check_arg_count
|
$js_check_arg_count
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
||||||
@@ -62,8 +61,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
CC_UNUSED bool ok = true;
|
CC_UNUSED bool ok = true;
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
@@ -86,19 +84,20 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
%fragment ("js_dtor", "templates")
|
%fragment ("js_dtor", "templates")
|
||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s) {
|
static bool $jswrapper(se::State& s) {
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* - ${destructor_action}: The custom destructor action to invoke.
|
* - ${destructor_action}: The custom destructor action to invoke.
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
@@ -106,6 +105,7 @@ SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
|||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s)
|
static bool $jswrapper(se::State& s)
|
||||||
{
|
{
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|||||||
@@ -72,6 +72,13 @@ set_target_properties(curl PROPERTIES
|
|||||||
IMPORTED_LOCATION ${ohos_lib_dir}/libcurl.a
|
IMPORTED_LOCATION ${ohos_lib_dir}/libcurl.a
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# curl needs to link the following libraries.
|
||||||
|
list(APPEND CC_EXTERNAL_LIBS
|
||||||
|
mbedtls
|
||||||
|
mbedcrypto
|
||||||
|
mbedx509
|
||||||
|
)
|
||||||
|
|
||||||
set(se_libs_name)
|
set(se_libs_name)
|
||||||
|
|
||||||
if(USE_SE_V8)
|
if(USE_SE_V8)
|
||||||
@@ -122,9 +129,6 @@ endif()
|
|||||||
if(USE_SOCKET)
|
if(USE_SOCKET)
|
||||||
list(APPEND CC_EXTERNAL_LIBS
|
list(APPEND CC_EXTERNAL_LIBS
|
||||||
websockets
|
websockets
|
||||||
mbedtls
|
|
||||||
mbedcrypto
|
|
||||||
mbedx509
|
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
+3
-5
@@ -40,7 +40,7 @@ png
|
|||||||
openharmony: 1.6.37
|
openharmony: 1.6.37
|
||||||
sdl
|
sdl
|
||||||
win32: 2.0.10
|
win32: 2.0.10
|
||||||
win64: 2.0.14
|
win64: 2.28.1
|
||||||
linux: 2.0.20
|
linux: 2.0.20
|
||||||
|
|
||||||
jpeg
|
jpeg
|
||||||
@@ -139,7 +139,5 @@ glslang (Built using https://github.com/YunHsiao/glslang/tree/build)
|
|||||||
linux: 11.5.0
|
linux: 11.5.0
|
||||||
openharmony:11.5.0 (commit: 1978c76)
|
openharmony:11.5.0 (commit: 1978c76)
|
||||||
|
|
||||||
swig ( Built using https://github.com/cocos/swig/tree/cocos-se, executable files are downloaded from https://github.com/cocos/swig/releases/tag/cocos-v1.1.4 )
|
swig ( Built using https://github.com/cocos/swig/tree/cocos-se, executable files are downloaded from https://github.com/cocos/swig/releases/tag/cocos-v1.1.7 )
|
||||||
win64: cocos-v1.1.4 (commit: 9807544)
|
all: cocos-v1.1.7 (commit: 7969da2)
|
||||||
mac: cocos-v1.1.4 (commit: 9807544)
|
|
||||||
linux: cocos-v1.1.4 (commit: 9807544)
|
|
||||||
|
|||||||
Binary file not shown.
@@ -21,4 +21,11 @@
|
|||||||
%include <javascriptinit.swg>
|
%include <javascriptinit.swg>
|
||||||
|
|
||||||
#define %module_macro(m) %feature("module_macro","m")
|
#define %module_macro(m) %feature("module_macro","m")
|
||||||
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
#define %release_returned_cpp_object_in_gc(method) %feature("release_returned_cpp_object_in_gc", "1") method
|
||||||
|
|
||||||
|
%define %virtual_inherit(klass)
|
||||||
|
%feature("virtual_inherit", "1") klass;
|
||||||
|
%typemap(in) klass *self
|
||||||
|
%{ $1 = SE_THIS_OBJECT_VIRTUAL<$*ltype, cc::VirtualInheritBase>(s);
|
||||||
|
if (nullptr == $1) return true;%}
|
||||||
|
%enddef
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
$js_check_arg_count
|
$js_check_arg_count
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
SE_BIND_CTOR($jswrapper, __jsb_$jsmangledname_class, js_delete_$jsdtor)%}
|
||||||
@@ -62,8 +61,7 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
CC_UNUSED bool ok = true;
|
CC_UNUSED bool ok = true;
|
||||||
$jslocals
|
$jslocals
|
||||||
$jscode
|
$jscode
|
||||||
auto *ptr = JSB_MAKE_PRIVATE_OBJECT_WITH_INSTANCE(result);
|
$js_set_private_object
|
||||||
s.thisObject()->setPrivateObject(ptr);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
@@ -86,19 +84,20 @@ static bool $jswrapper(se::State& s) // NOLINT(readability-identifier-naming)
|
|||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
%fragment ("js_dtor", "templates")
|
%fragment ("js_dtor", "templates")
|
||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s) {
|
static bool $jswrapper(se::State& s) {
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* js_dtor: template for a destructor wrapper
|
* js_dtor: template for a destructor wrapper
|
||||||
* - $jsmangledname: mangled class name
|
* - $classname_mangled: mangled class name
|
||||||
* - $jstype: class type
|
* - $jstype: class type
|
||||||
* - ${destructor_action}: The custom destructor action to invoke.
|
* - ${destructor_action}: The custom destructor action to invoke.
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
@@ -106,6 +105,7 @@ SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
|||||||
%{
|
%{
|
||||||
static bool $jswrapper(se::State& s)
|
static bool $jswrapper(se::State& s)
|
||||||
{
|
{
|
||||||
|
cc::invokeOnGarbageCollectMethod<$jsclass_type>(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
SE_BIND_FINALIZE_FUNC($jswrapper) %}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user