Include cleanups.

This commit is contained in:
Relintai 2024-03-01 16:07:31 +01:00
parent 715008c433
commit 5f6121b719
24 changed files with 68 additions and 65 deletions

View File

@ -35,9 +35,9 @@
#include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_file_dialog.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/control.h"
#include "scene/main/control.h"
#include "scene/gui/split_container.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/texture.h"
void AtlasMergingDialog::_property_changed(const StringName &p_property, const Variant &p_value, const String &p_field, bool p_changing) {
_set(p_property, p_value);

View File

@ -36,7 +36,7 @@
#include "scene/gui/dialogs.h"
#include "scene/gui/item_list.h"
#include "scene/gui/texture_rect.h"
#include "scene/resources/2d/tile_set.h"
#include "../layered_tile_set.h"
class EditorFileDialog;
class EditorPropertyVector2i;

View File

@ -38,7 +38,7 @@
#include "scene/gui/center_container.h"
#include "scene/gui/label.h"
#include "scene/gui/margin_container.h"
#include "scene/resources/2d/tile_set.h"
#include "../layered_tile_set.h"
class ViewPanner;

View File

@ -29,11 +29,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_data_editors.h"
#include "layered_tile_data_editors.h"
#include "tile_set_editor.h"
#include "layered_tile_set_editor.h"
#include "core/math/geometry_2d.h"
#include "core/math/geometry.h"
#include "core/os/keyboard.h"
#include "editor/editor_node.h"
@ -43,14 +43,14 @@
#include "editor/editor_undo_redo_manager.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/control.h"
#include "scene/main/control.h"
#include "scene/gui/label.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/option_button.h"
#include "scene/gui/separator.h"
#include "scene/gui/spin_box.h"
#include "servers/navigation_server_2d.h"
#include "servers/navigation_2d_server.h"
void LayeredTileDataEditor::_tile_set_changed_plan_update() {
_tile_set_changed_update_needed = true;

View File

@ -35,7 +35,7 @@
#include "tile_atlas_view.h"
#include "editor/editor_properties.h"
#include "scene/2d/tile_map.h"
#include "../layered_tile_map.h"
#include "scene/gui/box_container.h"
#include "scene/gui/panel_container.h"

View File

@ -29,9 +29,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_map_layer_editor.h"
#include "layered_tile_map_layer_editor.h"
#include "tiles_editor_plugin.h"
#include "layered_tiles_editor_plugin.h"
#include "editor/editor_node.h"
#include "editor/editor_resource_preview.h"
@ -41,12 +41,12 @@
#include "editor/themes/editor_scale.h"
#include "scene/2d/camera_2d.h"
#include "scene/2d/tile_map_layer.h"
#include "../layered_tile_map_layer.h"
#include "scene/gui/center_container.h"
#include "scene/gui/split_container.h"
#include "core/input/input.h"
#include "core/math/geometry_2d.h"
#include "core/math/geometry.h"
#include "core/os/keyboard.h"
LayeredTileMapLayer *LayeredTileMapLayerSubEditorPlugin::_get_edited_layer() const {

View File

@ -36,7 +36,7 @@
#include "core/os/thread.h"
#include "core/typedefs.h"
#include "scene/2d/tile_map.h"
#include "../layered_tile_map.h"
#include "scene/gui/box_container.h"
#include "scene/gui/check_box.h"
#include "scene/gui/flow_container.h"

View File

@ -29,7 +29,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_proxies_manager_dialog.h"
#include "layered_tile_proxies_manager_dialog.h"
#include "editor/editor_properties_vector.h"
#include "editor/editor_settings.h"

View File

@ -33,7 +33,7 @@
/*************************************************************************/
#include "editor/editor_properties.h"
#include "scene/2d/tile_map.h"
#include "../layered_tile_map.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/item_list.h"

View File

@ -29,9 +29,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_set_atlas_source_editor.h"
#include "layered_tile_set_atlas_source_editor.h"
#include "tiles_editor_plugin.h"
#include "layered_tiles_editor_plugin.h"
#include "editor/editor_inspector.h"
#include "editor/editor_node.h"
@ -45,7 +45,7 @@
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
#include "scene/gui/control.h"
#include "scene/main/control.h"
#include "scene/gui/item_list.h"
#include "scene/gui/separator.h"
#include "scene/gui/split_container.h"
@ -55,7 +55,7 @@
#include "core/math/geometry_2d.h"
#include "core/os/keyboard.h"
#include "servers/navigation_server_2d.h"
#include "servers/navigation_2d_server.h"
void LayeredTileSetAtlasSourceEditor::LayeredTileSetAtlasSourceProxyObject::set_id(int p_id) {
ERR_FAIL_COND(p_id < 0);

View File

@ -32,11 +32,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_atlas_view.h"
#include "tile_data_editors.h"
#include "layered_tile_atlas_view.h"
#include "layered_tile_data_editors.h"
#include "scene/gui/split_container.h"
#include "scene/resources/2d/tile_set.h"
#include "../layered_tile_set.h"
class Popup;
class LayeredTileSet;

View File

@ -29,10 +29,10 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_set_editor.h"
#include "layered_tile_set_editor.h"
#include "tile_data_editors.h"
#include "tiles_editor_plugin.h"
#include "layered_tile_data_editors.h"
#include "layered_tiles_editor_plugin.h"
#include "editor/editor_file_system.h"
#include "editor/editor_inspector.h"
@ -43,7 +43,7 @@
#include "editor/themes/editor_scale.h"
#include "scene/gui/box_container.h"
#include "scene/gui/control.h"
#include "scene/main/control.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/tab_container.h"

View File

@ -34,10 +34,10 @@
#include "atlas_merging_dialog.h"
#include "scene/gui/tab_bar.h"
#include "scene/resources/2d/tile_set.h"
#include "tile_proxies_manager_dialog.h"
#include "tile_set_atlas_source_editor.h"
#include "tile_set_scenes_collection_source_editor.h"
#include "../layered_tile_set.h"
#include "layered_tile_proxies_manager_dialog.h"
#include "layered_tile_set_atlas_source_editor.h"
#include "layered_tile_set_scenes_collection_source_editor.h"
class AcceptDialog;
class SpinBox;

View File

@ -29,7 +29,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_set_scenes_collection_source_editor.h"
#include "layered_tile_set_scenes_collection_source_editor.h"
#include "editor/editor_file_system.h"
#include "editor/editor_node.h"

View File

@ -34,7 +34,7 @@
#include "editor/editor_inspector.h"
#include "scene/gui/box_container.h"
#include "scene/resources/2d/tile_set.h"
#include "../layered_tile_set.h"
class Button;
class ItemList;

View File

@ -29,9 +29,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tiles_editor_plugin.h"
#include "layered_tiles_editor_plugin.h"
#include "tile_set_editor.h"
#include "layered_tile_set_editor.h"
#include "core/os/mutex.h"
@ -42,13 +42,13 @@
#include "editor/gui/editor_bottom_panel.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "scene/2d/tile_map.h"
#include "scene/2d/tile_map_layer.h"
#include "../layered_tile_map.h"
#include "../layered_tile_map_layer.h"
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
#include "scene/gui/control.h"
#include "scene/main/control.h"
#include "scene/gui/separator.h"
#include "scene/resources/2d/tile_set.h"
#include "../layered_tile_set.h"
#include "scene/resources/image_texture.h"
LayeredTilesEditorUtils *LayeredTilesEditorUtils::singleton = nullptr;

View File

@ -35,9 +35,9 @@
#include "editor/editor_plugin.h"
#include "scene/gui/box_container.h"
#include "tile_atlas_view.h"
#include "tile_map_layer_editor.h"
#include "tile_set_editor.h"
#include "layered_tile_atlas_view.h"
#include "layered_tile_map_layer_editor.h"
#include "layered_tile_set_editor.h"
class LayeredTilesEditorUtils : public Object {
GDCLASS(LayeredTilesEditorUtils, Object);

View File

@ -29,8 +29,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_map.compat.inc"
#include "tile_map.h"
#include "layered_tile_map.compat.inc"
#include "layered_tile_map.h"
#include "core/core_string_names.h"
#include "scene/2d/tile_map_layer.h"

View File

@ -32,8 +32,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "scene/2d/tile_map_layer_group.h"
#include "scene/resources/2d/tile_set.h"
#include "layered_tile_map_layer_group.h"
#include "layered_tile_set.h"
class Control;
class LayeredTileMapLayer;

View File

@ -29,7 +29,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_map_layer.h"
#include "layered_tile_map_layer.h"
#include "core/core_string_names.h"
#include "core/io/marshalls.h"

View File

@ -33,7 +33,7 @@
/*************************************************************************/
#include "scene/2d/tile_map.h"
#include "scene/resources/2d/tile_set.h"
#include "layered_tile_set.h"
class LayeredTileSetAtlasSource;

View File

@ -29,10 +29,10 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_map_layer_group.h"
#include "layered_tile_map_layer_group.h"
#include "core/core_string_names.h"
#include "scene/2d/tile_map_layer.h"
#include "layered_tile_map_layer.h"
#include "scene/resources/2d/tile_set.h"
#ifdef TOOLS_ENABLED

View File

@ -29,16 +29,16 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "tile_set.compat.inc"
#include "tile_set.h"
#include "layered_tile_set.compat.inc"
#include "layered_tile_set.h"
#include "core/io/marshalls.h"
#include "core/math/geometry_2d.h"
#include "core/templates/local_vector.h"
#include "core/templates/rb_set.h"
#include "scene/gui/control.h"
#include "scene/resources/image_texture.h"
#include "servers/navigation_server_2d.h"
#include "core/math/geometry.h"
#include "core/containers/local_vector.h"
#include "core/containers/rb_set.h"
#include "scene/main/control.h"
#include "scene/resources/texture.h"
#include "servers/navigation_2d_server.h"
/////////////////////////////// LayeredTileMapPattern //////////////////////////////////////

View File

@ -32,17 +32,20 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/io/resource.h"
#include "core/containers/local_vector.h"
#include "core/containers/rb_set.h"
#include "core/object/resource.h"
#include "core/object/object.h"
#include "core/templates/local_vector.h"
#include "core/templates/rb_set.h"
#include "scene/2d/light_occluder_2d.h"
#include "scene/main/canvas_item.h"
#include "scene/resources/2d/convex_polygon_shape_2d.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/navigation_polygon.h"
#include "scene/resources/texture.h"
#include "scene/resources/navigation_2d/navigation_polygon.h"
#include "scene/resources/packed_scene.h"
#include "scene/resources/physics_material.h"
#include "scene/resources/shapes_2d/concave_polygon_shape_2d.h"
#ifndef DISABLE_DEPRECATED
#include "scene/resources/shader.h"