Clang format everything again.

This commit is contained in:
Relintai 2024-07-16 21:29:26 +02:00
parent 8181808b74
commit f9507dc475
28 changed files with 28 additions and 84 deletions

View File

@ -1,5 +1,6 @@
#ifndef LOCALES_H
#define LOCALES_H
/*************************************************************************/
/* locales.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
// Windows has some weird locale identifiers which do not honor the ISO 639-1
// standardized nomenclature. Whenever those don't conflict with existing ISO
// identifiers, we override them.

View File

@ -1,5 +1,6 @@
#ifndef RASTERIZER_CANVAS_BASE_GLES3_H
#define RASTERIZER_CANVAS_BASE_GLES3_H
/*************************************************************************/
/* rasterizer_canvas_base_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "rasterizer_storage_gles3.h"
#include "servers/rendering/rasterizer.h"

View File

@ -1,5 +1,6 @@
#ifndef RASTERIZER_CANVAS_GLES3_H
#define RASTERIZER_CANVAS_GLES3_H
/*************************************************************************/
/* rasterizer_canvas_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "drivers/gles_common/rasterizer_canvas_batcher.h"
#include "rasterizer_canvas_base_gles3.h"

View File

@ -1,5 +1,6 @@
#ifndef RASTERIZER_GLES3_H
#define RASTERIZER_GLES3_H
/*************************************************************************/
/* rasterizer_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "rasterizer_canvas_gles3.h"
#include "rasterizer_scene_gles3.h"
#include "rasterizer_storage_gles3.h"

View File

@ -1,5 +1,6 @@
#ifndef RASTERIZER_SCENE_GLES3_H
#define RASTERIZER_SCENE_GLES3_H
/*************************************************************************/
/* rasterizer_scene_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
/* Must come before shaders or the Windows build fails... */
#include "rasterizer_storage_gles3.h"

View File

