Skip to content

Commit 0068320

Browse files
committed
gdextension: Sync with upstream commit d2699dc7ab96fbd75faccc1f32f55baebf1d84dc (4.0-rc2)
1 parent 8a3faaa commit 0068320

File tree

2 files changed

+110
-8
lines changed

2 files changed

+110
-8
lines changed

gdextension/extension_api.json

Lines changed: 109 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version_major": 4,
44
"version_minor": 0,
55
"version_patch": 0,
6-
"version_status": "rc1",
6+
"version_status": "rc2",
77
"version_build": "official",
8-
"version_full_name": "Godot Engine v4.0.rc1.official"
8+
"version_full_name": "Godot Engine v4.0.rc2.official"
99
},
1010
"builtin_class_sizes": [
1111
{
@@ -32256,6 +32256,39 @@
3225632256
"type": "Vector3"
3225732257
}
3225832258
},
32259+
{
32260+
"name": "get_root_motion_position_accumulator",
32261+
"is_const": true,
32262+
"is_vararg": false,
32263+
"is_static": false,
32264+
"is_virtual": false,
32265+
"hash": 3360562783,
32266+
"return_value": {
32267+
"type": "Vector3"
32268+
}
32269+
},
32270+
{
32271+
"name": "get_root_motion_rotation_accumulator",
32272+
"is_const": true,
32273+
"is_vararg": false,
32274+
"is_static": false,
32275+
"is_virtual": false,
32276+
"hash": 1222331677,
32277+
"return_value": {
32278+
"type": "Quaternion"
32279+
}
32280+
},
32281+
{
32282+
"name": "get_root_motion_scale_accumulator",
32283+
"is_const": true,
32284+
"is_vararg": false,
32285+
"is_static": false,
32286+
"is_virtual": false,
32287+
"hash": 3360562783,
32288+
"return_value": {
32289+
"type": "Vector3"
32290+
}
32291+
},
3225932292
{
3226032293
"name": "advance",
3226132294
"is_const": false,
@@ -38530,7 +38563,7 @@
3853038563
"hash": 83702148,
3853138564
"arguments": [
3853238565
{
38533-
"name": "output_device",
38566+
"name": "name",
3853438567
"type": "String"
3853538568
}
3853638569
]
@@ -84946,7 +84979,27 @@
8494684979
"is_vararg": false,
8494784980
"is_static": false,
8494884981
"is_virtual": false,
84949-
"hash": 1327703655,
84982+
"hash": 1850254898,
84983+
"return_value": {
84984+
"type": "enum::Error"
84985+
},
84986+
"arguments": [
84987+
{
84988+
"name": "language",
84989+
"type": "ScriptLanguage"
84990+
}
84991+
]
84992+
},
84993+
{
84994+
"name": "unregister_script_language",
84995+
"is_const": false,
84996+
"is_vararg": false,
84997+
"is_static": false,
84998+
"is_virtual": false,
84999+
"hash": 1850254898,
85000+
"return_value": {
85001+
"type": "enum::Error"
85002+
},
8495085003
"arguments": [
8495185004
{
8495285005
"name": "language",
@@ -117040,7 +117093,7 @@
117040117093
"hash": 1286410249,
117041117094
"arguments": [
117042117095
{
117043-
"name": "lines_visible",
117096+
"name": "visible_lines",
117044117097
"type": "int",
117045117098
"meta": "int32"
117046117099
}
@@ -152613,7 +152666,7 @@
152613152666
"is_virtual": false,
152614152667
"hash": 550215980,
152615152668
"return_value": {
152616-
"type": "typedarray::PackedVector2Array"
152669+
"type": "typedarray::PackedVector3Array"
152617152670
},
152618152671
"arguments": [
152619152672
{
@@ -181218,14 +181271,26 @@
181218181271
"is_vararg": false,
181219181272
"is_static": false,
181220181273
"is_virtual": false,
181221-
"hash": 1102329001,
181274+
"hash": 125363422,
181222181275
"return_value": {
181223181276
"type": "PackedByteArray"
181224181277
},
181225181278
"arguments": [
181226181279
{
181227181280
"name": "buffer",
181228181281
"type": "RID"
181282+
},
181283+
{
181284+
"name": "offset_bytes",
181285+
"type": "int",
181286+
"meta": "uint32",
181287+
"default_value": "0"
181288+
},
181289+
{
181290+
"name": "size_bytes",
181291+
"type": "int",
181292+
"meta": "uint32",
181293+
"default_value": "0"
181229181294
}
181230181295
]
181231181296
},
@@ -237947,6 +238012,43 @@
237947238012
"type": "enum::TileMap.VisibilityMode"
237948238013
}
237949238014
},
238015+
{
238016+
"name": "set_navigation_map",
238017+
"is_const": false,
238018+
"is_vararg": false,
238019+
"is_static": false,
238020+
"is_virtual": false,
238021+
"hash": 4040184819,
238022+
"arguments": [
238023+
{
238024+
"name": "layer",
238025+
"type": "int",
238026+
"meta": "int32"
238027+
},
238028+
{
238029+
"name": "map",
238030+
"type": "RID"
238031+
}
238032+
]
238033+
},
238034+
{
238035+
"name": "get_navigation_map",
238036+
"is_const": true,
238037+
"is_vararg": false,
238038+
"is_static": false,
238039+
"is_virtual": false,
238040+
"hash": 495598643,
238041+
"return_value": {
238042+
"type": "RID"
238043+
},
238044+
"arguments": [
238045+
{
238046+
"name": "layer",
238047+
"type": "int",
238048+
"meta": "int32"
238049+
}
238050+
]
238051+
},
237950238052
{
237951238053
"name": "set_cell",
237952238054
"is_const": false,

gdextension/gdextension_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ typedef struct {
554554
GDExtensionVariantPtr (*array_operator_index)(GDExtensionTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
555555
GDExtensionVariantPtr (*array_operator_index_const)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
556556
void (*array_ref)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); // p_self should be an Array ptr
557-
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
557+
void (*array_set_typed)(GDExtensionTypePtr p_self, GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr
558558

559559
/* Dictionary functions */
560560

0 commit comments

Comments
 (0)