Apply header guard check

This commit is contained in:
Jérôme Leclercq
2021-10-26 15:52:46 +02:00
parent b85f6b68ac
commit 93ec196dc4
476 changed files with 1414 additions and 1327 deletions

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_COLLIDER3D_HPP
#define NAZARA_COLLIDER3D_HPP
#ifndef NAZARA_PHYSICS3D_COLLIDER3D_HPP
#define NAZARA_PHYSICS3D_COLLIDER3D_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/ObjectLibrary.hpp>
@@ -206,4 +206,4 @@ namespace Nz
#include <Nazara/Physics3D/Collider3D.inl>
#endif // NAZARA_COLLIDER3D_HPP
#endif // NAZARA_PHYSICS3D_COLLIDER3D_HPP

View File

@@ -1,9 +1,9 @@
// This file was automatically generated
// this file was automatically generated and should not be edited
/*
Nazara Engine - Physics 3D module
Nazara Engine - Physics3D module
Copyright (C) 2015 Jérôme "Lynix" Leclercq (Lynix680@gmail.com)
Copyright (C) 2021 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -26,9 +26,9 @@
#pragma once
#ifndef NAZARA_GLOBAL_PHYSICS3D_COMPONENTS_HPP
#define NAZARA_GLOBAL_PHYSICS3D_COMPONENTS_HPP
#ifndef NAZARA_PHYSICS3D_COMPONENTS_HPP
#define NAZARA_PHYSICS3D_COMPONENTS_HPP
#include <Nazara/Physics3D/Components/RigidBody3DComponent.hpp>
#endif // NAZARA_GLOBAL_PHYSICS3D_COMPONENTS_HPP
#endif // NAZARA_PHYSICS3D_COMPONENTS_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RIGIDBODYCOMPONENT_HPP
#define NAZARA_RIGIDBODYCOMPONENT_HPP
#ifndef NAZARA_PHYSICS3D_COMPONENTS_RIGIDBODY3DCOMPONENT_HPP
#define NAZARA_PHYSICS3D_COMPONENTS_RIGIDBODY3DCOMPONENT_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Physics3D/RigidBody3D.hpp>
@@ -27,4 +27,4 @@ namespace Nz
#include <Nazara/Physics3D/Components/RigidBody3DComponent.inl>
#endif
#endif // NAZARA_PHYSICS3D_COMPONENTS_RIGIDBODY3DCOMPONENT_HPP

View File

@@ -24,8 +24,8 @@
#pragma once
#ifndef NAZARA_CONFIG_PHYSICS3D_HPP
#define NAZARA_CONFIG_PHYSICS3D_HPP
#ifndef NAZARA_PHYSICS3D_CONFIG_HPP
#define NAZARA_PHYSICS3D_CONFIG_HPP
/// Chaque modification d'un paramètre du module nécessite une recompilation de celui-ci
@@ -48,4 +48,4 @@
#endif
#endif
#endif // NAZARA_CONFIG_PHYSICS3D_HPP
#endif // NAZARA_PHYSICS3D_CONFIG_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_CONFIG_CHECK_PHYSICS_HPP
#define NAZARA_CONFIG_CHECK_PHYSICS_HPP
#ifndef NAZARA_PHYSICS3D_CONFIGCHECK_HPP
#define NAZARA_PHYSICS3D_CONFIGCHECK_HPP
/// Ce fichier sert à vérifier la valeur des constantes du fichier Config.hpp
@@ -15,4 +15,4 @@
#define NAZARA_PHYSICS3D_MANAGE_MEMORY 0
#endif
#endif // NAZARA_CONFIG_CHECK_PHYSICS_HPP
#endif // NAZARA_PHYSICS3D_CONFIGCHECK_HPP

View File

@@ -2,6 +2,8 @@
// This file is part of the "Nazara Engine - Physics3D module"
// For conditions of distribution and use, see copyright notice in Config.hpp
// no header guards
#include <Nazara/Physics3D/Config.hpp>
#if NAZARA_PHYSICS3D_MANAGE_MEMORY
#include <Nazara/Core/Debug/NewRedefinition.hpp>

View File

@@ -2,6 +2,8 @@
// This file is part of the "Nazara Engine - Physics3D module"
// For conditions of distribution and use, see copyright notice in Config.hpp
// no header guards
// On suppose que Debug.hpp a déjà été inclus, tout comme Config.hpp
#if NAZARA_PHYSICS3D_MANAGE_MEMORY
#undef delete

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_ENUMS_PHYSICS3D_HPP
#define NAZARA_ENUMS_PHYSICS3D_HPP
#ifndef NAZARA_PHYSICS3D_ENUMS_HPP
#define NAZARA_PHYSICS3D_ENUMS_HPP
namespace Nz
{
@@ -27,4 +27,4 @@ namespace Nz
};
}
#endif // NAZARA_ENUMS_PHYSICS3D_HPP
#endif // NAZARA_PHYSICS3D_ENUMS_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_PHYSWORLD_HPP
#define NAZARA_PHYSWORLD_HPP
#ifndef NAZARA_PHYSICS3D_PHYSWORLD3D_HPP
#define NAZARA_PHYSICS3D_PHYSWORLD3D_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/MovablePtr.hpp>
@@ -84,4 +84,4 @@ namespace Nz
};
}
#endif // NAZARA_PHYSWORLD_HPP
#endif // NAZARA_PHYSICS3D_PHYSWORLD3D_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RIGIDBODY3D_HPP
#define NAZARA_RIGIDBODY3D_HPP
#ifndef NAZARA_PHYSICS3D_RIGIDBODY3D_HPP
#define NAZARA_PHYSICS3D_RIGIDBODY3D_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/Enums.hpp>
@@ -92,4 +92,4 @@ namespace Nz
};
}
#endif // NAZARA_RIGIDBODY3D_HPP
#endif // NAZARA_PHYSICS3D_RIGIDBODY3D_HPP

View File

@@ -1,9 +1,9 @@
// This file was automatically generated
// this file was automatically generated and should not be edited
/*
Nazara Engine - Physics 3D module
Nazara Engine - Physics3D module
Copyright (C) 2015 Jérôme "Lynix" Leclercq (Lynix680@gmail.com)
Copyright (C) 2021 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -26,9 +26,9 @@
#pragma once
#ifndef NAZARA_GLOBAL_PHYSICS3D_SYSTEMS_HPP
#define NAZARA_GLOBAL_PHYSICS3D_SYSTEMS_HPP
#ifndef NAZARA_PHYSICS3D_SYSTEMS_HPP
#define NAZARA_PHYSICS3D_SYSTEMS_HPP
#include <Nazara/Physics3D/Systems/Physics3DSystem.hpp>
#endif // NAZARA_GLOBAL_PHYSICS3D_SYSTEMS_HPP
#endif // NAZARA_PHYSICS3D_SYSTEMS_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_PHYSICS3DSYSTEM_HPP
#define NAZARA_PHYSICS3DSYSTEM_HPP
#ifndef NAZARA_PHYSICS3D_SYSTEMS_PHYSICS3DSYSTEM_HPP
#define NAZARA_PHYSICS3D_SYSTEMS_PHYSICS3DSYSTEM_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/ECS.hpp>
@@ -42,4 +42,4 @@ namespace Nz
#include <Nazara/Physics3D/Systems/Physics3DSystem.inl>
#endif
#endif // NAZARA_PHYSICS3D_SYSTEMS_PHYSICS3DSYSTEM_HPP