Fix small formatting inconsistencies.

This commit is contained in:
Relintai 2024-03-01 16:25:19 +01:00
parent 5f6121b719
commit cf7b59b6c8
53 changed files with 130 additions and 130 deletions

View File

@ -1,3 +1,6 @@
#ifndef NETWORKED_MULTIPLAYER_CUSTOM_H
#define NETWORKED_MULTIPLAYER_CUSTOM_H
/*************************************************************************/ /*************************************************************************/
/* networked_multiplayer_custom.h */ /* networked_multiplayer_custom.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NETWORKED_MULTIPLAYER_CUSTOM_H
#define NETWORKED_MULTIPLAYER_CUSTOM_H
#include "core/io/networked_multiplayer_peer.h" #include "core/io/networked_multiplayer_peer.h"
class NetworkedMultiplayerCustom : public NetworkedMultiplayerPeer { class NetworkedMultiplayerCustom : public NetworkedMultiplayerPeer {

View File

@ -1,3 +1,6 @@
#ifndef PROJECTION_H
#define PROJECTION_H
/*************************************************************************/ /*************************************************************************/
/* projection.h */ /* projection.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PROJECTION_H
#define PROJECTION_H
#include "core/containers/vector.h" #include "core/containers/vector.h"
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/vector3.h" #include "core/math/vector3.h"

View File

@ -1,3 +1,6 @@
#ifndef VECTOR3I_H
#define VECTOR3I_H
/*************************************************************************/ /*************************************************************************/
/* vector3i.h */ /* vector3i.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef VECTOR3I_H
#define VECTOR3I_H
#include "core/error/error_macros.h" #include "core/error/error_macros.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"

View File

@ -1,3 +1,6 @@
#ifndef VECTOR4_H
#define VECTOR4_H
/*************************************************************************/ /*************************************************************************/
/* vector4.h */ /* vector4.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef VECTOR4_H
#define VECTOR4_H
#include "core/math/math_defs.h" #include "core/math/math_defs.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"
#include "core/string/ustring.h" #include "core/string/ustring.h"

View File

@ -1,3 +1,6 @@
#ifndef VECTOR4I_H
#define VECTOR4I_H
/*************************************************************************/ /*************************************************************************/
/* vector4i.h */ /* vector4i.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef VECTOR4I_H
#define VECTOR4I_H
#include "core/error/error_macros.h" #include "core/error/error_macros.h"
#include "core/math/math_funcs.h" #include "core/math/math_funcs.h"

View File

@ -1,3 +1,6 @@
#ifndef THREAD_WORK_POOL_H
#define THREAD_WORK_POOL_H
/*************************************************************************/ /*************************************************************************/
/* thread_work_pool.h */ /* thread_work_pool.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef THREAD_WORK_POOL_H
#define THREAD_WORK_POOL_H
#include "core/os/memory.h" #include "core/os/memory.h"
#include "core/os/semaphore.h" #include "core/os/semaphore.h"
#include "core/os/thread.h" #include "core/os/thread.h"

View File

@ -1,3 +1,6 @@
#ifndef CHAR_UTILS_H
#define CHAR_UTILS_H
/*************************************************************************/ /*************************************************************************/
/* char_utils.h */ /* char_utils.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CHAR_UTILS_H
#define CHAR_UTILS_H
#include "core/typedefs.h" #include "core/typedefs.h"
#include "char_range.inc" #include "char_range.inc"

View File

@ -1,3 +1,6 @@
#ifndef EDITOR_ZOOM_WIDGET_H
#define EDITOR_ZOOM_WIDGET_H
/*************************************************************************/ /*************************************************************************/
/* editor_zoom_widget.h */ /* editor_zoom_widget.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef EDITOR_ZOOM_WIDGET_H
#define EDITOR_ZOOM_WIDGET_H
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
class Button; class Button;

View File

@ -1,3 +1,6 @@
#ifndef BIT_MAP_EDITOR_PLUGIN_H
#define BIT_MAP_EDITOR_PLUGIN_H
/*************************************************************************/ /*************************************************************************/
/* bit_map_editor_plugin.h */ /* bit_map_editor_plugin.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef BIT_MAP_EDITOR_PLUGIN_H
#define BIT_MAP_EDITOR_PLUGIN_H
#include "editor/editor_inspector.h" #include "editor/editor_inspector.h"
#include "editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/resources/bit_map.h" #include "scene/resources/bit_map.h"

View File

@ -1,3 +1,6 @@
#ifndef GRADIENT_TEXTURE_2D_EDITOR
#define GRADIENT_TEXTURE_2D_EDITOR
/*************************************************************************/ /*************************************************************************/
/* gradient_texture_2d_editor_plugin.h */ /* gradient_texture_2d_editor_plugin.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GRADIENT_TEXTURE_2D_EDITOR
#define GRADIENT_TEXTURE_2D_EDITOR
#include "editor/editor_inspector.h" #include "editor/editor_inspector.h"
#include "editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"

View File

@ -1,3 +1,6 @@
#ifndef PACKED_SCENE_EDITOR_PLUGIN_H
#define PACKED_SCENE_EDITOR_PLUGIN_H
/*************************************************************************/ /*************************************************************************/
/* packed_scene_editor_plugin.h */ /* packed_scene_editor_plugin.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef PACKED_SCENE_EDITOR_PLUGIN_H
#define PACKED_SCENE_EDITOR_PLUGIN_H
#include "editor/editor_inspector.h" #include "editor/editor_inspector.h"
#include "editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"

View File

@ -1,3 +1,6 @@
#ifndef RAY_CAST_2D_EDITOR_PLUGIN_H
#define RAY_CAST_2D_EDITOR_PLUGIN_H
/*************************************************************************/ /*************************************************************************/
/* ray_cast_2d_editor_plugin.h */ /* ray_cast_2d_editor_plugin.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef RAY_CAST_2D_EDITOR_PLUGIN_H
#define RAY_CAST_2D_EDITOR_PLUGIN_H
#include "editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/2d/ray_cast_2d.h" #include "scene/2d/ray_cast_2d.h"

View File

@ -1,3 +1,6 @@
#ifndef TEST_THEME_H
#define TEST_THEME_H
/*************************************************************************/ /*************************************************************************/
/* test_theme.h */ /* test_theme.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TEST_THEME_H
#define TEST_THEME_H
#include "core/os/main_loop.h" #include "core/os/main_loop.h"
namespace TestTheme { namespace TestTheme {

View File

@ -1,3 +1,6 @@
#ifndef TEST_TOOLS_H
#define TEST_TOOLS_H
/*************************************************************************/ /*************************************************************************/
/* test_tools.h */ /* test_tools.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef TEST_TOOLS_H
#define TEST_TOOLS_H
#include "core/error/error_macros.h" #include "core/error/error_macros.h"
struct ErrorDetector { struct ErrorDetector {

View File

@ -1,3 +1,6 @@
#ifndef JSONRPC_H
#define JSONRPC_H
/*************************************************************************/ /*************************************************************************/
/* jsonrpc.h */ /* jsonrpc.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JSONRPC_H
#define JSONRPC_H
#include "core/object/object.h" #include "core/object/object.h"
#include "core/variant/variant.h" #include "core/variant/variant.h"

View File

@ -1,3 +1,6 @@
#ifndef JSONRPC_REGISTER_TYPES_H
#define JSONRPC_REGISTER_TYPES_H
/*************************************************************************/ /*************************************************************************/
/* register_types.h */ /* register_types.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JSONRPC_REGISTER_TYPES_H
#define JSONRPC_REGISTER_TYPES_H
#include "modules/register_module_types.h" #include "modules/register_module_types.h"
void register_jsonrpc_types(ModuleRegistrationLevel p_level); void register_jsonrpc_types(ModuleRegistrationLevel p_level);

View File

@ -35,8 +35,8 @@
#include "editor/editor_undo_redo_manager.h" #include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_file_dialog.h" #include "editor/gui/editor_file_dialog.h"
#include "editor/themes/editor_scale.h" #include "editor/themes/editor_scale.h"
#include "scene/main/control.h"
#include "scene/gui/split_container.h" #include "scene/gui/split_container.h"
#include "scene/main/control.h"
#include "scene/resources/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) { void AtlasMergingDialog::_property_changed(const StringName &p_property, const Variant &p_value, const String &p_field, bool p_changing) {

View File

@ -32,11 +32,11 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "../layered_tile_set.h"
#include "editor/editor_properties.h" #include "editor/editor_properties.h"
#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 "../layered_tile_set.h"
class EditorFileDialog; class EditorFileDialog;
class EditorPropertyVector2i; class EditorPropertyVector2i;

View File

@ -32,13 +32,13 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "../layered_tile_set.h"
#include "editor/gui/editor_zoom_widget.h" #include "editor/gui/editor_zoom_widget.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/gui/button.h" #include "scene/gui/button.h"
#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 "../layered_tile_set.h"
class ViewPanner; class ViewPanner;

View File

@ -43,12 +43,12 @@
#include "editor/editor_undo_redo_manager.h" #include "editor/editor_undo_redo_manager.h"
#include "editor/themes/editor_scale.h" #include "editor/themes/editor_scale.h"
#include "scene/main/control.h"
#include "scene/gui/label.h" #include "scene/gui/label.h"
#include "scene/gui/menu_button.h" #include "scene/gui/menu_button.h"
#include "scene/gui/option_button.h" #include "scene/gui/option_button.h"
#include "scene/gui/separator.h" #include "scene/gui/separator.h"
#include "scene/gui/spin_box.h" #include "scene/gui/spin_box.h"
#include "scene/main/control.h"
#include "servers/navigation_2d_server.h" #include "servers/navigation_2d_server.h"

View File

@ -34,8 +34,8 @@
#include "tile_atlas_view.h" #include "tile_atlas_view.h"
#include "editor/editor_properties.h"
#include "../layered_tile_map.h" #include "../layered_tile_map.h"
#include "editor/editor_properties.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/gui/panel_container.h" #include "scene/gui/panel_container.h"

View File

@ -40,8 +40,8 @@
#include "editor/plugins/canvas_item_editor_plugin.h" #include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h" #include "editor/themes/editor_scale.h"
#include "scene/2d/camera_2d.h"
#include "../layered_tile_map_layer.h" #include "../layered_tile_map_layer.h"
#include "scene/2d/camera_2d.h"
#include "scene/gui/center_container.h" #include "scene/gui/center_container.h"
#include "scene/gui/split_container.h" #include "scene/gui/split_container.h"

View File

@ -34,9 +34,9 @@
#include "tile_atlas_view.h" #include "tile_atlas_view.h"
#include "../layered_tile_map.h"
#include "core/os/thread.h" #include "core/os/thread.h"
#include "core/typedefs.h" #include "core/typedefs.h"
#include "../layered_tile_map.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/gui/check_box.h" #include "scene/gui/check_box.h"
#include "scene/gui/flow_container.h" #include "scene/gui/flow_container.h"

View File

@ -32,8 +32,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "editor/editor_properties.h"
#include "../layered_tile_map.h" #include "../layered_tile_map.h"
#include "editor/editor_properties.h"
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/item_list.h" #include "scene/gui/item_list.h"

View File

@ -45,11 +45,11 @@
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/gui/button.h" #include "scene/gui/button.h"
#include "scene/main/control.h"
#include "scene/gui/item_list.h" #include "scene/gui/item_list.h"
#include "scene/gui/separator.h" #include "scene/gui/separator.h"
#include "scene/gui/split_container.h" #include "scene/gui/split_container.h"
#include "scene/gui/tab_container.h" #include "scene/gui/tab_container.h"
#include "scene/main/control.h"
#include "core/core_string_names.h" #include "core/core_string_names.h"
#include "core/math/geometry_2d.h" #include "core/math/geometry_2d.h"

View File

@ -35,8 +35,8 @@
#include "layered_tile_atlas_view.h" #include "layered_tile_atlas_view.h"
#include "layered_tile_data_editors.h" #include "layered_tile_data_editors.h"
#include "scene/gui/split_container.h"
#include "../layered_tile_set.h" #include "../layered_tile_set.h"
#include "scene/gui/split_container.h"
class Popup; class Popup;
class LayeredTileSet; class LayeredTileSet;

View File

@ -43,9 +43,9 @@
#include "editor/themes/editor_scale.h" #include "editor/themes/editor_scale.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/main/control.h"
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/tab_container.h" #include "scene/gui/tab_container.h"
#include "scene/main/control.h"
LayeredTileSetEditor *LayeredTileSetEditor::singleton = nullptr; LayeredTileSetEditor *LayeredTileSetEditor::singleton = nullptr;

View File

@ -32,12 +32,12 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "atlas_merging_dialog.h"
#include "scene/gui/tab_bar.h"
#include "../layered_tile_set.h" #include "../layered_tile_set.h"
#include "atlas_merging_dialog.h"
#include "layered_tile_proxies_manager_dialog.h" #include "layered_tile_proxies_manager_dialog.h"
#include "layered_tile_set_atlas_source_editor.h" #include "layered_tile_set_atlas_source_editor.h"
#include "layered_tile_set_scenes_collection_source_editor.h" #include "layered_tile_set_scenes_collection_source_editor.h"
#include "scene/gui/tab_bar.h"
class AcceptDialog; class AcceptDialog;
class SpinBox; class SpinBox;

View File

@ -32,9 +32,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "../layered_tile_set.h"
#include "editor/editor_inspector.h" #include "editor/editor_inspector.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "../layered_tile_set.h"
class Button; class Button;
class ItemList; class ItemList;

View File

@ -35,6 +35,9 @@
#include "core/os/mutex.h" #include "core/os/mutex.h"
#include "../layered_tile_map.h"
#include "../layered_tile_map_layer.h"
#include "../layered_tile_set.h"
#include "editor/editor_interface.h" #include "editor/editor_interface.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_settings.h" #include "editor/editor_settings.h"
@ -42,13 +45,10 @@
#include "editor/gui/editor_bottom_panel.h" #include "editor/gui/editor_bottom_panel.h"
#include "editor/plugins/canvas_item_editor_plugin.h" #include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h" #include "editor/themes/editor_scale.h"
#include "../layered_tile_map.h"
#include "../layered_tile_map_layer.h"
#include "scene/gui/box_container.h" #include "scene/gui/box_container.h"
#include "scene/gui/button.h" #include "scene/gui/button.h"
#include "scene/main/control.h"
#include "scene/gui/separator.h" #include "scene/gui/separator.h"
#include "../layered_tile_set.h" #include "scene/main/control.h"
#include "scene/resources/image_texture.h" #include "scene/resources/image_texture.h"
LayeredTilesEditorUtils *LayeredTilesEditorUtils::singleton = nullptr; LayeredTilesEditorUtils *LayeredTilesEditorUtils::singleton = nullptr;

View File

@ -29,8 +29,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "layered_tile_map.compat.inc"
#include "layered_tile_map.h" #include "layered_tile_map.h"
#include "layered_tile_map.compat.inc"
#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"

View File

@ -32,8 +32,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#include "scene/2d/tile_map.h"
#include "layered_tile_set.h" #include "layered_tile_set.h"
#include "scene/2d/tile_map.h"
class LayeredTileSetAtlasSource; class LayeredTileSetAtlasSource;

View File

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

View File

@ -35,17 +35,17 @@
#include "core/containers/local_vector.h" #include "core/containers/local_vector.h"
#include "core/containers/rb_set.h" #include "core/containers/rb_set.h"
#include "core/object/resource.h"
#include "core/object/object.h" #include "core/object/object.h"
#include "core/object/resource.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/texture.h"
#include "scene/resources/navigation_2d/navigation_polygon.h" #include "scene/resources/navigation_2d/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/shapes_2d/concave_polygon_shape_2d.h" #include "scene/resources/shapes_2d/concave_polygon_shape_2d.h"
#include "scene/resources/texture.h"
#ifndef DISABLE_DEPRECATED #ifndef DISABLE_DEPRECATED
#include "scene/resources/shader.h" #include "scene/resources/shader.h"

View File

@ -1,3 +1,6 @@
#ifndef FILE_ACCESS_FILESYSTEM_JANDROID_H
#define FILE_ACCESS_FILESYSTEM_JANDROID_H
/*************************************************************************/ /*************************************************************************/
/* file_access_filesystem_jandroid.h */ /* file_access_filesystem_jandroid.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_FILESYSTEM_JANDROID_H
#define FILE_ACCESS_FILESYSTEM_JANDROID_H
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include "java_pandemonium_lib_jni.h" #include "java_pandemonium_lib_jni.h"

View File

@ -1,3 +1,6 @@
#ifndef FRT_H
#define FRT_H
/*************************************************************************/ /*************************************************************************/
/* frt.h */ /* frt.h */
/*************************************************************************/ /*************************************************************************/
@ -54,9 +57,6 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifndef FRT_H
#define FRT_H
#define FRT_WINDOW_TITLE "Pandemonium / FRT" #define FRT_WINDOW_TITLE "Pandemonium / FRT"
#define FRT_VERSION "1.1.0" #define FRT_VERSION "1.1.0"

