Move 2D-only resources to their own folder
This commit is contained in:
parent
8eb34cb78b
commit
1cb531ddb6
|
@ -35,14 +35,14 @@
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "scene/resources/capsule_shape_2d.h"
|
#include "scene/resources/2d/capsule_shape_2d.h"
|
||||||
#include "scene/resources/circle_shape_2d.h"
|
#include "scene/resources/2d/circle_shape_2d.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
||||||
#include "scene/resources/rectangle_shape_2d.h"
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
||||||
#include "scene/resources/segment_shape_2d.h"
|
#include "scene/resources/2d/segment_shape_2d.h"
|
||||||
#include "scene/resources/separation_ray_shape_2d.h"
|
#include "scene/resources/2d/separation_ray_shape_2d.h"
|
||||||
#include "scene/resources/world_boundary_shape_2d.h"
|
#include "scene/resources/2d/world_boundary_shape_2d.h"
|
||||||
#include "scene/scene_string_names.h"
|
#include "scene/scene_string_names.h"
|
||||||
|
|
||||||
CollisionShape2DEditor::CollisionShape2DEditor() {
|
CollisionShape2DEditor::CollisionShape2DEditor() {
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/item_list.h"
|
#include "scene/gui/item_list.h"
|
||||||
#include "scene/gui/texture_rect.h"
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class EditorFileDialog;
|
class EditorFileDialog;
|
||||||
class EditorPropertyVector2i;
|
class EditorPropertyVector2i;
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
#include "scene/gui/label.h"
|
#include "scene/gui/label.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class ViewPanner;
|
class ViewPanner;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "tile_data_editors.h"
|
#include "tile_data_editors.h"
|
||||||
|
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class Popup;
|
class Popup;
|
||||||
class TileSet;
|
class TileSet;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "atlas_merging_dialog.h"
|
#include "atlas_merging_dialog.h"
|
||||||
#include "scene/gui/tab_bar.h"
|
#include "scene/gui/tab_bar.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
#include "tile_proxies_manager_dialog.h"
|
#include "tile_proxies_manager_dialog.h"
|
||||||
#include "tile_set_atlas_source_editor.h"
|
#include "tile_set_atlas_source_editor.h"
|
||||||
#include "tile_set_scenes_collection_source_editor.h"
|
#include "tile_set_scenes_collection_source_editor.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class Button;
|
class Button;
|
||||||
class ItemList;
|
class ItemList;
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
#include "scene/resources/2d/tile_set.h"
|
||||||
#include "scene/resources/image_texture.h"
|
#include "scene/resources/image_texture.h"
|
||||||
#include "scene/resources/tile_set.h"
|
|
||||||
|
|
||||||
TilesEditorUtils *TilesEditorUtils::singleton = nullptr;
|
TilesEditorUtils *TilesEditorUtils::singleton = nullptr;
|
||||||
TileMapEditorPlugin *tile_map_plugin_singleton = nullptr;
|
TileMapEditorPlugin *tile_map_plugin_singleton = nullptr;
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
#include "scene/2d/physics_body_2d.h"
|
#include "scene/2d/physics_body_2d.h"
|
||||||
#include "scene/2d/polygon_2d.h"
|
#include "scene/2d/polygon_2d.h"
|
||||||
#include "scene/2d/tile_map.h"
|
#include "scene/2d/tile_map.h"
|
||||||
#include "scene/resources/capsule_shape_2d.h"
|
#include "scene/resources/2d/capsule_shape_2d.h"
|
||||||
#include "scene/resources/circle_shape_2d.h"
|
#include "scene/resources/2d/circle_shape_2d.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
||||||
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
||||||
#include "scene/resources/navigation_mesh_source_geometry_data_2d.h"
|
#include "scene/resources/navigation_mesh_source_geometry_data_2d.h"
|
||||||
#include "scene/resources/navigation_polygon.h"
|
#include "scene/resources/navigation_polygon.h"
|
||||||
#include "scene/resources/rectangle_shape_2d.h"
|
|
||||||
|
|
||||||
#include "thirdparty/clipper2/include/clipper2/clipper.h"
|
#include "thirdparty/clipper2/include/clipper2/clipper.h"
|
||||||
#include "thirdparty/misc/polypartition.h"
|
#include "thirdparty/misc/polypartition.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
#include "scene/main/viewport.h"
|
#include "scene/main/viewport.h"
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
#include "servers/physics_server_2d.h"
|
#include "servers/physics_server_2d.h"
|
||||||
|
|
||||||
class CollisionObject2D : public Node2D {
|
class CollisionObject2D : public Node2D {
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
#include "collision_object_2d.h"
|
#include "collision_object_2d.h"
|
||||||
#include "core/math/geometry_2d.h"
|
#include "core/math/geometry_2d.h"
|
||||||
#include "scene/2d/area_2d.h"
|
#include "scene/2d/area_2d.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
||||||
|
|
||||||
#include "thirdparty/misc/polypartition.h"
|
#include "thirdparty/misc/polypartition.h"
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
#include "collision_object_2d.h"
|
#include "collision_object_2d.h"
|
||||||
#include "scene/2d/area_2d.h"
|
#include "scene/2d/area_2d.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
#include "scene/resources/2d/concave_polygon_shape_2d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
||||||
|
|
||||||
void CollisionShape2D::_shape_changed() {
|
void CollisionShape2D::_shape_changed() {
|
||||||
queue_redraw();
|
queue_redraw();
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define COLLISION_SHAPE_2D_H
|
#define COLLISION_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class CollisionObject2D;
|
class CollisionObject2D;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "core/config/engine.h"
|
#include "core/config/engine.h"
|
||||||
#include "scene/2d/collision_object_2d.h"
|
#include "scene/2d/collision_object_2d.h"
|
||||||
#include "scene/2d/physics_body_2d.h"
|
#include "scene/2d/physics_body_2d.h"
|
||||||
#include "scene/resources/circle_shape_2d.h"
|
#include "scene/resources/2d/circle_shape_2d.h"
|
||||||
#include "servers/physics_2d/godot_physics_server_2d.h"
|
#include "servers/physics_2d/godot_physics_server_2d.h"
|
||||||
|
|
||||||
void ShapeCast2D::set_target_position(const Vector2 &p_point) {
|
void ShapeCast2D::set_target_position(const Vector2 &p_point) {
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define SHAPE_CAST_2D_H
|
#define SHAPE_CAST_2D_H
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
#include "scene/resources/world_2d.h"
|
#include "scene/resources/world_2d.h"
|
||||||
|
|
||||||
class CollisionObject2D;
|
class CollisionObject2D;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_2D_H
|
#define SKELETON_2D_H
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
class Skeleton2D;
|
class Skeleton2D;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define TILE_MAP_H
|
#define TILE_MAP_H
|
||||||
|
|
||||||
#include "scene/2d/tile_map_layer_group.h"
|
#include "scene/2d/tile_map_layer_group.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class Control;
|
class Control;
|
||||||
class TileMapLayer;
|
class TileMapLayer;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define TILE_MAP_LAYER_H
|
#define TILE_MAP_LAYER_H
|
||||||
|
|
||||||
#include "scene/2d/tile_map.h"
|
#include "scene/2d/tile_map.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
class TileSetAtlasSource;
|
class TileSetAtlasSource;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "core/core_string_names.h"
|
#include "core/core_string_names.h"
|
||||||
#include "scene/2d/tile_map_layer.h"
|
#include "scene/2d/tile_map_layer.h"
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/2d/tile_set.h"
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
#define TOUCH_SCREEN_BUTTON_H
|
#define TOUCH_SCREEN_BUTTON_H
|
||||||
|
|
||||||
#include "scene/2d/node_2d.h"
|
#include "scene/2d/node_2d.h"
|
||||||
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
||||||
#include "scene/resources/bit_map.h"
|
#include "scene/resources/bit_map.h"
|
||||||
#include "scene/resources/rectangle_shape_2d.h"
|
|
||||||
#include "scene/resources/texture.h"
|
#include "scene/resources/texture.h"
|
||||||
|
|
||||||
class TouchScreenButton : public Node2D {
|
class TouchScreenButton : public Node2D {
|
||||||
|
|
|
@ -139,6 +139,25 @@
|
||||||
#include "scene/main/timer.h"
|
#include "scene/main/timer.h"
|
||||||
#include "scene/main/viewport.h"
|
#include "scene/main/viewport.h"
|
||||||
#include "scene/main/window.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/animated_texture.h"
|
||||||
#include "scene/resources/animation_library.h"
|
#include "scene/resources/animation_library.h"
|
||||||
#include "scene/resources/atlas_texture.h"
|
#include "scene/resources/atlas_texture.h"
|
||||||
|
@ -148,12 +167,8 @@
|
||||||
#include "scene/resources/bone_map.h"
|
#include "scene/resources/bone_map.h"
|
||||||
#include "scene/resources/camera_attributes.h"
|
#include "scene/resources/camera_attributes.h"
|
||||||
#include "scene/resources/camera_texture.h"
|
#include "scene/resources/camera_texture.h"
|
||||||
#include "scene/resources/capsule_shape_2d.h"
|
|
||||||
#include "scene/resources/circle_shape_2d.h"
|
|
||||||
#include "scene/resources/compositor.h"
|
#include "scene/resources/compositor.h"
|
||||||
#include "scene/resources/compressed_texture.h"
|
#include "scene/resources/compressed_texture.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
|
||||||
#include "scene/resources/curve_texture.h"
|
#include "scene/resources/curve_texture.h"
|
||||||
#include "scene/resources/environment.h"
|
#include "scene/resources/environment.h"
|
||||||
#include "scene/resources/font.h"
|
#include "scene/resources/font.h"
|
||||||
|
@ -174,22 +189,9 @@
|
||||||
#include "scene/resources/particle_process_material.h"
|
#include "scene/resources/particle_process_material.h"
|
||||||
#include "scene/resources/physics_material.h"
|
#include "scene/resources/physics_material.h"
|
||||||
#include "scene/resources/placeholder_textures.h"
|
#include "scene/resources/placeholder_textures.h"
|
||||||
#include "scene/resources/polygon_path_finder.h"
|
|
||||||
#include "scene/resources/portable_compressed_texture.h"
|
#include "scene/resources/portable_compressed_texture.h"
|
||||||
#include "scene/resources/rectangle_shape_2d.h"
|
|
||||||
#include "scene/resources/resource_format_text.h"
|
#include "scene/resources/resource_format_text.h"
|
||||||
#include "scene/resources/segment_shape_2d.h"
|
|
||||||
#include "scene/resources/separation_ray_shape_2d.h"
|
|
||||||
#include "scene/resources/shader_include.h"
|
#include "scene/resources/shader_include.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_ccdik.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_fabrik.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_jiggle.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_lookat.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_physicalbones.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_stackholder.h"
|
|
||||||
#include "scene/resources/skeleton_modification_2d_twoboneik.h"
|
|
||||||
#include "scene/resources/skeleton_modification_stack_2d.h"
|
|
||||||
#include "scene/resources/skeleton_profile.h"
|
#include "scene/resources/skeleton_profile.h"
|
||||||
#include "scene/resources/sky.h"
|
#include "scene/resources/sky.h"
|
||||||
#include "scene/resources/sky_material.h"
|
#include "scene/resources/sky_material.h"
|
||||||
|
@ -205,14 +207,12 @@
|
||||||
#include "scene/resources/texture.h"
|
#include "scene/resources/texture.h"
|
||||||
#include "scene/resources/texture_rd.h"
|
#include "scene/resources/texture_rd.h"
|
||||||
#include "scene/resources/theme.h"
|
#include "scene/resources/theme.h"
|
||||||
#include "scene/resources/tile_set.h"
|
|
||||||
#include "scene/resources/video_stream.h"
|
#include "scene/resources/video_stream.h"
|
||||||
#include "scene/resources/visual_shader.h"
|
#include "scene/resources/visual_shader.h"
|
||||||
#include "scene/resources/visual_shader_nodes.h"
|
#include "scene/resources/visual_shader_nodes.h"
|
||||||
#include "scene/resources/visual_shader_particle_nodes.h"
|
#include "scene/resources/visual_shader_particle_nodes.h"
|
||||||
#include "scene/resources/visual_shader_sdf_nodes.h"
|
#include "scene/resources/visual_shader_sdf_nodes.h"
|
||||||
#include "scene/resources/world_2d.h"
|
#include "scene/resources/world_2d.h"
|
||||||
#include "scene/resources/world_boundary_shape_2d.h"
|
|
||||||
#include "scene/scene_string_names.h"
|
#include "scene/scene_string_names.h"
|
||||||
#include "scene/theme/theme_db.h"
|
#include "scene/theme/theme_db.h"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
Import("env")
|
||||||
|
|
||||||
|
env.add_source_files(env.scene_sources, "*.cpp")
|
||||||
|
env.add_source_files(env.scene_sources, "skeleton/*.cpp")
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef CAPSULE_SHAPE_2D_H
|
#ifndef CAPSULE_SHAPE_2D_H
|
||||||
#define CAPSULE_SHAPE_2D_H
|
#define CAPSULE_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class CapsuleShape2D : public Shape2D {
|
class CapsuleShape2D : public Shape2D {
|
||||||
GDCLASS(CapsuleShape2D, Shape2D);
|
GDCLASS(CapsuleShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef CIRCLE_SHAPE_2D_H
|
#ifndef CIRCLE_SHAPE_2D_H
|
||||||
#define CIRCLE_SHAPE_2D_H
|
#define CIRCLE_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class CircleShape2D : public Shape2D {
|
class CircleShape2D : public Shape2D {
|
||||||
GDCLASS(CircleShape2D, Shape2D);
|
GDCLASS(CircleShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef CONCAVE_POLYGON_SHAPE_2D_H
|
#ifndef CONCAVE_POLYGON_SHAPE_2D_H
|
||||||
#define CONCAVE_POLYGON_SHAPE_2D_H
|
#define CONCAVE_POLYGON_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class ConcavePolygonShape2D : public Shape2D {
|
class ConcavePolygonShape2D : public Shape2D {
|
||||||
GDCLASS(ConcavePolygonShape2D, Shape2D);
|
GDCLASS(ConcavePolygonShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef CONVEX_POLYGON_SHAPE_2D_H
|
#ifndef CONVEX_POLYGON_SHAPE_2D_H
|
||||||
#define CONVEX_POLYGON_SHAPE_2D_H
|
#define CONVEX_POLYGON_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class ConvexPolygonShape2D : public Shape2D {
|
class ConvexPolygonShape2D : public Shape2D {
|
||||||
GDCLASS(ConvexPolygonShape2D, Shape2D);
|
GDCLASS(ConvexPolygonShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef RECTANGLE_SHAPE_2D_H
|
#ifndef RECTANGLE_SHAPE_2D_H
|
||||||
#define RECTANGLE_SHAPE_2D_H
|
#define RECTANGLE_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class RectangleShape2D : public Shape2D {
|
class RectangleShape2D : public Shape2D {
|
||||||
GDCLASS(RectangleShape2D, Shape2D);
|
GDCLASS(RectangleShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef SEGMENT_SHAPE_2D_H
|
#ifndef SEGMENT_SHAPE_2D_H
|
||||||
#define SEGMENT_SHAPE_2D_H
|
#define SEGMENT_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class SegmentShape2D : public Shape2D {
|
class SegmentShape2D : public Shape2D {
|
||||||
GDCLASS(SegmentShape2D, Shape2D);
|
GDCLASS(SegmentShape2D, Shape2D);
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef SEPARATION_RAY_SHAPE_2D_H
|
#ifndef SEPARATION_RAY_SHAPE_2D_H
|
||||||
#define SEPARATION_RAY_SHAPE_2D_H
|
#define SEPARATION_RAY_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class SeparationRayShape2D : public Shape2D {
|
class SeparationRayShape2D : public Shape2D {
|
||||||
GDCLASS(SeparationRayShape2D, Shape2D);
|
GDCLASS(SeparationRayShape2D, Shape2D);
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_H
|
#define SKELETON_MODIFICATION_2D_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_stack_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_stack_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2D
|
// SkeletonModification2D
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_CCDIK_H
|
#define SKELETON_MODIFICATION_2D_CCDIK_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DCCDIK
|
// SkeletonModification2DCCDIK
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_FABRIK_H
|
#define SKELETON_MODIFICATION_2D_FABRIK_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DFABRIK
|
// SkeletonModification2DFABRIK
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_JIGGLE_H
|
#define SKELETON_MODIFICATION_2D_JIGGLE_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DJIGGLE
|
// SkeletonModification2DJIGGLE
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_LOOKAT_H
|
#define SKELETON_MODIFICATION_2D_LOOKAT_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DLookAt
|
// SkeletonModification2DLookAt
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_PHYSICALBONES_H
|
#define SKELETON_MODIFICATION_2D_PHYSICALBONES_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DJIGGLE
|
// SkeletonModification2DJIGGLE
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_STACKHOLDER_H
|
#define SKELETON_MODIFICATION_2D_STACKHOLDER_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DJIGGLE
|
// SkeletonModification2DJIGGLE
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_2D_TWOBONEIK_H
|
#define SKELETON_MODIFICATION_2D_TWOBONEIK_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModification2DJIGGLE
|
// SkeletonModification2DJIGGLE
|
|
@ -32,7 +32,7 @@
|
||||||
#define SKELETON_MODIFICATION_STACK_2D_H
|
#define SKELETON_MODIFICATION_STACK_2D_H
|
||||||
|
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/resources/skeleton_modification_2d.h"
|
#include "scene/resources/2d/skeleton/skeleton_modification_2d.h"
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// SkeletonModificationStack2D
|
// SkeletonModificationStack2D
|
|
@ -36,7 +36,6 @@
|
||||||
#include "core/templates/local_vector.h"
|
#include "core/templates/local_vector.h"
|
||||||
#include "core/templates/rb_set.h"
|
#include "core/templates/rb_set.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
|
||||||
#include "scene/resources/image_texture.h"
|
#include "scene/resources/image_texture.h"
|
||||||
#include "servers/navigation_server_2d.h"
|
#include "servers/navigation_server_2d.h"
|
||||||
|
|
|
@ -37,13 +37,11 @@
|
||||||
#include "core/templates/rb_set.h"
|
#include "core/templates/rb_set.h"
|
||||||
#include "scene/2d/light_occluder_2d.h"
|
#include "scene/2d/light_occluder_2d.h"
|
||||||
#include "scene/main/canvas_item.h"
|
#include "scene/main/canvas_item.h"
|
||||||
#include "scene/resources/concave_polygon_shape_2d.h"
|
#include "scene/resources/2d/convex_polygon_shape_2d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_2d.h"
|
|
||||||
#include "scene/resources/image_texture.h"
|
#include "scene/resources/image_texture.h"
|
||||||
#include "scene/resources/navigation_polygon.h"
|
#include "scene/resources/navigation_polygon.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
#include "scene/resources/physics_material.h"
|
#include "scene/resources/physics_material.h"
|
||||||
#include "scene/resources/shape_2d.h"
|
|
||||||
|
|
||||||
#ifndef DISABLE_DEPRECATED
|
#ifndef DISABLE_DEPRECATED
|
||||||
#include "scene/resources/shader.h"
|
#include "scene/resources/shader.h"
|
|
@ -31,7 +31,7 @@
|
||||||
#ifndef WORLD_BOUNDARY_SHAPE_2D_H
|
#ifndef WORLD_BOUNDARY_SHAPE_2D_H
|
||||||
#define WORLD_BOUNDARY_SHAPE_2D_H
|
#define WORLD_BOUNDARY_SHAPE_2D_H
|
||||||
|
|
||||||
#include "scene/resources/shape_2d.h"
|
#include "scene/resources/2d/shape_2d.h"
|
||||||
|
|
||||||
class WorldBoundaryShape2D : public Shape2D {
|
class WorldBoundaryShape2D : public Shape2D {
|
||||||
GDCLASS(WorldBoundaryShape2D, Shape2D);
|
GDCLASS(WorldBoundaryShape2D, Shape2D);
|
|
@ -22,3 +22,5 @@ env.scene_sources += scene_obj
|
||||||
|
|
||||||
# Needed to force rebuilding the scene files when the thirdparty code is updated.
|
# Needed to force rebuilding the scene files when the thirdparty code is updated.
|
||||||
env.Depends(scene_obj, thirdparty_obj)
|
env.Depends(scene_obj, thirdparty_obj)
|
||||||
|
|
||||||
|
SConscript("2d/SCsub")
|
||||||
|
|
|
@ -315,6 +315,7 @@ def generate_scu_files(max_includes_per_scu):
|
||||||
process_folder(["scene/gui"])
|
process_folder(["scene/gui"])
|
||||||
process_folder(["scene/main"])
|
process_folder(["scene/main"])
|
||||||
process_folder(["scene/resources"])
|
process_folder(["scene/resources"])
|
||||||
|
process_folder(["scene/resources/2d"])
|
||||||
|
|
||||||
process_folder(["servers"])
|
process_folder(["servers"])
|
||||||
process_folder(["servers/rendering"])
|
process_folder(["servers/rendering"])
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "scene/gui/subviewport_container.h"
|
#include "scene/gui/subviewport_container.h"
|
||||||
#include "scene/main/canvas_layer.h"
|
#include "scene/main/canvas_layer.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
#include "scene/resources/rectangle_shape_2d.h"
|
#include "scene/resources/2d/rectangle_shape_2d.h"
|
||||||
|
|
||||||
#include "tests/test_macros.h"
|
#include "tests/test_macros.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue