diff options
author | Trashguy <trashguy@gmail.com> | 2024-10-11 12:21:42 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-13 15:05:24 -0400 |
commit | 9901f655fb46bd345770ad5f4a1638c4051b1816 (patch) | |
tree | bb22b4881145f122568c8f2e51e912078ad1b4fc /core/core_bind.cpp | |
parent | 6699ae7897658e44efc3cfb2cba91c11a8f5aa6a (diff) | |
download | redot-engine-9901f655fb46bd345770ad5f4a1638c4051b1816.tar.gz |
Rebrand Godot 4.3 to Redot
Diffstat (limited to 'core/core_bind.cpp')
-rw-r--r-- | core/core_bind.cpp | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/core/core_bind.cpp b/core/core_bind.cpp index a1b7b81111..dcc71259b1 100644 --- a/core/core_bind.cpp +++ b/core/core_bind.cpp @@ -272,18 +272,18 @@ String OS::get_executable_path() const { Error OS::shell_open(const String &p_uri) { if (p_uri.begins_with("res://")) { - WARN_PRINT("Attempting to open an URL with the \"res://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Godot-specific path to a system path before opening it with `OS.shell_open()`."); + WARN_PRINT("Attempting to open an URL with the \"res://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Redot-specific path to a system path before opening it with `OS.shell_open()`."); } else if (p_uri.begins_with("user://")) { - WARN_PRINT("Attempting to open an URL with the \"user://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Godot-specific path to a system path before opening it with `OS.shell_open()`."); + WARN_PRINT("Attempting to open an URL with the \"user://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Redot-specific path to a system path before opening it with `OS.shell_open()`."); } return ::OS::get_singleton()->shell_open(p_uri); } Error OS::shell_show_in_file_manager(const String &p_path, bool p_open_folder) { if (p_path.begins_with("res://")) { - WARN_PRINT("Attempting to explore file path with the \"res://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Godot-specific path to a system path before opening it with `OS.shell_show_in_file_manager()`."); + WARN_PRINT("Attempting to explore file path with the \"res://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Redot-specific path to a system path before opening it with `OS.shell_show_in_file_manager()`."); } else if (p_path.begins_with("user://")) { - WARN_PRINT("Attempting to explore file path with the \"user://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Godot-specific path to a system path before opening it with `OS.shell_show_in_file_manager()`."); + WARN_PRINT("Attempting to explore file path with the \"user://\" protocol. Use `ProjectSettings.globalize_path()` to convert a Redot-specific path to a system path before opening it with `OS.shell_show_in_file_manager()`."); } return ::OS::get_singleton()->shell_show_in_file_manager(p_path, p_open_folder); } @@ -1700,10 +1700,18 @@ Dictionary Engine::get_version_info() const { return ::Engine::get_singleton()->get_version_info(); } +Dictionary Engine::get_godot_compatible_version_info() const { + return ::Engine::get_singleton()->get_godot_compatible_version_info(); +} + Dictionary Engine::get_author_info() const { return ::Engine::get_singleton()->get_author_info(); } +Dictionary Engine::get_godot_author_info() const { + return ::Engine::get_singleton()->get_godot_author_info(); +} + TypedArray<Dictionary> Engine::get_copyright_info() const { return ::Engine::get_singleton()->get_copyright_info(); } @@ -1712,6 +1720,10 @@ Dictionary Engine::get_donor_info() const { return ::Engine::get_singleton()->get_donor_info(); } +Dictionary Engine::get_godot_donor_info() const { + return ::Engine::get_singleton()->get_godot_donor_info(); +} + Dictionary Engine::get_license_info() const { return ::Engine::get_singleton()->get_license_info(); } @@ -1833,9 +1845,12 @@ void Engine::_bind_methods() { ClassDB::bind_method(D_METHOD("get_main_loop"), &Engine::get_main_loop); ClassDB::bind_method(D_METHOD("get_version_info"), &Engine::get_version_info); + ClassDB::bind_method(D_METHOD("get_godot_compatible_version_info"), &Engine::get_godot_compatible_version_info); ClassDB::bind_method(D_METHOD("get_author_info"), &Engine::get_author_info); + ClassDB::bind_method(D_METHOD("get_godot_author_info"), &Engine::get_godot_author_info); ClassDB::bind_method(D_METHOD("get_copyright_info"), &Engine::get_copyright_info); ClassDB::bind_method(D_METHOD("get_donor_info"), &Engine::get_donor_info); + ClassDB::bind_method(D_METHOD("get_godot_donor_info"), &Engine::get_godot_donor_info); ClassDB::bind_method(D_METHOD("get_license_info"), &Engine::get_license_info); ClassDB::bind_method(D_METHOD("get_license_text"), &Engine::get_license_text); |