View File

@ -1,3 +1,6 @@
#ifndef IMPORT_GDKEYS_H
#define IMPORT_GDKEYS_H
/*************************************************************************/ /*************************************************************************/
/* gdkeys.h */ /* gdkeys.h */
/*************************************************************************/ /*************************************************************************/
@ -32,9 +35,6 @@
// imported from godot (core/os/keyboard.h), adding prefixes to avoid // imported from godot (core/os/keyboard.h), adding prefixes to avoid
// clashes with the linux input api // clashes with the linux input api
#ifndef IMPORT_GDKEYS_H
#define IMPORT_GDKEYS_H
enum { GD_SPKEY = (1 << 24) }; enum { GD_SPKEY = (1 << 24) };
enum GdKeyList { enum GdKeyList {

View File

@ -1,3 +1,6 @@
#ifndef KEY_MAPPING_X11_H
#define KEY_MAPPING_X11_H
/*************************************************************************/ /*************************************************************************/
/* key_mapping_x11.h */ /* key_mapping_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef KEY_MAPPING_X11_H
#define KEY_MAPPING_X11_H
/** /**
@author Juan Linietsky <reduzio@gmail.com> @author Juan Linietsky <reduzio@gmail.com>
*/ */

View File

@ -1,3 +1,6 @@
#ifndef FRT_LIB_H
#define FRT_LIB_H
/*************************************************************************/ /*************************************************************************/
/* frt_lib.h */ /* frt_lib.h */
/*************************************************************************/ /*************************************************************************/
@ -36,9 +39,6 @@
SPDX-License-Identifier: MIT SPDX-License-Identifier: MIT
*/ */
#ifndef FRT_LIB_H
#define FRT_LIB_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View File

@ -1,3 +1,6 @@
#ifndef CONTEXT_EGL_UWP_H
#define CONTEXT_EGL_UWP_H
/*************************************************************************/ /*************************************************************************/
/* context_egl_uwp.h */ /* context_egl_uwp.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CONTEXT_EGL_UWP_H
#define CONTEXT_EGL_UWP_H
#include <wrl.h> #include <wrl.h>
#include <EGL/egl.h> #include <EGL/egl.h>

View File

@ -1,3 +1,6 @@
#ifndef JOYPAD_UWP_H
#define JOYPAD_UWP_H
/*************************************************************************/ /*************************************************************************/
/* joypad_uwp.h */ /* joypad_uwp.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JOYPAD_UWP_H
#define JOYPAD_UWP_H
#include "main/input_default.h" #include "main/input_default.h"
ref class JoypadUWP sealed { ref class JoypadUWP sealed {

View File

@ -1,3 +1,6 @@
#ifndef OS_UWP_H
#define OS_UWP_H
/*************************************************************************/ /*************************************************************************/
/* os_uwp.h */ /* os_uwp.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_UWP_H
#define OS_UWP_H
#include "context_egl_uwp.h" #include "context_egl_uwp.h"
#include "core/math/transform_2d.h" #include "core/math/transform_2d.h"
#include "core/os/input.h" #include "core/os/input.h"

View File

@ -1,3 +1,6 @@
#ifndef POWER_UWP_H
#define POWER_UWP_H
/*************************************************************************/ /*************************************************************************/
/* power_uwp.h */ /* power_uwp.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_UWP_H
#define POWER_UWP_H
#include "core/os/dir_access.h" #include "core/os/dir_access.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include "core/os/os.h" #include "core/os/os.h"

View File

@ -1,3 +1,6 @@
#ifndef SHAPE_CAST_2D_H
#define SHAPE_CAST_2D_H
/*************************************************************************/ /*************************************************************************/
/* shape_cast_2d.h */ /* shape_cast_2d.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef SHAPE_CAST_2D_H
#define SHAPE_CAST_2D_H
#include "scene/main/node_2d.h" #include "scene/main/node_2d.h"
#include "scene/resources/shapes_2d/shape_2d.h" #include "scene/resources/shapes_2d/shape_2d.h"
#include "scene/resources/world_2d.h" #include "scene/resources/world_2d.h"

View File

@ -1,3 +1,6 @@
#ifndef IMPORTER_MESH_INSTANCE_3D_H
#define IMPORTER_MESH_INSTANCE_3D_H
/*************************************************************************/ /*************************************************************************/
/* importer_mesh_instance_3d.h */ /* importer_mesh_instance_3d.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IMPORTER_MESH_INSTANCE_3D_H
#define IMPORTER_MESH_INSTANCE_3D_H
#include "scene/main/spatial.h" #include "scene/main/spatial.h"
#include "modules/modules_enabled.gen.h" #include "modules/modules_enabled.gen.h"

View File

@ -1,3 +1,6 @@
#ifndef LABEL_3D_H
#define LABEL_3D_H
/*************************************************************************/ /*************************************************************************/
/* label_3d.h */ /* label_3d.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef LABEL_3D_H
#define LABEL_3D_H
#include "scene/3d/visual_instance.h" #include "scene/3d/visual_instance.h"
#include "scene/resources/font/font.h" #include "scene/resources/font/font.h"
#include "scene/resources/material/material.h" #include "scene/resources/material/material.h"

View File

@ -1,3 +1,6 @@
#ifndef NAVIGATION_GEOMETRY_PARSER_3D_H
#define NAVIGATION_GEOMETRY_PARSER_3D_H
/*************************************************************************/ /*************************************************************************/
/* navigation_geometry_parser_3d.h */ /* navigation_geometry_parser_3d.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NAVIGATION_GEOMETRY_PARSER_3D_H
#define NAVIGATION_GEOMETRY_PARSER_3D_H
#include "core/object/reference.h" #include "core/object/reference.h"
class NavigationMesh; class NavigationMesh;

View File

@ -1,3 +1,6 @@
#ifndef SHAPE_CAST_H
#define SHAPE_CAST_H
/*************************************************************************/ /*************************************************************************/
/* shape_cast.h */ /* shape_cast.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef SHAPE_CAST_H
#define SHAPE_CAST_H
#include "core/math/color.h" #include "core/math/color.h"
#include "scene/main/spatial.h" #include "scene/main/spatial.h"

View File

@ -1,3 +1,6 @@
#ifndef EASING_EQUATIONS_H
#define EASING_EQUATIONS_H
/*************************************************************************/ /*************************************************************************/
/* easing_equations.h */ /* easing_equations.h */
/*************************************************************************/ /*************************************************************************/
@ -53,9 +56,6 @@
* SOFTWARE. * SOFTWARE.
*/ */
#ifndef EASING_EQUATIONS_H
#define EASING_EQUATIONS_H
namespace linear { namespace linear {
static real_t in(real_t t, real_t b, real_t c, real_t d) { static real_t in(real_t t, real_t b, real_t c, real_t d) {
return c * t / d + b; return c * t / d + b;

View File

@ -1,3 +1,6 @@
#ifndef SCENE_TREE_TWEEN_H
#define SCENE_TREE_TWEEN_H
/*************************************************************************/ /*************************************************************************/
/* scene_tree_tween.h */ /* scene_tree_tween.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef SCENE_TREE_TWEEN_H
#define SCENE_TREE_TWEEN_H
#include "core/object/reference.h" #include "core/object/reference.h"
#include "scene/animation/tween.h" #include "scene/animation/tween.h"

View File

@ -1,3 +1,6 @@
#ifndef SYNTAX_HIGHLIGHTER_H
#define SYNTAX_HIGHLIGHTER_H
/*************************************************************************/ /*************************************************************************/
/* syntax_highlighter.h */ /* syntax_highlighter.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef SYNTAX_HIGHLIGHTER_H
#define SYNTAX_HIGHLIGHTER_H
#include "core/object/resource.h" #include "core/object/resource.h"
class TextEdit; class TextEdit;

View File

@ -1,3 +1,6 @@
#ifndef IMMEDIATE_MESH_H
#define IMMEDIATE_MESH_H
/*************************************************************************/ /*************************************************************************/
/* immediate_mesh.h */ /* immediate_mesh.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IMMEDIATE_MESH_H
#define IMMEDIATE_MESH_H
#include "core/containers/vector.h" #include "core/containers/vector.h"
#include "scene/resources/mesh/mesh.h" #include "scene/resources/mesh/mesh.h"

View File

@ -1,3 +1,6 @@
#ifndef IMPORTER_MESH_H
#define IMPORTER_MESH_H
/*************************************************************************/ /*************************************************************************/
/* importer_mesh.h */ /* importer_mesh.h */
/*************************************************************************/ /*************************************************************************/
@ -29,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IMPORTER_MESH_H
#define IMPORTER_MESH_H
#include "core/containers/local_vector.h" #include "core/containers/local_vector.h"
#include "core/object/resource.h" #include "core/object/resource.h"
#include "scene/resources/mesh/mesh.h" #include "scene/resources/mesh/mesh.h"