diff --git a/core/array.h b/core/array.h index 0b0634d3c..fc7fe1ca0 100644 --- a/core/array.h +++ b/core/array.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" class Variant; diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index be88de0a2..a61fc06bb 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/compression.h" #include "core/io/resource_loader.h" diff --git a/core/bitfield_dynamic.h b/core/bitfield_dynamic.h index 778d77072..0da930cb0 100644 --- a/core/bitfield_dynamic.h +++ b/core/bitfield_dynamic.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" class BitFieldDynamic { diff --git a/core/class_db.h b/core/class_db.h index 548b8f056..19a4b98f7 100644 --- a/core/class_db.h +++ b/core/class_db.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/method_bind.h" #include "core/object.h" #include "core/print_string.h" diff --git a/core/color.h b/core/color.h index 9e705f684..01e00faba 100644 --- a/core/color.h +++ b/core/color.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_funcs.h" #include "core/ustring.h" diff --git a/core/command_queue_mt.h b/core/command_queue_mt.h index fea069706..5bf620789 100644 --- a/core/command_queue_mt.h +++ b/core/command_queue_mt.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/memory.h" #include "core/os/mutex.h" #include "core/os/semaphore.h" diff --git a/core/compressed_translation.h b/core/compressed_translation.h index ce193c2ef..5acde8651 100644 --- a/core/compressed_translation.h +++ b/core/compressed_translation.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/translation.h" class PHashTranslation : public Translation { diff --git a/core/core_string_names.h b/core/core_string_names.h index 0640217cb..ec37148e0 100644 --- a/core/core_string_names.h +++ b/core/core_string_names.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/string_name.h" class CoreStringNames { diff --git a/core/cowdata.h b/core/cowdata.h index 023db684c..daaa07066 100644 --- a/core/cowdata.h +++ b/core/cowdata.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include #include "core/error_macros.h" diff --git a/core/crypto/aes_context.h b/core/crypto/aes_context.h index 5cf96fda4..a34f131e9 100644 --- a/core/crypto/aes_context.h +++ b/core/crypto/aes_context.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/crypto/crypto_core.h" #include "core/reference.h" diff --git a/core/crypto/crypto.h b/core/crypto/crypto.h index 606960168..246cb0cc8 100644 --- a/core/crypto/crypto.h +++ b/core/crypto/crypto.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/crypto/hashing_context.h" #include "core/reference.h" #include "core/resource.h" diff --git a/core/crypto/crypto_core.h b/core/crypto/crypto_core.h index c833fc21d..f33c27984 100644 --- a/core/crypto/crypto_core.h +++ b/core/crypto/crypto_core.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class CryptoCore { diff --git a/core/crypto/hashing_context.h b/core/crypto/hashing_context.h index 732b4a3c6..cf6e08f4b 100644 --- a/core/crypto/hashing_context.h +++ b/core/crypto/hashing_context.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class HashingContext : public Reference { diff --git a/core/dictionary.h b/core/dictionary.h index b9bc4eea0..8fc34f85a 100644 --- a/core/dictionary.h +++ b/core/dictionary.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/array.h" #include "core/list.h" #include "core/ustring.h" diff --git a/core/engine.h b/core/engine.h index 3e0c7005d..52df6e7c3 100644 --- a/core/engine.h +++ b/core/engine.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/os/main_loop.h" #include "core/ustring.h" diff --git a/core/error_list.h b/core/error_list.h index 29d58f426..d07da5816 100644 --- a/core/error_list.h +++ b/core/error_list.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - /** Error List. Please never compare an error against FAILED * Either do result != OK , or !result. This way, Error fail * values can be more detailed in the future. diff --git a/core/error_macros.h b/core/error_macros.h index 98a25b8a1..f29f9a3cc 100644 --- a/core/error_macros.h +++ b/core/error_macros.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/safe_refcount.h" #include "core/typedefs.h" diff --git a/core/func_ref.h b/core/func_ref.h index 90c9d8818..ef2a77d49 100644 --- a/core/func_ref.h +++ b/core/func_ref.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class FuncRef : public Reference { diff --git a/core/global_constants.h b/core/global_constants.h index 6d0bc6d60..cb7f56712 100644 --- a/core/global_constants.h +++ b/core/global_constants.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/string_name.h" class GlobalConstants { diff --git a/core/hash_map.h b/core/hash_map.h index 0b8d2953b..f0450435c 100644 --- a/core/hash_map.h +++ b/core/hash_map.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/hashfuncs.h" #include "core/list.h" diff --git a/core/hashfuncs.h b/core/hashfuncs.h index 202b8cc3d..3558aa230 100644 --- a/core/hashfuncs.h +++ b/core/hashfuncs.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/math/math_funcs.h" #include "core/node_path.h" diff --git a/core/image.h b/core/image.h index 7b4356e55..e72bbf229 100644 --- a/core/image.h +++ b/core/image.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/color.h" #include "core/math/rect2.h" #include "core/pool_vector.h" diff --git a/core/input_map.h b/core/input_map.h index 5b96e7a57..c4726d357 100644 --- a/core/input_map.h +++ b/core/input_map.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/object.h" #include "core/os/input_event.h" diff --git a/core/io/compression.h b/core/io/compression.h index 5135d52fa..7e0afcb5b 100644 --- a/core/io/compression.h +++ b/core/io/compression.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/pool_vector.h" #include "core/typedefs.h" diff --git a/core/io/config_file.h b/core/io/config_file.h index 9801475e2..eae89e32f 100644 --- a/core/io/config_file.h +++ b/core/io/config_file.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ordered_hash_map.h" #include "core/os/file_access.h" #include "core/reference.h" diff --git a/core/io/dtls_server.h b/core/io/dtls_server.h index c191f389c..e5d7e6e51 100644 --- a/core/io/dtls_server.h +++ b/core/io/dtls_server.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/net_socket.h" #include "core/io/packet_peer_dtls.h" diff --git a/core/io/file_access_compressed.h b/core/io/file_access_compressed.h index 9142fed26..03cd14e67 100644 --- a/core/io/file_access_compressed.h +++ b/core/io/file_access_compressed.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/compression.h" #include "core/os/file_access.h" diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h index f8d3f146a..d5a5d1b06 100644 --- a/core/io/file_access_encrypted.h +++ b/core/io/file_access_encrypted.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" class FileAccessEncrypted : public FileAccess { diff --git a/core/io/file_access_memory.h b/core/io/file_access_memory.h index 8b81f3c36..f14ea8e68 100644 --- a/core/io/file_access_memory.h +++ b/core/io/file_access_memory.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" class FileAccessMemory : public FileAccess { diff --git a/core/io/file_access_network.h b/core/io/file_access_network.h index 7a3d5c8a4..720dbf4ab 100644 --- a/core/io/file_access_network.h +++ b/core/io/file_access_network.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/stream_peer_tcp.h" #include "core/os/file_access.h" #include "core/os/semaphore.h" diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h index f0591db11..167ae541d 100644 --- a/core/io/file_access_pack.h +++ b/core/io/file_access_pack.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/map.h" #include "core/os/dir_access.h" diff --git a/core/io/file_access_zip.h b/core/io/file_access_zip.h index d33538669..90627fb97 100644 --- a/core/io/file_access_zip.h +++ b/core/io/file_access_zip.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef MINIZIP_ENABLED #include "core/io/file_access_pack.h" diff --git a/core/io/http_client.h b/core/io/http_client.h index fcf2c1ae9..709cf9326 100644 --- a/core/io/http_client.h +++ b/core/io/http_client.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #include "core/io/stream_peer.h" #include "core/io/stream_peer_tcp.h" diff --git a/core/io/image_loader.h b/core/io/image_loader.h index c4f228cf0..843e03a59 100644 --- a/core/io/image_loader.h +++ b/core/io/image_loader.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_loader.h" #include "core/list.h" diff --git a/core/io/ip.h b/core/io/ip.h index e80caabd2..54fa55626 100644 --- a/core/io/ip.h +++ b/core/io/ip.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip_address.h" #include "core/os/os.h" diff --git a/core/io/ip_address.h b/core/io/ip_address.h index 1418dc4bd..3b08404df 100644 --- a/core/io/ip_address.h +++ b/core/io/ip_address.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" struct IP_Address { diff --git a/core/io/json.h b/core/io/json.h index 1877312de..e205b7c57 100644 --- a/core/io/json.h +++ b/core/io/json.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/variant.h" class JSON { diff --git a/core/io/logger.h b/core/io/logger.h index d991dcf66..fd7acbe2a 100644 --- a/core/io/logger.h +++ b/core/io/logger.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" #include "core/ustring.h" #include "core/vector.h" diff --git a/core/io/marshalls.h b/core/io/marshalls.h index 8f3b879a6..4c85c88da 100644 --- a/core/io/marshalls.h +++ b/core/io/marshalls.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" #include "core/typedefs.h" #include "core/variant.h" diff --git a/core/io/multiplayer_api.h b/core/io/multiplayer_api.h index 5a3428b6c..61018ba0b 100644 --- a/core/io/multiplayer_api.h +++ b/core/io/multiplayer_api.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/networked_multiplayer_peer.h" #include "core/reference.h" diff --git a/core/io/net_socket.h b/core/io/net_socket.h index e17f42fa9..84675b4aa 100644 --- a/core/io/net_socket.h +++ b/core/io/net_socket.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #include "core/reference.h" diff --git a/core/io/networked_multiplayer_peer.h b/core/io/networked_multiplayer_peer.h index 14d1b157c..50815d17e 100644 --- a/core/io/networked_multiplayer_peer.h +++ b/core/io/networked_multiplayer_peer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/packet_peer.h" class NetworkedMultiplayerPeer : public PacketPeer { diff --git a/core/io/packet_peer.h b/core/io/packet_peer.h index 335bbae38..89342e020 100644 --- a/core/io/packet_peer.h +++ b/core/io/packet_peer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/stream_peer.h" #include "core/object.h" #include "core/ring_buffer.h" diff --git a/core/io/packet_peer_dtls.h b/core/io/packet_peer_dtls.h index 1f659dd8a..8bebb35ad 100644 --- a/core/io/packet_peer_dtls.h +++ b/core/io/packet_peer_dtls.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/crypto/crypto.h" #include "core/io/packet_peer_udp.h" diff --git a/core/io/packet_peer_udp.h b/core/io/packet_peer_udp.h index a05514124..cd45aeb48 100644 --- a/core/io/packet_peer_udp.h +++ b/core/io/packet_peer_udp.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #include "core/io/net_socket.h" #include "core/io/packet_peer.h" diff --git a/core/io/pck_packer.h b/core/io/pck_packer.h index ce26b3c13..0dc37cc11 100644 --- a/core/io/pck_packer.h +++ b/core/io/pck_packer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class FileAccess; diff --git a/core/io/resource_format_binary.h b/core/io/resource_format_binary.h index 2bfcc0b85..6bc046892 100644 --- a/core/io/resource_format_binary.h +++ b/core/io/resource_format_binary.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_loader.h" #include "core/io/resource_saver.h" #include "core/os/file_access.h" diff --git a/core/io/resource_importer.h b/core/io/resource_importer.h index e38f4d64c..6662b24bb 100644 --- a/core/io/resource_importer.h +++ b/core/io/resource_importer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_loader.h" class ResourceImporter; diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h index afb8ddea2..67da120cd 100644 --- a/core/io/resource_loader.h +++ b/core/io/resource_loader.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/thread.h" #include "core/resource.h" diff --git a/core/io/resource_saver.h b/core/io/resource_saver.h index 622e31660..a4c8d4d9e 100644 --- a/core/io/resource_saver.h +++ b/core/io/resource_saver.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/resource.h" class ResourceFormatSaver : public Reference { diff --git a/core/io/stream_peer.h b/core/io/stream_peer.h index e3f912eba..a075ea6da 100644 --- a/core/io/stream_peer.h +++ b/core/io/stream_peer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class StreamPeer : public Reference { diff --git a/core/io/stream_peer_ssl.h b/core/io/stream_peer_ssl.h index 7b005304f..c9df96a06 100644 --- a/core/io/stream_peer_ssl.h +++ b/core/io/stream_peer_ssl.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/crypto/crypto.h" #include "core/io/stream_peer.h" diff --git a/core/io/stream_peer_tcp.h b/core/io/stream_peer_tcp.h index 6110923f9..7eb0ff5de 100644 --- a/core/io/stream_peer_tcp.h +++ b/core/io/stream_peer_tcp.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #include "core/io/ip_address.h" #include "core/io/net_socket.h" diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h index d919f9fe5..54ce5fd78 100644 --- a/core/io/tcp_server.h +++ b/core/io/tcp_server.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #include "core/io/net_socket.h" #include "core/io/stream_peer.h" diff --git a/core/io/translation_loader_po.h b/core/io/translation_loader_po.h index dbb3b298c..be571bf67 100644 --- a/core/io/translation_loader_po.h +++ b/core/io/translation_loader_po.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_loader.h" #include "core/os/file_access.h" #include "core/translation.h" diff --git a/core/io/udp_server.h b/core/io/udp_server.h index 2f3a59bda..dad6859a9 100644 --- a/core/io/udp_server.h +++ b/core/io/udp_server.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/net_socket.h" #include "core/io/packet_peer_udp.h" diff --git a/core/io/xml_parser.h b/core/io/xml_parser.h index 23edc12a9..fbe3363af 100644 --- a/core/io/xml_parser.h +++ b/core/io/xml_parser.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" #include "core/reference.h" #include "core/ustring.h" diff --git a/core/io/zip_io.h b/core/io/zip_io.h index 6882e5604..647f92a67 100644 --- a/core/io/zip_io.h +++ b/core/io/zip_io.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" // Not directly used in this header, but assumed available in downstream users diff --git a/core/list.h b/core/list.h index 495351eb7..be8eb4a58 100644 --- a/core/list.h +++ b/core/list.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/os/memory.h" #include "core/sort_array.h" diff --git a/core/local_vector.h b/core/local_vector.h index f91aeebcd..4229f6a5e 100644 --- a/core/local_vector.h +++ b/core/local_vector.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/os/memory.h" #include "core/sort_array.h" diff --git a/core/map.h b/core/map.h index 05e1bfa8e..d9efdc7ad 100644 --- a/core/map.h +++ b/core/map.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/os/memory.h" diff --git a/core/math/a_star.h b/core/math/a_star.h index 279cb19b5..b5f7d985c 100644 --- a/core/math/a_star.h +++ b/core/math/a_star.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/oa_hash_map.h" #include "core/reference.h" diff --git a/core/math/aabb.h b/core/math/aabb.h index 139537e14..777b691ad 100644 --- a/core/math/aabb.h +++ b/core/math/aabb.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/math/plane.h" #include "core/math/vector3.h" diff --git a/core/math/audio_frame.h b/core/math/audio_frame.h index aa3b4ecce..c9cd9569b 100644 --- a/core/math/audio_frame.h +++ b/core/math/audio_frame.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/vector2.h" #include "core/typedefs.h" diff --git a/core/math/basis.h b/core/math/basis.h index cd86c927f..8ee788ce4 100644 --- a/core/math/basis.h +++ b/core/math/basis.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/quat.h" #include "core/math/vector3.h" diff --git a/core/math/bsp_tree.h b/core/math/bsp_tree.h index 04f211ae9..58a5a9947 100644 --- a/core/math/bsp_tree.h +++ b/core/math/bsp_tree.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/aabb.h" #include "core/math/face3.h" #include "core/math/plane.h" diff --git a/core/math/bvh.h b/core/math/bvh.h index ee8c796e8..cdc76505f 100644 --- a/core/math/bvh.h +++ b/core/math/bvh.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - // BVH // This class provides a wrapper around BVH tree, which contains most of the functionality // for a dynamic BVH with templated leaf size. diff --git a/core/math/bvh_abb.h b/core/math/bvh_abb.h index b0421eab9..cc0fdb45b 100644 --- a/core/math/bvh_abb.h +++ b/core/math/bvh_abb.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - // special optimized version of axis aligned bounding box template struct BVH_ABB { diff --git a/core/math/bvh_tree.h b/core/math/bvh_tree.h index f96487c61..05984ae41 100644 --- a/core/math/bvh_tree.h +++ b/core/math/bvh_tree.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - // BVH Tree // This is an implementation of a dynamic BVH with templated leaf size. // This differs from most dynamic BVH in that it can handle more than 1 object diff --git a/core/math/camera_matrix.h b/core/math/camera_matrix.h index e8fa95e4c..420f57431 100644 --- a/core/math/camera_matrix.h +++ b/core/math/camera_matrix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/rect2.h" #include "core/math/transform.h" diff --git a/core/math/convex_hull.h b/core/math/convex_hull.h index 2c95606d6..fad3c50b3 100644 --- a/core/math/convex_hull.h +++ b/core/math/convex_hull.h @@ -44,9 +44,6 @@ subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ - - - #include "core/local_vector.h" #include "core/math/geometry.h" #include "core/math/vector3.h" diff --git a/core/math/delaunay.h b/core/math/delaunay.h index d01d46e03..340e35c98 100644 --- a/core/math/delaunay.h +++ b/core/math/delaunay.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/rect2.h" class Delaunay2D { diff --git a/core/math/disjoint_set.h b/core/math/disjoint_set.h index 15df4aa89..fdedb85c7 100644 --- a/core/math/disjoint_set.h +++ b/core/math/disjoint_set.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/map.h" #include "core/vector.h" diff --git a/core/math/expression.h b/core/math/expression.h index 05f7d1e92..b245b369f 100644 --- a/core/math/expression.h +++ b/core/math/expression.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class Expression : public Reference { diff --git a/core/math/face3.h b/core/math/face3.h index b8f4d53ac..b460c8844 100644 --- a/core/math/face3.h +++ b/core/math/face3.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/aabb.h" #include "core/math/plane.h" #include "core/math/transform.h" diff --git a/core/math/geometry.h b/core/math/geometry.h index e968bc9ed..9f4807159 100644 --- a/core/math/geometry.h +++ b/core/math/geometry.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/delaunay.h" #include "core/math/face3.h" #include "core/math/rect2.h" diff --git a/core/math/math_defs.h b/core/math/math_defs.h index b0046e141..9c63d0543 100644 --- a/core/math/math_defs.h +++ b/core/math/math_defs.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #define CMP_EPSILON 0.00001 #define CMP_EPSILON2 (CMP_EPSILON * CMP_EPSILON) diff --git a/core/math/math_fieldwise.h b/core/math/math_fieldwise.h index c4bf2da07..b7d34de69 100644 --- a/core/math/math_fieldwise.h +++ b/core/math/math_fieldwise.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef TOOLS_ENABLED #include "core/variant.h" diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index cc235fc99..a9e1523d4 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/math/random_pcg.h" #include "core/typedefs.h" diff --git a/core/math/octree.h b/core/math/octree.h index 4700327cd..d0888da8a 100644 --- a/core/math/octree.h +++ b/core/math/octree.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #define OCTREE_ELEMENT_INVALID_ID 0 #define OCTREE_SIZE_LIMIT 1e15 #define OCTREE_DEFAULT_OCTANT_LIMIT 0 diff --git a/core/math/plane.h b/core/math/plane.h index cb8297530..e2c091b1e 100644 --- a/core/math/plane.h +++ b/core/math/plane.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/vector3.h" class _NO_DISCARD_CLASS_ Plane { diff --git a/core/math/quat.h b/core/math/quat.h index 59f329214..7d8598558 100644 --- a/core/math/quat.h +++ b/core/math/quat.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/math/math_funcs.h" #include "core/math/vector3.h" diff --git a/core/math/quick_hull.h b/core/math/quick_hull.h index d1165a796..5d3cd7d11 100644 --- a/core/math/quick_hull.h +++ b/core/math/quick_hull.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/math/aabb.h" #include "core/math/geometry.h" diff --git a/core/math/random_number_generator.h b/core/math/random_number_generator.h index 47295f29a..aa673e6aa 100644 --- a/core/math/random_number_generator.h +++ b/core/math/random_number_generator.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/random_pcg.h" #include "core/reference.h" diff --git a/core/math/random_pcg.h b/core/math/random_pcg.h index 730df66f4..d741183b9 100644 --- a/core/math/random_pcg.h +++ b/core/math/random_pcg.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include #include "core/math/math_defs.h" diff --git a/core/math/rect2.h b/core/math/rect2.h index 332d2a725..0d3eba6cb 100644 --- a/core/math/rect2.h +++ b/core/math/rect2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/vector2.h" // also includes math_funcs and ustring struct Transform2D; diff --git a/core/math/transform.h b/core/math/transform.h index 849710126..3bc27ee74 100644 --- a/core/math/transform.h +++ b/core/math/transform.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/aabb.h" #include "core/math/basis.h" #include "core/math/plane.h" diff --git a/core/math/transform_2d.h b/core/math/transform_2d.h index f0c81a5a4..927be052c 100644 --- a/core/math/transform_2d.h +++ b/core/math/transform_2d.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/rect2.h" // also includes vector2, math_funcs, and ustring #include "core/pool_vector.h" diff --git a/core/math/transform_interpolator.h b/core/math/transform_interpolator.h index 27f4f3711..7be2c1f6b 100644 --- a/core/math/transform_interpolator.h +++ b/core/math/transform_interpolator.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/math/quat.h" #include "core/math/transform.h" diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h index e2559a5ac..607aa3f61 100644 --- a/core/math/triangle_mesh.h +++ b/core/math/triangle_mesh.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/face3.h" #include "core/reference.h" diff --git a/core/math/triangulate.h b/core/math/triangulate.h index c2bac8590..18b73829b 100644 --- a/core/math/triangulate.h +++ b/core/math/triangulate.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/vector2.h" /* diff --git a/core/math/vector2.h b/core/math/vector2.h index 402c3b73b..899eb9e23 100644 --- a/core/math/vector2.h +++ b/core/math/vector2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_funcs.h" #include "core/ustring.h" diff --git a/core/math/vector3.h b/core/math/vector3.h index 63145ef38..204529bf2 100644 --- a/core/math/vector3.h +++ b/core/math/vector3.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_funcs.h" #include "core/ustring.h" diff --git a/core/message_queue.h b/core/message_queue.h index 3a16b9ba7..f38ea1712 100644 --- a/core/message_queue.h +++ b/core/message_queue.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/object.h" #include "core/os/thread_safe.h" diff --git a/core/method_bind.h b/core/method_bind.h index d1508e698..06952a377 100644 --- a/core/method_bind.h +++ b/core/method_bind.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/method_ptrcall.h" #include "core/object.h" diff --git a/core/method_ptrcall.h b/core/method_ptrcall.h index cae6abd93..db888c134 100644 --- a/core/method_ptrcall.h +++ b/core/method_ptrcall.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/transform_2d.h" #include "core/typedefs.h" #include "core/variant.h" diff --git a/core/node_path.h b/core/node_path.h index 6dfaed512..37c7490a3 100644 --- a/core/node_path.h +++ b/core/node_path.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/string_name.h" #include "core/ustring.h" diff --git a/core/oa_hash_map.h b/core/oa_hash_map.h index 302e04a0d..99fe2de6f 100644 --- a/core/oa_hash_map.h +++ b/core/oa_hash_map.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/hashfuncs.h" #include "core/math/math_funcs.h" #include "core/os/memory.h" diff --git a/core/object.h b/core/object.h index f06e83317..2dff52402 100644 --- a/core/object.h +++ b/core/object.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/hash_map.h" #include "core/list.h" #include "core/map.h" diff --git a/core/object_id.h b/core/object_id.h index 12986e07b..de67391db 100644 --- a/core/object_id.h +++ b/core/object_id.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/int_types.h" typedef uint64_t ObjectID; diff --git a/core/object_rc.h b/core/object_rc.h index 4680a801b..b75b890ff 100644 --- a/core/object_rc.h +++ b/core/object_rc.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/memory.h" #include "core/typedefs.h" diff --git a/core/ordered_hash_map.h b/core/ordered_hash_map.h index da15abff7..52757a86e 100644 --- a/core/ordered_hash_map.h +++ b/core/ordered_hash_map.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/hash_map.h" #include "core/list.h" #include "core/pair.h" diff --git a/core/os/dir_access.h b/core/os/dir_access.h index 2336a2e07..e5409b036 100644 --- a/core/os/dir_access.h +++ b/core/os/dir_access.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" #include "core/ustring.h" diff --git a/core/os/file_access.h b/core/os/file_access.h index 150dabbb0..155cc1f02 100644 --- a/core/os/file_access.h +++ b/core/os/file_access.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/math_defs.h" #include "core/os/memory.h" #include "core/typedefs.h" diff --git a/core/os/input.h b/core/os/input.h index 1a8cece68..f7d5f4964 100644 --- a/core/os/input.h +++ b/core/os/input.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/object.h" #include "core/os/main_loop.h" #include "core/os/thread_safe.h" diff --git a/core/os/input_event.h b/core/os/input_event.h index 0c835e379..f449f87cc 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/transform_2d.h" #include "core/resource.h" #include "core/typedefs.h" diff --git a/core/os/keyboard.h b/core/os/keyboard.h index 5e16dd4fa..963ccbefe 100644 --- a/core/os/keyboard.h +++ b/core/os/keyboard.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" /* diff --git a/core/os/main_loop.h b/core/os/main_loop.h index 9f5cd22fa..b9b2b688a 100644 --- a/core/os/main_loop.h +++ b/core/os/main_loop.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/input_event.h" #include "core/reference.h" #include "core/script_language.h" diff --git a/core/os/memory.h b/core/os/memory.h index 7bbeef2f2..758b871ed 100644 --- a/core/os/memory.h +++ b/core/os/memory.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/safe_refcount.h" diff --git a/core/os/midi_driver.h b/core/os/midi_driver.h index 02c913319..c9e66f54d 100644 --- a/core/os/midi_driver.h +++ b/core/os/midi_driver.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" #include "core/variant.h" diff --git a/core/os/mutex.h b/core/os/mutex.h index ab61bf4bf..97a7929d0 100644 --- a/core/os/mutex.h +++ b/core/os/mutex.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_list.h" #include "core/typedefs.h" diff --git a/core/os/os.h b/core/os/os.h index 08eccf214..2c0cb1dcb 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/engine.h" #include "core/image.h" #include "core/io/logger.h" diff --git a/core/os/rw_lock.h b/core/os/rw_lock.h index e4815a5fe..d2d485b14 100644 --- a/core/os/rw_lock.h +++ b/core/os/rw_lock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_list.h" #if !defined(NO_THREADS) diff --git a/core/os/semaphore.h b/core/os/semaphore.h index d4e36bb61..56ba7c451 100644 --- a/core/os/semaphore.h +++ b/core/os/semaphore.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_list.h" #include "core/typedefs.h" diff --git a/core/os/spin_lock.h b/core/os/spin_lock.h index 2cbda52a6..2b81affc3 100644 --- a/core/os/spin_lock.h +++ b/core/os/spin_lock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" #include diff --git a/core/os/thread.h b/core/os/thread.h index 25b2a646a..6bd444ec9 100644 --- a/core/os/thread.h +++ b/core/os/thread.h @@ -37,8 +37,6 @@ #include "platform_thread.h" #else - - #include "core/typedefs.h" #if !defined(NO_THREADS) diff --git a/core/os/thread_safe.h b/core/os/thread_safe.h index 5d7e8379c..7a1040d90 100644 --- a/core/os/thread_safe.h +++ b/core/os/thread_safe.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/mutex.h" #define _THREAD_SAFE_CLASS_ mutable Mutex _thread_safe_; diff --git a/core/os/threaded_array_processor.h b/core/os/threaded_array_processor.h index b3104b665..77046de1a 100644 --- a/core/os/threaded_array_processor.h +++ b/core/os/threaded_array_processor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/mutex.h" #include "core/os/os.h" #include "core/os/thread.h" diff --git a/core/os/time.h b/core/os/time.h index 4377b0b5d..1a2d5fe2d 100644 --- a/core/os/time.h +++ b/core/os/time.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/class_db.h" // This Time class conforms with as many of the ISO 8601 standards as possible. diff --git a/core/packed_data_container.h b/core/packed_data_container.h index b4ed9abe7..1d5f52dff 100644 --- a/core/packed_data_container.h +++ b/core/packed_data_container.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/resource.h" class PackedDataContainer : public Resource { diff --git a/core/paged_allocator.h b/core/paged_allocator.h index 2028d1506..8379c0f49 100644 --- a/core/paged_allocator.h +++ b/core/paged_allocator.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/memory.h" #include "core/os/spin_lock.h" #include "core/typedefs.h" diff --git a/core/pair.h b/core/pair.h index e841c76ca..dad6fdb8a 100644 --- a/core/pair.h +++ b/core/pair.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - template struct Pair { F first; diff --git a/core/path_remap.h b/core/path_remap.h index 5d7696585..8dd67048d 100644 --- a/core/path_remap.h +++ b/core/path_remap.h @@ -30,7 +30,4 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #endif // PATH_REMAP_H diff --git a/core/pool_allocator.h b/core/pool_allocator.h index 732effb99..49cdfb7ff 100644 --- a/core/pool_allocator.h +++ b/core/pool_allocator.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" /** diff --git a/core/pool_vector.h b/core/pool_vector.h index e49975260..e2b03a7b6 100644 --- a/core/pool_vector.h +++ b/core/pool_vector.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/memory.h" #include "core/os/mutex.h" #include "core/os/rw_lock.h" diff --git a/core/print_string.h b/core/print_string.h index 183bc6765..4cd966b05 100644 --- a/core/print_string.h +++ b/core/print_string.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" extern void (*_print_func)(String); diff --git a/core/project_settings.h b/core/project_settings.h index 1471e9f9b..c309c7b49 100644 --- a/core/project_settings.h +++ b/core/project_settings.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/object.h" #include "core/os/thread_safe.h" #include "core/set.h" diff --git a/core/ref_ptr.h b/core/ref_ptr.h index ced7e7137..44f752df1 100644 --- a/core/ref_ptr.h +++ b/core/ref_ptr.h @@ -30,8 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - /** @author Juan Linietsky * This class exists to workaround a limitation in C++ but keep the design OK. diff --git a/core/reference.h b/core/reference.h index bb831c849..69b0e9765 100644 --- a/core/reference.h +++ b/core/reference.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/class_db.h" #include "core/object.h" #include "core/ref_ptr.h" diff --git a/core/register_core_types.h b/core/register_core_types.h index 8bda35b03..a771a24f4 100644 --- a/core/register_core_types.h +++ b/core/register_core_types.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - void register_core_types(); void register_core_settings(); void register_core_singletons(); diff --git a/core/resource.h b/core/resource.h index 091454cea..a40c5ce89 100644 --- a/core/resource.h +++ b/core/resource.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/class_db.h" #include "core/object.h" #include "core/ref_ptr.h" diff --git a/core/rid.h b/core/rid.h index d84752a62..ea33946ee 100644 --- a/core/rid.h +++ b/core/rid.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/os/memory.h" #include "core/rid_handle.h" diff --git a/core/rid_handle.h b/core/rid_handle.h index c37ced8e8..1d6cb7405 100644 --- a/core/rid_handle.h +++ b/core/rid_handle.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/os/mutex.h" #include "core/pooled_list.h" diff --git a/core/ring_buffer.h b/core/ring_buffer.h index 784962d77..5563d754b 100644 --- a/core/ring_buffer.h +++ b/core/ring_buffer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/vector.h" template diff --git a/core/safe_refcount.h b/core/safe_refcount.h index 99bb8ed49..a1c753a52 100644 --- a/core/safe_refcount.h +++ b/core/safe_refcount.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" #if !defined(NO_THREADS) diff --git a/core/script_debugger_local.h b/core/script_debugger_local.h index 65783ce33..41b582a83 100644 --- a/core/script_debugger_local.h +++ b/core/script_debugger_local.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/script_language.h" diff --git a/core/script_language.h b/core/script_language.h index 3bab00094..bb6b6e1a2 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/multiplayer_api.h" #include "core/map.h" #include "core/pair.h" diff --git a/core/self_list.h b/core/self_list.h index 8348814e5..a54597caf 100644 --- a/core/self_list.h +++ b/core/self_list.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/typedefs.h" diff --git a/core/set.h b/core/set.h index f50f035b2..b3ff638a4 100644 --- a/core/set.h +++ b/core/set.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/memory.h" #include "core/typedefs.h" diff --git a/core/simple_type.h b/core/simple_type.h index 2f1c58c26..926a59608 100644 --- a/core/simple_type.h +++ b/core/simple_type.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - /* Batch of specializations to obtain the actual simple type */ template diff --git a/core/sort_array.h b/core/sort_array.h index 659ed6d63..128bf9e78 100644 --- a/core/sort_array.h +++ b/core/sort_array.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/error_macros.h" #include "core/typedefs.h" diff --git a/core/string_buffer.h b/core/string_buffer.h index acd8bffba..534350a3d 100644 --- a/core/string_buffer.h +++ b/core/string_buffer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" template diff --git a/core/string_builder.h b/core/string_builder.h index 0d9aa1cfd..d9081b17f 100644 --- a/core/string_builder.h +++ b/core/string_builder.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" #include "core/vector.h" diff --git a/core/string_name.h b/core/string_name.h index c14c41b12..782fed9a6 100644 --- a/core/string_name.h +++ b/core/string_name.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/mutex.h" #include "core/safe_refcount.h" #include "core/ustring.h" diff --git a/core/threaded_callable_queue.h b/core/threaded_callable_queue.h index 3bbfa7112..9649f41a0 100644 --- a/core/threaded_callable_queue.h +++ b/core/threaded_callable_queue.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/local_vector.h" #include "core/ordered_hash_map.h" #include "core/os/mutex.h" diff --git a/core/translation.h b/core/translation.h index ddf1c5e25..06143f823 100644 --- a/core/translation.h +++ b/core/translation.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/resource.h" class Translation : public Resource { diff --git a/core/type_info.h b/core/type_info.h index 248b7280a..60aad9911 100644 --- a/core/type_info.h +++ b/core/type_info.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef DEBUG_METHODS_ENABLED template diff --git a/core/typedefs.h b/core/typedefs.h index fdc3ec54f..a7219d104 100644 --- a/core/typedefs.h +++ b/core/typedefs.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include /** diff --git a/core/ucaps.h b/core/ucaps.h index dd9e44fbe..b2d36f9eb 100644 --- a/core/ucaps.h +++ b/core/ucaps.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - //satan invented unicode? #define CAPS_LEN 666 diff --git a/core/undo_redo.h b/core/undo_redo.h index dbfaa9d0e..fda3ee96b 100644 --- a/core/undo_redo.h +++ b/core/undo_redo.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" class UndoRedo : public Object { diff --git a/core/ustring.h b/core/ustring.h index ab619311a..d9cf29c81 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/array.h" #include "core/cowdata.h" #include "core/typedefs.h" diff --git a/core/variant.h b/core/variant.h index e692b5816..1fc89af38 100644 --- a/core/variant.h +++ b/core/variant.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/array.h" #include "core/color.h" #include "core/dictionary.h" diff --git a/core/variant_parser.h b/core/variant_parser.h index 8a2b5a2b0..43064fc1e 100644 --- a/core/variant_parser.h +++ b/core/variant_parser.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" #include "core/resource.h" #include "core/variant.h" diff --git a/core/vector.h b/core/vector.h index 329fdcc59..c02ed228c 100644 --- a/core/vector.h +++ b/core/vector.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - /** * @class Vector * @author Juan Linietsky diff --git a/core/version.h b/core/version.h index 0c797fa60..b63f19056 100644 --- a/core/version.h +++ b/core/version.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/version_generated.gen.h" // Godot versions are of the form . for the initial release, diff --git a/core/vmap.h b/core/vmap.h index ebcf3dab4..5289b6398 100644 --- a/core/vmap.h +++ b/core/vmap.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/cowdata.h" #include "core/typedefs.h" diff --git a/core/vset.h b/core/vset.h index e1d9effc8..c819c2bca 100644 --- a/core/vset.h +++ b/core/vset.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/typedefs.h" #include "core/vector.h" diff --git a/drivers/alsa/audio_driver_alsa.h b/drivers/alsa/audio_driver_alsa.h index 59b89b801..0dbc465a8 100644 --- a/drivers/alsa/audio_driver_alsa.h +++ b/drivers/alsa/audio_driver_alsa.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef ALSA_ENABLED #include "core/os/mutex.h" diff --git a/drivers/alsamidi/midi_driver_alsamidi.h b/drivers/alsamidi/midi_driver_alsamidi.h index 8edb15230..3fe957bc4 100644 --- a/drivers/alsamidi/midi_driver_alsamidi.h +++ b/drivers/alsamidi/midi_driver_alsamidi.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef ALSAMIDI_ENABLED #include "core/os/midi_driver.h" diff --git a/drivers/coreaudio/audio_driver_coreaudio.h b/drivers/coreaudio/audio_driver_coreaudio.h index 306ceffed..f371de23f 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.h +++ b/drivers/coreaudio/audio_driver_coreaudio.h @@ -32,9 +32,6 @@ #ifdef COREAUDIO_ENABLED - - - #include "servers/audio_server.h" #include diff --git a/drivers/coremidi/midi_driver_coremidi.h b/drivers/coremidi/midi_driver_coremidi.h index d6a0c7c4e..1433582fd 100644 --- a/drivers/coremidi/midi_driver_coremidi.h +++ b/drivers/coremidi/midi_driver_coremidi.h @@ -32,9 +32,6 @@ #ifdef COREMIDI_ENABLED - - - #include "core/os/midi_driver.h" #include "core/vector.h" diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h index 1022450cc..701d2ff0b 100644 --- a/drivers/dummy/rasterizer_dummy.h +++ b/drivers/dummy/rasterizer_dummy.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/camera_matrix.h" #include "core/self_list.h" #include "scene/resources/mesh.h" diff --git a/drivers/dummy/texture_loader_dummy.h b/drivers/dummy/texture_loader_dummy.h index 6ef0941cb..a0277a109 100644 --- a/drivers/dummy/texture_loader_dummy.h +++ b/drivers/dummy/texture_loader_dummy.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_loader.h" #include "scene/resources/texture.h" diff --git a/drivers/gles2/rasterizer_canvas_base_gles2.h b/drivers/gles2/rasterizer_canvas_base_gles2.h index 82acc5526..a2a1c7e46 100644 --- a/drivers/gles2/rasterizer_canvas_base_gles2.h +++ b/drivers/gles2/rasterizer_canvas_base_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "drivers/gles_common/rasterizer_array.h" #include "rasterizer_storage_gles2.h" #include "servers/visual/rasterizer.h" diff --git a/drivers/gles2/rasterizer_canvas_gles2.h b/drivers/gles2/rasterizer_canvas_gles2.h index 9f6024261..096adc055 100644 --- a/drivers/gles2/rasterizer_canvas_gles2.h +++ b/drivers/gles2/rasterizer_canvas_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "drivers/gles_common/rasterizer_canvas_batcher.h" #include "rasterizer_canvas_base_gles2.h" diff --git a/drivers/gles2/rasterizer_gles2.h b/drivers/gles2/rasterizer_gles2.h index 21c456875..413428563 100644 --- a/drivers/gles2/rasterizer_gles2.h +++ b/drivers/gles2/rasterizer_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "rasterizer_canvas_gles2.h" #include "rasterizer_scene_gles2.h" #include "rasterizer_storage_gles2.h" diff --git a/drivers/gles2/rasterizer_scene_gles2.h b/drivers/gles2/rasterizer_scene_gles2.h index d0d1d7cb9..fb1694128 100644 --- a/drivers/gles2/rasterizer_scene_gles2.h +++ b/drivers/gles2/rasterizer_scene_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - /* Must come before shaders or the Windows build fails... */ #include "rasterizer_storage_gles2.h" diff --git a/drivers/gles2/rasterizer_storage_gles2.h b/drivers/gles2/rasterizer_storage_gles2.h index 553f189f5..bb5e0d969 100644 --- a/drivers/gles2/rasterizer_storage_gles2.h +++ b/drivers/gles2/rasterizer_storage_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/pool_vector.h" #include "core/self_list.h" #include "drivers/gles_common/rasterizer_asserts.h" diff --git a/drivers/gles2/shader_compiler_gles2.h b/drivers/gles2/shader_compiler_gles2.h index 51a16eb0c..95c47179b 100644 --- a/drivers/gles2/shader_compiler_gles2.h +++ b/drivers/gles2/shader_compiler_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/pair.h" #include "core/string_builder.h" #include "servers/visual/shader_language.h" diff --git a/drivers/gles2/shader_gles2.h b/drivers/gles2/shader_gles2.h index 3203b9211..dcfa1867a 100644 --- a/drivers/gles2/shader_gles2.h +++ b/drivers/gles2/shader_gles2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - // This must come first to avoid windows.h mess #include "platform_config.h" #ifndef GLES2_INCLUDE_H diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl index 36e523f02..e83110820 100644 --- a/drivers/gles2/shaders/scene.glsl +++ b/drivers/gles2/shaders/scene.glsl @@ -649,7 +649,6 @@ VERTEX_SHADER_CODE } refprobe1_ambient_normal = (refprobe1_local_matrix * vec4(normal_interp, 0.0)).xyz; - } #endif //USE_REFLECTION_PROBE1 @@ -668,7 +667,6 @@ VERTEX_SHADER_CODE } refprobe2_ambient_normal = (refprobe2_local_matrix * vec4(normal_interp, 0.0)).xyz; - } #endif //USE_REFLECTION_PROBE2 @@ -794,7 +792,6 @@ varying mediump vec4 refprobe1_reflection_normal_blend; varying mediump vec3 refprobe1_ambient_normal; - #else uniform bool refprobe1_use_box_project; @@ -821,7 +818,6 @@ varying mediump vec4 refprobe2_reflection_normal_blend; varying mediump vec3 refprobe2_ambient_normal; - #else uniform bool refprobe2_use_box_project; @@ -925,7 +921,6 @@ void reflection_process(samplerCube reflection_map, ambient_out.a = blend; ambient_out.rgb *= blend; ambient_accum += ambient_out; - } #endif //use refprobe 1 or 2 diff --git a/drivers/gles_common/rasterizer_array.h b/drivers/gles_common/rasterizer_array.h index 3a280aa74..86878149d 100644 --- a/drivers/gles_common/rasterizer_array.h +++ b/drivers/gles_common/rasterizer_array.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - /** * Fast single-threaded growable array for POD types. * For use in render drivers, not for general use. diff --git a/drivers/gles_common/rasterizer_asserts.h b/drivers/gles_common/rasterizer_asserts.h index 6b6e3e901..1cfff4f91 100644 --- a/drivers/gles_common/rasterizer_asserts.h +++ b/drivers/gles_common/rasterizer_asserts.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - // For flow control checking, we want an easy way to apply asserts that occur in debug development builds only. // This is enforced by outputting a warning which will fail CI checks if the define is set in a PR. #if defined(TOOLS_ENABLED) && defined(DEBUG_ENABLED) diff --git a/drivers/gles_common/rasterizer_canvas_batcher.h b/drivers/gles_common/rasterizer_canvas_batcher.h index 2549706ca..ca9830cd9 100644 --- a/drivers/gles_common/rasterizer_canvas_batcher.h +++ b/drivers/gles_common/rasterizer_canvas_batcher.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/os.h" #include "core/project_settings.h" #include "rasterizer_array.h" diff --git a/drivers/gles_common/rasterizer_storage_common.h b/drivers/gles_common/rasterizer_storage_common.h index 9abfaec47..215abd74b 100644 --- a/drivers/gles_common/rasterizer_storage_common.h +++ b/drivers/gles_common/rasterizer_storage_common.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - class RasterizerStorageCommon { public: enum FVF { diff --git a/drivers/png/image_loader_png.h b/drivers/png/image_loader_png.h index 323a34028..161e6bb3c 100644 --- a/drivers/png/image_loader_png.h +++ b/drivers/png/image_loader_png.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/image_loader.h" class ImageLoaderPNG : public ImageFormatLoader { diff --git a/drivers/png/png_driver_common.h b/drivers/png/png_driver_common.h index e509f7e50..7a3bf5252 100644 --- a/drivers/png/png_driver_common.h +++ b/drivers/png/png_driver_common.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/pool_vector.h" diff --git a/drivers/png/resource_saver_png.h b/drivers/png/resource_saver_png.h index b6a0bd3fc..4f39eeb3a 100644 --- a/drivers/png/resource_saver_png.h +++ b/drivers/png/resource_saver_png.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_saver.h" diff --git a/drivers/pulseaudio/audio_driver_pulseaudio.h b/drivers/pulseaudio/audio_driver_pulseaudio.h index b0a7525a2..d3d85225b 100644 --- a/drivers/pulseaudio/audio_driver_pulseaudio.h +++ b/drivers/pulseaudio/audio_driver_pulseaudio.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef PULSEAUDIO_ENABLED #include "core/os/mutex.h" diff --git a/drivers/register_driver_types.h b/drivers/register_driver_types.h index 25daee6e3..1057312d8 100644 --- a/drivers/register_driver_types.h +++ b/drivers/register_driver_types.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - void register_core_driver_types(); void unregister_core_driver_types(); diff --git a/drivers/unix/dir_access_unix.h b/drivers/unix/dir_access_unix.h index acd7b573c..5814191b5 100644 --- a/drivers/unix/dir_access_unix.h +++ b/drivers/unix/dir_access_unix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #if defined(UNIX_ENABLED) || defined(LIBC_FILEIO_ENABLED) #include "core/os/dir_access.h" diff --git a/drivers/unix/file_access_unix.h b/drivers/unix/file_access_unix.h index c34d9c76c..b85bd96d6 100644 --- a/drivers/unix/file_access_unix.h +++ b/drivers/unix/file_access_unix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/file_access.h" #include "core/os/memory.h" diff --git a/drivers/unix/ip_unix.h b/drivers/unix/ip_unix.h index eee8b87ea..fdfa8d124 100644 --- a/drivers/unix/ip_unix.h +++ b/drivers/unix/ip_unix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/ip.h" #if defined(UNIX_ENABLED) || defined(WINDOWS_ENABLED) diff --git a/drivers/unix/net_socket_posix.h b/drivers/unix/net_socket_posix.h index 13db5ab09..659c3638b 100644 --- a/drivers/unix/net_socket_posix.h +++ b/drivers/unix/net_socket_posix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/net_socket.h" #if defined(WINDOWS_ENABLED) diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 13cb29f0f..aa35273fb 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef UNIX_ENABLED #include "core/os/os.h" diff --git a/drivers/unix/syslog_logger.h b/drivers/unix/syslog_logger.h index 3ce45ad25..a833888b9 100644 --- a/drivers/unix/syslog_logger.h +++ b/drivers/unix/syslog_logger.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef UNIX_ENABLED #include "core/io/logger.h" diff --git a/drivers/unix/thread_posix.h b/drivers/unix/thread_posix.h index cf03b3b95..cbc57125f 100644 --- a/drivers/unix/thread_posix.h +++ b/drivers/unix/thread_posix.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #if !defined(NO_THREADS) void init_thread_posix(); #endif diff --git a/drivers/wasapi/audio_driver_wasapi.h b/drivers/wasapi/audio_driver_wasapi.h index a0f2582be..fdc06f01c 100644 --- a/drivers/wasapi/audio_driver_wasapi.h +++ b/drivers/wasapi/audio_driver_wasapi.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef WASAPI_ENABLED #include "core/os/mutex.h" diff --git a/drivers/windows/dir_access_windows.h b/drivers/windows/dir_access_windows.h index c9d570351..bb186f513 100644 --- a/drivers/windows/dir_access_windows.h +++ b/drivers/windows/dir_access_windows.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef WINDOWS_ENABLED #include "core/os/dir_access.h" diff --git a/drivers/windows/file_access_windows.h b/drivers/windows/file_access_windows.h index cf5530479..6eaa2dfcf 100644 --- a/drivers/windows/file_access_windows.h +++ b/drivers/windows/file_access_windows.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #ifdef WINDOWS_ENABLED #include "core/os/file_access.h" diff --git a/drivers/winmidi/midi_driver_winmidi.h b/drivers/winmidi/midi_driver_winmidi.h index e8111a96d..246d1fbda 100644 --- a/drivers/winmidi/midi_driver_winmidi.h +++ b/drivers/winmidi/midi_driver_winmidi.h @@ -32,9 +32,6 @@ #ifdef WINMIDI_ENABLED - - - #include "core/os/midi_driver.h" #include "core/vector.h" diff --git a/drivers/xaudio2/audio_driver_xaudio2.h b/drivers/xaudio2/audio_driver_xaudio2.h index 328f09396..084927720 100644 --- a/drivers/xaudio2/audio_driver_xaudio2.h +++ b/drivers/xaudio2/audio_driver_xaudio2.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/mutex.h" #include "core/os/thread.h" #include "servers/audio_server.h" diff --git a/editor/animation_bezier_editor.h b/editor/animation_bezier_editor.h index 595b425cd..f5e3034e6 100644 --- a/editor/animation_bezier_editor.h +++ b/editor/animation_bezier_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "animation_track_editor.h" class AnimationBezierTrackEdit : public Control { diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 8c8643c58..8ffce10e8 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -37,10 +37,10 @@ #include "editor/plugins/animation_player_editor_plugin.h" #include "editor_node.h" #include "editor_scale.h" +#include "scene/3d/spatial.h" +#include "scene/main/node.h" #include "scene/main/viewport.h" #include "servers/audio/audio_stream.h" -#include "scene/main/node.h" -#include "scene/3d/spatial.h" class AnimationTrackKeyEdit : public Object { GDCLASS(AnimationTrackKeyEdit, Object); diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 5b460ab6a..43ede2d16 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_data.h" #include "editor/editor_spin_slider.h" #include "editor/property_editor.h" diff --git a/editor/animation_track_editor_plugins.h b/editor/animation_track_editor_plugins.h index 2ce3f54db..3336f0607 100644 --- a/editor/animation_track_editor_plugins.h +++ b/editor/animation_track_editor_plugins.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/animation_track_editor.h" class AnimationTrackEditBool : public AnimationTrackEdit { diff --git a/editor/array_property_edit.h b/editor/array_property_edit.h index 8be423362..4a65f2e2f 100644 --- a/editor/array_property_edit.h +++ b/editor/array_property_edit.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/main/node.h" class ArrayPropertyEdit : public Reference { diff --git a/editor/audio_stream_preview.h b/editor/audio_stream_preview.h index a87726166..2488b03bd 100644 --- a/editor/audio_stream_preview.h +++ b/editor/audio_stream_preview.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/thread.h" #include "core/safe_refcount.h" #include "scene/main/node.h" diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index b570623ea..310c831c4 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -38,8 +38,8 @@ #include "editor_settings.h" #include "scene/gui/margin_container.h" #include "scene/gui/separator.h" -#include "scene/resources/dynamic_font.h" #include "scene/gui/texture_button.h" +#include "scene/resources/dynamic_font.h" void GotoLineDialog::popup_find_line(TextEdit *p_edit) { text_editor = p_edit; diff --git a/editor/code_editor.h b/editor/code_editor.h index dd0e7b41b..722613ab6 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_plugin.h" #include "scene/gui/check_box.h" #include "scene/gui/check_button.h" diff --git a/editor/connections_dialog.h b/editor/connections_dialog.h index c56a92ceb..3b5324e3e 100644 --- a/editor/connections_dialog.h +++ b/editor/connections_dialog.h @@ -34,9 +34,6 @@ @author Juan Linietsky */ - - - #include "core/undo_redo.h" #include "editor/editor_inspector.h" #include "editor/scene_tree_editor.h" diff --git a/editor/create_dialog.h b/editor/create_dialog.h index 676b476d7..aadb3ca57 100644 --- a/editor/create_dialog.h +++ b/editor/create_dialog.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor_help.h" #include "scene/gui/button.h" #include "scene/gui/dialogs.h" diff --git a/editor/dependency_editor.h b/editor/dependency_editor.h index 16ae2ea5f..cc797ad21 100644 --- a/editor/dependency_editor.h +++ b/editor/dependency_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor_file_dialog.h" #include "scene/gui/dialogs.h" #include "scene/gui/tab_container.h" diff --git a/editor/dictionary_property_edit.h b/editor/dictionary_property_edit.h index 4ec160e6f..274222d49 100644 --- a/editor/dictionary_property_edit.h +++ b/editor/dictionary_property_edit.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/main/node.h" class DictionaryPropertyEdit : public Reference { diff --git a/editor/doc/doc_data.h b/editor/doc/doc_data.h index 2bf62ee74..9ac7f88e9 100644 --- a/editor/doc/doc_data.h +++ b/editor/doc/doc_data.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/xml_parser.h" #include "core/map.h" #include "core/variant.h" diff --git a/editor/editor_about.h b/editor/editor_about.h index e10eed447..0bec12b0b 100644 --- a/editor/editor_about.h +++ b/editor/editor_about.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/control.h" #include "scene/gui/dialogs.h" #include "scene/gui/item_list.h" diff --git a/editor/editor_atlas_packer.h b/editor/editor_atlas_packer.h index a0726c5cd..8d4a1bd3e 100644 --- a/editor/editor_atlas_packer.h +++ b/editor/editor_atlas_packer.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/math/vector2.h" #include "core/vector.h" diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h index dc0efb39e..2ca3df8b0 100644 --- a/editor/editor_audio_buses.h +++ b/editor/editor_audio_buses.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_file_dialog.h" #include "editor_plugin.h" #include "scene/gui/box_container.h" diff --git a/editor/editor_autoload_settings.h b/editor/editor_autoload_settings.h index d8731293c..ace14c279 100644 --- a/editor/editor_autoload_settings.h +++ b/editor/editor_autoload_settings.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/tree.h" #include "editor_file_dialog.h" diff --git a/editor/editor_data.h b/editor/editor_data.h index 383025573..07dc6f0e3 100644 --- a/editor/editor_data.h +++ b/editor/editor_data.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/list.h" #include "core/pair.h" #include "core/undo_redo.h" diff --git a/editor/editor_dir_dialog.cpp b/editor/editor_dir_dialog.cpp index c47ab38ff..d9f5e329a 100644 --- a/editor/editor_dir_dialog.cpp +++ b/editor/editor_dir_dialog.cpp @@ -32,13 +32,13 @@ #include "core/os/keyboard.h" #include "core/os/os.h" +#include "editor/editor_dir_dialog.h" +#include "editor/editor_file_dialog.h" #include "editor/editor_file_system.h" #include "editor/editor_settings.h" #include "editor_scale.h" -#include "scene/gui/button.h" #include "scene/gui/box_container.h" -#include "editor/editor_dir_dialog.h" -#include "editor/editor_file_dialog.h" +#include "scene/gui/button.h" #include "scene/gui/line_edit.h" void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p_dir, const String &p_select_path) { diff --git a/editor/editor_dir_dialog.h b/editor/editor_dir_dialog.h index d8165c009..8b8041b19 100644 --- a/editor/editor_dir_dialog.h +++ b/editor/editor_dir_dialog.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/dir_access.h" #include "editor/editor_file_system.h" #include "scene/gui/dialogs.h" diff --git a/editor/editor_export.h b/editor/editor_export.h index 095b1750f..cb0a577b5 100644 --- a/editor/editor_export.h +++ b/editor/editor_export.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/dir_access.h" #include "core/resource.h" #include "scene/main/node.h" diff --git a/editor/editor_file_dialog.h b/editor/editor_file_dialog.h index fc62de5c6..547a08e67 100644 --- a/editor/editor_file_dialog.h +++ b/editor/editor_file_dialog.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/dir_access.h" #include "scene/gui/box_container.h" #include "scene/gui/dialogs.h" diff --git a/editor/editor_file_system.h b/editor/editor_file_system.h index f56193449..6ab2ec9d7 100644 --- a/editor/editor_file_system.h +++ b/editor/editor_file_system.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/dir_access.h" #include "core/os/thread.h" #include "core/os/thread_safe.h" diff --git a/editor/editor_folding.h b/editor/editor_folding.h index 818c60e90..57564578f 100644 --- a/editor/editor_folding.h +++ b/editor/editor_folding.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/main/node.h" class EditorFolding { diff --git a/editor/editor_fonts.h b/editor/editor_fonts.h index af15dc5f4..2dd4f92e7 100644 --- a/editor/editor_fonts.h +++ b/editor/editor_fonts.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/resources/theme.h" void editor_register_fonts(Ref p_theme); diff --git a/editor/editor_help.h b/editor/editor_help.h index ac373eff3..907963f0c 100644 --- a/editor/editor_help.h +++ b/editor/editor_help.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/code_editor.h" #include "editor/doc/doc_data.h" #include "editor/editor_plugin.h" diff --git a/editor/editor_help_search.h b/editor/editor_help_search.h index fe24b90c6..6a3c82338 100644 --- a/editor/editor_help_search.h +++ b/editor/editor_help_search.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ordered_hash_map.h" #include "editor/code_editor.h" #include "editor/editor_help.h" diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h index c79c57234..4cb921386 100644 --- a/editor/editor_inspector.h +++ b/editor/editor_inspector.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/box_container.h" #include "scene/gui/line_edit.h" #include "scene/gui/scroll_container.h" diff --git a/editor/editor_layouts_dialog.cpp b/editor/editor_layouts_dialog.cpp index 783ce491c..33da40725 100644 --- a/editor/editor_layouts_dialog.cpp +++ b/editor/editor_layouts_dialog.cpp @@ -33,9 +33,9 @@ #include "core/io/config_file.h" #include "core/os/keyboard.h" #include "editor/editor_settings.h" +#include "scene/gui/box_container.h" #include "scene/gui/item_list.h" #include "scene/gui/line_edit.h" -#include "scene/gui/box_container.h" void EditorLayoutsDialog::_line_gui_input(const Ref &p_event) { Ref k = p_event; diff --git a/editor/editor_layouts_dialog.h b/editor/editor_layouts_dialog.h index dc4bec468..6bc612360 100644 --- a/editor/editor_layouts_dialog.h +++ b/editor/editor_layouts_dialog.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/dialogs.h" class LineEdit; diff --git a/editor/editor_log.h b/editor/editor_log.h index 7e174f312..39f61ce3a 100644 --- a/editor/editor_log.h +++ b/editor/editor_log.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/control.h" #include "scene/gui/label.h" #include "scene/gui/rich_text_label.h" diff --git a/editor/editor_network_profiler.cpp b/editor/editor_network_profiler.cpp index 88b314641..07bfba5f5 100644 --- a/editor/editor_network_profiler.cpp +++ b/editor/editor_network_profiler.cpp @@ -33,8 +33,8 @@ #include "core/os/os.h" #include "editor_scale.h" #include "editor_settings.h" -#include "scene/main/timer.h" #include "scene/gui/line_edit.h" +#include "scene/main/timer.h" void EditorNetworkProfiler::_bind_methods() { ClassDB::bind_method(D_METHOD("_update_frame"), &EditorNetworkProfiler::_update_frame); diff --git a/editor/editor_network_profiler.h b/editor/editor_network_profiler.h index 7bbeb2672..d11728ffb 100644 --- a/editor/editor_network_profiler.h +++ b/editor/editor_network_profiler.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/box_container.h" #include "scene/gui/button.h" #include "scene/gui/label.h" diff --git a/editor/editor_node.h b/editor/editor_node.h index 6df5556cc..5984ee992 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/safe_refcount.h" #include "editor/editor_data.h" #include "editor/editor_folding.h" diff --git a/editor/editor_path.h b/editor/editor_path.h index 408daa9a8..061572393 100644 --- a/editor/editor_path.h +++ b/editor/editor_path.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor_data.h" #include "scene/gui/box_container.h" #include "scene/gui/button.h" diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h index 772d2ae1b..0a5fab8c4 100644 --- a/editor/editor_plugin.h +++ b/editor/editor_plugin.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/config_file.h" #include "core/undo_redo.h" #include "editor/editor_inspector.h" diff --git a/editor/editor_plugin_settings.h b/editor/editor_plugin_settings.h index ac0163a7b..a89c1c5e4 100644 --- a/editor/editor_plugin_settings.h +++ b/editor/editor_plugin_settings.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/undo_redo.h" #include "editor/plugin_config_dialog.h" #include "editor_data.h" diff --git a/editor/editor_profiler.h b/editor/editor_profiler.h index 3d6930369..9044b26e0 100644 --- a/editor/editor_profiler.h +++ b/editor/editor_profiler.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/box_container.h" #include "scene/gui/button.h" #include "scene/gui/label.h" diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 2b3c724bc..2d2f2e999 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -30,13 +30,13 @@ #include "editor_properties.h" +#include "core/project_settings.h" #include "editor/editor_resource_preview.h" #include "editor/filesystem_dock.h" #include "editor_node.h" #include "editor_properties_array_dict.h" #include "editor_scale.h" #include "scene/main/viewport.h" -#include "core/project_settings.h" ///////////////////// NULL ///////////////////////// diff --git a/editor/editor_properties.h b/editor/editor_properties.h index a440238e7..ef51a9304 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/create_dialog.h" #include "editor/editor_inspector.h" #include "editor/editor_resource_picker.h" diff --git a/editor/editor_properties_array_dict.h b/editor/editor_properties_array_dict.h index f84721839..be9307b3b 100644 --- a/editor/editor_properties_array_dict.h +++ b/editor/editor_properties_array_dict.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_inspector.h" #include "editor/editor_spin_slider.h" #include "editor/filesystem_dock.h" diff --git a/editor/editor_property_name_processor.h b/editor/editor_property_name_processor.h index 72cd8d322..b7c9c9815 100644 --- a/editor/editor_property_name_processor.h +++ b/editor/editor_property_name_processor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/main/node.h" class EditorPropertyNameProcessor : public Node { diff --git a/editor/editor_resource_picker.h b/editor/editor_resource_picker.h index 1abe8ab0c..3d4279605 100644 --- a/editor/editor_resource_picker.h +++ b/editor/editor_resource_picker.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor_file_dialog.h" #include "quick_open.h" #include "scene/gui/box_container.h" diff --git a/editor/editor_resource_preview.h b/editor/editor_resource_preview.h index 858d7f41f..76978ea6c 100644 --- a/editor/editor_resource_preview.h +++ b/editor/editor_resource_preview.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/semaphore.h" #include "core/os/thread.h" #include "core/safe_refcount.h" diff --git a/editor/editor_run.h b/editor/editor_run.h index 5ceb56883..ee5891ecc 100644 --- a/editor/editor_run.h +++ b/editor/editor_run.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/os/os.h" #include "scene/main/node.h" class EditorRun { diff --git a/editor/editor_run_native.h b/editor/editor_run_native.h index 4d6934824..d18a606a6 100644 --- a/editor/editor_run_native.h +++ b/editor/editor_run_native.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/box_container.h" #include "scene/gui/menu_button.h" diff --git a/editor/editor_run_script.h b/editor/editor_run_script.h index b5b410acb..9267234d4 100644 --- a/editor/editor_run_script.h +++ b/editor/editor_run_script.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/reference.h" #include "editor_plugin.h" class EditorNode; diff --git a/editor/editor_scale.h b/editor/editor_scale.h index 468605d64..6ef16e6c3 100644 --- a/editor/editor_scale.h +++ b/editor/editor_scale.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - void editor_set_scale(float p_scale); float editor_get_scale(); diff --git a/editor/editor_sectioned_inspector.h b/editor/editor_sectioned_inspector.h index f30806bba..04f54dbbd 100644 --- a/editor/editor_sectioned_inspector.h +++ b/editor/editor_sectioned_inspector.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_inspector.h" #include "scene/gui/split_container.h" #include "scene/gui/tree.h" diff --git a/editor/editor_settings.h b/editor/editor_settings.h index 9ae14f1af..c5276c7ce 100644 --- a/editor/editor_settings.h +++ b/editor/editor_settings.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/object.h" #include "core/io/config_file.h" diff --git a/editor/editor_spin_slider.h b/editor/editor_spin_slider.h index 758f20354..62b6b7aa8 100644 --- a/editor/editor_spin_slider.h +++ b/editor/editor_spin_slider.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/line_edit.h" #include "scene/gui/range.h" #include "scene/gui/texture_rect.h" diff --git a/editor/editor_sub_scene.h b/editor/editor_sub_scene.h index 8f4dd308b..040b55ea1 100644 --- a/editor/editor_sub_scene.h +++ b/editor/editor_sub_scene.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_file_dialog.h" #include "scene/gui/dialogs.h" #include "scene/gui/tree.h" diff --git a/editor/editor_themes.h b/editor/editor_themes.h index 842db2997..d91b2e909 100644 --- a/editor/editor_themes.h +++ b/editor/editor_themes.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/resources/texture.h" #include "scene/resources/theme.h" diff --git a/editor/editor_translation.h b/editor/editor_translation.h index f990a20ca..abf965726 100644 --- a/editor/editor_translation.h +++ b/editor/editor_translation.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/ustring.h" #include "core/vector.h" diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp index 36708fdc6..364126e8e 100644 --- a/editor/export_template_manager.cpp +++ b/editor/export_template_manager.cpp @@ -39,8 +39,8 @@ #include "editor_node.h" #include "editor_scale.h" #include "progress_dialog.h" -#include "scene/gui/link_button.h" #include "scene/gui/box_container.h" +#include "scene/gui/link_button.h" void ExportTemplateManager::_update_template_status() { // Fetch installed templates from the file system. diff --git a/editor/export_template_manager.h b/editor/export_template_manager.h index 68f32825b..b264fbef8 100644 --- a/editor/export_template_manager.h +++ b/editor/export_template_manager.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_settings.h" #include "scene/gui/dialogs.h" #include "scene/gui/file_dialog.h" diff --git a/editor/fileserver/editor_file_server.h b/editor/fileserver/editor_file_server.h index 1efcb1448..1c1ef0d86 100644 --- a/editor/fileserver/editor_file_server.h +++ b/editor/fileserver/editor_file_server.h @@ -30,7 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - #include "core/io/file_access_network.h" #include "core/io/packet_peer.h" #include "core/io/tcp_server.h" diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h index 61cea4a6d..dcd55ec63 100644 --- a/editor/filesystem_dock.h +++ b/editor/filesystem_dock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/box_container.h" #include "scene/gui/control.h" #include "scene/gui/dialogs.h" diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index 64a688239..f6d6ca59a 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -32,6 +32,7 @@ #include "core/os/dir_access.h" #include "core/os/os.h" +#include "core/project_settings.h" #include "editor_node.h" #include "editor_scale.h" #include "scene/gui/box_container.h" @@ -43,7 +44,6 @@ #include "scene/gui/line_edit.h" #include "scene/gui/progress_bar.h" #include "scene/gui/tree.h" -#include "core/project_settings.h" const char *FindInFiles::SIGNAL_RESULT_FOUND = "result_found"; const char *FindInFiles::SIGNAL_FINISHED = "finished"; diff --git a/editor/find_in_files.h b/editor/find_in_files.h index 88245e33b..282537023 100644 --- a/editor/find_in_files.h +++ b/editor/find_in_files.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/hash_map.h" #include "scene/gui/dialogs.h" diff --git a/editor/groups_editor.h b/editor/groups_editor.h index 4522668ef..9980b0032 100644 --- a/editor/groups_editor.h +++ b/editor/groups_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/undo_redo.h" #include "editor/scene_tree_editor.h" #include "scene/gui/button.h" diff --git a/editor/import/editor_import_plugin.h b/editor/import/editor_import_plugin.h index 1e2fb3ad7..c9ca6a783 100644 --- a/editor/import/editor_import_plugin.h +++ b/editor/import/editor_import_plugin.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_importer.h" class EditorImportPlugin : public ResourceImporter { diff --git a/editor/import/resource_importer_bitmask.h b/editor/import/resource_importer_bitmask.h index 96ecdc2fa..dafad7ae5 100644 --- a/editor/import/resource_importer_bitmask.h +++ b/editor/import/resource_importer_bitmask.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_importer.h" diff --git a/editor/import/resource_importer_csv_translation.h b/editor/import/resource_importer_csv_translation.h index 42b39d439..23a947de6 100644 --- a/editor/import/resource_importer_csv_translation.h +++ b/editor/import/resource_importer_csv_translation.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_importer.h" class ResourceImporterCSVTranslation : public ResourceImporter { diff --git a/editor/import/resource_importer_image.h b/editor/import/resource_importer_image.h index 33abe3a75..46c1f3b99 100644 --- a/editor/import/resource_importer_image.h +++ b/editor/import/resource_importer_image.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_importer.h" diff --git a/editor/import/resource_importer_layered_texture.cpp b/editor/import/resource_importer_layered_texture.cpp index bc88e8d30..384c30f4a 100644 --- a/editor/import/resource_importer_layered_texture.cpp +++ b/editor/import/resource_importer_layered_texture.cpp @@ -34,10 +34,10 @@ #include "core/io/config_file.h" #include "core/io/image_loader.h" +#include "core/project_settings.h" #include "editor/editor_file_system.h" #include "editor/editor_node.h" #include "scene/resources/texture.h" -#include "core/project_settings.h" String ResourceImporterLayeredTexture::get_importer_name() const { return is_3d ? "texture_3d" : "texture_array"; diff --git a/editor/import/resource_importer_layered_texture.h b/editor/import/resource_importer_layered_texture.h index 081eb5d80..41e632b4f 100644 --- a/editor/import/resource_importer_layered_texture.h +++ b/editor/import/resource_importer_layered_texture.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_importer.h" diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp index a52a9589b..eff03bbdd 100644 --- a/editor/import/resource_importer_scene.cpp +++ b/editor/import/resource_importer_scene.cpp @@ -35,18 +35,18 @@ #include "scene/3d/collision_shape.h" #include "scene/3d/mesh_instance.h" #include "scene/3d/navigation.h" +#include "scene/3d/navigation_mesh_instance.h" #include "scene/3d/physics_body.h" #include "scene/3d/vehicle_body.h" #include "scene/animation/animation_player.h" #include "scene/resources/animation.h" #include "scene/resources/box_shape.h" +#include "scene/resources/navigation_mesh.h" #include "scene/resources/packed_scene.h" #include "scene/resources/plane_shape.h" #include "scene/resources/ray_shape.h" #include "scene/resources/resource_format_text.h" #include "scene/resources/sphere_shape.h" -#include "scene/resources/navigation_mesh.h" -#include "scene/3d/navigation_mesh_instance.h" uint32_t EditorSceneImporter::get_import_flags() const { if (get_script_instance()) { diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index b82a3b973..d8a8e052c 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -32,10 +32,10 @@ #include "core/io/config_file.h" #include "core/io/image_loader.h" +#include "core/project_settings.h" #include "editor/editor_file_system.h" #include "editor/editor_node.h" #include "scene/resources/texture.h" -#include "core/project_settings.h" void ResourceImporterTexture::_texture_reimport_srgb(const Ref &p_tex) { singleton->mutex.lock(); diff --git a/editor/import/resource_importer_texture.h b/editor/import/resource_importer_texture.h index e5893291f..272dd2ff4 100644 --- a/editor/import/resource_importer_texture.h +++ b/editor/import/resource_importer_texture.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_importer.h" diff --git a/editor/import/resource_importer_texture_atlas.h b/editor/import/resource_importer_texture_atlas.h index 67021cf1a..807f64f05 100644 --- a/editor/import/resource_importer_texture_atlas.h +++ b/editor/import/resource_importer_texture_atlas.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/image.h" #include "core/io/resource_importer.h" class ResourceImporterTextureAtlas : public ResourceImporter { diff --git a/editor/import/resource_importer_wav.h b/editor/import/resource_importer_wav.h index b558b6894..c5284b3ec 100644 --- a/editor/import/resource_importer_wav.h +++ b/editor/import/resource_importer_wav.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/resource_importer.h" class ResourceImporterWAV : public ResourceImporter { diff --git a/editor/import_defaults_editor.h b/editor/import_defaults_editor.h index 5d8c8517a..ab719ebb1 100644 --- a/editor/import_defaults_editor.h +++ b/editor/import_defaults_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/undo_redo.h" #include "editor/editor_data.h" #include "editor/editor_plugin_settings.h" diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index dadd599eb..e03785b7b 100644 --- a/editor/import_dock.cpp +++ b/editor/import_dock.cpp @@ -29,10 +29,10 @@ /*************************************************************************/ #include "import_dock.h" +#include "core/project_settings.h" #include "editor_node.h" #include "editor_resource_preview.h" #include "editor_scale.h" -#include "core/project_settings.h" class ImportDockParameters : public Object { GDCLASS(ImportDockParameters, Object); diff --git a/editor/import_dock.h b/editor/import_dock.h index e28b868a6..29c007b9d 100644 --- a/editor/import_dock.h +++ b/editor/import_dock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "core/io/config_file.h" #include "core/io/resource_importer.h" #include "editor/editor_file_system.h" diff --git a/editor/inspector_dock.h b/editor/inspector_dock.h index 456f5e837..8cc7e2044 100644 --- a/editor/inspector_dock.h +++ b/editor/inspector_dock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/animation_track_editor.h" #include "editor/connections_dialog.h" #include "editor/create_dialog.h" diff --git a/editor/multi_node_edit.h b/editor/multi_node_edit.h index 3261e5af3..6549f1803 100644 --- a/editor/multi_node_edit.h +++ b/editor/multi_node_edit.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/main/node.h" class MultiNodeEdit : public Reference { diff --git a/editor/node_dock.h b/editor/node_dock.h index 0140dbf38..fd2a8b02d 100644 --- a/editor/node_dock.h +++ b/editor/node_dock.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "connections_dialog.h" #include "groups_editor.h" diff --git a/editor/pane_drag.h b/editor/pane_drag.h index 1f79f55c4..1581dd3e2 100644 --- a/editor/pane_drag.h +++ b/editor/pane_drag.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/control.h" class PaneDrag : public Control { diff --git a/editor/plugin_config_dialog.h b/editor/plugin_config_dialog.h index 8331ee06e..d4e07a6e2 100644 --- a/editor/plugin_config_dialog.h +++ b/editor/plugin_config_dialog.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "scene/gui/check_box.h" #include "scene/gui/dialogs.h" #include "scene/gui/line_edit.h" diff --git a/editor/plugins/abstract_polygon_2d_editor.h b/editor/plugins/abstract_polygon_2d_editor.h index e4ce147fa..576c9baa1 100644 --- a/editor/plugins/abstract_polygon_2d_editor.h +++ b/editor/plugins/abstract_polygon_2d_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_node.h" #include "editor/editor_plugin.h" #include "scene/2d/polygon_2d.h" diff --git a/editor/plugins/animation_blend_space_1d_editor.h b/editor/plugins/animation_blend_space_1d_editor.h index 8a1656af1..536fe1211 100644 --- a/editor/plugins/animation_blend_space_1d_editor.h +++ b/editor/plugins/animation_blend_space_1d_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_node.h" #include "editor/editor_plugin.h" #include "editor/plugins/animation_tree_editor_plugin.h" diff --git a/editor/plugins/animation_blend_space_2d_editor.h b/editor/plugins/animation_blend_space_2d_editor.h index 2b75c9c77..4aca3eee6 100644 --- a/editor/plugins/animation_blend_space_2d_editor.h +++ b/editor/plugins/animation_blend_space_2d_editor.h @@ -30,9 +30,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ - - - #include "editor/editor_node.h" #include "editor/editor_plugin.h" #include "editor/plugins/animation_tree_editor_plugin.h" diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index 7964f57e8..d9c16b221 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -36,13 +36,13 @@ #include "core/project_settings.h" #include "editor/editor_inspector.h" #include "editor/editor_scale.h" +#include "scene/3d/skeleton.h" #include "scene/animation/animation_player.h" +#include "scene/gui/graph_node.h" #include "scene/gui/menu_button.h" #include "scene/gui/panel.h" #include "scene/gui/progress_bar.h" #include "scene/main/viewport.h" -#include "scene/3d/skeleton.h" -#include "scene/gui/graph_node.h" void AnimationNodeBlendTreeEditor::add_custom_type(const String &p_name, const Ref