gdextension: Sync with upstream commit d2699dc7ab96fbd75faccc1f32f55baebf1d84dc (4.0-rc2)

pull/1040/head
Rémi Verschelde 2023-02-14 19:12:02 +01:00
parent 8a3faaa649
commit 0068320ff1
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 110 additions and 8 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4, "version_major": 4,
"version_minor": 0, "version_minor": 0,
"version_patch": 0, "version_patch": 0,
"version_status": "rc1", "version_status": "rc2",
"version_build": "official", "version_build": "official",
"version_full_name": "Godot Engine v4.0.rc1.official" "version_full_name": "Godot Engine v4.0.rc2.official"
}, },
"builtin_class_sizes": [ "builtin_class_sizes": [
{ {
@ -32256,6 +32256,39 @@
"type": "Vector3" "type": "Vector3"
} }
}, },
{
"name": "get_root_motion_position_accumulator",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3360562783,
"return_value": {
"type": "Vector3"
}
},
{
"name": "get_root_motion_rotation_accumulator",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1222331677,
"return_value": {
"type": "Quaternion"
}
},
{
"name": "get_root_motion_scale_accumulator",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3360562783,
"return_value": {
"type": "Vector3"
}
},
{ {
"name": "advance", "name": "advance",
"is_const": false, "is_const": false,
@ -38530,7 +38563,7 @@
"hash": 83702148, "hash": 83702148,
"arguments": [ "arguments": [
{ {
"name": "output_device", "name": "name",
"type": "String" "type": "String"
} }
] ]
@ -84946,7 +84979,27 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1327703655, "hash": 1850254898,
"return_value": {
"type": "enum::Error"
},
"arguments": [
{
"name": "language",
"type": "ScriptLanguage"
}
]
},
{
"name": "unregister_script_language",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1850254898,
"return_value": {
"type": "enum::Error"
},
"arguments": [ "arguments": [
{ {
"name": "language", "name": "language",
@ -117040,7 +117093,7 @@
"hash": 1286410249, "hash": 1286410249,
"arguments": [ "arguments": [
{ {
"name": "lines_visible", "name": "visible_lines",
"type": "int", "type": "int",
"meta": "int32" "meta": "int32"
} }
@ -152613,7 +152666,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 550215980, "hash": 550215980,
"return_value": { "return_value": {
"type": "typedarray::PackedVector2Array" "type": "typedarray::PackedVector3Array"
}, },
"arguments": [ "arguments": [
{ {
@ -181218,7 +181271,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1102329001, "hash": 125363422,
"return_value": { "return_value": {
"type": "PackedByteArray" "type": "PackedByteArray"
}, },
@ -181226,6 +181279,18 @@
{ {
"name": "buffer", "name": "buffer",
"type": "RID" "type": "RID"
},
{
"name": "offset_bytes",
"type": "int",
"meta": "uint32",
"default_value": "0"
},
{
"name": "size_bytes",
"type": "int",
"meta": "uint32",
"default_value": "0"
} }
] ]
}, },
@ -237947,6 +238012,43 @@
"type": "enum::TileMap.VisibilityMode" "type": "enum::TileMap.VisibilityMode"
} }
}, },
{
"name": "set_navigation_map",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4040184819,
"arguments": [
{
"name": "layer",
"type": "int",
"meta": "int32"
},
{
"name": "map",
"type": "RID"
}
]
},
{
"name": "get_navigation_map",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 495598643,
"return_value": {
"type": "RID"
},
"arguments": [
{
"name": "layer",
"type": "int",
"meta": "int32"
}
]
},
{ {
"name": "set_cell", "name": "set_cell",
"is_const": false, "is_const": false,

View File

@ -554,7 +554,7 @@ typedef struct {
GDExtensionVariantPtr (*array_operator_index)(GDExtensionTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr GDExtensionVariantPtr (*array_operator_index)(GDExtensionTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
GDExtensionVariantPtr (*array_operator_index_const)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr GDExtensionVariantPtr (*array_operator_index_const)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
void (*array_ref)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); // p_self should be an Array ptr void (*array_ref)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); // p_self should be an Array ptr
void (*array_set_typed)(GDExtensionTypePtr p_self, uint32_t p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr void (*array_set_typed)(GDExtensionTypePtr p_self, GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr
/* Dictionary functions */ /* Dictionary functions */