Move include guards to the top of the files.

This commit is contained in:
Relintai 2022-08-07 20:56:19 +02:00
parent 7c4416503e
commit 81dc812e6f
21 changed files with 63 additions and 63 deletions

View File

@ -1,3 +1,6 @@
#ifndef EDITOR_SCENE_EXPORTER_GLTF_PLUGIN_H
#define EDITOR_SCENE_EXPORTER_GLTF_PLUGIN_H
/*************************************************************************/
/* editor_scene_exporter_gltf_plugin.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef EDITOR_SCENE_EXPORTER_GLTF_PLUGIN_H
#define EDITOR_SCENE_EXPORTER_GLTF_PLUGIN_H
#ifdef TOOLS_ENABLED
#include "editor/editor_plugin.h"

View File

@ -1,3 +1,6 @@
#ifndef EDITOR_SCENE_IMPORTER_BLEND_H
#define EDITOR_SCENE_IMPORTER_BLEND_H
/*************************************************************************/
/* editor_scene_importer_blend.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef EDITOR_SCENE_IMPORTER_BLEND_H
#define EDITOR_SCENE_IMPORTER_BLEND_H
#ifdef TOOLS_ENABLED
#include "editor/editor_file_system.h"

View File

@ -1,3 +1,6 @@
#ifndef EDITOR_SCENE_IMPORTER_FBX_H
#define EDITOR_SCENE_IMPORTER_FBX_H
/*************************************************************************/
/* editor_scene_importer_fbx.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef EDITOR_SCENE_IMPORTER_FBX_H
#define EDITOR_SCENE_IMPORTER_FBX_H
#ifdef TOOLS_ENABLED
#include "editor/import/resource_importer_scene.h"

View File

@ -1,3 +1,6 @@
#ifndef EDITOR_SCENE_IMPORTER_GLTF_H
#define EDITOR_SCENE_IMPORTER_GLTF_H
/*************************************************************************/
/* editor_scene_importer_gltf.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef EDITOR_SCENE_IMPORTER_GLTF_H
#define EDITOR_SCENE_IMPORTER_GLTF_H
#ifdef TOOLS_ENABLED
#include "../gltf_document_extension.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_LIGHT_H
#define GLTF_LIGHT_H
/*************************************************************************/
/* gltf_light.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_LIGHT_H
#define GLTF_LIGHT_H
#include "core/config/engine.h"
#include "core/io/resource.h"
#include "scene/3d/light_3d.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_SPEC_GLOSS_H
#define GLTF_SPEC_GLOSS_H
/*************************************************************************/
/* gltf_spec_gloss.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_SPEC_GLOSS_H
#define GLTF_SPEC_GLOSS_H
#include "core/io/image.h"
#include "core/io/resource.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_DEFINES_H
#define GLTF_DEFINES_H
/*************************************************************************/
/* gltf_defines.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_DEFINES_H
#define GLTF_DEFINES_H
// This file should only be included by other headers.
// Godot classes used by GLTF headers.

View File

@ -1,3 +1,6 @@
#ifndef GLTF_DOCUMENT_H
#define GLTF_DOCUMENT_H
/*************************************************************************/
/* gltf_document.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_DOCUMENT_H
#define GLTF_DOCUMENT_H
#include "gltf_defines.h"
#include "structures/gltf_animation.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_DOCUMENT_EXTENSION_H
#define GLTF_DOCUMENT_EXTENSION_H
/*************************************************************************/
/* gltf_document_extension.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_DOCUMENT_EXTENSION_H
#define GLTF_DOCUMENT_EXTENSION_H
#include "gltf_state.h"
#include "structures/gltf_node.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H
#define GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H
/*************************************************************************/
/* gltf_document_extension_convert_importer_mesh.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H
#define GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H
#include "gltf_document_extension.h"
#include "scene/3d/importer_mesh_instance_3d.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_STATE_H
#define GLTF_STATE_H
/*************************************************************************/
/* gltf_state.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_STATE_H
#define GLTF_STATE_H
#include "extensions/gltf_light.h"
#include "gltf_template_convert.h"
#include "structures/gltf_accessor.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_TEMPLATE_CONVERT_H
#define GLTF_TEMPLATE_CONVERT_H
/*************************************************************************/
/* gltf_template_convert.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_TEMPLATE_CONVERT_H
#define GLTF_TEMPLATE_CONVERT_H
#include "core/templates/hash_set.h"
#include "core/variant/array.h"
#include "core/variant/dictionary.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_ACCESSOR_H
#define GLTF_ACCESSOR_H
/*************************************************************************/
/* gltf_accessor.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_ACCESSOR_H
#define GLTF_ACCESSOR_H
#include "core/io/resource.h"
#include "../gltf_defines.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_ANIMATION_H
#define GLTF_ANIMATION_H
/*************************************************************************/
/* gltf_animation.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_ANIMATION_H
#define GLTF_ANIMATION_H
#include "core/io/resource.h"
class GLTFAnimation : public Resource {

View File

@ -1,3 +1,6 @@
#ifndef GLTF_BUFFER_VIEW_H
#define GLTF_BUFFER_VIEW_H
/*************************************************************************/
/* gltf_buffer_view.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_BUFFER_VIEW_H
#define GLTF_BUFFER_VIEW_H
#include "../gltf_defines.h"
#include "core/io/resource.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_CAMERA_H
#define GLTF_CAMERA_H
/*************************************************************************/
/* gltf_camera.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_CAMERA_H
#define GLTF_CAMERA_H
#include "core/io/resource.h"
class GLTFCamera : public Resource {

View File

@ -1,3 +1,6 @@
#ifndef GLTF_MESH_H
#define GLTF_MESH_H
/*************************************************************************/
/* gltf_mesh.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_MESH_H
#define GLTF_MESH_H
#include "core/io/resource.h"
#include "scene/3d/importer_mesh_instance_3d.h"
#include "scene/resources/importer_mesh.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_NODE_H
#define GLTF_NODE_H
/*************************************************************************/
/* gltf_node.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_NODE_H
#define GLTF_NODE_H
#include "../gltf_defines.h"
#include "core/io/resource.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_SKELETON_H
#define GLTF_SKELETON_H
/*************************************************************************/
/* gltf_skeleton.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_SKELETON_H
#define GLTF_SKELETON_H
#include "../gltf_defines.h"
#include "core/io/resource.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_SKIN_H
#define GLTF_SKIN_H
/*************************************************************************/
/* gltf_skin.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_SKIN_H
#define GLTF_SKIN_H
#include "../gltf_defines.h"
#include "core/io/resource.h"

View File

@ -1,3 +1,6 @@
#ifndef GLTF_TEXTURE_H
#define GLTF_TEXTURE_H
/*************************************************************************/
/* gltf_texture.h */
/*************************************************************************/
@ -28,9 +31,6 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_TEXTURE_H
#define GLTF_TEXTURE_H
#include "../gltf_defines.h"
#include "core/io/resource.h"