Clang-formatting *.cpp and *.h (some files excluded)
This commit is contained in:
parent
0ed59fdf12
commit
c7c65ca6ba
|
@ -31,8 +31,8 @@
|
|||
|
||||
#include "rasterizer_gles2.h"
|
||||
#include "gl_context/context_gl.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "servers/visual/particle_system_sw.h"
|
||||
#include "servers/visual/shader_language.h"
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "rasterizer_canvas_gles3.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "rasterizer_scene_gles3.h"
|
||||
#include "servers/visual/visual_server_raster.h"
|
||||
#ifndef GLES_OVER_GL
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include "rasterizer_gles3.h"
|
||||
|
||||
#include "gl_context/context_gl.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include <string.h>
|
||||
RasterizerStorage *RasterizerGLES3::get_storage() {
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include "resource_saver_png.h"
|
||||
|
||||
#include "core/image.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/file_access.h"
|
||||
#include "project_settings.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#include <png.h>
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "audio_driver_rtaudio.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
#ifdef RTAUDIO_ENABLED
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "audio_driver_xaudio2.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
const char *AudioDriverXAudio2::get_name() const {
|
||||
return "XAudio2";
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#include "scene/animation/animation_cache.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene_tree_editor.h"
|
||||
#include "scene_tree_editor.h"
|
||||
|
||||
class AnimationKeyEdit;
|
||||
class AnimationCurveEdit;
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include "editor/editor_settings.h"
|
||||
#include "gd_compiler.h"
|
||||
#include "gd_script.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/file_access.h"
|
||||
#include "project_settings.h"
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/editor_file_system.h"
|
||||
#include "editor/editor_settings.h"
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
/*************************************************************************/
|
||||
#include "gd_script.h"
|
||||
#include "gd_compiler.h"
|
||||
#include "project_settings.h"
|
||||
#include "global_constants.h"
|
||||
#include "io/file_access_encrypted.h"
|
||||
#include "os/file_access.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
///////////////////////////
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
#ifndef STREAM_PEER_OPEN_SSL_H
|
||||
#define STREAM_PEER_OPEN_SSL_H
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "io/stream_peer_ssl.h"
|
||||
#include "os/file_access.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
#include "thirdparty/misc/curl_hostcheck.h"
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "video_stream_theora.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
#include "thirdparty/misc/yuv2rgb.h"
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "visual_script.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "visual_script_nodes.h"
|
||||
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
/*************************************************************************/
|
||||
#include "visual_script_flow_control.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "io/resource_loader.h"
|
||||
#include "os/keyboard.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
//////////////////////////////////////////
|
||||
////////////////RETURN////////////////////
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
/*************************************************************************/
|
||||
#include "visual_script_func_nodes.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "io/resource_loader.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "visual_script_nodes.h"
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
/*************************************************************************/
|
||||
#include "visual_script_nodes.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "global_constants.h"
|
||||
#include "os/input.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
|
||||
#include "mkvparser/mkvparser.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/file_access.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
#include "thirdparty/misc/yuv2rgb.h"
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "audio_driver_jandroid.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "thread_jandroid.h"
|
||||
|
||||
#ifndef ANDROID_NATIVE_ACTIVITY
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
#include <GLES2/gl2.h>
|
||||
|
||||
#include "file_access_android.h"
|
||||
#include "project_settings.h"
|
||||
#include "main/main.h"
|
||||
#include "os_android.h"
|
||||
#include "project_settings.h"
|
||||
#include <android/log.h>
|
||||
#include <android/sensor.h>
|
||||
#include <android/window.h>
|
||||
|
|
|
@ -36,11 +36,11 @@
|
|||
#include "dir_access_jandroid.h"
|
||||
#include "file_access_android.h"
|
||||
#include "file_access_jandroid.h"
|
||||
#include "project_settings.h"
|
||||
#include "java_class_wrapper.h"
|
||||
#include "main/input_default.h"
|
||||
#include "main/main.h"
|
||||
#include "os_android.h"
|
||||
#include "project_settings.h"
|
||||
#include "thread_jandroid.h"
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "audio_driver_dummy.h"
|
||||
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
Error AudioDriverDummy::init() {
|
||||
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "audio_server.h"
|
||||
#include "project_settings.h"
|
||||
#include "io/resource_loader.h"
|
||||
#include "os/file_access.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "servers/audio/effects/audio_effect_compressor.h"
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/*************************************************************************/
|
||||
#include "space_sw.h"
|
||||
#include "collision_solver_sw.h"
|
||||
#include "project_settings.h"
|
||||
#include "physics_server_sw.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
_FORCE_INLINE_ static bool _match_object_type_query(CollisionObjectSW *p_object, uint32_t p_collision_layer, uint32_t p_type_mask) {
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
#include "body_sw.h"
|
||||
#include "broad_phase_sw.h"
|
||||
#include "collision_object_sw.h"
|
||||
#include "project_settings.h"
|
||||
#include "hash_map.h"
|
||||
#include "project_settings.h"
|
||||
#include "typedefs.h"
|
||||
|
||||
class PhysicsDirectSpaceStateSW : public PhysicsDirectSpaceState {
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#include "broad_phase_2d_basic.h"
|
||||
#include "broad_phase_2d_hash_grid.h"
|
||||
#include "collision_solver_2d_sw.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "script_language.h"
|
||||
|
||||
RID Physics2DServerSW::shape_create(ShapeType p_shape) {
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#define PHYSICS2DSERVERWRAPMT_H
|
||||
|
||||
#include "command_queue_mt.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/thread.h"
|
||||
#include "project_settings.h"
|
||||
#include "servers/physics_2d_server.h"
|
||||
|
||||
#ifdef DEBUG_SYNC
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
#include "body_pair_2d_sw.h"
|
||||
#include "broad_phase_2d_sw.h"
|
||||
#include "collision_object_2d_sw.h"
|
||||
#include "project_settings.h"
|
||||
#include "hash_map.h"
|
||||
#include "project_settings.h"
|
||||
#include "typedefs.h"
|
||||
|
||||
class Physics2DDirectSpaceStateSW : public Physics2DDirectSpaceState {
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
/*************************************************************************/
|
||||
#include "visual_server_raster.h"
|
||||
#include "default_mouse_cursor.xpm"
|
||||
#include "project_settings.h"
|
||||
#include "io/marshalls.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
#include "sort.h"
|
||||
#include "visual_server_canvas.h"
|
||||
#include "visual_server_global.h"
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "geometry.h"
|
||||
#include "octree.h"
|
||||
#include "os/semaphore.h"
|
||||
#include "os/semaphore.h"
|
||||
#include "os/thread.h"
|
||||
#include "self_list.h"
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "visual_server_wrap_mt.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
void VisualServerWrapMT::thread_exit() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue