diff --git a/.github/workflows/build-addon-on-push.yml b/.github/workflows/build-addon-on-push.yml index 356180b2..bef8f592 100644 --- a/.github/workflows/build-addon-on-push.yml +++ b/.github/workflows/build-addon-on-push.yml @@ -199,7 +199,7 @@ jobs: needs: build env: - GODOT_VERSION: "4.3-beta2" + GODOT_VERSION: "4.3-stable" XRSIM_VERSION: "65.0.0" steps: diff --git a/config.gradle b/config.gradle index 8e5d1ab1..a1b859d7 100644 --- a/config.gradle +++ b/config.gradle @@ -13,8 +13,7 @@ ext { ] libraries = [ - // TODO: Update to the 4.3 stable version when it's out. - godotAndroidLib: "org.godotengine:godot:4.3.0.beta-SNAPSHOT", + godotAndroidLib: "org.godotengine:godot:4.3.0.stable", ] } diff --git a/thirdparty/godot-cpp b/thirdparty/godot-cpp index c414c2b3..fbbf9ec4 160000 --- a/thirdparty/godot-cpp +++ b/thirdparty/godot-cpp @@ -1 +1 @@ -Subproject commit c414c2b37d0563456a2fe194b16f8c4aa442e865 +Subproject commit fbbf9ec4efd8f1055d00edb8d926eef8ba4c2cce diff --git a/thirdparty/godot_cpp_gdextension_api/README.md b/thirdparty/godot_cpp_gdextension_api/README.md index 17f524bf..2a064f77 100644 --- a/thirdparty/godot_cpp_gdextension_api/README.md +++ b/thirdparty/godot_cpp_gdextension_api/README.md @@ -4,7 +4,7 @@ This directory contains the API JSON for [**Godot Engine**](https://github.com/godotengine/godot)'s *GDExtensions* API. ## Current API version -- [commit c414c2b37d0563456a2fe194b16f8c4aa442e865](https://github.com/godotengine/godot/commit/c414c2b37d0563456a2fe194b16f8c4aa442e865) +- [commit fbbf9ec4efd8f1055d00edb8d926eef8ba4c2cce](https://github.com/godotengine/godot/commit/fbbf9ec4efd8f1055d00edb8d926eef8ba4c2cce) ## Updating API diff --git a/thirdparty/godot_cpp_gdextension_api/extension_api.json b/thirdparty/godot_cpp_gdextension_api/extension_api.json index beb00336..10c2f344 100644 --- a/thirdparty/godot_cpp_gdextension_api/extension_api.json +++ b/thirdparty/godot_cpp_gdextension_api/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 3, "version_patch": 0, - "version_status": "beta2", + "version_status": "stable", "version_build": "official", - "version_full_name": "Godot Engine v4.3.beta2.official" + "version_full_name": "Godot Engine v4.3.stable.official" }, "builtin_class_sizes": [ { @@ -29907,7 +29907,6 @@ { "type": "bool", "name": "capture_included", - "setter": "_set_capture_included", "getter": "is_capture_included" } ] @@ -43308,7 +43307,7 @@ { "name": "AudioStreamPlaybackInteractive", "is_refcounted": true, - "is_instantiable": true, + "is_instantiable": false, "inherits": "AudioStreamPlayback", "api_type": "core", "methods": [ @@ -43353,7 +43352,7 @@ { "name": "AudioStreamPlaybackPlaylist", "is_refcounted": true, - "is_instantiable": true, + "is_instantiable": false, "inherits": "AudioStreamPlayback", "api_type": "core" }, @@ -43548,7 +43547,7 @@ { "name": "AudioStreamPlaybackSynchronized", "is_refcounted": true, - "is_instantiable": true, + "is_instantiable": false, "inherits": "AudioStreamPlayback", "api_type": "core" }, @@ -82383,6 +82382,45 @@ "return_value": { "type": "bool" } + }, + { + "name": "register_additional_output", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3975164845, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "unregister_additional_output", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3975164845, + "arguments": [ + { + "name": "object", + "type": "Object" + } + ] + }, + { + "name": "has_additional_outputs", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ] }, @@ -85441,6 +85479,15 @@ } ] }, + { + "name": "resources_reimporting", + "arguments": [ + { + "name": "resources", + "type": "PackedStringArray" + } + ] + }, { "name": "resources_reimported", "arguments": [ @@ -91510,6 +91557,14 @@ "type": "bool" } }, + { + "name": "force_fixed_history", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3218959716 + }, { "name": "add_do_method", "is_const": false, @@ -103186,6 +103241,42 @@ "is_instantiable": true, "inherits": "Resource", "api_type": "core", + "enums": [ + { + "name": "GLTFAccessorType", + "is_bitfield": false, + "values": [ + { + "name": "TYPE_SCALAR", + "value": 0 + }, + { + "name": "TYPE_VEC2", + "value": 1 + }, + { + "name": "TYPE_VEC3", + "value": 2 + }, + { + "name": "TYPE_VEC4", + "value": 3 + }, + { + "name": "TYPE_MAT2", + "value": 4 + }, + { + "name": "TYPE_MAT3", + "value": 5 + }, + { + "name": "TYPE_MAT4", + "value": 6 + } + ] + } + ], "methods": [ { "name": "get_buffer_view", @@ -103326,10 +103417,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2455072627, + "hash": 679305214, "return_value": { - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFAccessorType" } }, { @@ -103338,12 +103428,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 2347728198, "arguments": [ { "name": "accessor_type", - "type": "int", - "meta": "int32" + "type": "enum::GLTFAccessor.GLTFAccessorType" } ] }, @@ -119923,7 +120012,7 @@ "hash": 923996154, "return_value": { "type": "int", - "meta": "int32" + "meta": "int64" }, "arguments": [ { @@ -132100,6 +132189,14 @@ { "name": "BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL", "value": 9 + }, + { + "name": "BAKE_ERROR_LIGHTMAP_TOO_SMALL", + "value": 10 + }, + { + "name": "BAKE_ERROR_ATLAS_TOO_SMALL", + "value": 11 } ] }, @@ -162951,7 +163048,7 @@ "name": "OccluderInstance3D", "is_refcounted": false, "is_instantiable": true, - "inherits": "Node3D", + "inherits": "VisualInstance3D", "api_type": "core", "methods": [ { @@ -180345,6 +180442,24 @@ } ] }, + { + "name": "body_set_state_sync_callback", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3379118538, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, { "name": "body_set_force_integration_callback", "is_const": false, @@ -185869,6 +185984,24 @@ } ] }, + { + "name": "body_set_state_sync_callback", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3379118538, + "arguments": [ + { + "name": "body", + "type": "RID" + }, + { + "name": "callable", + "type": "Callable" + } + ] + }, { "name": "body_set_force_integration_callback", "is_const": false, @@ -193945,6 +194078,17 @@ "type": "bool" } }, + { + "name": "is_native_menu", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "add_item", "is_const": false, @@ -204897,6 +205041,40 @@ "type": "Vector2i" } }, + { + "name": "get_target_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3690982128, + "return_value": { + "type": "Vector2i" + } + }, + { + "name": "get_scaling_3d_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 976778074, + "return_value": { + "type": "enum::RenderingServer.ViewportScaling3DMode" + } + }, + { + "name": "get_fsr_sharpness", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "get_msaa_3d", "is_const": true, @@ -204908,6 +205086,28 @@ "type": "enum::RenderingServer.ViewportMSAA" } }, + { + "name": "get_texture_samples", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 407791724, + "return_value": { + "type": "enum::RenderingDevice.TextureSamples" + } + }, + { + "name": "get_screen_space_aa", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 641513172, + "return_value": { + "type": "enum::RenderingServer.ViewportScreenSpaceAA" + } + }, { "name": "get_use_taa", "is_const": true, @@ -204918,6 +205118,17 @@ "return_value": { "type": "bool" } + }, + { + "name": "get_use_debanding", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ] }, @@ -230243,8 +230454,8 @@ "name": "request_save_previous_state", "arguments": [ { - "name": "line", - "type": "int" + "name": "state", + "type": "Dictionary" } ] }, @@ -235211,6 +235422,12 @@ "name": "modifier_callback_mode_process", "setter": "set_modifier_callback_mode_process", "getter": "get_modifier_callback_mode_process" + }, + { + "type": "bool", + "name": "animate_physical_bones", + "setter": "set_animate_physical_bones", + "getter": "get_animate_physical_bones" } ] }, @@ -241325,7 +241542,7 @@ "getter": "get_frame" }, { - "type": "Vector2", + "type": "Vector2i", "name": "frame_coords", "setter": "set_frame_coords", "getter": "get_frame_coords" @@ -250812,6 +251029,81 @@ } ] }, + { + "name": "set_use_default_word_separators", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_default_word_separators_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_use_custom_word_separators", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_custom_word_separators_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_custom_word_separators", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "custom_word_separators", + "type": "String" + } + ] + }, + { + "name": "get_custom_word_separators", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, { "name": "set_selecting_enabled", "is_const": false, @@ -252977,6 +253269,24 @@ "setter": "set_multiple_carets_enabled", "getter": "is_multiple_carets_enabled" }, + { + "type": "bool", + "name": "use_default_word_separators", + "setter": "set_use_default_word_separators", + "getter": "is_default_word_separators_enabled" + }, + { + "type": "bool", + "name": "use_custom_word_separators", + "setter": "set_use_custom_word_separators", + "getter": "is_custom_word_separators_enabled" + }, + { + "type": "String", + "name": "custom_word_separators", + "setter": "set_custom_word_separators", + "getter": "get_custom_word_separators" + }, { "type": "SyntaxHighlighter", "name": "syntax_highlighter",