Skip to content

Commit

Permalink
Update to 4.2-stable
Browse files Browse the repository at this point in the history
Update godot-cpp to 4.2-stable
Update project to 4.2
Mark CCNetworkManager as internal
  • Loading branch information
SilicDev committed Aug 15, 2024
1 parent 82b0f6d commit f3a2a27
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion godot-cpp
Submodule godot-cpp updated 51 files
+30 −10 .github/workflows/ci.yml
+4 −0 .gitignore
+23 −8 CMakeLists.txt
+2 −1 README.md
+4 −0 SConstruct
+119 −84 binding_generator.py
+11,674 −2,553 gdextension/extension_api.json
+336 −16 gdextension/gdextension_interface.h
+62 −0 include/godot_cpp/classes/editor_plugin_registration.hpp
+1 −1 include/godot_cpp/classes/ref.hpp
+195 −107 include/godot_cpp/classes/wrapped.hpp
+90 −0 include/godot_cpp/core/binder_common.hpp
+25 −19 include/godot_cpp/core/class_db.hpp
+13 −12 include/godot_cpp/core/memory.hpp
+3 −22 include/godot_cpp/core/object.hpp
+62 −0 include/godot_cpp/core/object_id.hpp
+12 −0 include/godot_cpp/core/property_info.hpp
+34 −12 include/godot_cpp/godot.hpp
+8 −5 include/godot_cpp/templates/cowdata.hpp
+1 −1 include/godot_cpp/templates/list.hpp
+3 −3 include/godot_cpp/templates/rid_owner.hpp
+4 −4 include/godot_cpp/templates/thread_work_pool.hpp
+64 −0 include/godot_cpp/variant/callable_custom.hpp
+248 −0 include/godot_cpp/variant/callable_method_pointer.hpp
+12 −0 include/godot_cpp/variant/char_string.hpp
+29 −7 include/godot_cpp/variant/variant.hpp
+3 −3 src/classes/editor_plugin_registration.cpp
+79 −0 src/classes/wrapped.cpp
+28 −13 src/core/class_db.cpp
+8 −7 src/core/memory.cpp
+90 −26 src/godot.cpp
+113 −0 src/variant/callable_custom.cpp
+114 −0 src/variant/callable_method_pointer.cpp
+7 −2 src/variant/char_string.cpp
+24 −6 src/variant/variant.cpp
+16 −1 test/CMakeLists.txt
+11 −0 test/SConstruct
+7 −0 test/generate_xcframework.sh
+0 −0 test/project/bin/libgdexample.macos.template_debug.framework/Resources/Info.plist
+0 −0 test/project/bin/libgdexample.macos.template_release.framework/Resources/Info.plist
+18 −0 test/project/example.gdextension
+79 −0 test/project/main.gd
+2 −1 test/project/project.godot
+192 −0 test/src/example.cpp
+29 −0 test/src/example.h
+22 −12 tools/android.py
+58 −7 tools/godotcpp.py
+1 −1 tools/ios.py
+3 −0 tools/linux.py
+20 −23 tools/web.py
+1 −1 tools/windows.py
9 changes: 0 additions & 9 deletions project/demo/Game.tscn

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion project/demo/Player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -730,9 +730,9 @@ hframes = 4
vframes = 4

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "RESET"
libraries = {
"": SubResource("AnimationLibrary_hqs83")
}
autoplay = "RESET"

[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]
Binary file modified project/demo/assets/ui/CrowdControl.theme
Binary file not shown.
2 changes: 1 addition & 1 deletion project/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config_version=5
config/name="CrowdControlDemo"
config/tags=PackedStringArray("addon", "demo")
run/main_scene="res://demo/ui/MainMenu.tscn"
config/features=PackedStringArray("4.1", "Forward Plus")
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.png"

[crowd_control]
Expand Down
1 change: 1 addition & 0 deletions src/classes/stream_user.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class StreamUser : public RefCounted {
public:
GDCLASS(StreamUser, RefCounted)

public:
static Ref<StreamUser> make(String p_origin_site, String p_name, String p_display_name, String p_profile_icon_url, PackedStringArray p_roles, PackedStringArray p_subscriptions, String p_origin_id);
static Ref<StreamUser> make(String p_name, String p_profile_icon_url, PackedStringArray p_roles);
static Ref<StreamUser> make(String p_name, Ref<Texture2D> p_profile_icon);
Expand Down
2 changes: 1 addition & 1 deletion src/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void gdextension_initialize(ModuleInitializationLevel p_level) {
GDREGISTER_CLASS(CCEffectInstanceParameters);
GDREGISTER_CLASS(CCEffectEntries);
GDREGISTER_CLASS(CrowdControl);
GDREGISTER_ABSTRACT_CLASS(CCNetworkManager);
GDREGISTER_INTERNAL_CLASS(CCNetworkManager);
if (!Engine::get_singleton()->has_singleton("CrowdControl")) {
Engine::get_singleton()->register_singleton("CrowdControl", CrowdControl::get_singleton());
}
Expand Down

0 comments on commit f3a2a27

Please sign in to comment.