Style: Cleanup header guards for consistency

Fix file names for {Static,Lightmap}RaycasterEmbree.
This commit is contained in:
Rémi Verschelde
2022-09-26 13:03:44 +02:00
parent 3472bdd6b6
commit 49fcf4ffad
30 changed files with 106 additions and 70 deletions

View File

@@ -28,7 +28,12 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef GLTF_REGISTER_TYPES_H
#define GLTF_REGISTER_TYPES_H
#include "modules/register_module_types.h"
void initialize_gltf_module(ModuleInitializationLevel p_level);
void uninitialize_gltf_module(ModuleInitializationLevel p_level);
#endif // GLTF_REGISTER_TYPES_H

View File

@@ -28,13 +28,13 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "core/string/ustring.h"
#ifndef MONO_MACOS_UTILS_H
#define MONO_MACOS_UTILS_H
#ifdef MACOS_ENABLED
#include "core/string/ustring.h"
bool macos_is_app_bundle_installed(const String &p_bundle_id);
#endif

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* lightmap_raycaster.cpp */
/* lightmap_raycaster_embree.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -30,7 +30,7 @@
#ifdef TOOLS_ENABLED
#include "lightmap_raycaster.h"
#include "lightmap_raycaster_embree.h"
#ifdef __SSE2__
#include <pmmintrin.h>
@@ -193,4 +193,4 @@ LightmapRaycasterEmbree::~LightmapRaycasterEmbree() {
}
}
#endif
#endif // TOOLS_ENABLED

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* lightmap_raycaster.h */
/* lightmap_raycaster_embree.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -28,6 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef LIGHTMAP_RAYCASTER_EMBREE_H
#define LIGHTMAP_RAYCASTER_EMBREE_H
#ifdef TOOLS_ENABLED
#include "core/io/image.h"
@@ -74,4 +77,6 @@ public:
~LightmapRaycasterEmbree();
};
#endif // LIGHTMAP_RAYCASTER_H
#endif // TOOLS_ENABLED
#endif // LIGHTMAP_RAYCASTER_EMBREE_H

View File

@@ -30,9 +30,9 @@
#include "register_types.h"
#include "lightmap_raycaster.h"
#include "lightmap_raycaster_embree.h"
#include "raycast_occlusion_cull.h"
#include "static_raycaster.h"
#include "static_raycaster_embree.h"
RaycastOcclusionCull *raycast_occlusion_cull = nullptr;

View File

@@ -28,7 +28,12 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef RAYCAST_REGISTER_TYPES_H
#define RAYCAST_REGISTER_TYPES_H
#include "modules/register_module_types.h"
void initialize_raycast_module(ModuleInitializationLevel p_level);
void uninitialize_raycast_module(ModuleInitializationLevel p_level);
#endif // RAYCAST_REGISTER_TYPES_H

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* static_raycaster.cpp */
/* static_raycaster_embree.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -30,7 +30,7 @@
#ifdef TOOLS_ENABLED
#include "static_raycaster.h"
#include "static_raycaster_embree.h"
#ifdef __SSE2__
#include <pmmintrin.h>
@@ -134,4 +134,4 @@ StaticRaycasterEmbree::~StaticRaycasterEmbree() {
}
}
#endif
#endif // TOOLS_ENABLED

View File

@@ -1,5 +1,5 @@
/*************************************************************************/
/* static_raycaster.h */
/* static_raycaster_embree.h */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
@@ -28,6 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef STATIC_RAYCASTER_EMBREE_H
#define STATIC_RAYCASTER_EMBREE_H
#ifdef TOOLS_ENABLED
#include "core/math/static_raycaster.h"
@@ -61,4 +64,6 @@ public:
~StaticRaycasterEmbree();
};
#endif // STATIC_RAYCASTER_H
#endif // TOOLS_ENABLED
#endif // STATIC_RAYCASTER_EMBREE_H