|
|
|
@ -33,53 +33,6 @@
|
|
|
|
|
#include "core/config/project_settings.h"
|
|
|
|
|
#include "core/object/class_db.h"
|
|
|
|
|
#include "core/os/os.h"
|
|
|
|
|
#include "scene/2d/animated_sprite_2d.h"
|
|
|
|
|
#include "scene/2d/audio_listener_2d.h"
|
|
|
|
|
#include "scene/2d/audio_stream_player_2d.h"
|
|
|
|
|
#include "scene/2d/back_buffer_copy.h"
|
|
|
|
|
#include "scene/2d/camera_2d.h"
|
|
|
|
|
#include "scene/2d/canvas_group.h"
|
|
|
|
|
#include "scene/2d/canvas_modulate.h"
|
|
|
|
|
#include "scene/2d/cpu_particles_2d.h"
|
|
|
|
|
#include "scene/2d/gpu_particles_2d.h"
|
|
|
|
|
#include "scene/2d/light_2d.h"
|
|
|
|
|
#include "scene/2d/light_occluder_2d.h"
|
|
|
|
|
#include "scene/2d/line_2d.h"
|
|
|
|
|
#include "scene/2d/marker_2d.h"
|
|
|
|
|
#include "scene/2d/mesh_instance_2d.h"
|
|
|
|
|
#include "scene/2d/multimesh_instance_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_agent_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_link_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_obstacle_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_region_2d.h"
|
|
|
|
|
#include "scene/2d/parallax_2d.h"
|
|
|
|
|
#include "scene/2d/parallax_background.h"
|
|
|
|
|
#include "scene/2d/parallax_layer.h"
|
|
|
|
|
#include "scene/2d/path_2d.h"
|
|
|
|
|
#include "scene/2d/physics/animatable_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/area_2d.h"
|
|
|
|
|
#include "scene/2d/physics/character_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/collision_polygon_2d.h"
|
|
|
|
|
#include "scene/2d/physics/collision_shape_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/damped_spring_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/groove_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/pin_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/kinematic_collision_2d.h"
|
|
|
|
|
#include "scene/2d/physics/physical_bone_2d.h"
|
|
|
|
|
#include "scene/2d/physics/physics_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/ray_cast_2d.h"
|
|
|
|
|
#include "scene/2d/physics/rigid_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/shape_cast_2d.h"
|
|
|
|
|
#include "scene/2d/physics/static_body_2d.h"
|
|
|
|
|
#include "scene/2d/polygon_2d.h"
|
|
|
|
|
#include "scene/2d/remote_transform_2d.h"
|
|
|
|
|
#include "scene/2d/skeleton_2d.h"
|
|
|
|
|
#include "scene/2d/sprite_2d.h"
|
|
|
|
|
#include "scene/2d/tile_map.h"
|
|
|
|
|
#include "scene/2d/tile_map_layer.h"
|
|
|
|
|
#include "scene/2d/touch_screen_button.h"
|
|
|
|
|
#include "scene/2d/visible_on_screen_notifier_2d.h"
|
|
|
|
|
#include "scene/animation/animation_blend_space_1d.h"
|
|
|
|
|
#include "scene/animation/animation_blend_space_2d.h"
|
|
|
|
|
#include "scene/animation/animation_blend_tree.h"
|
|
|
|
@ -146,29 +99,11 @@
|
|
|
|
|
#include "scene/main/multiplayer_api.h"
|
|
|
|
|
#include "scene/main/resource_preloader.h"
|
|
|
|
|
#include "scene/main/scene_tree.h"
|
|
|
|
|
#include "scene/main/shader_globals_override.h"
|
|
|
|
|
#include "scene/main/status_indicator.h"
|
|
|
|
|
#include "scene/main/timer.h"
|
|
|
|
|
#include "scene/main/viewport.h"
|
|
|
|
|
#include "scene/main/window.h"
|
|
|
|
|
#include "scene/resources/2d/capsule_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/circle_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/polygon_path_finder.h"
|
|
|
|
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/segment_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/separation_ray_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_ccdik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_fabrik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_jiggle.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_lookat.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_physicalbones.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_stackholder.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_twoboneik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_stack_2d.h"
|
|
|
|
|
#include "scene/resources/2d/tile_set.h"
|
|
|
|
|
#include "scene/resources/2d/world_boundary_shape_2d.h"
|
|
|
|
|
#include "scene/resources/animated_texture.h"
|
|
|
|
|
#include "scene/resources/animation_library.h"
|
|
|
|
|
#include "scene/resources/atlas_texture.h"
|
|
|
|
@ -226,7 +161,73 @@
|
|
|
|
|
#include "scene/scene_string_names.h"
|
|
|
|
|
#include "scene/theme/theme_db.h"
|
|
|
|
|
|
|
|
|
|
#include "scene/main/shader_globals_override.h"
|
|
|
|
|
// 2D
|
|
|
|
|
#include "scene/2d/animated_sprite_2d.h"
|
|
|
|
|
#include "scene/2d/audio_listener_2d.h"
|
|
|
|
|
#include "scene/2d/audio_stream_player_2d.h"
|
|
|
|
|
#include "scene/2d/back_buffer_copy.h"
|
|
|
|
|
#include "scene/2d/camera_2d.h"
|
|
|
|
|
#include "scene/2d/canvas_group.h"
|
|
|
|
|
#include "scene/2d/canvas_modulate.h"
|
|
|
|
|
#include "scene/2d/cpu_particles_2d.h"
|
|
|
|
|
#include "scene/2d/gpu_particles_2d.h"
|
|
|
|
|
#include "scene/2d/light_2d.h"
|
|
|
|
|
#include "scene/2d/light_occluder_2d.h"
|
|
|
|
|
#include "scene/2d/line_2d.h"
|
|
|
|
|
#include "scene/2d/marker_2d.h"
|
|
|
|
|
#include "scene/2d/mesh_instance_2d.h"
|
|
|
|
|
#include "scene/2d/multimesh_instance_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_agent_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_link_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_obstacle_2d.h"
|
|
|
|
|
#include "scene/2d/navigation_region_2d.h"
|
|
|
|
|
#include "scene/2d/parallax_2d.h"
|
|
|
|
|
#include "scene/2d/parallax_background.h"
|
|
|
|
|
#include "scene/2d/parallax_layer.h"
|
|
|
|
|
#include "scene/2d/path_2d.h"
|
|
|
|
|
#include "scene/2d/physics/animatable_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/area_2d.h"
|
|
|
|
|
#include "scene/2d/physics/character_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/collision_polygon_2d.h"
|
|
|
|
|
#include "scene/2d/physics/collision_shape_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/damped_spring_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/groove_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/joints/pin_joint_2d.h"
|
|
|
|
|
#include "scene/2d/physics/kinematic_collision_2d.h"
|
|
|
|
|
#include "scene/2d/physics/physical_bone_2d.h"
|
|
|
|
|
#include "scene/2d/physics/physics_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/ray_cast_2d.h"
|
|
|
|
|
#include "scene/2d/physics/rigid_body_2d.h"
|
|
|
|
|
#include "scene/2d/physics/shape_cast_2d.h"
|
|
|
|
|
#include "scene/2d/physics/static_body_2d.h"
|
|
|
|
|
#include "scene/2d/polygon_2d.h"
|
|
|
|
|
#include "scene/2d/remote_transform_2d.h"
|
|
|
|
|
#include "scene/2d/skeleton_2d.h"
|
|
|
|
|
#include "scene/2d/sprite_2d.h"
|
|
|
|
|
#include "scene/2d/tile_map.h"
|
|
|
|
|
#include "scene/2d/tile_map_layer.h"
|
|
|
|
|
#include "scene/2d/touch_screen_button.h"
|
|
|
|
|
#include "scene/2d/visible_on_screen_notifier_2d.h"
|
|
|
|
|
#include "scene/resources/2d/capsule_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/circle_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/polygon_path_finder.h"
|
|
|
|
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/segment_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/separation_ray_shape_2d.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_ccdik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_fabrik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_jiggle.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_lookat.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_physicalbones.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_stackholder.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d_twoboneik.h"
|
|
|
|
|
#include "scene/resources/2d/skeleton/skeleton_modification_stack_2d.h"
|
|
|
|
|
#include "scene/resources/2d/tile_set.h"
|
|
|
|
|
#include "scene/resources/2d/world_boundary_shape_2d.h"
|
|
|
|
|
|
|
|
|
|
#ifndef _3D_DISABLED
|
|
|
|
|
#include "scene/3d/audio_listener_3d.h"
|
|
|
|
@ -858,6 +859,7 @@ void register_scene_types() {
|
|
|
|
|
GDREGISTER_CLASS(MeshDataTool);
|
|
|
|
|
|
|
|
|
|
#ifndef _3D_DISABLED
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPlayer3D);
|
|
|
|
|
GDREGISTER_VIRTUAL_CLASS(PrimitiveMesh);
|
|
|
|
|
GDREGISTER_CLASS(BoxMesh);
|
|
|
|
|
GDREGISTER_CLASS(CapsuleMesh);
|
|
|
|
@ -969,7 +971,6 @@ void register_scene_types() {
|
|
|
|
|
GDREGISTER_CLASS(StyleBoxLine);
|
|
|
|
|
GDREGISTER_CLASS(Theme);
|
|
|
|
|
|
|
|
|
|
GDREGISTER_CLASS(PolygonPathFinder);
|
|
|
|
|
GDREGISTER_CLASS(BitMap);
|
|
|
|
|
GDREGISTER_CLASS(Gradient);
|
|
|
|
|
|
|
|
|
@ -980,16 +981,13 @@ void register_scene_types() {
|
|
|
|
|
OS::get_singleton()->yield(); // may take time to init
|
|
|
|
|
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPlayer);
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPlayer2D);
|
|
|
|
|
#ifndef _3D_DISABLED
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPlayer3D);
|
|
|
|
|
#endif
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamWAV);
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPolyphonic);
|
|
|
|
|
GDREGISTER_ABSTRACT_CLASS(AudioStreamPlaybackPolyphonic);
|
|
|
|
|
|
|
|
|
|
OS::get_singleton()->yield(); // may take time to init
|
|
|
|
|
|
|
|
|
|
GDREGISTER_CLASS(AudioStreamPlayer2D);
|
|
|
|
|
GDREGISTER_ABSTRACT_CLASS(Shape2D);
|
|
|
|
|
GDREGISTER_CLASS(WorldBoundaryShape2D);
|
|
|
|
|
GDREGISTER_CLASS(SegmentShape2D);
|
|
|
|
@ -1002,6 +1000,7 @@ void register_scene_types() {
|
|
|
|
|
GDREGISTER_CLASS(Curve2D);
|
|
|
|
|
GDREGISTER_CLASS(Path2D);
|
|
|
|
|
GDREGISTER_CLASS(PathFollow2D);
|
|
|
|
|
GDREGISTER_CLASS(PolygonPathFinder);
|
|
|
|
|
|
|
|
|
|
GDREGISTER_CLASS(NavigationMesh);
|
|
|
|
|
GDREGISTER_CLASS(NavigationMeshSourceGeometryData2D);
|
|
|
|
|