feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -48,9 +48,17 @@
|
|||
#include "tests/core/io/test_image.h"
|
||||
#include "tests/core/io/test_ip.h"
|
||||
#include "tests/core/io/test_json.h"
|
||||
#include "tests/core/io/test_json_native.h"
|
||||
#include "tests/core/io/test_logger.h"
|
||||
#include "tests/core/io/test_marshalls.h"
|
||||
#include "tests/core/io/test_packet_peer.h"
|
||||
#include "tests/core/io/test_pck_packer.h"
|
||||
#include "tests/core/io/test_resource.h"
|
||||
#include "tests/core/io/test_resource_uid.h"
|
||||
#include "tests/core/io/test_stream_peer.h"
|
||||
#include "tests/core/io/test_stream_peer_buffer.h"
|
||||
#include "tests/core/io/test_tcp_server.h"
|
||||
#include "tests/core/io/test_udp_server.h"
|
||||
#include "tests/core/io/test_xml_parser.h"
|
||||
#include "tests/core/math/test_aabb.h"
|
||||
#include "tests/core/math/test_astar.h"
|
||||
|
|
@ -61,6 +69,7 @@
|
|||
#include "tests/core/math/test_geometry_3d.h"
|
||||
#include "tests/core/math/test_math_funcs.h"
|
||||
#include "tests/core/math/test_plane.h"
|
||||
#include "tests/core/math/test_projection.h"
|
||||
#include "tests/core/math/test_quaternion.h"
|
||||
#include "tests/core/math/test_random_number_generator.h"
|
||||
#include "tests/core/math/test_rect2.h"
|
||||
|
|
@ -78,10 +87,12 @@
|
|||
#include "tests/core/object/test_object.h"
|
||||
#include "tests/core/object/test_undo_redo.h"
|
||||
#include "tests/core/os/test_os.h"
|
||||
#include "tests/core/string/test_fuzzy_search.h"
|
||||
#include "tests/core/string/test_node_path.h"
|
||||
#include "tests/core/string/test_string.h"
|
||||
#include "tests/core/string/test_translation.h"
|
||||
#include "tests/core/string/test_translation_server.h"
|
||||
#include "tests/core/templates/test_a_hash_map.h"
|
||||
#include "tests/core/templates/test_command_queue.h"
|
||||
#include "tests/core/templates/test_hash_map.h"
|
||||
#include "tests/core/templates/test_hash_set.h"
|
||||
|
|
@ -104,21 +115,28 @@
|
|||
#include "tests/scene/test_animation.h"
|
||||
#include "tests/scene/test_audio_stream_wav.h"
|
||||
#include "tests/scene/test_bit_map.h"
|
||||
#include "tests/scene/test_button.h"
|
||||
#include "tests/scene/test_camera_2d.h"
|
||||
#include "tests/scene/test_control.h"
|
||||
#include "tests/scene/test_curve.h"
|
||||
#include "tests/scene/test_curve_2d.h"
|
||||
#include "tests/scene/test_curve_3d.h"
|
||||
#include "tests/scene/test_fontfile.h"
|
||||
#include "tests/scene/test_gradient.h"
|
||||
#include "tests/scene/test_gradient_texture.h"
|
||||
#include "tests/scene/test_image_texture.h"
|
||||
#include "tests/scene/test_image_texture_3d.h"
|
||||
#include "tests/scene/test_instance_placeholder.h"
|
||||
#include "tests/scene/test_node.h"
|
||||
#include "tests/scene/test_node_2d.h"
|
||||
#include "tests/scene/test_packed_scene.h"
|
||||
#include "tests/scene/test_parallax_2d.h"
|
||||
#include "tests/scene/test_path_2d.h"
|
||||
#include "tests/scene/test_path_follow_2d.h"
|
||||
#include "tests/scene/test_physics_material.h"
|
||||
#include "tests/scene/test_sprite_frames.h"
|
||||
#include "tests/scene/test_style_box_texture.h"
|
||||
#include "tests/scene/test_texture_progress_bar.h"
|
||||
#include "tests/scene/test_theme.h"
|
||||
#include "tests/scene/test_timer.h"
|
||||
#include "tests/scene/test_viewport.h"
|
||||
|
|
@ -132,7 +150,12 @@
|
|||
#include "tests/scene/test_code_edit.h"
|
||||
#include "tests/scene/test_color_picker.h"
|
||||
#include "tests/scene/test_graph_node.h"
|
||||
#include "tests/scene/test_option_button.h"
|
||||
#include "tests/scene/test_split_container.h"
|
||||
#include "tests/scene/test_tab_bar.h"
|
||||
#include "tests/scene/test_tab_container.h"
|
||||
#include "tests/scene/test_text_edit.h"
|
||||
#include "tests/scene/test_tree.h"
|
||||
#endif // ADVANCED_GUI_DISABLED
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
|
|
@ -149,9 +172,13 @@
|
|||
|
||||
#include "tests/scene/test_arraymesh.h"
|
||||
#include "tests/scene/test_camera_3d.h"
|
||||
#include "tests/scene/test_gltf_document.h"
|
||||
#include "tests/scene/test_height_map_shape_3d.h"
|
||||
#include "tests/scene/test_path_3d.h"
|
||||
#include "tests/scene/test_path_follow_3d.h"
|
||||
#include "tests/scene/test_primitives.h"
|
||||
#include "tests/scene/test_skeleton_3d.h"
|
||||
#include "tests/scene/test_sky.h"
|
||||
#endif // _3D_DISABLED
|
||||
|
||||
#include "modules/modules_tests.gen.h"
|
||||
|
|
@ -165,8 +192,10 @@
|
|||
#include "servers/navigation_server_3d.h"
|
||||
#endif // _3D_DISABLED
|
||||
#include "servers/physics_server_2d.h"
|
||||
#include "servers/physics_server_2d_dummy.h"
|
||||
#ifndef _3D_DISABLED
|
||||
#include "servers/physics_server_3d.h"
|
||||
#include "servers/physics_server_3d_dummy.h"
|
||||
#endif // _3D_DISABLED
|
||||
#include "servers/rendering/rendering_server_default.h"
|
||||
|
||||
|
|
@ -265,7 +294,7 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
|||
OS::get_singleton()->set_has_server_feature_callback(nullptr);
|
||||
for (int i = 0; i < DisplayServer::get_create_function_count(); i++) {
|
||||
if (String("mock") == DisplayServer::get_create_function_name(i)) {
|
||||
DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, nullptr, Vector2i(0, 0), DisplayServer::SCREEN_PRIMARY, DisplayServer::CONTEXT_EDITOR, err);
|
||||
DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, nullptr, Vector2i(0, 0), DisplayServer::SCREEN_PRIMARY, DisplayServer::CONTEXT_EDITOR, 0, err);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -281,10 +310,16 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
|||
|
||||
#ifndef _3D_DISABLED
|
||||
physics_server_3d = PhysicsServer3DManager::get_singleton()->new_default_server();
|
||||
if (!physics_server_3d) {
|
||||
physics_server_3d = memnew(PhysicsServer3DDummy);
|
||||
}
|
||||
physics_server_3d->init();
|
||||
#endif // _3D_DISABLED
|
||||
|
||||
physics_server_2d = PhysicsServer2DManager::get_singleton()->new_default_server();
|
||||
if (!physics_server_2d) {
|
||||
physics_server_2d = memnew(PhysicsServer2DDummy);
|
||||
}
|
||||
physics_server_2d->init();
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
|
|
@ -314,7 +349,7 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
|||
return;
|
||||
}
|
||||
|
||||
if (name.contains("Audio")) {
|
||||
if (name.contains("[Audio]")) {
|
||||
// The last driver index should always be the dummy driver.
|
||||
int dummy_idx = AudioDriverManager::get_driver_count() - 1;
|
||||
AudioDriverManager::initialize(dummy_idx);
|
||||
|
|
@ -338,6 +373,12 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
|||
#ifdef TOOLS_ENABLED
|
||||
if (EditorSettings::get_singleton()) {
|
||||
EditorSettings::destroy();
|
||||
|
||||
// Instantiating the EditorSettings singleton sets the locale to the editor's language.
|
||||
TranslationServer::get_singleton()->set_locale("en");
|
||||
}
|
||||
if (EditorPaths::get_singleton()) {
|
||||
EditorPaths::free();
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue