summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/SCsub13
-rw-r--r--core/config/engine.cpp56
-rw-r--r--core/config/engine.h5
-rw-r--r--core/config/project_settings.cpp16
-rw-r--r--core/config/project_settings.h2
-rw-r--r--core/core_bind.compat.inc2
-rw-r--r--core/core_bind.cpp25
-rw-r--r--core/core_bind.h5
-rw-r--r--core/core_builders.py49
-rw-r--r--core/core_constants.cpp2
-rw-r--r--core/core_constants.h2
-rw-r--r--core/core_globals.cpp2
-rw-r--r--core/core_globals.h2
-rw-r--r--core/core_string_names.cpp2
-rw-r--r--core/core_string_names.h2
-rw-r--r--core/crypto/SCsub2
-rw-r--r--core/crypto/aes_context.cpp2
-rw-r--r--core/crypto/aes_context.h2
-rw-r--r--core/crypto/crypto.cpp2
-rw-r--r--core/crypto/crypto.h2
-rw-r--r--core/crypto/crypto_core.cpp2
-rw-r--r--core/crypto/crypto_core.h2
-rw-r--r--core/crypto/hashing_context.cpp2
-rw-r--r--core/crypto/hashing_context.h2
-rw-r--r--core/debugger/debugger_marshalls.cpp2
-rw-r--r--core/debugger/debugger_marshalls.h2
-rw-r--r--core/debugger/engine_debugger.cpp2
-rw-r--r--core/debugger/engine_debugger.h2
-rw-r--r--core/debugger/engine_profiler.cpp2
-rw-r--r--core/debugger/engine_profiler.h2
-rw-r--r--core/debugger/local_debugger.cpp2
-rw-r--r--core/debugger/local_debugger.h2
-rw-r--r--core/debugger/remote_debugger.cpp2
-rw-r--r--core/debugger/remote_debugger.h2
-rw-r--r--core/debugger/remote_debugger_peer.cpp2
-rw-r--r--core/debugger/remote_debugger_peer.h2
-rw-r--r--core/debugger/script_debugger.cpp2
-rw-r--r--core/debugger/script_debugger.h2
-rw-r--r--core/doc_data.cpp2
-rw-r--r--core/doc_data.h2
-rw-r--r--core/error/error_list.cpp2
-rw-r--r--core/error/error_list.h2
-rw-r--r--core/error/error_macros.cpp2
-rw-r--r--core/error/error_macros.h2
-rw-r--r--core/extension/extension_api_dump.cpp2
-rw-r--r--core/extension/extension_api_dump.h2
-rw-r--r--core/extension/gdextension.compat.inc2
-rw-r--r--core/extension/gdextension.cpp12
-rw-r--r--core/extension/gdextension.h2
-rw-r--r--core/extension/gdextension_compat_hashes.cpp2
-rw-r--r--core/extension/gdextension_compat_hashes.h2
-rw-r--r--core/extension/gdextension_interface.cpp2
-rw-r--r--core/extension/gdextension_interface.h2
-rw-r--r--core/extension/gdextension_library_loader.cpp6
-rw-r--r--core/extension/gdextension_library_loader.h2
-rw-r--r--core/extension/gdextension_loader.h2
-rw-r--r--core/extension/gdextension_manager.cpp2
-rw-r--r--core/extension/gdextension_manager.h2
-rw-r--r--core/input/default_controller_mappings.h2
-rw-r--r--core/input/godotcontrollerdb.txt4
-rw-r--r--core/input/input.compat.inc2
-rw-r--r--core/input/input.cpp2
-rw-r--r--core/input/input.h2
-rw-r--r--core/input/input_enums.h2
-rw-r--r--core/input/input_event.cpp2
-rw-r--r--core/input/input_event.h2
-rw-r--r--core/input/input_map.compat.inc2
-rw-r--r--core/input/input_map.cpp2
-rw-r--r--core/input/input_map.h2
-rw-r--r--core/input/shortcut.cpp2
-rw-r--r--core/input/shortcut.h2
-rw-r--r--core/io/compression.cpp6
-rw-r--r--core/io/compression.h2
-rw-r--r--core/io/config_file.cpp2
-rw-r--r--core/io/config_file.h2
-rw-r--r--core/io/dir_access.cpp2
-rw-r--r--core/io/dir_access.h2
-rw-r--r--core/io/dtls_server.cpp2
-rw-r--r--core/io/dtls_server.h2
-rw-r--r--core/io/file_access.cpp2
-rw-r--r--core/io/file_access.h2
-rw-r--r--core/io/file_access_compressed.cpp2
-rw-r--r--core/io/file_access_compressed.h2
-rw-r--r--core/io/file_access_encrypted.cpp2
-rw-r--r--core/io/file_access_encrypted.h2
-rw-r--r--core/io/file_access_memory.cpp2
-rw-r--r--core/io/file_access_memory.h2
-rw-r--r--core/io/file_access_pack.cpp2
-rw-r--r--core/io/file_access_pack.h4
-rw-r--r--core/io/file_access_zip.cpp2
-rw-r--r--core/io/file_access_zip.h2
-rw-r--r--core/io/http_client.cpp2
-rw-r--r--core/io/http_client.h2
-rw-r--r--core/io/http_client_tcp.cpp4
-rw-r--r--core/io/http_client_tcp.h2
-rw-r--r--core/io/image.cpp10
-rw-r--r--core/io/image.h2
-rw-r--r--core/io/image_loader.cpp2
-rw-r--r--core/io/image_loader.h2
-rw-r--r--core/io/ip.cpp2
-rw-r--r--core/io/ip.h2
-rw-r--r--core/io/ip_address.cpp2
-rw-r--r--core/io/ip_address.h2
-rw-r--r--core/io/json.cpp4
-rw-r--r--core/io/json.h2
-rw-r--r--core/io/logger.cpp2
-rw-r--r--core/io/logger.h2
-rw-r--r--core/io/marshalls.cpp2
-rw-r--r--core/io/marshalls.h2
-rw-r--r--core/io/missing_resource.cpp2
-rw-r--r--core/io/missing_resource.h2
-rw-r--r--core/io/net_socket.cpp2
-rw-r--r--core/io/net_socket.h2
-rw-r--r--core/io/packed_data_container.cpp2
-rw-r--r--core/io/packed_data_container.h2
-rw-r--r--core/io/packet_peer.cpp2
-rw-r--r--core/io/packet_peer.h2
-rw-r--r--core/io/packet_peer_dtls.cpp2
-rw-r--r--core/io/packet_peer_dtls.h2
-rw-r--r--core/io/packet_peer_udp.cpp2
-rw-r--r--core/io/packet_peer_udp.h2
-rw-r--r--core/io/pck_packer.cpp2
-rw-r--r--core/io/pck_packer.h2
-rw-r--r--core/io/plist.cpp2
-rw-r--r--core/io/plist.h2
-rw-r--r--core/io/remote_filesystem_client.cpp3
-rw-r--r--core/io/remote_filesystem_client.h2
-rw-r--r--core/io/resource.cpp2
-rw-r--r--core/io/resource.h2
-rw-r--r--core/io/resource_format_binary.cpp2
-rw-r--r--core/io/resource_format_binary.h2
-rw-r--r--core/io/resource_importer.cpp2
-rw-r--r--core/io/resource_importer.h2
-rw-r--r--core/io/resource_loader.cpp2
-rw-r--r--core/io/resource_loader.h2
-rw-r--r--core/io/resource_saver.cpp2
-rw-r--r--core/io/resource_saver.h2
-rw-r--r--core/io/resource_uid.cpp2
-rw-r--r--core/io/resource_uid.h2
-rw-r--r--core/io/stream_peer.cpp2
-rw-r--r--core/io/stream_peer.h2
-rw-r--r--core/io/stream_peer_gzip.cpp2
-rw-r--r--core/io/stream_peer_gzip.h2
-rw-r--r--core/io/stream_peer_tcp.cpp2
-rw-r--r--core/io/stream_peer_tcp.h2
-rw-r--r--core/io/stream_peer_tls.cpp2
-rw-r--r--core/io/stream_peer_tls.h2
-rw-r--r--core/io/tcp_server.cpp2
-rw-r--r--core/io/tcp_server.h2
-rw-r--r--core/io/translation_loader_po.cpp2
-rw-r--r--core/io/translation_loader_po.h2
-rw-r--r--core/io/udp_server.cpp2
-rw-r--r--core/io/udp_server.h2
-rw-r--r--core/io/xml_parser.cpp2
-rw-r--r--core/io/xml_parser.h2
-rw-r--r--core/io/zip_io.cpp2
-rw-r--r--core/io/zip_io.h2
-rw-r--r--core/math/a_star.compat.inc2
-rw-r--r--core/math/a_star.cpp2
-rw-r--r--core/math/a_star.h2
-rw-r--r--core/math/a_star_grid_2d.compat.inc2
-rw-r--r--core/math/a_star_grid_2d.cpp22
-rw-r--r--core/math/a_star_grid_2d.h6
-rw-r--r--core/math/aabb.cpp2
-rw-r--r--core/math/aabb.h2
-rw-r--r--core/math/audio_frame.h2
-rw-r--r--core/math/basis.cpp2
-rw-r--r--core/math/basis.h2
-rw-r--r--core/math/bvh.h2
-rw-r--r--core/math/bvh_abb.h2
-rw-r--r--core/math/bvh_tree.h2
-rw-r--r--core/math/color.cpp2
-rw-r--r--core/math/color.h2
-rw-r--r--core/math/color_names.inc2
-rw-r--r--core/math/convex_hull.cpp4
-rw-r--r--core/math/convex_hull.h2
-rw-r--r--core/math/delaunay_2d.h2
-rw-r--r--core/math/delaunay_3d.h2
-rw-r--r--core/math/disjoint_set.h2
-rw-r--r--core/math/dynamic_bvh.cpp2
-rw-r--r--core/math/dynamic_bvh.h2
-rw-r--r--core/math/expression.cpp2
-rw-r--r--core/math/expression.h2
-rw-r--r--core/math/face3.cpp2
-rw-r--r--core/math/face3.h2
-rw-r--r--core/math/geometry_2d.cpp2
-rw-r--r--core/math/geometry_2d.h2
-rw-r--r--core/math/geometry_3d.cpp2
-rw-r--r--core/math/geometry_3d.h2
-rw-r--r--core/math/math_defs.h2
-rw-r--r--core/math/math_fieldwise.cpp2
-rw-r--r--core/math/math_fieldwise.h2
-rw-r--r--core/math/math_funcs.cpp2
-rw-r--r--core/math/math_funcs.h2
-rw-r--r--core/math/plane.cpp2
-rw-r--r--core/math/plane.h2
-rw-r--r--core/math/projection.cpp312
-rw-r--r--core/math/projection.h2
-rw-r--r--core/math/quaternion.cpp2
-rw-r--r--core/math/quaternion.h2
-rw-r--r--core/math/quick_hull.cpp2
-rw-r--r--core/math/quick_hull.h2
-rw-r--r--core/math/random_number_generator.cpp2
-rw-r--r--core/math/random_number_generator.h2
-rw-r--r--core/math/random_pcg.cpp2
-rw-r--r--core/math/random_pcg.h2
-rw-r--r--core/math/rect2.cpp2
-rw-r--r--core/math/rect2.h2
-rw-r--r--core/math/rect2i.cpp2
-rw-r--r--core/math/rect2i.h2
-rw-r--r--core/math/static_raycaster.cpp2
-rw-r--r--core/math/static_raycaster.h2
-rw-r--r--core/math/transform_2d.cpp2
-rw-r--r--core/math/transform_2d.h2
-rw-r--r--core/math/transform_3d.cpp2
-rw-r--r--core/math/transform_3d.h2
-rw-r--r--core/math/transform_interpolator.cpp9
-rw-r--r--core/math/transform_interpolator.h2
-rw-r--r--core/math/triangle_mesh.cpp2
-rw-r--r--core/math/triangle_mesh.h2
-rw-r--r--core/math/triangulate.cpp2
-rw-r--r--core/math/triangulate.h2
-rw-r--r--core/math/vector2.cpp2
-rw-r--r--core/math/vector2.h2
-rw-r--r--core/math/vector2i.cpp2
-rw-r--r--core/math/vector2i.h2
-rw-r--r--core/math/vector3.cpp2
-rw-r--r--core/math/vector3.h2
-rw-r--r--core/math/vector3i.cpp2
-rw-r--r--core/math/vector3i.h2
-rw-r--r--core/math/vector4.cpp2
-rw-r--r--core/math/vector4.h2
-rw-r--r--core/math/vector4i.cpp2
-rw-r--r--core/math/vector4i.h2
-rw-r--r--core/object/callable_method_pointer.cpp2
-rw-r--r--core/object/callable_method_pointer.h2
-rw-r--r--core/object/class_db.cpp2
-rw-r--r--core/object/class_db.h4
-rw-r--r--core/object/message_queue.cpp2
-rw-r--r--core/object/message_queue.h2
-rw-r--r--core/object/method_bind.cpp2
-rw-r--r--core/object/method_bind.h2
-rw-r--r--core/object/object.cpp2
-rw-r--r--core/object/object.h2
-rw-r--r--core/object/object_id.h2
-rw-r--r--core/object/ref_counted.cpp2
-rw-r--r--core/object/ref_counted.h2
-rw-r--r--core/object/script_instance.cpp2
-rw-r--r--core/object/script_instance.h2
-rw-r--r--core/object/script_language.cpp2
-rw-r--r--core/object/script_language.h4
-rw-r--r--core/object/script_language_extension.cpp2
-rw-r--r--core/object/script_language_extension.h2
-rw-r--r--core/object/undo_redo.cpp2
-rw-r--r--core/object/undo_redo.h2
-rw-r--r--core/object/worker_thread_pool.cpp2
-rw-r--r--core/object/worker_thread_pool.h2
-rw-r--r--core/os/condition_variable.h2
-rw-r--r--core/os/keyboard.cpp2
-rw-r--r--core/os/keyboard.h2
-rw-r--r--core/os/main_loop.cpp2
-rw-r--r--core/os/main_loop.h2
-rw-r--r--core/os/memory.cpp2
-rw-r--r--core/os/memory.h2
-rw-r--r--core/os/midi_driver.cpp2
-rw-r--r--core/os/midi_driver.h2
-rw-r--r--core/os/mutex.cpp2
-rw-r--r--core/os/mutex.h2
-rw-r--r--core/os/os.cpp2
-rw-r--r--core/os/os.h2
-rw-r--r--core/os/rw_lock.h2
-rw-r--r--core/os/safe_binary_mutex.h4
-rw-r--r--core/os/semaphore.h2
-rw-r--r--core/os/shared_object.h2
-rw-r--r--core/os/spin_lock.h2
-rw-r--r--core/os/thread.cpp2
-rw-r--r--core/os/thread.h2
-rw-r--r--core/os/thread_safe.cpp2
-rw-r--r--core/os/thread_safe.h2
-rw-r--r--core/os/time.cpp2
-rw-r--r--core/os/time.h2
-rw-r--r--core/os/time_enums.h2
-rw-r--r--core/register_core_types.cpp2
-rw-r--r--core/register_core_types.h2
-rw-r--r--core/string/char_range.inc2
-rw-r--r--core/string/char_utils.h2
-rw-r--r--core/string/locales.h2
-rw-r--r--core/string/node_path.cpp2
-rw-r--r--core/string/node_path.h2
-rw-r--r--core/string/optimized_translation.cpp2
-rw-r--r--core/string/optimized_translation.h2
-rw-r--r--core/string/print_string.cpp2
-rw-r--r--core/string/print_string.h2
-rw-r--r--core/string/string_buffer.h2
-rw-r--r--core/string/string_builder.cpp4
-rw-r--r--core/string/string_builder.h4
-rw-r--r--core/string/string_name.cpp2
-rw-r--r--core/string/string_name.h2
-rw-r--r--core/string/translation.cpp2
-rw-r--r--core/string/translation.h2
-rw-r--r--core/string/translation_domain.cpp2
-rw-r--r--core/string/translation_domain.h2
-rw-r--r--core/string/translation_po.cpp2
-rw-r--r--core/string/translation_po.h2
-rw-r--r--core/string/translation_server.cpp2
-rw-r--r--core/string/translation_server.h2
-rw-r--r--core/string/ucaps.h2
-rw-r--r--core/string/ustring.cpp2
-rw-r--r--core/string/ustring.h2
-rw-r--r--core/templates/a_hash_map.cpp2
-rw-r--r--core/templates/a_hash_map.h2
-rw-r--r--core/templates/bin_sorted_array.h2
-rw-r--r--core/templates/command_queue_mt.cpp2
-rw-r--r--core/templates/command_queue_mt.h2
-rw-r--r--core/templates/cowdata.h2
-rw-r--r--core/templates/hash_map.cpp2
-rw-r--r--core/templates/hash_map.h4
-rw-r--r--core/templates/hash_set.h4
-rw-r--r--core/templates/hashfuncs.h2
-rw-r--r--core/templates/list.h2
-rw-r--r--core/templates/local_vector.h2
-rw-r--r--core/templates/lru.h2
-rw-r--r--core/templates/oa_hash_map.h2
-rw-r--r--core/templates/paged_allocator.h2
-rw-r--r--core/templates/paged_array.h2
-rw-r--r--core/templates/pair.h2
-rw-r--r--core/templates/pass_func.h2
-rw-r--r--core/templates/pooled_list.h2
-rw-r--r--core/templates/rb_map.h2
-rw-r--r--core/templates/rb_set.h2
-rw-r--r--core/templates/rid.h2
-rw-r--r--core/templates/rid_owner.cpp2
-rw-r--r--core/templates/rid_owner.h2
-rw-r--r--core/templates/ring_buffer.h2
-rw-r--r--core/templates/safe_list.h2
-rw-r--r--core/templates/safe_refcount.h2
-rw-r--r--core/templates/search_array.h2
-rw-r--r--core/templates/self_list.h2
-rw-r--r--core/templates/simple_type.h2
-rw-r--r--core/templates/sort_array.h2
-rw-r--r--core/templates/vector.h2
-rw-r--r--core/templates/vmap.h2
-rw-r--r--core/templates/vset.h2
-rw-r--r--core/typedefs.h2
-rw-r--r--core/variant/array.cpp2
-rw-r--r--core/variant/array.h2
-rw-r--r--core/variant/binder_common.h2
-rw-r--r--core/variant/callable.cpp2
-rw-r--r--core/variant/callable.h2
-rw-r--r--core/variant/callable_bind.cpp2
-rw-r--r--core/variant/callable_bind.h2
-rw-r--r--core/variant/container_type_validate.h2
-rw-r--r--core/variant/dictionary.cpp2
-rw-r--r--core/variant/dictionary.h2
-rw-r--r--core/variant/method_ptrcall.h2
-rw-r--r--core/variant/native_ptr.h2
-rw-r--r--core/variant/type_info.h2
-rw-r--r--core/variant/typed_array.h2
-rw-r--r--core/variant/typed_dictionary.h2
-rw-r--r--core/variant/variant.cpp2
-rw-r--r--core/variant/variant.h2
-rw-r--r--core/variant/variant_call.cpp2
-rw-r--r--core/variant/variant_callable.cpp2
-rw-r--r--core/variant/variant_callable.h2
-rw-r--r--core/variant/variant_construct.cpp2
-rw-r--r--core/variant/variant_construct.h2
-rw-r--r--core/variant/variant_destruct.cpp2
-rw-r--r--core/variant/variant_destruct.h2
-rw-r--r--core/variant/variant_internal.h2
-rw-r--r--core/variant/variant_op.cpp2
-rw-r--r--core/variant/variant_op.h2
-rw-r--r--core/variant/variant_parser.cpp2
-rw-r--r--core/variant/variant_parser.h2
-rw-r--r--core/variant/variant_setget.cpp2
-rw-r--r--core/variant/variant_setget.h2
-rw-r--r--core/variant/variant_utility.cpp2
-rw-r--r--core/variant/variant_utility.h2
-rw-r--r--core/version.h56
378 files changed, 1217 insertions, 140 deletions
diff --git a/core/SCsub b/core/SCsub
index 8bda230b87..1c01bbbef6 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -158,7 +158,7 @@ if env["builtin_zstd"]:
env.core_sources += thirdparty_obj
-# Godot source files
+# Redot source files
env.add_source_files(env.core_sources, "*.cpp")
@@ -186,11 +186,16 @@ def version_info_builder(target, source, env):
#define VERSION_MINOR {minor}
#define VERSION_PATCH {patch}
#define VERSION_STATUS "{status}"
+#define VERSION_STATUS_VERSION {status_version}
#define VERSION_BUILD "{build}"
#define VERSION_MODULE_CONFIG "{module_config}"
#define VERSION_WEBSITE "{website}"
#define VERSION_DOCS_BRANCH "{docs_branch}"
-#define VERSION_DOCS_URL "https://docs.godotengine.org/en/" VERSION_DOCS_BRANCH
+#define VERSION_DOCS_URL "https://docs.redotengine.org/en/" VERSION_DOCS_BRANCH
+#define GODOT_VERSION_MAJOR {godot_major}
+#define GODOT_VERSION_MINOR {godot_minor}
+#define GODOT_VERSION_PATCH {godot_patch}
+#define GODOT_VERSION_STATUS "{godot_status}"
""".format(**env.version_info)
)
@@ -260,6 +265,10 @@ env.CommandNoCache(
)
# Authors
+env.Depends("#core/redot_authors.gen.h", "../REDOT_AUTHORS.md")
+env.CommandNoCache("#core/redot_authors.gen.h", "../REDOT_AUTHORS.md", env.Run(core_builders.make_redot_authors_header))
+
+# Authors
env.Depends("#core/authors.gen.h", "../AUTHORS.md")
env.CommandNoCache("#core/authors.gen.h", "../AUTHORS.md", env.Run(core_builders.make_authors_header))
diff --git a/core/config/engine.cpp b/core/config/engine.cpp
index 9db2e6fbe9..fa6bbe0646 100644
--- a/core/config/engine.cpp
+++ b/core/config/engine.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -34,8 +36,10 @@
#include "core/config/project_settings.h"
#include "core/donors.gen.h"
#include "core/license.gen.h"
+#include "core/redot_authors.gen.h"
#include "core/variant/typed_array.h"
#include "core/version.h"
+#include "core/version_generated.gen.h"
void Engine::set_physics_ticks_per_second(int p_ips) {
ERR_FAIL_COND_MSG(p_ips <= 0, "Engine iterations per second must be greater than 0.");
@@ -121,6 +125,7 @@ Dictionary Engine::get_version_info() const {
dict["hex"] = VERSION_HEX;
dict["status"] = VERSION_STATUS;
dict["build"] = VERSION_BUILD;
+ dict["status_version"] = VERSION_STATUS_VERSION;
String hash = String(VERSION_HASH);
dict["hash"] = hash.is_empty() ? String("unknown") : hash;
@@ -131,7 +136,32 @@ Dictionary Engine::get_version_info() const {
if ((int)dict["patch"] != 0) {
stringver += "." + String(dict["patch"]);
}
- stringver += "-" + String(dict["status"]) + " (" + String(dict["build"]) + ")";
+ stringver += "-" + String(dict["status"]);
+
+ if ((int)dict["status_version"] != 0) {
+ stringver += "." + String(dict["status_version"]);
+ }
+
+ stringver += " (" + String(dict["build"]) + ")";
+ dict["string"] = stringver;
+
+ return dict;
+}
+
+Dictionary Engine::get_godot_compatible_version_info() const {
+ Dictionary dict;
+ dict["major"] = GODOT_VERSION_MAJOR;
+ dict["minor"] = GODOT_VERSION_MINOR;
+ dict["patch"] = GODOT_VERSION_PATCH;
+ dict["hex"] = GODOT_VERSION_HEX;
+ dict["status"] = GODOT_VERSION_STATUS;
+
+ String stringver = String(dict["major"]) + "." + String(dict["minor"]);
+ if ((int)dict["patch"] != 0) {
+ stringver += "." + String(dict["patch"]);
+ }
+ // stringver += "-" + String(dict["status"]) + " (" + String(dict["build"]) + ")"; TODO: add godot automated build identification?
+ stringver += "-" + String(dict["status"]);
dict["string"] = stringver;
return dict;
@@ -156,6 +186,17 @@ static Array array_from_info_count(const char *const *info_list, int info_count)
Dictionary Engine::get_author_info() const {
Dictionary dict;
+ dict["lead_developers"] = array_from_info(REDOT_AUTHORS_LEAD_DEVELOPERS);
+ dict["project_managers"] = array_from_info(REDOT_AUTHORS_PROJECT_MANAGERS);
+ dict["founders"] = array_from_info(REDOT_AUTHORS_FOUNDERS);
+ dict["developers"] = array_from_info(REDOT_AUTHORS_DEVELOPERS);
+
+ return dict;
+}
+
+Dictionary Engine::get_godot_author_info() const {
+ Dictionary dict;
+
dict["lead_developers"] = array_from_info(AUTHORS_LEAD_DEVELOPERS);
dict["project_managers"] = array_from_info(AUTHORS_PROJECT_MANAGERS);
dict["founders"] = array_from_info(AUTHORS_FOUNDERS);
@@ -188,6 +229,19 @@ TypedArray<Dictionary> Engine::get_copyright_info() const {
Dictionary Engine::get_donor_info() const {
Dictionary donors;
+ donors["patrons"] = Array();
+ donors["platinum_sponsors"] = Array();
+ donors["gold_sponsors"] = Array();
+ donors["silver_sponsors"] = Array();
+ donors["diamond_members"] = Array();
+ donors["titanium_members"] = Array();
+ donors["platinum_members"] = Array();
+ donors["gold_members"] = Array();
+ return donors;
+}
+
+Dictionary Engine::get_godot_donor_info() const {
+ Dictionary donors;
donors["patrons"] = array_from_info(DONORS_PATRONS);
donors["platinum_sponsors"] = array_from_info(DONORS_SPONSORS_PLATINUM);
donors["gold_sponsors"] = array_from_info(DONORS_SPONSORS_GOLD);
diff --git a/core/config/engine.h b/core/config/engine.h
index fd7fbd717e..c71b7975ed 100644
--- a/core/config/engine.h
+++ b/core/config/engine.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -171,9 +173,12 @@ public:
#endif
Dictionary get_version_info() const;
+ Dictionary get_godot_compatible_version_info() const;
Dictionary get_author_info() const;
+ Dictionary get_godot_author_info() const;
TypedArray<Dictionary> get_copyright_info() const;
Dictionary get_donor_info() const;
+ Dictionary get_godot_donor_info() const;
Dictionary get_license_info() const;
String get_license_text() const;
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index b389e5a58e..a342d4963c 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -74,7 +76,7 @@ String ProjectSettings::get_imported_files_path() const {
}
#ifdef TOOLS_ENABLED
-// Returns the features that a project must have when opened with this build of Godot.
+// Returns the features that a project must have when opened with this build of Redot.
// This is used by the project manager to provide the initial_settings for config/features.
const PackedStringArray ProjectSettings::get_required_features() {
PackedStringArray features;
@@ -85,7 +87,7 @@ const PackedStringArray ProjectSettings::get_required_features() {
return features;
}
-// Returns the features supported by this build of Godot. Includes all required features.
+// Returns the features supported by this build of Redot. Includes all required features.
const PackedStringArray ProjectSettings::_get_supported_features() {
PackedStringArray features = get_required_features();
#ifdef MODULE_MONO_ENABLED
@@ -108,7 +110,7 @@ const PackedStringArray ProjectSettings::_get_supported_features() {
return features;
}
-// Returns the features that this project needs but this build of Godot lacks.
+// Returns the features that this project needs but this build of Redot lacks.
const PackedStringArray ProjectSettings::get_unsupported_features(const PackedStringArray &p_project_features) {
PackedStringArray unsupported_features;
PackedStringArray supported_features = singleton->_get_supported_features();
@@ -125,7 +127,7 @@ const PackedStringArray ProjectSettings::get_unsupported_features(const PackedSt
return unsupported_features;
}
-// Returns the features that both this project has and this build of Godot has, ensuring required features exist.
+// Returns the features that both this project has and this build of Redot has, ensuring required features exist.
const PackedStringArray ProjectSettings::_trim_to_supported_features(const PackedStringArray &p_project_features) {
// Remove unsupported features if present.
PackedStringArray features = PackedStringArray(p_project_features);
@@ -586,7 +588,7 @@ Error ProjectSettings::_setup(const String &p_path, const String &p_main_pack, b
bool found = _load_resource_pack(exec_path);
// Attempt with exec_name.pck.
- // (This is the usual case when distributing a Godot game.)
+ // (This is the usual case when distributing a Redot game.)
String exec_dir = exec_path.get_base_dir();
String exec_filename = exec_path.get_file();
String exec_basename = exec_filename.get_basename();
@@ -1420,7 +1422,7 @@ void ProjectSettings::_add_builtin_input_map() {
ProjectSettings::ProjectSettings() {
// Initialization of engine variables should be done in the setup() method,
- // so that the values can be overridden from project.godot or project.binary.
+ // so that the values can be overridden from project.redot or project.binary.
CRASH_COND_MSG(singleton != nullptr, "Instantiating a new ProjectSettings singleton is not supported.");
singleton = this;
@@ -1524,7 +1526,7 @@ ProjectSettings::ProjectSettings() {
GLOBAL_DEF("debug/settings/crash_handler/message",
String("Please include this when reporting the bug to the project developer."));
GLOBAL_DEF("debug/settings/crash_handler/message.editor",
- String("Please include this when reporting the bug on: https://github.com/godotengine/godot/issues"));
+ String("Please include this when reporting the bug on: https://github.com/Redot-Engine/redot-engine/issues"));
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/occlusion_culling/bvh_build_quality", PROPERTY_HINT_ENUM, "Low,Medium,High"), 2);
GLOBAL_DEF_RST("rendering/occlusion_culling/jitter_projection", true);
diff --git a/core/config/project_settings.h b/core/config/project_settings.h
index 922c88c151..f90124c48e 100644
--- a/core/config/project_settings.h
+++ b/core/config/project_settings.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_bind.compat.inc b/core/core_bind.compat.inc
index 3e8ac3c5de..70df0fd441 100644
--- a/core/core_bind.compat.inc
+++ b/core/core_bind.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_bind.cpp b/core/core_bind.cpp
index 095c6c44dd..9bec2a9504 100644
--- a/core/core_bind.cpp
+++ b/core/core_bind.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -287,18 +289,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);
}
@@ -1777,10 +1779,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();
}
@@ -1789,6 +1799,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();
}
@@ -1918,9 +1932,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);
diff --git a/core/core_bind.h b/core/core_bind.h
index b690376551..1467bfc7ab 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -543,9 +545,12 @@ public:
MainLoop *get_main_loop() const;
Dictionary get_version_info() const;
+ Dictionary get_godot_compatible_version_info() const;
Dictionary get_author_info() const;
+ Dictionary get_godot_author_info() const;
TypedArray<Dictionary> get_copyright_info() const;
Dictionary get_donor_info() const;
+ Dictionary get_godot_donor_info() const;
Dictionary get_license_info() const;
String get_license_text() const;
diff --git a/core/core_builders.py b/core/core_builders.py
index a3dc935b79..0c161db364 100644
--- a/core/core_builders.py
+++ b/core/core_builders.py
@@ -53,6 +53,55 @@ def make_certs_header(target, source, env):
g.write("#endif // CERTS_COMPRESSED_GEN_H")
+def make_redot_authors_header(target, source, env):
+ sections = [
+ "Project Founders",
+ "Lead Developer",
+ "Project Manager",
+ "Developers",
+ ]
+ sections_id = [
+ "REDOT_AUTHORS_FOUNDERS",
+ "REDOT_AUTHORS_LEAD_DEVELOPERS",
+ "REDOT_AUTHORS_PROJECT_MANAGERS",
+ "REDOT_AUTHORS_DEVELOPERS",
+ ]
+
+ src = str(source[0])
+ dst = str(target[0])
+ with open(src, "r", encoding="utf-8") as f, open(dst, "w", encoding="utf-8", newline="\n") as g:
+ g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n")
+ g.write("#ifndef REDOT_AUTHORS_GEN_H\n")
+ g.write("#define REDOT_AUTHORS_GEN_H\n")
+
+ reading = False
+
+ def close_section():
+ g.write("\t0\n")
+ g.write("};\n")
+
+ for line in f:
+ if reading:
+ if line.startswith(" "):
+ g.write('\t"' + escape_string(line.strip()) + '",\n')
+ continue
+ if line.startswith("## "):
+ if reading:
+ close_section()
+ reading = False
+ for section, section_id in zip(sections, sections_id):
+ if line.strip().endswith(section):
+ current_section = escape_string(section_id)
+ reading = True
+ g.write("const char *const " + current_section + "[] = {\n")
+ break
+
+ if reading:
+ close_section()
+
+ g.write("#endif // REDOT_AUTHORS_GEN_H\n")
+
+
def make_authors_header(target, source, env):
sections = [
"Project Founders",
diff --git a/core/core_constants.cpp b/core/core_constants.cpp
index 25da49fa5c..e9051162fc 100644
--- a/core/core_constants.cpp
+++ b/core/core_constants.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_constants.h b/core/core_constants.h
index 82d626c749..dae39b30e2 100644
--- a/core/core_constants.h
+++ b/core/core_constants.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_globals.cpp b/core/core_globals.cpp
index b164f5348a..c2ee8c5ff0 100644
--- a/core/core_globals.cpp
+++ b/core/core_globals.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_globals.h b/core/core_globals.h
index ebb1f41a74..f955b77278 100644
--- a/core/core_globals.h
+++ b/core/core_globals.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_string_names.cpp b/core/core_string_names.cpp
index 9bf625cc15..7a58aee8a6 100644
--- a/core/core_string_names.cpp
+++ b/core/core_string_names.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/core_string_names.h b/core/core_string_names.h
index d4ba9110c3..f19fa7aba8 100644
--- a/core/core_string_names.h
+++ b/core/core_string_names.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/SCsub b/core/crypto/SCsub
index 3cea6bfb47..3d5533ee86 100644
--- a/core/crypto/SCsub
+++ b/core/crypto/SCsub
@@ -54,7 +54,7 @@ elif is_builtin:
# Needed to force rebuilding the core files when the configuration file is updated.
thirdparty_obj = ["#thirdparty/mbedtls/include/godot_module_mbedtls_config.h"]
-# Godot source files
+# Redot source files
core_obj = []
diff --git a/core/crypto/aes_context.cpp b/core/crypto/aes_context.cpp
index 7596f4e0e2..fc82a0c8f9 100644
--- a/core/crypto/aes_context.cpp
+++ b/core/crypto/aes_context.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/aes_context.h b/core/crypto/aes_context.h
index f6aeab221f..a0c1eeca69 100644
--- a/core/crypto/aes_context.h
+++ b/core/crypto/aes_context.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/crypto.cpp b/core/crypto/crypto.cpp
index 62bacadf91..a3e80d8232 100644
--- a/core/crypto/crypto.cpp
+++ b/core/crypto/crypto.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/crypto.h b/core/crypto/crypto.h
index c19e6b6773..49ec3b3205 100644
--- a/core/crypto/crypto.h
+++ b/core/crypto/crypto.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/crypto_core.cpp b/core/crypto/crypto_core.cpp
index 69a83284cc..20e65a0214 100644
--- a/core/crypto/crypto_core.cpp
+++ b/core/crypto/crypto_core.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/crypto_core.h b/core/crypto/crypto_core.h
index 4a9ffda842..c5b5c161ea 100644
--- a/core/crypto/crypto_core.h
+++ b/core/crypto/crypto_core.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/hashing_context.cpp b/core/crypto/hashing_context.cpp
index 01acbdbc17..8269fb0939 100644
--- a/core/crypto/hashing_context.cpp
+++ b/core/crypto/hashing_context.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/crypto/hashing_context.h b/core/crypto/hashing_context.h
index ab7affabaa..2b32890a7b 100644
--- a/core/crypto/hashing_context.h
+++ b/core/crypto/hashing_context.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/debugger_marshalls.cpp b/core/debugger/debugger_marshalls.cpp
index f4283e0ea9..cdd94356d8 100644
--- a/core/debugger/debugger_marshalls.cpp
+++ b/core/debugger/debugger_marshalls.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/debugger_marshalls.h b/core/debugger/debugger_marshalls.h
index 1b81623688..49c655ec83 100644
--- a/core/debugger/debugger_marshalls.h
+++ b/core/debugger/debugger_marshalls.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/engine_debugger.cpp b/core/debugger/engine_debugger.cpp
index 97a020e4c3..abc8f76dc0 100644
--- a/core/debugger/engine_debugger.cpp
+++ b/core/debugger/engine_debugger.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/engine_debugger.h b/core/debugger/engine_debugger.h
index 16050778aa..87bcbb01b8 100644
--- a/core/debugger/engine_debugger.h
+++ b/core/debugger/engine_debugger.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/engine_profiler.cpp b/core/debugger/engine_profiler.cpp
index abe0a4df77..f3c719d4f2 100644
--- a/core/debugger/engine_profiler.cpp
+++ b/core/debugger/engine_profiler.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/engine_profiler.h b/core/debugger/engine_profiler.h
index d3d0021e67..2f9f2b4ddf 100644
--- a/core/debugger/engine_profiler.h
+++ b/core/debugger/engine_profiler.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/local_debugger.cpp b/core/debugger/local_debugger.cpp
index dc46ffc307..4dfeb23472 100644
--- a/core/debugger/local_debugger.cpp
+++ b/core/debugger/local_debugger.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/local_debugger.h b/core/debugger/local_debugger.h
index 13c975c4bd..0f4fc0b387 100644
--- a/core/debugger/local_debugger.h
+++ b/core/debugger/local_debugger.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp
index fc1b7b74f9..d79f906ffd 100644
--- a/core/debugger/remote_debugger.cpp
+++ b/core/debugger/remote_debugger.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/remote_debugger.h b/core/debugger/remote_debugger.h
index e91d09be17..41294b317e 100644
--- a/core/debugger/remote_debugger.h
+++ b/core/debugger/remote_debugger.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/remote_debugger_peer.cpp b/core/debugger/remote_debugger_peer.cpp
index 9dca47a0b4..e5279e6263 100644
--- a/core/debugger/remote_debugger_peer.cpp
+++ b/core/debugger/remote_debugger_peer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/remote_debugger_peer.h b/core/debugger/remote_debugger_peer.h
index 37da0a927e..ccfd87889b 100644
--- a/core/debugger/remote_debugger_peer.h
+++ b/core/debugger/remote_debugger_peer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/script_debugger.cpp b/core/debugger/script_debugger.cpp
index e7d8654a0b..02621b7637 100644
--- a/core/debugger/script_debugger.cpp
+++ b/core/debugger/script_debugger.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/debugger/script_debugger.h b/core/debugger/script_debugger.h
index ee037b91fa..00806c1fd8 100644
--- a/core/debugger/script_debugger.h
+++ b/core/debugger/script_debugger.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/doc_data.cpp b/core/doc_data.cpp
index f40e878d52..e1e7ffbe47 100644
--- a/core/doc_data.cpp
+++ b/core/doc_data.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/doc_data.h b/core/doc_data.h
index 6a7f4355db..222c26486e 100644
--- a/core/doc_data.h
+++ b/core/doc_data.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/error/error_list.cpp b/core/error/error_list.cpp
index f14cc84bb4..f3a7142577 100644
--- a/core/error/error_list.cpp
+++ b/core/error/error_list.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/error/error_list.h b/core/error/error_list.h
index cdf06eb06d..844325c6bc 100644
--- a/core/error/error_list.h
+++ b/core/error/error_list.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/error/error_macros.cpp b/core/error/error_macros.cpp
index a2369992e6..2a6dfe67d8 100644
--- a/core/error/error_macros.cpp
+++ b/core/error/error_macros.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/error/error_macros.h b/core/error/error_macros.h
index 752fd605e0..ec5f07dc21 100644
--- a/core/error/error_macros.h
+++ b/core/error/error_macros.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/extension_api_dump.cpp b/core/extension/extension_api_dump.cpp
index c5f7502c12..2df3f7ef74 100644
--- a/core/extension/extension_api_dump.cpp
+++ b/core/extension/extension_api_dump.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/extension_api_dump.h b/core/extension/extension_api_dump.h
index 204a115f84..a625a96356 100644
--- a/core/extension/extension_api_dump.h
+++ b/core/extension/extension_api_dump.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension.compat.inc b/core/extension/gdextension.compat.inc
index 9dea865dbd..ef06874982 100644
--- a/core/extension/gdextension.compat.inc
+++ b/core/extension/gdextension.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension.cpp b/core/extension/gdextension.cpp
index 7cba5cb161..c87dd1090f 100644
--- a/core/extension/gdextension.cpp
+++ b/core/extension/gdextension.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -99,7 +101,7 @@ public:
virtual Variant call(Object *p_object, const Variant **p_args, int p_arg_count, Callable::CallError &r_error) const override {
#ifdef TOOLS_ENABLED
- ERR_FAIL_COND_V_MSG(!valid, Variant(), vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name));
+ ERR_FAIL_COND_V_MSG(!valid, Variant(), vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name));
ERR_FAIL_COND_V_MSG(p_object && p_object->is_extension_placeholder(), Variant(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name));
#endif
Variant ret;
@@ -113,7 +115,7 @@ public:
}
virtual void validated_call(Object *p_object, const Variant **p_args, Variant *r_ret) const override {
#ifdef TOOLS_ENABLED
- ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name));
+ ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name));
ERR_FAIL_COND_MSG(p_object && p_object->is_extension_placeholder(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name));
#endif
ERR_FAIL_COND_MSG(vararg, "Vararg methods don't have validated call support. This is most likely an engine bug.");
@@ -145,7 +147,7 @@ public:
virtual void ptrcall(Object *p_object, const void **p_args, void *r_ret) const override {
#ifdef TOOLS_ENABLED
- ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name));
+ ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name));
ERR_FAIL_COND_MSG(p_object && p_object->is_extension_placeholder(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name));
#endif
ERR_FAIL_COND_MSG(vararg, "Vararg methods don't have ptrcall support. This is most likely an engine bug.");
@@ -379,10 +381,10 @@ void GDExtension::_register_extension_class_internal(GDExtensionClassLibraryPtr
if (self->is_reloading && self->extension_classes.has(class_name)) {
extension = &self->extension_classes[class_name];
if (!parent_extension && parent_class_name != extension->gdextension.parent_class_name) {
- ERR_FAIL_MSG(vformat("GDExtension class '%s' cannot change parent type from '%s' to '%s' on hot reload. Restart Godot for this change to take effect.", class_name, extension->gdextension.parent_class_name, parent_class_name));
+ ERR_FAIL_MSG(vformat("GDExtension class '%s' cannot change parent type from '%s' to '%s' on hot reload. Restart Redot for this change to take effect.", class_name, extension->gdextension.parent_class_name, parent_class_name));
}
if (extension->gdextension.is_runtime != is_runtime) {
- ERR_PRINT(vformat("GDExtension class '%s' cannot change to/from runtime class on hot reload. Restart Godot for this change to take effect.", class_name));
+ ERR_PRINT(vformat("GDExtension class '%s' cannot change to/from runtime class on hot reload. Restart Redot for this change to take effect.", class_name));
is_runtime = extension->gdextension.is_runtime;
}
extension->is_reloading = false;
diff --git a/core/extension/gdextension.h b/core/extension/gdextension.h
index 706bc7e189..e45f8267ac 100644
--- a/core/extension/gdextension.h
+++ b/core/extension/gdextension.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_compat_hashes.cpp b/core/extension/gdextension_compat_hashes.cpp
index b07f5b1858..78ec5c21bf 100644
--- a/core/extension/gdextension_compat_hashes.cpp
+++ b/core/extension/gdextension_compat_hashes.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_compat_hashes.h b/core/extension/gdextension_compat_hashes.h
index 813859d9e6..6afcd21e42 100644
--- a/core/extension/gdextension_compat_hashes.h
+++ b/core/extension/gdextension_compat_hashes.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_interface.cpp b/core/extension/gdextension_interface.cpp
index 91f0b4a2de..da8dd515db 100644
--- a/core/extension/gdextension_interface.cpp
+++ b/core/extension/gdextension_interface.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_interface.h b/core/extension/gdextension_interface.h
index 374dbfd071..57a8213e47 100644
--- a/core/extension/gdextension_interface.h
+++ b/core/extension/gdextension_interface.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_library_loader.cpp b/core/extension/gdextension_library_loader.cpp
index d5f2eb668f..1ad030275e 100644
--- a/core/extension/gdextension_library_loader.cpp
+++ b/core/extension/gdextension_library_loader.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -315,7 +317,7 @@ Error GDExtensionLibraryLoader::parse_gdextension_file(const String &p_path) {
compatible = VERSION_PATCH >= compatibility_minimum[2];
}
if (!compatible) {
- ERR_PRINT(vformat("GDExtension only compatible with Godot version %d.%d.%d or later: %s", compatibility_minimum[0], compatibility_minimum[1], compatibility_minimum[2], p_path));
+ ERR_PRINT(vformat("GDExtension only compatible with Redot version %d.%d.%d or later: %s", compatibility_minimum[0], compatibility_minimum[1], compatibility_minimum[2], p_path));
return ERR_INVALID_DATA;
}
@@ -347,7 +349,7 @@ Error GDExtensionLibraryLoader::parse_gdextension_file(const String &p_path) {
#endif
if (!compatible) {
- ERR_PRINT(vformat("GDExtension only compatible with Godot version %s or earlier: %s", compat_string, p_path));
+ ERR_PRINT(vformat("GDExtension only compatible with Redot version %s or earlier: %s", compat_string, p_path));
return ERR_INVALID_DATA;
}
}
diff --git a/core/extension/gdextension_library_loader.h b/core/extension/gdextension_library_loader.h
index f781611b30..c423e461db 100644
--- a/core/extension/gdextension_library_loader.h
+++ b/core/extension/gdextension_library_loader.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_loader.h b/core/extension/gdextension_loader.h
index 2289550329..8565e0eee9 100644
--- a/core/extension/gdextension_loader.h
+++ b/core/extension/gdextension_loader.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_manager.cpp b/core/extension/gdextension_manager.cpp
index fff938858f..9bed94864e 100644
--- a/core/extension/gdextension_manager.cpp
+++ b/core/extension/gdextension_manager.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/extension/gdextension_manager.h b/core/extension/gdextension_manager.h
index 39a600474c..fd3cb7a7e9 100644
--- a/core/extension/gdextension_manager.h
+++ b/core/extension/gdextension_manager.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/default_controller_mappings.h b/core/input/default_controller_mappings.h
index 34e7d5d81f..6097dc5234 100644
--- a/core/input/default_controller_mappings.h
+++ b/core/input/default_controller_mappings.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/godotcontrollerdb.txt b/core/input/godotcontrollerdb.txt
index 8e8ec4c718..1b67d86072 100644
--- a/core/input/godotcontrollerdb.txt
+++ b/core/input/godotcontrollerdb.txt
@@ -1,5 +1,5 @@
-# Game Controller DB for Godot in SDL 2.0.16 format
-# Source: https://github.com/godotengine/godot
+# Game Controller DB for Redot in SDL 2.0.16 format
+# Source: https://github.com/Redot-Engine/redot-engine
# Windows
__XINPUT_DEVICE__,XInput Gamepad,a:b12,b:b13,x:b14,y:b15,start:b4,guide:b10,back:b5,leftstick:b6,rightstick:b7,leftshoulder:b8,rightshoulder:b9,dpup:b0,dpdown:b1,dpleft:b2,dpright:b3,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,platform:Windows,
diff --git a/core/input/input.compat.inc b/core/input/input.compat.inc
index cbc8b1df0f..e1b159ff76 100644
--- a/core/input/input.compat.inc
+++ b/core/input/input.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input.cpp b/core/input/input.cpp
index 6261a435fa..eb3bd5b56d 100644
--- a/core/input/input.cpp
+++ b/core/input/input.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input.h b/core/input/input.h
index 95dd623cc0..237961850e 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_enums.h b/core/input/input_enums.h
index 7974ee639d..8986a5e9f4 100644
--- a/core/input/input_enums.h
+++ b/core/input/input_enums.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp
index d125bad252..b9a167c9e2 100644
--- a/core/input/input_event.cpp
+++ b/core/input/input_event.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_event.h b/core/input/input_event.h
index 80bca28fbf..ab2399ba31 100644
--- a/core/input/input_event.h
+++ b/core/input/input_event.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_map.compat.inc b/core/input/input_map.compat.inc
index da4bd962b6..7978f6dc9b 100644
--- a/core/input/input_map.compat.inc
+++ b/core/input/input_map.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp
index 5b9377fe59..5c5677c306 100644
--- a/core/input/input_map.cpp
+++ b/core/input/input_map.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/input_map.h b/core/input/input_map.h
index 45798490f7..80a565981e 100644
--- a/core/input/input_map.h
+++ b/core/input/input_map.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/shortcut.cpp b/core/input/shortcut.cpp
index cdc6e2e8f7..cd967a2bf0 100644
--- a/core/input/shortcut.cpp
+++ b/core/input/shortcut.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/input/shortcut.h b/core/input/shortcut.h
index 4109e31f23..4a60fcb5e9 100644
--- a/core/input/shortcut.h
+++ b/core/input/shortcut.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/compression.cpp b/core/io/compression.cpp
index 4e4627c40b..1d1e26bcfa 100644
--- a/core/io/compression.cpp
+++ b/core/io/compression.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -146,7 +148,7 @@ int Compression::decompress(uint8_t *p_dst, int p_dst_max_size, const uint8_t *p
ERR_FAIL_COND_V(res != BROTLI_DECODER_RESULT_SUCCESS, -1);
return ret_size;
#else
- ERR_FAIL_V_MSG(-1, "Godot was compiled without brotli support.");
+ ERR_FAIL_V_MSG(-1, "Redot was compiled without brotli support.");
#endif
} break;
case MODE_FASTLZ: {
@@ -267,7 +269,7 @@ int Compression::decompress_dynamic(Vector<uint8_t> *p_dst_vect, int p_max_dst_s
BrotliDecoderDestroyInstance(state);
return Z_OK;
#else
- ERR_FAIL_V_MSG(Z_ERRNO, "Godot was compiled without brotli support.");
+ ERR_FAIL_V_MSG(Z_ERRNO, "Redot was compiled without brotli support.");
#endif
} else {
// This function only supports GZip and Deflate.
diff --git a/core/io/compression.h b/core/io/compression.h
index a5a2d657da..94dad6f14c 100644
--- a/core/io/compression.h
+++ b/core/io/compression.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/config_file.cpp b/core/io/config_file.cpp
index 0a4d5a3be6..921d9bd4dc 100644
--- a/core/io/config_file.cpp
+++ b/core/io/config_file.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/config_file.h b/core/io/config_file.h
index 05b4ed899e..dd6b3dc63d 100644
--- a/core/io/config_file.h
+++ b/core/io/config_file.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/dir_access.cpp b/core/io/dir_access.cpp
index 2f3fe4deeb..e059943348 100644
--- a/core/io/dir_access.cpp
+++ b/core/io/dir_access.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/dir_access.h b/core/io/dir_access.h
index e9c864c56b..f4a37ef29f 100644
--- a/core/io/dir_access.h
+++ b/core/io/dir_access.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/dtls_server.cpp b/core/io/dtls_server.cpp
index 7638328dc3..6ec9fe9376 100644
--- a/core/io/dtls_server.cpp
+++ b/core/io/dtls_server.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/dtls_server.h b/core/io/dtls_server.h
index 5ffed1ecc3..efb159e0fc 100644
--- a/core/io/dtls_server.h
+++ b/core/io/dtls_server.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access.cpp b/core/io/file_access.cpp
index d919243e6b..94b813fe20 100644
--- a/core/io/file_access.cpp
+++ b/core/io/file_access.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access.h b/core/io/file_access.h
index 2f4d1a8604..163e395d95 100644
--- a/core/io/file_access.h
+++ b/core/io/file_access.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_compressed.cpp b/core/io/file_access_compressed.cpp
index 3602baf8c5..628dd84bb1 100644
--- a/core/io/file_access_compressed.cpp
+++ b/core/io/file_access_compressed.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_compressed.h b/core/io/file_access_compressed.h
index ea9837dd03..d9c729d86e 100644
--- a/core/io/file_access_compressed.h
+++ b/core/io/file_access_compressed.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_encrypted.cpp b/core/io/file_access_encrypted.cpp
index 13d1e0c8fc..8ab4765162 100644
--- a/core/io/file_access_encrypted.cpp
+++ b/core/io/file_access_encrypted.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index 5f8c803d60..c3d4abfb3b 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_memory.cpp b/core/io/file_access_memory.cpp
index 1541a5ed4a..9c69b048f7 100644
--- a/core/io/file_access_memory.cpp
+++ b/core/io/file_access_memory.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_memory.h b/core/io/file_access_memory.h
index 39e1528d97..2317ab5c94 100644
--- a/core/io/file_access_memory.h
+++ b/core/io/file_access_memory.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp
index 1340382eaa..4cda039565 100644
--- a/core/io/file_access_pack.cpp
+++ b/core/io/file_access_pack.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h
index 57b7a5f87f..d0dfe52682 100644
--- a/core/io/file_access_pack.h
+++ b/core/io/file_access_pack.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -38,7 +40,7 @@
#include "core/templates/list.h"
#include "core/templates/rb_map.h"
-// Godot's packed file magic header ("GDPC" in ASCII).
+// Redot's packed file magic header ("GDPC" in ASCII).
#define PACK_HEADER_MAGIC 0x43504447
// The current packed file format version number.
#define PACK_FORMAT_VERSION 2
diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp
index b33b7b35c3..b541ca5537 100644
--- a/core/io/file_access_zip.cpp
+++ b/core/io/file_access_zip.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/file_access_zip.h b/core/io/file_access_zip.h
index 1e11e050df..8ca5d218e7 100644
--- a/core/io/file_access_zip.h
+++ b/core/io/file_access_zip.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index fc91341bed..99f891b83c 100644
--- a/core/io/http_client.cpp
+++ b/core/io/http_client.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/http_client.h b/core/io/http_client.h
index 5945291122..bc8faf93b8 100644
--- a/core/io/http_client.h
+++ b/core/io/http_client.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp
index 70fcad543a..57528ddd28 100644
--- a/core/io/http_client_tcp.cpp
+++ b/core/io/http_client_tcp.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -196,7 +198,7 @@ Error HTTPClientTCP::request(Method p_method, const String &p_url, const Vector<
// Should it add utf8 encoding?
}
if (add_uagent) {
- request += "User-Agent: GodotEngine/" + String(VERSION_FULL_BUILD) + " (" + OS::get_singleton()->get_name() + ")\r\n";
+ request += "User-Agent: RedotEngine/" + String(VERSION_FULL_BUILD) + " (" + OS::get_singleton()->get_name() + ")\r\n";
}
if (add_accept) {
request += "Accept: */*\r\n";
diff --git a/core/io/http_client_tcp.h b/core/io/http_client_tcp.h
index dd6cc6b84f..05931e843c 100644
--- a/core/io/http_client_tcp.h
+++ b/core/io/http_client_tcp.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/image.cpp b/core/io/image.cpp
index d782af931f..b7af940ad7 100644
--- a/core/io/image.cpp
+++ b/core/io/image.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -4034,7 +4036,7 @@ Error Image::load_tga_from_buffer(const Vector<uint8_t> &p_array) {
ERR_FAIL_NULL_V_MSG(
_tga_mem_loader_func,
ERR_UNAVAILABLE,
- "The TGA module isn't enabled. Recompile the Godot editor or export template binary with the `module_tga_enabled=yes` SCons option.");
+ "The TGA module isn't enabled. Recompile the Redot editor or export template binary with the `module_tga_enabled=yes` SCons option.");
return _load_from_buffer(p_array, _tga_mem_loader_func);
}
@@ -4042,7 +4044,7 @@ Error Image::load_bmp_from_buffer(const Vector<uint8_t> &p_array) {
ERR_FAIL_NULL_V_MSG(
_bmp_mem_loader_func,
ERR_UNAVAILABLE,
- "The BMP module isn't enabled. Recompile the Godot editor or export template binary with the `module_bmp_enabled=yes` SCons option.");
+ "The BMP module isn't enabled. Recompile the Redot editor or export template binary with the `module_bmp_enabled=yes` SCons option.");
return _load_from_buffer(p_array, _bmp_mem_loader_func);
}
@@ -4050,7 +4052,7 @@ Error Image::load_svg_from_buffer(const Vector<uint8_t> &p_array, float scale) {
ERR_FAIL_NULL_V_MSG(
_svg_scalable_mem_loader_func,
ERR_UNAVAILABLE,
- "The SVG module isn't enabled. Recompile the Godot editor or export template binary with the `module_svg_enabled=yes` SCons option.");
+ "The SVG module isn't enabled. Recompile the Redot editor or export template binary with the `module_svg_enabled=yes` SCons option.");
int buffer_size = p_array.size();
@@ -4072,7 +4074,7 @@ Error Image::load_ktx_from_buffer(const Vector<uint8_t> &p_array) {
ERR_FAIL_NULL_V_MSG(
_ktx_mem_loader_func,
ERR_UNAVAILABLE,
- "The KTX module isn't enabled. Recompile the Godot editor or export template binary with the `module_ktx_enabled=yes` SCons option.");
+ "The KTX module isn't enabled. Recompile the Redot editor or export template binary with the `module_ktx_enabled=yes` SCons option.");
return _load_from_buffer(p_array, _ktx_mem_loader_func);
}
diff --git a/core/io/image.h b/core/io/image.h
index 78757246e0..0c1ae82e57 100644
--- a/core/io/image.h
+++ b/core/io/image.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/image_loader.cpp b/core/io/image_loader.cpp
index 92c690dc2a..64a8481b0d 100644
--- a/core/io/image_loader.cpp
+++ b/core/io/image_loader.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/image_loader.h b/core/io/image_loader.h
index 26af650344..4b8619f4be 100644
--- a/core/io/image_loader.h
+++ b/core/io/image_loader.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/ip.cpp b/core/io/ip.cpp
index 38c71b19fa..d9ec091d58 100644
--- a/core/io/ip.cpp
+++ b/core/io/ip.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/ip.h b/core/io/ip.h
index 4816d59ac2..5c6203a105 100644
--- a/core/io/ip.h
+++ b/core/io/ip.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/ip_address.cpp b/core/io/ip_address.cpp
index a93876a2b5..518b11a2ea 100644
--- a/core/io/ip_address.cpp
+++ b/core/io/ip_address.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/ip_address.h b/core/io/ip_address.h
index da7b0f77db..530ecd9758 100644
--- a/core/io/ip_address.h
+++ b/core/io/ip_address.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/json.cpp b/core/io/json.cpp
index 22219fca29..1599c09d2c 100644
--- a/core/io/json.cpp
+++ b/core/io/json.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -1022,7 +1024,7 @@ Variant JSON::to_native(const Variant &p_json, bool p_allow_classes, bool p_allo
case Variant::DICTIONARY: {
Dictionary d = p_json;
if (d.has(GDTYPE)) {
- // Specific Godot Variant types serialized to JSON.
+ // Specific Redot Variant types serialized to JSON.
String type = d[GDTYPE];
if (type == Variant::get_type_name(Variant::VECTOR2)) {
ERR_FAIL_COND_V(!d.has(VALUES), Variant());
diff --git a/core/io/json.h b/core/io/json.h
index 67b5e09afa..dd614be853 100644
--- a/core/io/json.h
+++ b/core/io/json.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/logger.cpp b/core/io/logger.cpp
index 26b60f6738..b43463c759 100644
--- a/core/io/logger.cpp
+++ b/core/io/logger.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/logger.h b/core/io/logger.h
index 85ef3031ec..926023f0de 100644
--- a/core/io/logger.h
+++ b/core/io/logger.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/marshalls.cpp b/core/io/marshalls.cpp
index 67469de5cc..4d171a5ff5 100644
--- a/core/io/marshalls.cpp
+++ b/core/io/marshalls.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/marshalls.h b/core/io/marshalls.h
index 6f015ac386..360c711458 100644
--- a/core/io/marshalls.h
+++ b/core/io/marshalls.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/missing_resource.cpp b/core/io/missing_resource.cpp
index c78195bc46..b1a847830e 100644
--- a/core/io/missing_resource.cpp
+++ b/core/io/missing_resource.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/missing_resource.h b/core/io/missing_resource.h
index f32d818ccb..ce7ad26e4c 100644
--- a/core/io/missing_resource.h
+++ b/core/io/missing_resource.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/net_socket.cpp b/core/io/net_socket.cpp
index f7a2c5e38c..9db13e4157 100644
--- a/core/io/net_socket.cpp
+++ b/core/io/net_socket.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/net_socket.h b/core/io/net_socket.h
index 120ad5e85b..beee7a269a 100644
--- a/core/io/net_socket.h
+++ b/core/io/net_socket.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packed_data_container.cpp b/core/io/packed_data_container.cpp
index ca236ce05c..ed65614827 100644
--- a/core/io/packed_data_container.cpp
+++ b/core/io/packed_data_container.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packed_data_container.h b/core/io/packed_data_container.h
index f4ffa09022..1099ac70a4 100644
--- a/core/io/packed_data_container.h
+++ b/core/io/packed_data_container.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp
index 614f81c42a..3ec075f85b 100644
--- a/core/io/packet_peer.cpp
+++ b/core/io/packet_peer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer.h b/core/io/packet_peer.h
index 86ebe32cb6..b361bb42dd 100644
--- a/core/io/packet_peer.h
+++ b/core/io/packet_peer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer_dtls.cpp b/core/io/packet_peer_dtls.cpp
index 231c48d887..f44d0f0d75 100644
--- a/core/io/packet_peer_dtls.cpp
+++ b/core/io/packet_peer_dtls.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer_dtls.h b/core/io/packet_peer_dtls.h
index 03d97a5903..492c298ebf 100644
--- a/core/io/packet_peer_dtls.h
+++ b/core/io/packet_peer_dtls.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer_udp.cpp b/core/io/packet_peer_udp.cpp
index fae3de2a98..499b7fc1a2 100644
--- a/core/io/packet_peer_udp.cpp
+++ b/core/io/packet_peer_udp.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/packet_peer_udp.h b/core/io/packet_peer_udp.h
index c69a138c53..a36029aa9b 100644
--- a/core/io/packet_peer_udp.h
+++ b/core/io/packet_peer_udp.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/pck_packer.cpp b/core/io/pck_packer.cpp
index 93179d9a11..6b20b10219 100644
--- a/core/io/pck_packer.cpp
+++ b/core/io/pck_packer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/pck_packer.h b/core/io/pck_packer.h
index 5aac833532..dd6d741f4e 100644
--- a/core/io/pck_packer.h
+++ b/core/io/pck_packer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/plist.cpp b/core/io/plist.cpp
index 8d91e6dec2..3d7f4c683f 100644
--- a/core/io/plist.cpp
+++ b/core/io/plist.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/plist.h b/core/io/plist.h
index 7d8b8ef0b4..782e6153f1 100644
--- a/core/io/plist.h
+++ b/core/io/plist.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/remote_filesystem_client.cpp b/core/io/remote_filesystem_client.cpp
index 1198810441..a30240f954 100644
--- a/core/io/remote_filesystem_client.cpp
+++ b/core/io/remote_filesystem_client.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -168,6 +170,7 @@ Error RemoteFilesystemClient::_synchronize_with_server(const String &p_host, int
// Connection OK, now send the current file state.
print_verbose("Remote Filesystem: Connection OK.");
+ // FIXME: Is rebranding needed here, to "GDFS"?
// Header (GRFS) - Godot Remote File System
print_verbose("Remote Filesystem: Sending header");
tcp_client->put_u8('G');
diff --git a/core/io/remote_filesystem_client.h b/core/io/remote_filesystem_client.h
index fcb5c1cfc3..19c360f735 100644
--- a/core/io/remote_filesystem_client.h
+++ b/core/io/remote_filesystem_client.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource.cpp b/core/io/resource.cpp
index 0ff4fbe490..c33a485776 100644
--- a/core/io/resource.cpp
+++ b/core/io/resource.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource.h b/core/io/resource.h
index 015f7ad197..488781e6e7 100644
--- a/core/io/resource.h
+++ b/core/io/resource.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index ecbb9c0104..ca1cc09180 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_format_binary.h b/core/io/resource_format_binary.h
index 222e633e58..6b4c9a75c8 100644
--- a/core/io/resource_format_binary.h
+++ b/core/io/resource_format_binary.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_importer.cpp b/core/io/resource_importer.cpp
index 1ae50d2d0d..98bfb24987 100644
--- a/core/io/resource_importer.cpp
+++ b/core/io/resource_importer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_importer.h b/core/io/resource_importer.h
index 221f38494b..84836b96d4 100644
--- a/core/io/resource_importer.h
+++ b/core/io/resource_importer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp
index f026d5416c..22cf741f8a 100644
--- a/core/io/resource_loader.cpp
+++ b/core/io/resource_loader.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h
index caaf9f8f45..8f5fe067e5 100644
--- a/core/io/resource_loader.h
+++ b/core/io/resource_loader.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_saver.cpp b/core/io/resource_saver.cpp
index 1dc1245355..b3dd546f8c 100644
--- a/core/io/resource_saver.cpp
+++ b/core/io/resource_saver.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_saver.h b/core/io/resource_saver.h
index 3e0821926a..f7df92ff24 100644
--- a/core/io/resource_saver.h
+++ b/core/io/resource_saver.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_uid.cpp b/core/io/resource_uid.cpp
index c14121a53b..9c41431c64 100644
--- a/core/io/resource_uid.cpp
+++ b/core/io/resource_uid.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/resource_uid.h b/core/io/resource_uid.h
index e56b89f603..0f746b33a2 100644
--- a/core/io/resource_uid.h
+++ b/core/io/resource_uid.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp
index c49e15a3a0..da74dad962 100644
--- a/core/io/stream_peer.cpp
+++ b/core/io/stream_peer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer.h b/core/io/stream_peer.h
index 29cdb82615..0aeef09ca9 100644
--- a/core/io/stream_peer.h
+++ b/core/io/stream_peer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_gzip.cpp b/core/io/stream_peer_gzip.cpp
index 514bcf59b8..e77f850760 100644
--- a/core/io/stream_peer_gzip.cpp
+++ b/core/io/stream_peer_gzip.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_gzip.h b/core/io/stream_peer_gzip.h
index a2e25ea422..fc0f4b7fc1 100644
--- a/core/io/stream_peer_gzip.h
+++ b/core/io/stream_peer_gzip.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_tcp.cpp b/core/io/stream_peer_tcp.cpp
index 90a8f49a75..156649341b 100644
--- a/core/io/stream_peer_tcp.cpp
+++ b/core/io/stream_peer_tcp.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_tcp.h b/core/io/stream_peer_tcp.h
index d7da7503f9..c79ace607c 100644
--- a/core/io/stream_peer_tcp.h
+++ b/core/io/stream_peer_tcp.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_tls.cpp b/core/io/stream_peer_tls.cpp
index f04e217a26..123ac4e596 100644
--- a/core/io/stream_peer_tls.cpp
+++ b/core/io/stream_peer_tls.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/stream_peer_tls.h b/core/io/stream_peer_tls.h
index 3e03e25a2d..66fe6df8ed 100644
--- a/core/io/stream_peer_tls.h
+++ b/core/io/stream_peer_tls.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/tcp_server.cpp b/core/io/tcp_server.cpp
index f2b3d5e56a..7372810a37 100644
--- a/core/io/tcp_server.cpp
+++ b/core/io/tcp_server.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h
index 472d86f36a..5a538e5370 100644
--- a/core/io/tcp_server.h
+++ b/core/io/tcp_server.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/translation_loader_po.cpp b/core/io/translation_loader_po.cpp
index 812fbc774e..ae58081470 100644
--- a/core/io/translation_loader_po.cpp
+++ b/core/io/translation_loader_po.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/translation_loader_po.h b/core/io/translation_loader_po.h
index a695826e59..0ef8ba06fd 100644
--- a/core/io/translation_loader_po.h
+++ b/core/io/translation_loader_po.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/udp_server.cpp b/core/io/udp_server.cpp
index 75ba784dbd..575873cceb 100644
--- a/core/io/udp_server.cpp
+++ b/core/io/udp_server.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/udp_server.h b/core/io/udp_server.h
index 39b7fd989f..50000489b5 100644
--- a/core/io/udp_server.h
+++ b/core/io/udp_server.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/xml_parser.cpp b/core/io/xml_parser.cpp
index 06888c7cda..d5f66d31d1 100644
--- a/core/io/xml_parser.cpp
+++ b/core/io/xml_parser.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/xml_parser.h b/core/io/xml_parser.h
index 77df99a881..a29a3a71b8 100644
--- a/core/io/xml_parser.h
+++ b/core/io/xml_parser.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/zip_io.cpp b/core/io/zip_io.cpp
index 972656e237..3f9162b60a 100644
--- a/core/io/zip_io.cpp
+++ b/core/io/zip_io.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/io/zip_io.h b/core/io/zip_io.h
index cd5c873c4b..807436fc05 100644
--- a/core/io/zip_io.h
+++ b/core/io/zip_io.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/a_star.compat.inc b/core/math/a_star.compat.inc
index 664d7ffd5e..75803ef87f 100644
--- a/core/math/a_star.compat.inc
+++ b/core/math/a_star.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/a_star.cpp b/core/math/a_star.cpp
index c85201a973..6de12e32a0 100644
--- a/core/math/a_star.cpp
+++ b/core/math/a_star.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/a_star.h b/core/math/a_star.h
index cbaafc1018..3ff025ec41 100644
--- a/core/math/a_star.h
+++ b/core/math/a_star.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/a_star_grid_2d.compat.inc b/core/math/a_star_grid_2d.compat.inc
index e7124c2477..2c136c0ac5 100644
--- a/core/math/a_star_grid_2d.compat.inc
+++ b/core/math/a_star_grid_2d.compat.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/a_star_grid_2d.cpp b/core/math/a_star_grid_2d.cpp
index 7e0e982c62..e166211a59 100644
--- a/core/math/a_star_grid_2d.cpp
+++ b/core/math/a_star_grid_2d.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -188,6 +190,14 @@ bool AStarGrid2D::is_jumping_enabled() const {
return jumping_enabled;
}
+int64_t AStarGrid2D::get_max_traversals() const {
+ return max_traversals;
+}
+
+void AStarGrid2D::set_max_traversals(int64_t p_max_traversals) {
+ max_traversals = p_max_traversals;
+}
+
void AStarGrid2D::set_diagonal_mode(DiagonalMode p_diagonal_mode) {
ERR_FAIL_INDEX((int)p_diagonal_mode, (int)DIAGONAL_MODE_MAX);
diagonal_mode = p_diagonal_mode;
@@ -500,6 +510,7 @@ bool AStarGrid2D::_solve(Point *p_begin_point, Point *p_end_point, bool p_allow_
}
bool found_route = false;
+ int64_t traversal_count = 0;
LocalVector<Point *> open_list;
SortArray<Point *, SortPoints> sorter;
@@ -524,6 +535,14 @@ bool AStarGrid2D::_solve(Point *p_begin_point, Point *p_end_point, bool p_allow_
break;
}
+ // If we have a limit on traversals, increment and stop once we reach the threshold.
+ if (max_traversals > 0 && traversal_count >= max_traversals) {
+ break;
+ }
+
+ // Increment traversals for each node we process.
+ traversal_count++;
+
sorter.pop_heap(0, open_list.size(), open_list.ptr()); // Remove the current point from the open list.
open_list.remove_at(open_list.size() - 1);
p->closed_pass = pass; // Mark the point as closed.
@@ -751,6 +770,8 @@ void AStarGrid2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("update"), &AStarGrid2D::update);
ClassDB::bind_method(D_METHOD("set_jumping_enabled", "enabled"), &AStarGrid2D::set_jumping_enabled);
ClassDB::bind_method(D_METHOD("is_jumping_enabled"), &AStarGrid2D::is_jumping_enabled);
+ ClassDB::bind_method(D_METHOD("set_max_traversals", "max_traversals"), &AStarGrid2D::set_max_traversals);
+ ClassDB::bind_method(D_METHOD("get_max_traversals"), &AStarGrid2D::get_max_traversals);
ClassDB::bind_method(D_METHOD("set_diagonal_mode", "mode"), &AStarGrid2D::set_diagonal_mode);
ClassDB::bind_method(D_METHOD("get_diagonal_mode"), &AStarGrid2D::get_diagonal_mode);
ClassDB::bind_method(D_METHOD("set_default_compute_heuristic", "heuristic"), &AStarGrid2D::set_default_compute_heuristic);
@@ -780,6 +801,7 @@ void AStarGrid2D::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::INT, "cell_shape", PROPERTY_HINT_ENUM, "Square,IsometricRight,IsometricDown"), "set_cell_shape", "get_cell_shape");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "jumping_enabled"), "set_jumping_enabled", "is_jumping_enabled");
+ ADD_PROPERTY(PropertyInfo(Variant::INT, "max_traversals", PROPERTY_HINT_RANGE, "0,65536,0"), "set_max_traversals", "get_max_traversals");
ADD_PROPERTY(PropertyInfo(Variant::INT, "default_compute_heuristic", PROPERTY_HINT_ENUM, "Euclidean,Manhattan,Octile,Chebyshev"), "set_default_compute_heuristic", "get_default_compute_heuristic");
ADD_PROPERTY(PropertyInfo(Variant::INT, "default_estimate_heuristic", PROPERTY_HINT_ENUM, "Euclidean,Manhattan,Octile,Chebyshev"), "set_default_estimate_heuristic", "get_default_estimate_heuristic");
ADD_PROPERTY(PropertyInfo(Variant::INT, "diagonal_mode", PROPERTY_HINT_ENUM, "Never,Always,At Least One Walkable,Only If No Obstacles"), "set_diagonal_mode", "get_diagonal_mode");
diff --git a/core/math/a_star_grid_2d.h b/core/math/a_star_grid_2d.h
index 0536b8109b..3034de93d7 100644
--- a/core/math/a_star_grid_2d.h
+++ b/core/math/a_star_grid_2d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -71,6 +73,7 @@ private:
CellShape cell_shape = CELL_SHAPE_SQUARE;
bool jumping_enabled = false;
+ int64_t max_traversals = 0;
DiagonalMode diagonal_mode = DIAGONAL_MODE_ALWAYS;
Heuristic default_compute_heuristic = HEURISTIC_EUCLIDEAN;
Heuristic default_estimate_heuristic = HEURISTIC_EUCLIDEAN;
@@ -202,6 +205,9 @@ public:
void set_jumping_enabled(bool p_enabled);
bool is_jumping_enabled() const;
+ void set_max_traversals(int64_t p_max_traversals);
+ int64_t get_max_traversals() const;
+
void set_diagonal_mode(DiagonalMode p_diagonal_mode);
DiagonalMode get_diagonal_mode() const;
diff --git a/core/math/aabb.cpp b/core/math/aabb.cpp
index 7d1d7c5648..da42d89f54 100644
--- a/core/math/aabb.cpp
+++ b/core/math/aabb.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/aabb.h b/core/math/aabb.h
index 7a5581b5d4..ceed814689 100644
--- a/core/math/aabb.h
+++ b/core/math/aabb.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/audio_frame.h b/core/math/audio_frame.h
index e205126cdf..49b1ec6ae1 100644
--- a/core/math/audio_frame.h
+++ b/core/math/audio_frame.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/basis.cpp b/core/math/basis.cpp
index 34ed1c2d85..7c73bd94a6 100644
--- a/core/math/basis.cpp
+++ b/core/math/basis.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/basis.h b/core/math/basis.h
index 236d666103..8ffe0dbbae 100644
--- a/core/math/basis.h
+++ b/core/math/basis.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/bvh.h b/core/math/bvh.h
index 4815466e89..2445c3c4e3 100644
--- a/core/math/bvh.h
+++ b/core/math/bvh.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/bvh_abb.h b/core/math/bvh_abb.h
index 3d32c250c9..6ccb4db30b 100644
--- a/core/math/bvh_abb.h
+++ b/core/math/bvh_abb.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/bvh_tree.h b/core/math/bvh_tree.h
index 0faa50555f..d971a4ce41 100644
--- a/core/math/bvh_tree.h
+++ b/core/math/bvh_tree.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/color.cpp b/core/math/color.cpp
index 1638acd74d..bf191fafc2 100644
--- a/core/math/color.cpp
+++ b/core/math/color.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/color.h b/core/math/color.h
index 70fad78acb..97e04b282a 100644
--- a/core/math/color.h
+++ b/core/math/color.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/color_names.inc b/core/math/color_names.inc
index 6c0d2a4bfd..77f23558e5 100644
--- a/core/math/color_names.inc
+++ b/core/math/color_names.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/convex_hull.cpp b/core/math/convex_hull.cpp
index 620a7541e4..d3216bd834 100644
--- a/core/math/convex_hull.cpp
+++ b/core/math/convex_hull.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -2326,7 +2328,7 @@ Error ConvexHullComputer::convex_hull(const Vector<Vector3> &p_points, Geometry3
e = e->get_next_edge_of_face();
} while (e != e_start);
- // reverse indices: Godot wants clockwise, but this is counter-clockwise
+ // reverse indices: Redot wants clockwise, but this is counter-clockwise
if (face.indices.size() > 2) {
// reverse all but the first index.
int *indices = face.indices.ptr();
diff --git a/core/math/convex_hull.h b/core/math/convex_hull.h
index 75787f7bb5..d0904b1d09 100644
--- a/core/math/convex_hull.h
+++ b/core/math/convex_hull.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/delaunay_2d.h b/core/math/delaunay_2d.h
index 0bc67a92f6..1eea1651df 100644
--- a/core/math/delaunay_2d.h
+++ b/core/math/delaunay_2d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/delaunay_3d.h b/core/math/delaunay_3d.h
index 4f21a665de..da7f8505ed 100644
--- a/core/math/delaunay_3d.h
+++ b/core/math/delaunay_3d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/disjoint_set.h b/core/math/disjoint_set.h
index 4348da992d..36cd7ccf34 100644
--- a/core/math/disjoint_set.h
+++ b/core/math/disjoint_set.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/dynamic_bvh.cpp b/core/math/dynamic_bvh.cpp
index e1315d1c64..374bcf21e8 100644
--- a/core/math/dynamic_bvh.cpp
+++ b/core/math/dynamic_bvh.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/dynamic_bvh.h b/core/math/dynamic_bvh.h
index 26fc517f7f..dc5b3045a2 100644
--- a/core/math/dynamic_bvh.h
+++ b/core/math/dynamic_bvh.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/expression.cpp b/core/math/expression.cpp
index 0692ece1e6..a7a1a70270 100644
--- a/core/math/expression.cpp
+++ b/core/math/expression.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/expression.h b/core/math/expression.h
index 46bc3618df..8d87726ca9 100644
--- a/core/math/expression.h
+++ b/core/math/expression.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/face3.cpp b/core/math/face3.cpp
index 1dff0ee4a6..234d020ebc 100644
--- a/core/math/face3.cpp
+++ b/core/math/face3.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/face3.h b/core/math/face3.h
index 519dcb6414..91d48f8bfe 100644
--- a/core/math/face3.h
+++ b/core/math/face3.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/geometry_2d.cpp b/core/math/geometry_2d.cpp
index a49826958a..2812ebbe51 100644
--- a/core/math/geometry_2d.cpp
+++ b/core/math/geometry_2d.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/geometry_2d.h b/core/math/geometry_2d.h
index abd395d8df..e811597a88 100644
--- a/core/math/geometry_2d.h
+++ b/core/math/geometry_2d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/geometry_3d.cpp b/core/math/geometry_3d.cpp
index 4d55455166..5b92fb0e51 100644
--- a/core/math/geometry_3d.cpp
+++ b/core/math/geometry_3d.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/geometry_3d.h b/core/math/geometry_3d.h
index ff39d82595..138529a5df 100644
--- a/core/math/geometry_3d.h
+++ b/core/math/geometry_3d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/math_defs.h b/core/math/math_defs.h
index fe53121a03..5de2756e18 100644
--- a/core/math/math_defs.h
+++ b/core/math/math_defs.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/math_fieldwise.cpp b/core/math/math_fieldwise.cpp
index 4064e6aaa6..cacf2e3fba 100644
--- a/core/math/math_fieldwise.cpp
+++ b/core/math/math_fieldwise.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/math_fieldwise.h b/core/math/math_fieldwise.h
index 6d222c1578..dfaccec879 100644
--- a/core/math/math_fieldwise.h
+++ b/core/math/math_fieldwise.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/math_funcs.cpp b/core/math/math_funcs.cpp
index 0d5b0faa9d..4a306dbc79 100644
--- a/core/math/math_funcs.cpp
+++ b/core/math/math_funcs.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 1afc5f4bbb..6ba0529a8d 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/plane.cpp b/core/math/plane.cpp
index 6b9bcea081..06eb4cd6c2 100644
--- a/core/math/plane.cpp
+++ b/core/math/plane.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/plane.h b/core/math/plane.h
index 6529fea60a..07d2da90f4 100644
--- a/core/math/plane.h
+++ b/core/math/plane.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/projection.cpp b/core/math/projection.cpp
index d0ca7c5684..119d0a8142 100644
--- a/core/math/projection.cpp
+++ b/core/math/projection.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -596,101 +598,229 @@ Projection Projection::inverse() const {
}
void Projection::invert() {
- int i, j, k;
- int pvt_i[4], pvt_j[4]; /* Locations of pivot matrix */
- real_t pvt_val; /* Value of current pivot element */
- real_t hold; /* Temporary storage */
- real_t determinant = 1.0f;
- for (k = 0; k < 4; k++) {
- /** Locate k'th pivot element **/
- pvt_val = columns[k][k]; /** Initialize for search **/
- pvt_i[k] = k;
- pvt_j[k] = k;
- for (i = k; i < 4; i++) {
- for (j = k; j < 4; j++) {
- if (Math::abs(columns[i][j]) > Math::abs(pvt_val)) {
- pvt_i[k] = i;
- pvt_j[k] = j;
- pvt_val = columns[i][j];
- }
- }
- }
-
- /** Product of pivots, gives determinant when finished **/
- determinant *= pvt_val;
- if (Math::is_zero_approx(determinant)) {
- return; /** Matrix is singular (zero determinant). **/
- }
-
- /** "Interchange" rows (with sign change stuff) **/
- i = pvt_i[k];
- if (i != k) { /** If rows are different **/
- for (j = 0; j < 4; j++) {
- hold = -columns[k][j];
- columns[k][j] = columns[i][j];
- columns[i][j] = hold;
- }
- }
-
- /** "Interchange" columns **/
- j = pvt_j[k];
- if (j != k) { /** If columns are different **/
- for (i = 0; i < 4; i++) {
- hold = -columns[i][k];
- columns[i][k] = columns[i][j];
- columns[i][j] = hold;
- }
- }
-
- /** Divide column by minus pivot value **/
- for (i = 0; i < 4; i++) {
- if (i != k) {
- columns[i][k] /= (-pvt_val);
- }
- }
-
- /** Reduce the matrix **/
- for (i = 0; i < 4; i++) {
- hold = columns[i][k];
- for (j = 0; j < 4; j++) {
- if (i != k && j != k) {
- columns[i][j] += hold * columns[k][j];
- }
- }
- }
-
- /** Divide row by pivot **/
- for (j = 0; j < 4; j++) {
- if (j != k) {
- columns[k][j] /= pvt_val;
- }
- }
-
- /** Replace pivot by reciprocal (at last we can touch it). **/
- columns[k][k] = 1.0 / pvt_val;
+ // Adapted from Mesa's `src/util/u_math.c` `util_invert_mat4x4`.
+ // MIT licensed. Copyright 2008 VMware, Inc. Authored by Jacques Leroy.
+ Projection temp;
+ real_t *out = (real_t *)temp.columns;
+ real_t *m = (real_t *)columns;
+
+ real_t wtmp[4][8];
+ real_t m0, m1, m2, m3, s;
+ real_t *r0, *r1, *r2, *r3;
+
+#define MAT(m, r, c) (m)[(c) * 4 + (r)]
+
+ r0 = wtmp[0];
+ r1 = wtmp[1];
+ r2 = wtmp[2];
+ r3 = wtmp[3];
+
+ r0[0] = MAT(m, 0, 0);
+ r0[1] = MAT(m, 0, 1);
+ r0[2] = MAT(m, 0, 2);
+ r0[3] = MAT(m, 0, 3);
+ r0[4] = 1.0;
+ r0[5] = 0.0;
+ r0[6] = 0.0;
+ r0[7] = 0.0;
+
+ r1[0] = MAT(m, 1, 0);
+ r1[1] = MAT(m, 1, 1);
+ r1[2] = MAT(m, 1, 2);
+ r1[3] = MAT(m, 1, 3);
+ r1[5] = 1.0;
+ r1[4] = 0.0;
+ r1[6] = 0.0;
+ r1[7] = 0.0;
+
+ r2[0] = MAT(m, 2, 0);
+ r2[1] = MAT(m, 2, 1);
+ r2[2] = MAT(m, 2, 2);
+ r2[3] = MAT(m, 2, 3);
+ r2[6] = 1.0;
+ r2[4] = 0.0;
+ r2[5] = 0.0;
+ r2[7] = 0.0;
+
+ r3[0] = MAT(m, 3, 0);
+ r3[1] = MAT(m, 3, 1);
+ r3[2] = MAT(m, 3, 2);
+ r3[3] = MAT(m, 3, 3);
+
+ r3[7] = 1.0;
+ r3[4] = 0.0;
+ r3[5] = 0.0;
+ r3[6] = 0.0;
+
+ /* choose pivot - or die */
+ if (Math::abs(r3[0]) > Math::abs(r2[0])) {
+ SWAP(r3, r2);
+ }
+ if (Math::abs(r2[0]) > Math::abs(r1[0])) {
+ SWAP(r2, r1);
+ }
+ if (Math::abs(r1[0]) > Math::abs(r0[0])) {
+ SWAP(r1, r0);
+ }
+ ERR_FAIL_COND(0.0 == r0[0]);
+
+ /* eliminate first variable */
+ m1 = r1[0] / r0[0];
+ m2 = r2[0] / r0[0];
+ m3 = r3[0] / r0[0];
+ s = r0[1];
+ r1[1] -= m1 * s;
+ r2[1] -= m2 * s;
+ r3[1] -= m3 * s;
+ s = r0[2];
+ r1[2] -= m1 * s;
+ r2[2] -= m2 * s;
+ r3[2] -= m3 * s;
+ s = r0[3];
+ r1[3] -= m1 * s;
+ r2[3] -= m2 * s;
+ r3[3] -= m3 * s;
+ s = r0[4];
+ if (s != 0.0) {
+ r1[4] -= m1 * s;
+ r2[4] -= m2 * s;
+ r3[4] -= m3 * s;
+ }
+ s = r0[5];
+ if (s != 0.0) {
+ r1[5] -= m1 * s;
+ r2[5] -= m2 * s;
+ r3[5] -= m3 * s;
+ }
+ s = r0[6];
+ if (s != 0.0) {
+ r1[6] -= m1 * s;
+ r2[6] -= m2 * s;
+ r3[6] -= m3 * s;
+ }
+ s = r0[7];
+ if (s != 0.0) {
+ r1[7] -= m1 * s;
+ r2[7] -= m2 * s;
+ r3[7] -= m3 * s;
}
- /* That was most of the work, one final pass of row/column interchange */
- /* to finish */
- for (k = 4 - 2; k >= 0; k--) { /* Don't need to work with 1 by 1 corner*/
- i = pvt_j[k]; /* Rows to swap correspond to pivot COLUMN */
- if (i != k) { /* If rows are different */
- for (j = 0; j < 4; j++) {
- hold = columns[k][j];
- columns[k][j] = -columns[i][j];
- columns[i][j] = hold;
- }
- }
+ /* choose pivot - or die */
+ if (Math::abs(r3[1]) > Math::abs(r2[1])) {
+ SWAP(r3, r2);
+ }
+ if (Math::abs(r2[1]) > Math::abs(r1[1])) {
+ SWAP(r2, r1);
+ }
+ ERR_FAIL_COND(0.0 == r1[1]);
+
+ /* eliminate second variable */
+ m2 = r2[1] / r1[1];
+ m3 = r3[1] / r1[1];
+ r2[2] -= m2 * r1[2];
+ r3[2] -= m3 * r1[2];
+ r2[3] -= m2 * r1[3];
+ r3[3] -= m3 * r1[3];
+ s = r1[4];
+ if (0.0 != s) {
+ r2[4] -= m2 * s;
+ r3[4] -= m3 * s;
+ }
+ s = r1[5];
+ if (0.0 != s) {
+ r2[5] -= m2 * s;
+ r3[5] -= m3 * s;
+ }
+ s = r1[6];
+ if (0.0 != s) {
+ r2[6] -= m2 * s;
+ r3[6] -= m3 * s;
+ }
+ s = r1[7];
+ if (0.0 != s) {
+ r2[7] -= m2 * s;
+ r3[7] -= m3 * s;
+ }
- j = pvt_i[k]; /* Columns to swap correspond to pivot ROW */
- if (j != k) { /* If columns are different */
- for (i = 0; i < 4; i++) {
- hold = columns[i][k];
- columns[i][k] = -columns[i][j];
- columns[i][j] = hold;
- }
- }
+ /* choose pivot - or die */
+ if (Math::abs(r3[2]) > Math::abs(r2[2])) {
+ SWAP(r3, r2);
}
+ ERR_FAIL_COND(0.0 == r2[2]);
+
+ /* eliminate third variable */
+ m3 = r3[2] / r2[2];
+ r3[3] -= m3 * r2[3];
+ r3[4] -= m3 * r2[4];
+ r3[5] -= m3 * r2[5];
+ r3[6] -= m3 * r2[6];
+ r3[7] -= m3 * r2[7];
+
+ /* last check */
+ ERR_FAIL_COND(0.0 == r3[3]);
+
+ s = 1.0 / r3[3]; /* now back substitute row 3 */
+ r3[4] *= s;
+ r3[5] *= s;
+ r3[6] *= s;
+ r3[7] *= s;
+
+ m2 = r2[3]; /* now back substitute row 2 */
+ s = 1.0 / r2[2];
+ r2[4] = s * (r2[4] - r3[4] * m2);
+ r2[5] = s * (r2[5] - r3[5] * m2);
+ r2[6] = s * (r2[6] - r3[6] * m2);
+ r2[7] = s * (r2[7] - r3[7] * m2);
+ m1 = r1[3];
+ r1[4] -= r3[4] * m1;
+ r1[5] -= r3[5] * m1;
+ r1[6] -= r3[6] * m1;
+ r1[7] -= r3[7] * m1;
+ m0 = r0[3];
+ r0[4] -= r3[4] * m0;
+ r0[5] -= r3[5] * m0;
+ r0[6] -= r3[6] * m0;
+ r0[7] -= r3[7] * m0;
+
+ m1 = r1[2]; /* now back substitute row 1 */
+ s = 1.0 / r1[1];
+ r1[4] = s * (r1[4] - r2[4] * m1);
+ r1[5] = s * (r1[5] - r2[5] * m1),
+ r1[6] = s * (r1[6] - r2[6] * m1);
+ r1[7] = s * (r1[7] - r2[7] * m1);
+ m0 = r0[2];
+ r0[4] -= r2[4] * m0;
+ r0[5] -= r2[5] * m0;
+ r0[6] -= r2[6] * m0;
+ r0[7] -= r2[7] * m0;
+
+ m0 = r0[1]; /* now back substitute row 0 */
+ s = 1.0 / r0[0];
+ r0[4] = s * (r0[4] - r1[4] * m0);
+ r0[5] = s * (r0[5] - r1[5] * m0),
+ r0[6] = s * (r0[6] - r1[6] * m0);
+ r0[7] = s * (r0[7] - r1[7] * m0);
+
+ MAT(out, 0, 0) = r0[4];
+ MAT(out, 0, 1) = r0[5];
+ MAT(out, 0, 2) = r0[6];
+ MAT(out, 0, 3) = r0[7];
+ MAT(out, 1, 0) = r1[4];
+ MAT(out, 1, 1) = r1[5];
+ MAT(out, 1, 2) = r1[6];
+ MAT(out, 1, 3) = r1[7];
+ MAT(out, 2, 0) = r2[4];
+ MAT(out, 2, 1) = r2[5];
+ MAT(out, 2, 2) = r2[6];
+ MAT(out, 2, 3) = r2[7];
+ MAT(out, 3, 0) = r3[4];
+ MAT(out, 3, 1) = r3[5];
+ MAT(out, 3, 2) = r3[6];
+ MAT(out, 3, 3) = r3[7];
+
+#undef MAT
+
+ *this = temp;
}
void Projection::flip_y() {
diff --git a/core/math/projection.h b/core/math/projection.h
index 5af43561c0..093745b64a 100644
--- a/core/math/projection.h
+++ b/core/math/projection.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/quaternion.cpp b/core/math/quaternion.cpp
index 08eac14b76..891ca7d353 100644
--- a/core/math/quaternion.cpp
+++ b/core/math/quaternion.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/quaternion.h b/core/math/quaternion.h
index 655e55e0a2..bda615bbc5 100644
--- a/core/math/quaternion.h
+++ b/core/math/quaternion.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/quick_hull.cpp b/core/math/quick_hull.cpp
index 6a60a5925d..0cee972ca5 100644
--- a/core/math/quick_hull.cpp
+++ b/core/math/quick_hull.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/quick_hull.h b/core/math/quick_hull.h
index d7ff880f1a..00f6381dc6 100644
--- a/core/math/quick_hull.h
+++ b/core/math/quick_hull.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/random_number_generator.cpp b/core/math/random_number_generator.cpp
index 226d748c52..1746998593 100644
--- a/core/math/random_number_generator.cpp
+++ b/core/math/random_number_generator.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/random_number_generator.h b/core/math/random_number_generator.h
index 7ec4cdffb0..0b9285923a 100644
--- a/core/math/random_number_generator.h
+++ b/core/math/random_number_generator.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/random_pcg.cpp b/core/math/random_pcg.cpp
index c286a60421..b1d11a7524 100644
--- a/core/math/random_pcg.cpp
+++ b/core/math/random_pcg.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/random_pcg.h b/core/math/random_pcg.h
index 6bad70059f..8774506ba8 100644
--- a/core/math/random_pcg.h
+++ b/core/math/random_pcg.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/rect2.cpp b/core/math/rect2.cpp
index c55226a57e..6c47d4c309 100644
--- a/core/math/rect2.cpp
+++ b/core/math/rect2.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/rect2.h b/core/math/rect2.h
index 817923c134..980cf40ebf 100644
--- a/core/math/rect2.h
+++ b/core/math/rect2.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/rect2i.cpp b/core/math/rect2i.cpp
index 807fe0707a..1008b92a12 100644
--- a/core/math/rect2i.cpp
+++ b/core/math/rect2i.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/rect2i.h b/core/math/rect2i.h
index 5f3a3d54f5..df1fcb5690 100644
--- a/core/math/rect2i.h
+++ b/core/math/rect2i.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/static_raycaster.cpp b/core/math/static_raycaster.cpp
index 9fa89a5f1e..808e4ed6e5 100644
--- a/core/math/static_raycaster.cpp
+++ b/core/math/static_raycaster.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/static_raycaster.h b/core/math/static_raycaster.h
index 74e4b75163..88b5b3a434 100644
--- a/core/math/static_raycaster.h
+++ b/core/math/static_raycaster.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/transform_2d.cpp b/core/math/transform_2d.cpp
index f6525fe5ca..262d9e6ef1 100644
--- a/core/math/transform_2d.cpp
+++ b/core/math/transform_2d.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/transform_2d.h b/core/math/transform_2d.h
index 1ee7d3d84f..6716f770c1 100644
--- a/core/math/transform_2d.h
+++ b/core/math/transform_2d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/transform_3d.cpp b/core/math/transform_3d.cpp
index 2c91a7604b..1aab01c62a 100644
--- a/core/math/transform_3d.cpp
+++ b/core/math/transform_3d.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/transform_3d.h b/core/math/transform_3d.h
index b1de233445..fe3fd62f4f 100644
--- a/core/math/transform_3d.h
+++ b/core/math/transform_3d.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/transform_interpolator.cpp b/core/math/transform_interpolator.cpp
index 1cd35b3d1a..482d5fdc76 100644
--- a/core/math/transform_interpolator.cpp
+++ b/core/math/transform_interpolator.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -183,8 +185,9 @@ void TransformInterpolator::interpolate_basis_linear(const Basis &p_prev, const
r_result = p_prev.lerp(p_curr, p_fraction);
// It turns out we need to guard against zero scale basis.
- // This is kind of silly, as we should probably fix the bugs elsewhere in Godot that can't deal with
+ // This is kind of silly, as we should probably fix the bugs elsewhere in Redot that can't deal with
// zero scale, but until that time...
+ // TODO: Rewrite this ^
for (int n = 0; n < 3; n++) {
Vector3 &axis = r_result[n];
@@ -286,7 +289,7 @@ TransformInterpolator::Method TransformInterpolator::_test_basis(Basis p_basis,
r_needed_normalize = true;
}
- // Apply less stringent tests than the built in slerp, the standard Godot slerp
+ // Apply less stringent tests than the built in slerp, the standard Redot slerp
// is too susceptible to float error to be useful.
real_t det = p_basis.determinant();
if (!Math::is_equal_approx(det, 1, (real_t)0.01f)) {
@@ -341,7 +344,7 @@ bool TransformInterpolator::_basis_is_orthogonal(const Basis &p_basis, real_t p_
Basis identity;
Basis m = p_basis * p_basis.transposed();
- // Less stringent tests than the standard Godot slerp.
+ // Less stringent tests than the standard Redot slerp.
if (!_vec3_is_equal_approx(m[0], identity[0], p_epsilon) || !_vec3_is_equal_approx(m[1], identity[1], p_epsilon) || !_vec3_is_equal_approx(m[2], identity[2], p_epsilon)) {
return false;
}
diff --git a/core/math/transform_interpolator.h b/core/math/transform_interpolator.h
index cc556707e4..84c3f228a2 100644
--- a/core/math/transform_interpolator.h
+++ b/core/math/transform_interpolator.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/triangle_mesh.cpp b/core/math/triangle_mesh.cpp
index 01b733183d..08809d1788 100644
--- a/core/math/triangle_mesh.cpp
+++ b/core/math/triangle_mesh.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h
index 24fc12dda9..e427c1f8b3 100644
--- a/core/math/triangle_mesh.h
+++ b/core/math/triangle_mesh.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/triangulate.cpp b/core/math/triangulate.cpp
index 5923423b92..7e39d40b02 100644
--- a/core/math/triangulate.cpp
+++ b/core/math/triangulate.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/triangulate.h b/core/math/triangulate.h
index 0b88f7ec4c..395ef1965f 100644
--- a/core/math/triangulate.h
+++ b/core/math/triangulate.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector2.cpp b/core/math/vector2.cpp
index e86b97d6a8..bf7595acad 100644
--- a/core/math/vector2.cpp
+++ b/core/math/vector2.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector2.h b/core/math/vector2.h
index edb47db6fd..a7da94fbd7 100644
--- a/core/math/vector2.h
+++ b/core/math/vector2.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector2i.cpp b/core/math/vector2i.cpp
index 790f564734..a055fdf085 100644
--- a/core/math/vector2i.cpp
+++ b/core/math/vector2i.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector2i.h b/core/math/vector2i.h
index fff9b0a658..0163817df3 100644
--- a/core/math/vector2i.h
+++ b/core/math/vector2i.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector3.cpp b/core/math/vector3.cpp
index 1e90002665..558629db34 100644
--- a/core/math/vector3.cpp
+++ b/core/math/vector3.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector3.h b/core/math/vector3.h
index 14bc44c4e7..03e77bdb3b 100644
--- a/core/math/vector3.h
+++ b/core/math/vector3.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector3i.cpp b/core/math/vector3i.cpp
index 93f9d15ac1..48d8fc23bf 100644
--- a/core/math/vector3i.cpp
+++ b/core/math/vector3i.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector3i.h b/core/math/vector3i.h
index 40d0700bf7..128d58dc42 100644
--- a/core/math/vector3i.h
+++ b/core/math/vector3i.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector4.cpp b/core/math/vector4.cpp
index b6b914f36d..276a7d29fc 100644
--- a/core/math/vector4.cpp
+++ b/core/math/vector4.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector4.h b/core/math/vector4.h
index 9197e3587a..7cfea1cc1b 100644
--- a/core/math/vector4.h
+++ b/core/math/vector4.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector4i.cpp b/core/math/vector4i.cpp
index afa77a4988..d31928dd90 100644
--- a/core/math/vector4i.cpp
+++ b/core/math/vector4i.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/math/vector4i.h b/core/math/vector4i.h
index a9036d684a..b9ac2927bd 100644
--- a/core/math/vector4i.h
+++ b/core/math/vector4i.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/callable_method_pointer.cpp b/core/object/callable_method_pointer.cpp
index ed400788b1..1852f90a30 100644
--- a/core/object/callable_method_pointer.cpp
+++ b/core/object/callable_method_pointer.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/callable_method_pointer.h b/core/object/callable_method_pointer.h
index 86c66593bd..123103127b 100644
--- a/core/object/callable_method_pointer.h
+++ b/core/object/callable_method_pointer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/class_db.cpp b/core/object/class_db.cpp
index 9826d73a9d..883968c580 100644
--- a/core/object/class_db.cpp
+++ b/core/object/class_db.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/class_db.h b/core/object/class_db.h
index 81100d7586..1418f616d6 100644
--- a/core/object/class_db.h
+++ b/core/object/class_db.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -177,7 +179,7 @@ public:
// Native structs, used by binder
struct NativeStruct {
- String ccode; // C code to create the native struct, fields separated by ; Arrays accepted (even containing other structs), also function pointers. All types must be Godot types.
+ String ccode; // C code to create the native struct, fields separated by ; Arrays accepted (even containing other structs), also function pointers. All types must be Redot types.
uint64_t struct_size; // local size of struct, for comparison
};
static HashMap<StringName, NativeStruct> native_structs;
diff --git a/core/object/message_queue.cpp b/core/object/message_queue.cpp
index 4b0b1ce63d..dc41f38d6d 100644
--- a/core/object/message_queue.cpp
+++ b/core/object/message_queue.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/message_queue.h b/core/object/message_queue.h
index 673eb3845b..49431722ee 100644
--- a/core/object/message_queue.h
+++ b/core/object/message_queue.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/method_bind.cpp b/core/object/method_bind.cpp
index b530101058..86ff6085fa 100644
--- a/core/object/method_bind.cpp
+++ b/core/object/method_bind.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/method_bind.h b/core/object/method_bind.h
index 2f9a2d1679..10fbe04ee5 100644
--- a/core/object/method_bind.h
+++ b/core/object/method_bind.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/object.cpp b/core/object/object.cpp
index b3a4ec6e2e..4b1dd93dca 100644
--- a/core/object/object.cpp
+++ b/core/object/object.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/object.h b/core/object/object.h
index 110d2790c5..6673f553d2 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/object_id.h b/core/object/object_id.h
index 7b677cb05b..e48fa2e442 100644
--- a/core/object/object_id.h
+++ b/core/object/object_id.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/ref_counted.cpp b/core/object/ref_counted.cpp
index 1a43c1e18c..9996f79c28 100644
--- a/core/object/ref_counted.cpp
+++ b/core/object/ref_counted.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/ref_counted.h b/core/object/ref_counted.h
index 22eb5a7a3f..b695e2b6cd 100644
--- a/core/object/ref_counted.h
+++ b/core/object/ref_counted.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/script_instance.cpp b/core/object/script_instance.cpp
index 65f44e8a6b..f49e557bc2 100644
--- a/core/object/script_instance.cpp
+++ b/core/object/script_instance.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/script_instance.h b/core/object/script_instance.h
index 2c8132ec1f..f5bfa81cc1 100644
--- a/core/object/script_instance.h
+++ b/core/object/script_instance.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/script_language.cpp b/core/object/script_language.cpp
index c5856a8a81..eb837665ed 100644
--- a/core/object/script_language.cpp
+++ b/core/object/script_language.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/script_language.h b/core/object/script_language.h
index 3ddfbb3e7d..36ab271e1b 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -112,7 +114,7 @@ class Script : public Resource {
OBJ_SAVE_TYPE(Script);
protected:
- // Scripts are reloaded via the Script Editor when edited in Godot,
+ // Scripts are reloaded via the Script Editor when edited in Redot,
// the LSP server when edited in a connected external editor, or
// through EditorFileSystem::_update_script_documentation when updated directly on disk.
virtual bool editor_can_reload_from_file() override { return false; }
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp
index 73f7ec5a54..780083aa14 100644
--- a/core/object/script_language_extension.cpp
+++ b/core/object/script_language_extension.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h
index d2dce34d4f..5ab48263f2 100644
--- a/core/object/script_language_extension.h
+++ b/core/object/script_language_extension.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/undo_redo.cpp b/core/object/undo_redo.cpp
index 03537dbeb1..804c96f582 100644
--- a/core/object/undo_redo.cpp
+++ b/core/object/undo_redo.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/undo_redo.h b/core/object/undo_redo.h
index ded962670c..bc0187b3c4 100644
--- a/core/object/undo_redo.h
+++ b/core/object/undo_redo.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/worker_thread_pool.cpp b/core/object/worker_thread_pool.cpp
index 08903d6196..20d5c25d82 100644
--- a/core/object/worker_thread_pool.cpp
+++ b/core/object/worker_thread_pool.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/object/worker_thread_pool.h b/core/object/worker_thread_pool.h
index 62296ac040..52a319f1d5 100644
--- a/core/object/worker_thread_pool.h
+++ b/core/object/worker_thread_pool.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/condition_variable.h b/core/os/condition_variable.h
index c819fa6b40..0fc0db2e33 100644
--- a/core/os/condition_variable.h
+++ b/core/os/condition_variable.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/keyboard.cpp b/core/os/keyboard.cpp
index 973c216d15..fe36dad278 100644
--- a/core/os/keyboard.cpp
+++ b/core/os/keyboard.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/keyboard.h b/core/os/keyboard.h
index 2051973336..5281a1cf44 100644
--- a/core/os/keyboard.h
+++ b/core/os/keyboard.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp
index 5e21490164..48dc85053b 100644
--- a/core/os/main_loop.cpp
+++ b/core/os/main_loop.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/main_loop.h b/core/os/main_loop.h
index 9c22cbaf3c..e72db02dbf 100644
--- a/core/os/main_loop.h
+++ b/core/os/main_loop.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/memory.cpp b/core/os/memory.cpp
index dae0a31fe0..c7c124938a 100644
--- a/core/os/memory.cpp
+++ b/core/os/memory.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/memory.h b/core/os/memory.h
index 033e417cb5..1d8846f2c6 100644
--- a/core/os/memory.h
+++ b/core/os/memory.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/midi_driver.cpp b/core/os/midi_driver.cpp
index 6c748b1498..ab9e980450 100644
--- a/core/os/midi_driver.cpp
+++ b/core/os/midi_driver.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/midi_driver.h b/core/os/midi_driver.h
index ddce63f9c8..09c87835c2 100644
--- a/core/os/midi_driver.h
+++ b/core/os/midi_driver.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/mutex.cpp b/core/os/mutex.cpp
index 9a8a2a2961..40ae517b07 100644
--- a/core/os/mutex.cpp
+++ b/core/os/mutex.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/mutex.h b/core/os/mutex.h
index a968fd7029..43d9b45e59 100644
--- a/core/os/mutex.h
+++ b/core/os/mutex.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 642de11a9f..0953bf0ce1 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/os.h b/core/os/os.h
index c42a39e0a4..970b3126a8 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/rw_lock.h b/core/os/rw_lock.h
index e5bb6aec2b..a466c482eb 100644
--- a/core/os/rw_lock.h
+++ b/core/os/rw_lock.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/safe_binary_mutex.h b/core/os/safe_binary_mutex.h
index 74a20043a3..980bd38e3b 100644
--- a/core/os/safe_binary_mutex.h
+++ b/core/os/safe_binary_mutex.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -48,7 +50,7 @@
// - Must have recursive semnantics (or simulate, as this one does).
// The implementation keeps the lock count in TS. Therefore, only
// one object of each version of the template can exists; hence the Tag argument.
-// Tags must be unique across the Godot codebase.
+// Tags must be unique across the Redot codebase.
// Also, don't forget to declare the thread_local variable on each use.
template <int Tag>
class SafeBinaryMutex {
diff --git a/core/os/semaphore.h b/core/os/semaphore.h
index 19ef1dedc0..0044171f60 100644
--- a/core/os/semaphore.h
+++ b/core/os/semaphore.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/shared_object.h b/core/os/shared_object.h
index 88423bed13..ec09ef574d 100644
--- a/core/os/shared_object.h
+++ b/core/os/shared_object.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/spin_lock.h b/core/os/spin_lock.h
index d386cd5890..27f9696c05 100644
--- a/core/os/spin_lock.h
+++ b/core/os/spin_lock.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/thread.cpp b/core/os/thread.cpp
index afc74364f6..9ac3d10e0c 100644
--- a/core/os/thread.cpp
+++ b/core/os/thread.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/thread.h b/core/os/thread.h
index a0ecc24c91..efeb84633f 100644
--- a/core/os/thread.h
+++ b/core/os/thread.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/thread_safe.cpp b/core/os/thread_safe.cpp
index 96b7de8ed2..494cf7f8ec 100644
--- a/core/os/thread_safe.cpp
+++ b/core/os/thread_safe.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/thread_safe.h b/core/os/thread_safe.h
index 042a0b7d98..b78e439c67 100644
--- a/core/os/thread_safe.h
+++ b/core/os/thread_safe.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/time.cpp b/core/os/time.cpp
index d1d3588d09..eb4e78f2d4 100644
--- a/core/os/time.cpp
+++ b/core/os/time.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/time.h b/core/os/time.h
index 6550cd905e..7274a30b04 100644
--- a/core/os/time.h
+++ b/core/os/time.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/os/time_enums.h b/core/os/time_enums.h
index a61bdaa73c..6b2229c044 100644
--- a/core/os/time_enums.h
+++ b/core/os/time_enums.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp
index 3a578d01a6..47f0989d74 100644
--- a/core/register_core_types.cpp
+++ b/core/register_core_types.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/register_core_types.h b/core/register_core_types.h
index eba569272e..dbae407793 100644
--- a/core/register_core_types.h
+++ b/core/register_core_types.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/char_range.inc b/core/string/char_range.inc
index efae757802..7a7bf8422d 100644
--- a/core/string/char_range.inc
+++ b/core/string/char_range.inc
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/char_utils.h b/core/string/char_utils.h
index 62ab4e9584..c5ef140b72 100644
--- a/core/string/char_utils.h
+++ b/core/string/char_utils.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/locales.h b/core/string/locales.h
index 840fca65a7..4db369ea79 100644
--- a/core/string/locales.h
+++ b/core/string/locales.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/node_path.cpp b/core/string/node_path.cpp
index fdc72bc8dc..e2dbc90a4f 100644
--- a/core/string/node_path.cpp
+++ b/core/string/node_path.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/node_path.h b/core/string/node_path.h
index 56799839d7..56d0f33fc8 100644
--- a/core/string/node_path.h
+++ b/core/string/node_path.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/optimized_translation.cpp b/core/string/optimized_translation.cpp
index 71be8524cf..f535111984 100644
--- a/core/string/optimized_translation.cpp
+++ b/core/string/optimized_translation.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/optimized_translation.h b/core/string/optimized_translation.h
index 3992cc5149..f58469ecd9 100644
--- a/core/string/optimized_translation.h
+++ b/core/string/optimized_translation.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/print_string.cpp b/core/string/print_string.cpp
index 0f019c405f..b0a9406a51 100644
--- a/core/string/print_string.cpp
+++ b/core/string/print_string.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/print_string.h b/core/string/print_string.h
index 570e08c5fb..a7b61aead6 100644
--- a/core/string/print_string.h
+++ b/core/string/print_string.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/string_buffer.h b/core/string/string_buffer.h
index e094c7627e..3d123fbbda 100644
--- a/core/string/string_buffer.h
+++ b/core/string/string_buffer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/string_builder.cpp b/core/string/string_builder.cpp
index 4f74a2e42d..fbdb7fda7f 100644
--- a/core/string/string_builder.cpp
+++ b/core/string/string_builder.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -70,7 +72,7 @@ String StringBuilder::as_string() const {
for (int i = 0; i < appended_strings.size(); i++) {
if (appended_strings[i] == -1) {
- // Godot string
+ // Redot string
const String &s = strings[godot_string_elem];
memcpy(buffer + current_position, s.ptr(), s.length() * sizeof(char32_t));
diff --git a/core/string/string_builder.h b/core/string/string_builder.h
index 1a989e8422..5cc70df37b 100644
--- a/core/string/string_builder.h
+++ b/core/string/string_builder.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -40,7 +42,7 @@ class StringBuilder {
Vector<String> strings;
Vector<const char *> c_strings;
- // -1 means it's a Godot String
+ // -1 means it's a Redot String
// a natural number means C string.
Vector<int32_t> appended_strings;
diff --git a/core/string/string_name.cpp b/core/string/string_name.cpp
index dff19b3a41..773cb42423 100644
--- a/core/string/string_name.cpp
+++ b/core/string/string_name.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/string_name.h b/core/string/string_name.h
index d4b70d311d..2b1d0eed97 100644
--- a/core/string/string_name.h
+++ b/core/string/string_name.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation.cpp b/core/string/translation.cpp
index 020949371f..7cd39e91ff 100644
--- a/core/string/translation.cpp
+++ b/core/string/translation.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation.h b/core/string/translation.h
index 4e8cffc90c..80d8c8af83 100644
--- a/core/string/translation.h
+++ b/core/string/translation.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_domain.cpp b/core/string/translation_domain.cpp
index 53b9ce8379..bb87e64f36 100644
--- a/core/string/translation_domain.cpp
+++ b/core/string/translation_domain.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_domain.h b/core/string/translation_domain.h
index 55592d3b35..115d69c413 100644
--- a/core/string/translation_domain.h
+++ b/core/string/translation_domain.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_po.cpp b/core/string/translation_po.cpp
index 8e275505b0..c49c0c72da 100644
--- a/core/string/translation_po.cpp
+++ b/core/string/translation_po.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_po.h b/core/string/translation_po.h
index ba820c6ee4..9267626812 100644
--- a/core/string/translation_po.h
+++ b/core/string/translation_po.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_server.cpp b/core/string/translation_server.cpp
index 92b473b61f..b63eecd351 100644
--- a/core/string/translation_server.cpp
+++ b/core/string/translation_server.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/translation_server.h b/core/string/translation_server.h
index 2438349a69..4d3e8c9466 100644
--- a/core/string/translation_server.h
+++ b/core/string/translation_server.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/ucaps.h b/core/string/ucaps.h
index 01b81943c1..e26dfaab26 100644
--- a/core/string/ucaps.h
+++ b/core/string/ucaps.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp
index 4e9eb922f6..c6ce1ffbcb 100644
--- a/core/string/ustring.cpp
+++ b/core/string/ustring.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/string/ustring.h b/core/string/ustring.h
index aa62c9cb18..363741d56c 100644
--- a/core/string/ustring.h
+++ b/core/string/ustring.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/a_hash_map.cpp b/core/templates/a_hash_map.cpp
index 04a14c261a..ebb0373924 100644
--- a/core/templates/a_hash_map.cpp
+++ b/core/templates/a_hash_map.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/a_hash_map.h b/core/templates/a_hash_map.h
index 29983ea268..d390b3af0d 100644
--- a/core/templates/a_hash_map.h
+++ b/core/templates/a_hash_map.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/bin_sorted_array.h b/core/templates/bin_sorted_array.h
index 30c1fefbbd..4659fec241 100644
--- a/core/templates/bin_sorted_array.h
+++ b/core/templates/bin_sorted_array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/command_queue_mt.cpp b/core/templates/command_queue_mt.cpp
index 5fa767263f..bdc05a6940 100644
--- a/core/templates/command_queue_mt.cpp
+++ b/core/templates/command_queue_mt.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/command_queue_mt.h b/core/templates/command_queue_mt.h
index 8ef5dd3064..7e3873794f 100644
--- a/core/templates/command_queue_mt.h
+++ b/core/templates/command_queue_mt.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/cowdata.h b/core/templates/cowdata.h
index fedcfaec3b..276d39e135 100644
--- a/core/templates/cowdata.h
+++ b/core/templates/cowdata.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/hash_map.cpp b/core/templates/hash_map.cpp
index 93664dd2e1..e5735deba9 100644
--- a/core/templates/hash_map.cpp
+++ b/core/templates/hash_map.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/hash_map.h b/core/templates/hash_map.h
index 329952e8d4..9e8d4f6571 100644
--- a/core/templates/hash_map.h
+++ b/core/templates/hash_map.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -247,7 +249,7 @@ public:
_FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; }
_FORCE_INLINE_ uint32_t size() const { return num_elements; }
- /* Standard Godot Container API */
+ /* Standard Redot Container API */
bool is_empty() const {
return num_elements == 0;
diff --git a/core/templates/hash_set.h b/core/templates/hash_set.h
index 295b07e5e7..0ea67768a0 100644
--- a/core/templates/hash_set.h
+++ b/core/templates/hash_set.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -230,7 +232,7 @@ public:
_FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; }
_FORCE_INLINE_ uint32_t size() const { return num_elements; }
- /* Standard Godot Container API */
+ /* Standard Redot Container API */
bool is_empty() const {
return num_elements == 0;
diff --git a/core/templates/hashfuncs.h b/core/templates/hashfuncs.h
index 7818ed0706..fbe3f41fa7 100644
--- a/core/templates/hashfuncs.h
+++ b/core/templates/hashfuncs.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/list.h b/core/templates/list.h
index 6663f06c30..c0c88d6e61 100644
--- a/core/templates/list.h
+++ b/core/templates/list.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/local_vector.h b/core/templates/local_vector.h
index c281d70d92..9bcc08437d 100644
--- a/core/templates/local_vector.h
+++ b/core/templates/local_vector.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/lru.h b/core/templates/lru.h
index 919c5605aa..777326c037 100644
--- a/core/templates/lru.h
+++ b/core/templates/lru.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/oa_hash_map.h b/core/templates/oa_hash_map.h
index 7afb58b7c2..b69850fe31 100644
--- a/core/templates/oa_hash_map.h
+++ b/core/templates/oa_hash_map.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/paged_allocator.h b/core/templates/paged_allocator.h
index 0b70fa02f3..c83cc2fd64 100644
--- a/core/templates/paged_allocator.h
+++ b/core/templates/paged_allocator.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/paged_array.h b/core/templates/paged_array.h
index 1aa8fa2485..abbd19ff5d 100644
--- a/core/templates/paged_array.h
+++ b/core/templates/paged_array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/pair.h b/core/templates/pair.h
index fd774641c2..3754a30167 100644
--- a/core/templates/pair.h
+++ b/core/templates/pair.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/pass_func.h b/core/templates/pass_func.h
index 497d3bae5d..adca5f0b53 100644
--- a/core/templates/pass_func.h
+++ b/core/templates/pass_func.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/pooled_list.h b/core/templates/pooled_list.h
index 0e7048732e..7f48c078d9 100644
--- a/core/templates/pooled_list.h
+++ b/core/templates/pooled_list.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/rb_map.h b/core/templates/rb_map.h
index ef555e4a16..7b9ceeb912 100644
--- a/core/templates/rb_map.h
+++ b/core/templates/rb_map.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/rb_set.h b/core/templates/rb_set.h
index ac7a8df36a..ec5d99d792 100644
--- a/core/templates/rb_set.h
+++ b/core/templates/rb_set.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/rid.h b/core/templates/rid.h
index 3f6a62ff15..747e1eb60f 100644
--- a/core/templates/rid.h
+++ b/core/templates/rid.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/rid_owner.cpp b/core/templates/rid_owner.cpp
index 459672c1a6..de099c4ce9 100644
--- a/core/templates/rid_owner.cpp
+++ b/core/templates/rid_owner.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/rid_owner.h b/core/templates/rid_owner.h
index 4200159054..749ec4d440 100644
--- a/core/templates/rid_owner.h
+++ b/core/templates/rid_owner.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/ring_buffer.h b/core/templates/ring_buffer.h
index f5161cefa4..4f3d52936b 100644
--- a/core/templates/ring_buffer.h
+++ b/core/templates/ring_buffer.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/safe_list.h b/core/templates/safe_list.h
index 60ccdd9423..1f46bf48c6 100644
--- a/core/templates/safe_list.h
+++ b/core/templates/safe_list.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/safe_refcount.h b/core/templates/safe_refcount.h
index 16b605eaff..4dcb7763da 100644
--- a/core/templates/safe_refcount.h
+++ b/core/templates/safe_refcount.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/search_array.h b/core/templates/search_array.h
index 835bcd63a6..109b164446 100644
--- a/core/templates/search_array.h
+++ b/core/templates/search_array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/self_list.h b/core/templates/self_list.h
index a04972594e..bf69b560c0 100644
--- a/core/templates/self_list.h
+++ b/core/templates/self_list.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/simple_type.h b/core/templates/simple_type.h
index 197115ddb9..54fddb6351 100644
--- a/core/templates/simple_type.h
+++ b/core/templates/simple_type.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/sort_array.h b/core/templates/sort_array.h
index 5bf5b2819d..d51e1ce969 100644
--- a/core/templates/sort_array.h
+++ b/core/templates/sort_array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/vector.h b/core/templates/vector.h
index 52c10eea68..e41beddd54 100644
--- a/core/templates/vector.h
+++ b/core/templates/vector.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/vmap.h b/core/templates/vmap.h
index 2ad074942b..42cc30924b 100644
--- a/core/templates/vmap.h
+++ b/core/templates/vmap.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/templates/vset.h b/core/templates/vset.h
index 614d0e1e5f..6f44ac7173 100644
--- a/core/templates/vset.h
+++ b/core/templates/vset.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/typedefs.h b/core/typedefs.h
index 35c4668581..1b08b9eb51 100644
--- a/core/typedefs.h
+++ b/core/typedefs.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/array.cpp b/core/variant/array.cpp
index 3e62d3dffa..a2821b56c9 100644
--- a/core/variant/array.cpp
+++ b/core/variant/array.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/array.h b/core/variant/array.h
index 6c3bae6ccb..a85996cc15 100644
--- a/core/variant/array.h
+++ b/core/variant/array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/binder_common.h b/core/variant/binder_common.h
index 0aa49f6d68..bb7cc0f72e 100644
--- a/core/variant/binder_common.h
+++ b/core/variant/binder_common.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/callable.cpp b/core/variant/callable.cpp
index 5ce90cd8ff..4914df904e 100644
--- a/core/variant/callable.cpp
+++ b/core/variant/callable.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/callable.h b/core/variant/callable.h
index e3c940a0e5..fef7307d2b 100644
--- a/core/variant/callable.h
+++ b/core/variant/callable.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/callable_bind.cpp b/core/variant/callable_bind.cpp
index d82aa3583d..f076e4b6d1 100644
--- a/core/variant/callable_bind.cpp
+++ b/core/variant/callable_bind.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/callable_bind.h b/core/variant/callable_bind.h
index 43cebb45f0..b0c49213ce 100644
--- a/core/variant/callable_bind.h
+++ b/core/variant/callable_bind.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/container_type_validate.h b/core/variant/container_type_validate.h
index 0a23c69cb4..0c90710233 100644
--- a/core/variant/container_type_validate.h
+++ b/core/variant/container_type_validate.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/dictionary.cpp b/core/variant/dictionary.cpp
index 501ca69205..3bef11ebcf 100644
--- a/core/variant/dictionary.cpp
+++ b/core/variant/dictionary.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/dictionary.h b/core/variant/dictionary.h
index bbfb5b3083..818301297f 100644
--- a/core/variant/dictionary.h
+++ b/core/variant/dictionary.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/method_ptrcall.h b/core/variant/method_ptrcall.h
index 1e10709b12..6cca06adbd 100644
--- a/core/variant/method_ptrcall.h
+++ b/core/variant/method_ptrcall.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/native_ptr.h b/core/variant/native_ptr.h
index 33ba038132..ebbafe3162 100644
--- a/core/variant/native_ptr.h
+++ b/core/variant/native_ptr.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/type_info.h b/core/variant/type_info.h
index 6bb703f2dd..61869a6e09 100644
--- a/core/variant/type_info.h
+++ b/core/variant/type_info.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/typed_array.h b/core/variant/typed_array.h
index 07bf8afa7b..48d809496a 100644
--- a/core/variant/typed_array.h
+++ b/core/variant/typed_array.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/typed_dictionary.h b/core/variant/typed_dictionary.h
index 67fc33b4fc..1c1c01e579 100644
--- a/core/variant/typed_dictionary.h
+++ b/core/variant/typed_dictionary.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant.cpp b/core/variant/variant.cpp
index e2865a06be..d427934faa 100644
--- a/core/variant/variant.cpp
+++ b/core/variant/variant.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant.h b/core/variant/variant.h
index 3b1924e8ea..0d67b5805d 100644
--- a/core/variant/variant.h
+++ b/core/variant/variant.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index 29e11462c9..be643ae0aa 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_callable.cpp b/core/variant/variant_callable.cpp
index 21f9a4f52b..56df64938d 100644
--- a/core/variant/variant_callable.cpp
+++ b/core/variant/variant_callable.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_callable.h b/core/variant/variant_callable.h
index 1811f3bb9a..de07a85581 100644
--- a/core/variant/variant_callable.h
+++ b/core/variant/variant_callable.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp
index 6c37d5e4b7..d12f61d935 100644
--- a/core/variant/variant_construct.cpp
+++ b/core/variant/variant_construct.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_construct.h b/core/variant/variant_construct.h
index f625419da7..0494b876d5 100644
--- a/core/variant/variant_construct.h
+++ b/core/variant/variant_construct.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_destruct.cpp b/core/variant/variant_destruct.cpp
index 409f4bd07b..b3cd7e71b6 100644
--- a/core/variant/variant_destruct.cpp
+++ b/core/variant/variant_destruct.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_destruct.h b/core/variant/variant_destruct.h
index d91d99b02e..44fe1efe62 100644
--- a/core/variant/variant_destruct.h
+++ b/core/variant/variant_destruct.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_internal.h b/core/variant/variant_internal.h
index 58652d26e0..312ea2a9e8 100644
--- a/core/variant/variant_internal.h
+++ b/core/variant/variant_internal.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp
index ce27fbdf67..5512551771 100644
--- a/core/variant/variant_op.cpp
+++ b/core/variant/variant_op.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_op.h b/core/variant/variant_op.h
index 0bd8b830e0..3df86b771e 100644
--- a/core/variant/variant_op.h
+++ b/core/variant/variant_op.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_parser.cpp b/core/variant/variant_parser.cpp
index f05b9cd83a..361654db16 100644
--- a/core/variant/variant_parser.cpp
+++ b/core/variant/variant_parser.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_parser.h b/core/variant/variant_parser.h
index b0ac07170d..22da7a0693 100644
--- a/core/variant/variant_parser.h
+++ b/core/variant/variant_parser.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp
index 1652f81d99..76ec501321 100644
--- a/core/variant/variant_setget.cpp
+++ b/core/variant/variant_setget.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_setget.h b/core/variant/variant_setget.h
index cdacbad373..1e7db6aec0 100644
--- a/core/variant/variant_setget.h
+++ b/core/variant/variant_setget.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_utility.cpp b/core/variant/variant_utility.cpp
index 384fe6c4a6..3a9708ef4f 100644
--- a/core/variant/variant_utility.cpp
+++ b/core/variant/variant_utility.cpp
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/variant/variant_utility.h b/core/variant/variant_utility.h
index 75cde4942b..00a3c52396 100644
--- a/core/variant/variant_utility.h
+++ b/core/variant/variant_utility.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
diff --git a/core/version.h b/core/version.h
index 18a97cadf0..19365ac8f0 100644
--- a/core/version.h
+++ b/core/version.h
@@ -5,6 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
+/* Copyright (c) 2024-present Redot Engine contributors */
+/* (see REDOT_AUTHORS.md) */
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
@@ -41,7 +43,7 @@
#define _MKSTR(m_x) _STR(m_x)
#endif
-// Godot versions are of the form <major>.<minor> for the initial release,
+// Redot versions are of the form <major>.<minor> for the initial release,
// and then <major>.<minor>.<patch> for subsequent bugfix releases where <patch> != 0
// That's arbitrary, but we find it pretty and it's the current policy.
@@ -62,18 +64,22 @@
// Example: 3.1.4 will be 0x030104, making comparison easy from script.
#define VERSION_HEX 0x10000 * VERSION_MAJOR + 0x100 * VERSION_MINOR + VERSION_PATCH
-// Describes the full configuration of that Godot version, including the version number,
+// Describes the full configuration of that Redot version, including the version number,
// the status (beta, stable, etc.) and potential module-specific features (e.g. mono).
// Example: "3.1.4.stable.mono"
-#define VERSION_FULL_CONFIG VERSION_NUMBER "." VERSION_STATUS VERSION_MODULE_CONFIG
+#if VERSION_STATUS_VERSION == 0
+#define VERSION_FULL_CONFIG VERSION_NUMBER "." VERSION_STATUS "." VERSION_MODULE_CONFIG
+#else
+#define VERSION_FULL_CONFIG VERSION_NUMBER "." VERSION_STATUS "." _MKSTR(VERSION_STATUS_VERSION) VERSION_MODULE_CONFIG
+#endif
// Similar to VERSION_FULL_CONFIG, but also includes the (potentially custom) VERSION_BUILD
// description (e.g. official, custom_build, etc.).
// Example: "3.1.4.stable.mono.official"
#define VERSION_FULL_BUILD VERSION_FULL_CONFIG "." VERSION_BUILD
-// Same as above, but prepended with Godot's name and a cosmetic "v" for "version".
-// Example: "Godot v3.1.4.stable.official.mono"
+// Same as above, but prepended with Redot's name and a cosmetic "v" for "version".
+// Example: "Redot v3.1.4.stable.official.mono"
#define VERSION_FULL_NAME VERSION_NAME " v" VERSION_FULL_BUILD
// Git commit hash, generated at build time in `core/version_hash.gen.cpp`.
@@ -83,4 +89,44 @@ extern const char *const VERSION_HASH;
// Set to 0 if unknown.
extern const uint64_t VERSION_TIMESTAMP;
+// Defines the main "branch" version. Patch versions in this branch should be
+// forward-compatible.
+// Example: "3.1"
+#define GODOT_VERSION_BRANCH _MKSTR(GODOT_VERSION_MAJOR) "." _MKSTR(GODOT_VERSION_MINOR)
+#if GODOT_VERSION_PATCH
+// Example: "3.1.4"
+#define GODOT_VERSION_NUMBER GODOT_VERSION_BRANCH "." _MKSTR(GODOT_VERSION_PATCH)
+#else // patch is 0, we don't include it in the "pretty" version number.
+// Example: "3.1" instead of "3.1.0"
+#define GODOT_VERSION_NUMBER GODOT_VERSION_BRANCH
+#endif // GODOT_VERSION_PATCH
+
+// Version number encoded as hexadecimal int with one byte for each number,
+// for easy comparison from code.
+// Example: 3.1.4 will be 0x030104, making comparison easy from script.
+#define GODOT_VERSION_HEX 0x10000 * GODOT_VERSION_MAJOR + 0x100 * GODOT_VERSION_MINOR + GODOT_VERSION_PATCH
+
+// TODO: determine how to deal with godot compatible versioning behavior
+
+// Describes the full configuration of that Redot version, including the version number,
+// the status (beta, stable, etc.) and potential module-specific features (e.g. mono).
+// Example: "3.1.4.stable.mono"
+// #define GODOT_VERSION_FULL_CONFIG VERSION_NUMBER "." GODOT_VERSION_STATUS VERSION_MODULE_CONFIG
+
+// Similar to GODOT_VERSION_FULL_CONFIG, but also includes the (potentially custom) VERSION_BUILD
+// description (e.g. official, custom_build, etc.).
+// Example: "3.1.4.stable.mono.official"
+// #define GODOT_VERSION_FULL_BUILD GODOT_VERSION_FULL_CONFIG "." GODOT_VERSION_BUILD
+
+// Same as above, but prepended with Redot's name and a cosmetic "v" for "version".
+// Example: "Godot v3.1.4.stable.official.mono"
+// #define GODOT_VERSION_FULL_NAME GODOT_VERSION_NAME " v" GODOT_VERSION_FULL_BUILD
+
+// Git commit hash, generated at build time in `core/version_hash.gen.cpp`.
+// extern const char *const GODOT_VERSION_HASH;
+
+// Git commit date UNIX timestamp (in seconds), generated at build time in `core/version_hash.gen.cpp`.
+// Set to 0 if unknown.
+// extern const uint64_t GODOT_VERSION_TIMESTAMP;
+
#endif // VERSION_H