Apply header guard check
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_ARBITER2D_HPP
|
||||
#define NAZARA_ARBITER2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_ARBITER2D_HPP
|
||||
#define NAZARA_PHYSICS2D_ARBITER2D_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/MovablePtr.hpp>
|
||||
@@ -58,4 +58,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Physics2D/Arbiter2D.inl>
|
||||
|
||||
#endif // NAZARA_ARBITER2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_ARBITER2D_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_COLLIDER2D_HPP
|
||||
#define NAZARA_COLLIDER2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_COLLIDER2D_HPP
|
||||
#define NAZARA_PHYSICS2D_COLLIDER2D_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/ObjectLibrary.hpp>
|
||||
@@ -208,4 +208,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Physics2D/Collider2D.inl>
|
||||
|
||||
#endif // NAZARA_COLLIDER2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_COLLIDER2D_HPP
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_PHYSICS2D_HPP
|
||||
#define NAZARA_CONFIG_PHYSICS2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_CONFIG_HPP
|
||||
#define NAZARA_PHYSICS2D_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_PHYSICS2D_CONFIG_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_CHECK_PHYSICS_HPP
|
||||
#define NAZARA_CONFIG_CHECK_PHYSICS_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_CONFIGCHECK_HPP
|
||||
#define NAZARA_PHYSICS2D_CONFIGCHECK_HPP
|
||||
|
||||
/// Ce fichier sert à vérifier la valeur des constantes du fichier Config.hpp
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
#define NAZARA_PHYSICS2D_MANAGE_MEMORY 0
|
||||
#endif
|
||||
|
||||
#endif // NAZARA_CONFIG_CHECK_PHYSICS_HPP
|
||||
#endif // NAZARA_PHYSICS2D_CONFIGCHECK_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONSTRAINT2D_HPP
|
||||
#define NAZARA_CONSTRAINT2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_CONSTRAINT2D_HPP
|
||||
#define NAZARA_PHYSICS2D_CONSTRAINT2D_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/HandledObject.hpp>
|
||||
@@ -229,4 +229,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Physics2D/Constraint2D.inl>
|
||||
|
||||
#endif // NAZARA_CONSTRAINT2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_CONSTRAINT2D_HPP
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Physics2D module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// no header guards
|
||||
|
||||
#include <Nazara/Physics2D/Config.hpp>
|
||||
#if NAZARA_PHYSICS2D_MANAGE_MEMORY
|
||||
#include <Nazara/Core/Debug/NewRedefinition.hpp>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Physics2D 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_PHYSICS2D_MANAGE_MEMORY
|
||||
#undef delete
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_ENUMS_PHYSICS2D_HPP
|
||||
#define NAZARA_ENUMS_PHYSICS2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_ENUMS_HPP
|
||||
#define NAZARA_PHYSICS2D_ENUMS_HPP
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
@@ -22,4 +22,4 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_ENUMS_PHYSICS2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_ENUMS_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_PHYSWORLD2D_HPP
|
||||
#define NAZARA_PHYSWORLD2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_PHYSWORLD2D_HPP
|
||||
#define NAZARA_PHYSICS2D_PHYSWORLD2D_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Color.hpp>
|
||||
@@ -161,4 +161,4 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_PHYSWORLD2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_PHYSWORLD2D_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_RIGIDBODY2D_HPP
|
||||
#define NAZARA_RIGIDBODY2D_HPP
|
||||
#ifndef NAZARA_PHYSICS2D_RIGIDBODY2D_HPP
|
||||
#define NAZARA_PHYSICS2D_RIGIDBODY2D_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Enums.hpp>
|
||||
@@ -136,4 +136,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Physics2D/RigidBody2D.inl>
|
||||
|
||||
#endif // NAZARA_RIGIDBODY2D_HPP
|
||||
#endif // NAZARA_PHYSICS2D_RIGIDBODY2D_HPP
|
||||
|
||||
Reference in New Issue
Block a user