@ -1,5 +1,6 @@
#ifndef RASTERIZER_STORAGE_GLES3_H
#define RASTERIZER_STORAGE_GLES3_H
/*************************************************************************/
/* rasterizer_storage_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/bitfield_dynamic.h"
#include "core/containers/self_list.h"
#include "drivers/gles_common/rasterizer_asserts.h"

View File

@ -1,5 +1,6 @@
#ifndef SHADER_CACHE_GLES3_H
#define SHADER_CACHE_GLES3_H
/*************************************************************************/
/* shader_cache_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/local_vector.h"
#include "core/object/reference.h"

View File

@ -1,5 +1,6 @@
#ifndef SHADER_COMPILER_GLES3_H
#define SHADER_COMPILER_GLES3_H
/*************************************************************************/
/* shader_compiler_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/pair.h"
#include "servers/rendering/shader_language.h"
#include "servers/rendering/shader_types.h"

View File

@ -1,5 +1,6 @@
#ifndef SHADER_GLES3_H
#define SHADER_GLES3_H
/*************************************************************************/
/* shader_gles3.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/hash_map.h"
#include "core/containers/local_vector.h"
#include "core/containers/og_hash_map.h"

View File

@ -1,5 +1,6 @@
#ifndef EDITOR_LOCALE_DIALOG_H
#define EDITOR_LOCALE_DIALOG_H
/*************************************************************************/
/* editor_locale_dialog.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/string/translation.h"
#include "scene/gui/dialogs.h"

View File

@ -1,5 +1,6 @@
#ifndef BAKED_LIGHTMAP_EDITOR_PLUGIN_H
#define BAKED_LIGHTMAP_EDITOR_PLUGIN_H
/*************************************************************************/
/* baked_lightmap_editor_plugin.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "editor/editor_node.h"
#include "editor/editor_plugin.h"
#include "scene/3d/baked_lightmap.h"

View File

@ -1,5 +1,6 @@
#ifndef GI_PROBE_EDITOR_PLUGIN_H
#define GI_PROBE_EDITOR_PLUGIN_H
/*************************************************************************/
/* gi_probe_editor_plugin.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "editor/editor_plugin.h"
class ToolBoutton;

View File

@ -1,5 +1,6 @@
#ifndef PARTICLES_2D_EDITOR_PLUGIN_H
#define PARTICLES_2D_EDITOR_PLUGIN_H
/*************************************************************************/
/* gpu_particles_2d_editor_plugin.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "editor/editor_node.h"
#include "editor/editor_plugin.h"
#include "scene/2d/collision_polygon_2d.h"

View File

@ -1,5 +1,6 @@
#ifndef DENOISE_WRAPPER_H
#define DENOISE_WRAPPER_H
/*************************************************************************/
/* denoise_wrapper.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
void *oidn_denoiser_init();
bool oidn_denoise(void *device, float *p_floats, int p_width, int p_height);
void oidn_denoiser_finish(void *device);

View File

@ -1,5 +1,6 @@
#ifndef LIGHTMAP_DENOISER_H
#define LIGHTMAP_DENOISER_H
/*************************************************************************/
/* lightmap_denoiser.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/object/class_db.h"
#include "scene/3d/lightmapper.h"

View File

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

View File

@ -1,5 +1,6 @@
#ifndef LIGHTMAPPER_CPU_H
#define LIGHTMAPPER_CPU_H
/*************************************************************************/
/* lightmapper_cpu.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/local_vector.h"
#include "scene/3d/lightmapper.h"
#include "scene/resources/mesh/mesh.h"

View File

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

View File

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

View File

@ -1,5 +1,6 @@
#ifndef UWP_EXPORT_H
#define UWP_EXPORT_H
/*************************************************************************/
/* export.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
void register_uwp_exporter();
#endif // UWP_EXPORT_H

View File

@ -1,5 +1,6 @@
#ifndef PARTICLES_2D_H
#define PARTICLES_2D_H
/*************************************************************************/
/* gpu_particles_2d.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/rid.h"
#include "scene/main/node_2d.h"
#include "scene/resources/texture.h"

View File

@ -1,5 +1,6 @@
#ifndef BAKED_LIGHTMAP_H
#define BAKED_LIGHTMAP_H
/*************************************************************************/
/* baked_lightmap.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/local_vector.h"
#include "multimesh_instance.h"
#include "scene/3d/light.h"

View File

@ -1,5 +1,6 @@
#ifndef GI_PROBE_H
#define GI_PROBE_H
/*************************************************************************/
/* gi_probe.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "multimesh_instance.h"
#include "scene/3d/visual_instance.h"

View File

@ -1,5 +1,6 @@
#ifndef PARTICLES_H
#define PARTICLES_H
/*************************************************************************/
/* gpu_particles.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/rid.h"
#include "scene/3d/visual_instance.h"
#include "scene/resources/material/material.h"

View File

@ -1,5 +1,6 @@
#ifndef LIGHTMAPPER_H
#define LIGHTMAPPER_H
/*************************************************************************/
/* lightmapper.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "scene/resources/mesh/mesh.h"
#if !defined(__aligned)

View File

@ -1,5 +1,6 @@
#ifndef LOD_H
#define LOD_H
/*************************************************************************/
/* lod.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "scene/main/spatial.h"
class LOD : public Spatial {

View File

@ -1,5 +1,6 @@
#ifndef LOD_MANAGER_H
#define LOD_MANAGER_H
/*************************************************************************/
/* lod_manager.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/containers/local_vector.h"
#include "core/os/mutex.h"

View File

@ -1,5 +1,6 @@
#ifndef VOXEL_LIGHT_BAKER_H
#define VOXEL_LIGHT_BAKER_H
/*************************************************************************/
/* voxel_light_baker.h */
/*************************************************************************/
@ -31,9 +32,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "scene/3d/mesh_instance.h"
#include "scene/resources/mesh/multimesh.h"