From 5130a2ff84682e8d2a563f8b35c4c0f18b12c9fe Mon Sep 17 00:00:00 2001 From: SirLynix Date: Mon, 19 Feb 2024 13:56:31 +0100 Subject: [PATCH] Remove Config.hpp options and refactor headers - Rename Config.hpp to Export.hpp - Remove Debug.hpp and DebugOff.hpp (not used anymore) --- include/Nazara/Audio.hpp | 2 +- include/Nazara/Audio/Algorithm.hpp | 2 +- include/Nazara/Audio/Algorithm.inl | 4 +- include/Nazara/Audio/Audio.hpp | 4 +- include/Nazara/Audio/AudioBuffer.hpp | 4 +- include/Nazara/Audio/AudioBuffer.inl | 4 +- include/Nazara/Audio/AudioDevice.hpp | 4 +- include/Nazara/Audio/AudioDevice.inl | 4 +- include/Nazara/Audio/AudioSource.hpp | 4 +- include/Nazara/Audio/AudioSource.inl | 4 +- include/Nazara/Audio/ConfigCheck.hpp | 19 - include/Nazara/Audio/Debug.hpp | 5 - include/Nazara/Audio/DebugOff.hpp | 5 - include/Nazara/Audio/DummyAudioBuffer.hpp | 4 +- include/Nazara/Audio/DummyAudioBuffer.inl | 4 +- include/Nazara/Audio/DummyAudioDevice.hpp | 4 +- include/Nazara/Audio/DummyAudioDevice.inl | 4 +- include/Nazara/Audio/DummyAudioSource.hpp | 4 +- include/Nazara/Audio/DummyAudioSource.inl | 4 +- include/Nazara/Audio/Enums.hpp | 2 +- .../Nazara/Audio/{Config.hpp => Export.hpp} | 14 +- include/Nazara/Audio/Music.hpp | 2 +- include/Nazara/Audio/OpenAL.hpp | 2 +- include/Nazara/Audio/OpenALBuffer.hpp | 4 +- include/Nazara/Audio/OpenALBuffer.inl | 4 +- include/Nazara/Audio/OpenALDevice.hpp | 4 +- include/Nazara/Audio/OpenALDevice.inl | 4 +- include/Nazara/Audio/OpenALFunctions.hpp | 2 +- include/Nazara/Audio/OpenALLibrary.hpp | 4 +- include/Nazara/Audio/OpenALLibrary.inl | 4 +- include/Nazara/Audio/OpenALSource.hpp | 4 +- include/Nazara/Audio/OpenALSource.inl | 4 +- include/Nazara/Audio/OpenALUtils.hpp | 4 +- include/Nazara/Audio/Sound.hpp | 2 +- include/Nazara/Audio/SoundBuffer.hpp | 4 +- include/Nazara/Audio/SoundBuffer.inl | 12 +- include/Nazara/Audio/SoundEmitter.hpp | 4 +- include/Nazara/Audio/SoundEmitter.inl | 4 +- include/Nazara/Audio/SoundStream.hpp | 4 +- include/Nazara/Core.hpp | 2 +- include/Nazara/Core/AbstractAtlas.hpp | 4 +- include/Nazara/Core/AbstractHash.hpp | 4 +- include/Nazara/Core/AbstractImage.hpp | 4 +- include/Nazara/Core/AbstractImage.inl | 4 +- include/Nazara/Core/AbstractLogger.hpp | 4 +- include/Nazara/Core/Algorithm.hpp | 2 +- include/Nazara/Core/Algorithm.inl | 4 +- include/Nazara/Core/Animation.hpp | 4 +- include/Nazara/Core/Animation.inl | 4 +- include/Nazara/Core/Application.hpp | 2 +- include/Nazara/Core/Application.inl | 4 +- include/Nazara/Core/ApplicationBase.hpp | 2 +- include/Nazara/Core/ApplicationBase.inl | 4 +- include/Nazara/Core/ApplicationComponent.hpp | 4 +- include/Nazara/Core/ApplicationComponent.inl | 4 +- .../Core/ApplicationComponentRegistry.hpp | 4 +- .../Core/ApplicationComponentRegistry.inl | 4 +- include/Nazara/Core/ApplicationUpdater.hpp | 4 +- include/Nazara/Core/ApplicationUpdater.inl | 4 +- include/Nazara/Core/Buffer.hpp | 4 +- include/Nazara/Core/Buffer.inl | 4 +- include/Nazara/Core/BufferMapper.hpp | 2 +- include/Nazara/Core/BufferMapper.inl | 6 +- include/Nazara/Core/ByteArray.hpp | 2 +- include/Nazara/Core/ByteArray.inl | 4 +- include/Nazara/Core/ByteArrayPool.hpp | 2 +- include/Nazara/Core/ByteArrayPool.inl | 4 +- include/Nazara/Core/ByteStream.hpp | 4 +- include/Nazara/Core/ByteStream.inl | 4 +- include/Nazara/Core/Clock.hpp | 4 +- include/Nazara/Core/Clock.inl | 4 +- include/Nazara/Core/Color.hpp | 2 +- include/Nazara/Core/Color.inl | 4 +- include/Nazara/Core/CommandLineParameters.hpp | 2 +- include/Nazara/Core/CommandLineParameters.inl | 4 +- .../Core/Components/DisabledComponent.hpp | 4 +- .../Core/Components/LifetimeComponent.hpp | 4 +- .../Core/Components/LifetimeComponent.inl | 4 +- .../Nazara/Core/Components/NodeComponent.hpp | 2 +- .../Nazara/Core/Components/NodeComponent.inl | 4 +- .../Components/SharedSkeletonComponent.hpp | 2 +- .../Components/SharedSkeletonComponent.inl | 4 +- .../Core/Components/SkeletonComponent.hpp | 2 +- .../Core/Components/SkeletonComponent.inl | 4 +- .../Core/Components/SkeletonComponentBase.hpp | 2 +- .../Core/Components/SkeletonComponentBase.inl | 4 +- .../Core/Components/VelocityComponent.hpp | 4 +- .../Core/Components/VelocityComponent.inl | 4 +- include/Nazara/Core/Config.hpp | 74 --- include/Nazara/Core/ConfigCheck.hpp | 20 - include/Nazara/Core/Core.hpp | 4 +- include/Nazara/Core/Core.inl | 4 +- include/Nazara/Core/CubemapParams.hpp | 2 +- include/Nazara/Core/Debug.hpp | 5 - include/Nazara/Core/DebugOff.hpp | 5 - include/Nazara/Core/DynLib.hpp | 4 +- include/Nazara/Core/EmptyStream.hpp | 2 +- include/Nazara/Core/EmptyStream.inl | 4 +- .../Nazara/Core/EntitySystemAppComponent.hpp | 4 +- .../Nazara/Core/EntitySystemAppComponent.inl | 4 +- include/Nazara/Core/EntityWorld.hpp | 4 +- include/Nazara/Core/EntityWorld.inl | 4 +- include/Nazara/Core/EnttSystemGraph.hpp | 4 +- include/Nazara/Core/EnttSystemGraph.inl | 4 +- include/Nazara/Core/EnttWorld.hpp | 2 +- include/Nazara/Core/EnttWorld.inl | 4 +- include/Nazara/Core/Enums.hpp | 2 +- include/Nazara/Core/EnvironmentVariables.hpp | 4 +- include/Nazara/Core/EnvironmentVariables.inl | 4 +- include/Nazara/Core/Error.hpp | 6 +- include/Nazara/Core/Error.inl | 2 +- include/Nazara/Core/ErrorFlags.hpp | 2 +- include/Nazara/Core/ErrorFlags.inl | 4 +- include/Nazara/Core/Export.hpp | 45 ++ include/Nazara/Core/File.hpp | 2 +- include/Nazara/Core/File.inl | 4 +- include/Nazara/Core/FileLogger.hpp | 2 +- .../Nazara/Core/FilesystemAppComponent.hpp | 4 +- .../Nazara/Core/FilesystemAppComponent.inl | 4 +- include/Nazara/Core/Format.hpp | 4 +- include/Nazara/Core/Format.inl | 4 +- include/Nazara/Core/Formats/MD5AnimParser.hpp | 4 +- include/Nazara/Core/Formats/MD5MeshParser.hpp | 4 +- include/Nazara/Core/Formats/MTLParser.hpp | 4 +- include/Nazara/Core/Formats/MTLParser.inl | 4 +- include/Nazara/Core/Formats/OBJParser.hpp | 4 +- include/Nazara/Core/Formats/OBJParser.inl | 4 +- include/Nazara/Core/Functor.hpp | 2 +- include/Nazara/Core/Functor.inl | 4 +- include/Nazara/Core/GuillotineBinPack.hpp | 2 +- include/Nazara/Core/GuillotineImageAtlas.hpp | 2 +- include/Nazara/Core/HandledObject.hpp | 4 +- include/Nazara/Core/HandledObject.inl | 4 +- include/Nazara/Core/HardwareInfo.hpp | 4 +- include/Nazara/Core/HardwareInfo.inl | 4 +- include/Nazara/Core/Hash/CRC32.hpp | 2 +- include/Nazara/Core/Hash/CRC64.hpp | 2 +- include/Nazara/Core/Hash/Fletcher16.hpp | 2 +- include/Nazara/Core/Hash/MD5.hpp | 2 +- include/Nazara/Core/Hash/SHA1.hpp | 2 +- include/Nazara/Core/Hash/SHA224.hpp | 2 +- include/Nazara/Core/Hash/SHA256.hpp | 2 +- include/Nazara/Core/Hash/SHA384.hpp | 2 +- include/Nazara/Core/Hash/SHA512.hpp | 2 +- include/Nazara/Core/Hash/Whirlpool.hpp | 2 +- include/Nazara/Core/Image.hpp | 2 +- include/Nazara/Core/Image.inl | 4 +- include/Nazara/Core/ImageStream.hpp | 4 +- include/Nazara/Core/ImageStream.inl | 4 +- include/Nazara/Core/IndexBuffer.hpp | 2 +- include/Nazara/Core/IndexBuffer.inl | 4 +- include/Nazara/Core/IndexIterator.hpp | 2 +- include/Nazara/Core/IndexIterator.inl | 4 +- include/Nazara/Core/IndexMapper.hpp | 2 +- include/Nazara/Core/Initializer.hpp | 2 +- include/Nazara/Core/Initializer.inl | 4 +- include/Nazara/Core/Joint.hpp | 2 +- include/Nazara/Core/Joint.inl | 4 +- include/Nazara/Core/Log.hpp | 4 +- include/Nazara/Core/Log.inl | 4 +- include/Nazara/Core/MaterialData.hpp | 2 +- include/Nazara/Core/MemoryStream.hpp | 2 +- include/Nazara/Core/MemoryStream.inl | 4 +- include/Nazara/Core/MemoryView.hpp | 2 +- include/Nazara/Core/Mesh.hpp | 4 +- include/Nazara/Core/Mesh.inl | 4 +- include/Nazara/Core/MeshData.hpp | 2 +- include/Nazara/Core/ModuleBase.hpp | 2 +- include/Nazara/Core/ModuleBase.inl | 4 +- include/Nazara/Core/Modules.hpp | 2 +- include/Nazara/Core/Modules.inl | 4 +- include/Nazara/Core/Node.hpp | 4 +- include/Nazara/Core/Node.inl | 14 +- include/Nazara/Core/ObjectHandle.hpp | 2 +- include/Nazara/Core/ObjectHandle.inl | 4 +- include/Nazara/Core/ObjectLibrary.hpp | 2 +- include/Nazara/Core/ObjectLibrary.inl | 4 +- include/Nazara/Core/ObjectRef.hpp | 2 +- include/Nazara/Core/ObjectRef.inl | 4 +- include/Nazara/Core/OwnedMemoryStream.hpp | 2 +- include/Nazara/Core/OwnedMemoryStream.inl | 4 +- include/Nazara/Core/ParameterFile.hpp | 4 +- include/Nazara/Core/ParameterFile.inl | 4 +- include/Nazara/Core/ParameterList.hpp | 2 +- include/Nazara/Core/ParameterList.inl | 4 +- include/Nazara/Core/PixelFormat.hpp | 4 +- include/Nazara/Core/PixelFormat.inl | 19 +- include/Nazara/Core/Plugin.hpp | 4 +- include/Nazara/Core/Plugin.inl | 4 +- include/Nazara/Core/PluginInterface.hpp | 4 +- include/Nazara/Core/PluginInterface.inl | 4 +- include/Nazara/Core/PluginLoader.hpp | 4 +- include/Nazara/Core/PluginLoader.inl | 4 +- include/Nazara/Core/Plugins/AssimpPlugin.hpp | 4 +- include/Nazara/Core/Plugins/AssimpPlugin.inl | 4 +- include/Nazara/Core/Plugins/FFmpegPlugin.hpp | 4 +- include/Nazara/Core/Plugins/FFmpegPlugin.inl | 4 +- include/Nazara/Core/PoolByteStream.hpp | 4 +- include/Nazara/Core/PoolByteStream.inl | 4 +- include/Nazara/Core/Primitive.hpp | 2 +- include/Nazara/Core/Primitive.inl | 4 +- include/Nazara/Core/PrimitiveList.hpp | 2 +- include/Nazara/Core/PrimitiveList.inl | 6 +- include/Nazara/Core/Process.hpp | 4 +- include/Nazara/Core/Process.inl | 4 +- include/Nazara/Core/RefCounted.hpp | 4 +- include/Nazara/Core/Resource.hpp | 4 +- include/Nazara/Core/ResourceLoader.hpp | 2 +- include/Nazara/Core/ResourceLoader.inl | 6 +- include/Nazara/Core/ResourceManager.hpp | 2 +- include/Nazara/Core/ResourceManager.inl | 4 +- include/Nazara/Core/ResourceParameters.hpp | 2 +- include/Nazara/Core/ResourceSaver.hpp | 2 +- include/Nazara/Core/ResourceSaver.inl | 6 +- include/Nazara/Core/Sequence.hpp | 2 +- include/Nazara/Core/Serialization.hpp | 4 +- include/Nazara/Core/Serialization.inl | 4 +- .../Nazara/Core/SignalHandlerAppComponent.hpp | 2 +- .../Nazara/Core/SignalHandlerAppComponent.inl | 4 +- include/Nazara/Core/SkeletalMesh.hpp | 2 +- include/Nazara/Core/SkeletalMesh.inl | 4 +- include/Nazara/Core/Skeleton.hpp | 4 +- include/Nazara/Core/Skeleton.inl | 4 +- include/Nazara/Core/SoftwareBuffer.hpp | 2 +- include/Nazara/Core/State.hpp | 4 +- include/Nazara/Core/StateMachine.hpp | 2 +- include/Nazara/Core/StateMachine.inl | 4 +- include/Nazara/Core/StaticMesh.hpp | 2 +- include/Nazara/Core/StaticMesh.inl | 4 +- include/Nazara/Core/StdLogger.hpp | 2 +- include/Nazara/Core/Stream.hpp | 4 +- include/Nazara/Core/Stream.inl | 4 +- include/Nazara/Core/StringExt.hpp | 2 +- include/Nazara/Core/StringExt.inl | 6 +- include/Nazara/Core/SubMesh.hpp | 2 +- .../Nazara/Core/Systems/LifetimeSystem.hpp | 4 +- .../Nazara/Core/Systems/LifetimeSystem.inl | 4 +- .../Nazara/Core/Systems/SkeletonSystem.hpp | 4 +- .../Nazara/Core/Systems/SkeletonSystem.inl | 4 +- .../Nazara/Core/Systems/VelocitySystem.hpp | 4 +- .../Nazara/Core/Systems/VelocitySystem.inl | 4 +- include/Nazara/Core/TaskScheduler.hpp | 4 +- include/Nazara/Core/TaskScheduler.inl | 4 +- include/Nazara/Core/ThreadExt.hpp | 4 +- include/Nazara/Core/ThreadExt.inl | 4 +- include/Nazara/Core/Time.hpp | 4 +- include/Nazara/Core/Time.inl | 4 +- include/Nazara/Core/TriangleIterator.hpp | 2 +- include/Nazara/Core/Unicode.hpp | 4 +- include/Nazara/Core/UniformBuffer.hpp | 2 +- include/Nazara/Core/UniformBuffer.inl | 4 +- include/Nazara/Core/Updatable.hpp | 4 +- include/Nazara/Core/Uuid.hpp | 4 +- include/Nazara/Core/Uuid.inl | 4 +- include/Nazara/Core/VertexBuffer.hpp | 2 +- include/Nazara/Core/VertexBuffer.inl | 4 +- include/Nazara/Core/VertexDeclaration.hpp | 4 +- include/Nazara/Core/VertexDeclaration.inl | 4 +- include/Nazara/Core/VertexMapper.hpp | 2 +- include/Nazara/Core/VertexMapper.inl | 4 +- include/Nazara/Core/VertexStruct.hpp | 2 +- include/Nazara/Core/VirtualDirectory.hpp | 2 +- include/Nazara/Core/VirtualDirectory.inl | 4 +- .../VirtualDirectoryFilesystemResolver.hpp | 4 +- .../VirtualDirectoryFilesystemResolver.inl | 4 +- include/Nazara/Graphics.hpp | 2 +- include/Nazara/Graphics/AbstractViewer.hpp | 4 +- include/Nazara/Graphics/AbstractViewer.inl | 4 +- include/Nazara/Graphics/Algorithm.hpp | 2 +- include/Nazara/Graphics/Algorithm.inl | 4 +- include/Nazara/Graphics/BakedFrameGraph.hpp | 4 +- include/Nazara/Graphics/BakedFrameGraph.inl | 4 +- include/Nazara/Graphics/Billboard.hpp | 4 +- include/Nazara/Graphics/Billboard.inl | 4 +- include/Nazara/Graphics/Camera.hpp | 2 +- include/Nazara/Graphics/Camera.inl | 4 +- .../Graphics/Components/CameraComponent.hpp | 2 +- .../Graphics/Components/CameraComponent.inl | 4 +- .../Graphics/Components/GraphicsComponent.hpp | 2 +- .../Graphics/Components/GraphicsComponent.inl | 4 +- .../Graphics/Components/LightComponent.hpp | 2 +- .../Graphics/Components/LightComponent.inl | 4 +- include/Nazara/Graphics/ConfigCheck.hpp | 17 - include/Nazara/Graphics/Debug.hpp | 5 - .../Nazara/Graphics/DebugDrawPipelinePass.hpp | 4 +- .../Nazara/Graphics/DebugDrawPipelinePass.inl | 4 +- include/Nazara/Graphics/DebugOff.hpp | 5 - include/Nazara/Graphics/DepthPipelinePass.hpp | 4 +- include/Nazara/Graphics/DepthPipelinePass.inl | 4 +- include/Nazara/Graphics/DirectionalLight.hpp | 4 +- include/Nazara/Graphics/DirectionalLight.inl | 4 +- .../Graphics/DirectionalLightShadowData.hpp | 4 +- .../Graphics/DirectionalLightShadowData.inl | 4 +- include/Nazara/Graphics/ElementRenderer.hpp | 4 +- include/Nazara/Graphics/ElementRenderer.inl | 4 +- .../Graphics/ElementRendererRegistry.hpp | 4 +- .../Graphics/ElementRendererRegistry.inl | 4 +- include/Nazara/Graphics/Enums.hpp | 2 +- .../Graphics/{Config.hpp => Export.hpp} | 14 +- .../Nazara/Graphics/ForwardFramePipeline.hpp | 4 +- .../Nazara/Graphics/ForwardFramePipeline.inl | 4 +- .../Nazara/Graphics/ForwardPipelinePass.hpp | 4 +- .../Nazara/Graphics/ForwardPipelinePass.inl | 4 +- include/Nazara/Graphics/FrameGraph.hpp | 4 +- include/Nazara/Graphics/FrameGraph.inl | 4 +- include/Nazara/Graphics/FrameGraphStructs.hpp | 2 +- include/Nazara/Graphics/FramePass.hpp | 4 +- include/Nazara/Graphics/FramePass.inl | 4 +- .../Nazara/Graphics/FramePassAttachment.hpp | 4 +- .../Nazara/Graphics/FramePassAttachment.inl | 4 +- include/Nazara/Graphics/FramePipeline.hpp | 4 +- include/Nazara/Graphics/FramePipeline.inl | 4 +- include/Nazara/Graphics/FramePipelinePass.hpp | 4 +- include/Nazara/Graphics/FramePipelinePass.inl | 4 +- .../Graphics/FramePipelinePassRegistry.hpp | 2 +- .../Graphics/FramePipelinePassRegistry.inl | 4 +- include/Nazara/Graphics/GraphicalMesh.hpp | 4 +- include/Nazara/Graphics/GraphicalMesh.inl | 4 +- include/Nazara/Graphics/Graphics.hpp | 4 +- include/Nazara/Graphics/Graphics.inl | 4 +- .../Graphics/GuillotineTextureAtlas.hpp | 4 +- .../Graphics/GuillotineTextureAtlas.inl | 4 +- .../Nazara/Graphics/InstancedRenderable.hpp | 4 +- .../Nazara/Graphics/InstancedRenderable.inl | 4 +- include/Nazara/Graphics/Light.hpp | 4 +- include/Nazara/Graphics/Light.inl | 4 +- include/Nazara/Graphics/LightShadowData.hpp | 4 +- include/Nazara/Graphics/LightShadowData.inl | 4 +- .../Nazara/Graphics/LinearSlicedSprite.hpp | 4 +- .../Nazara/Graphics/LinearSlicedSprite.inl | 4 +- include/Nazara/Graphics/Material.hpp | 4 +- include/Nazara/Graphics/Material.inl | 4 +- include/Nazara/Graphics/MaterialInstance.hpp | 4 +- include/Nazara/Graphics/MaterialInstance.inl | 4 +- include/Nazara/Graphics/MaterialPass.hpp | 4 +- .../Nazara/Graphics/MaterialPassRegistry.hpp | 2 +- .../Nazara/Graphics/MaterialPassRegistry.inl | 4 +- include/Nazara/Graphics/MaterialPipeline.hpp | 4 +- include/Nazara/Graphics/MaterialPipeline.inl | 4 +- include/Nazara/Graphics/MaterialSettings.hpp | 2 +- include/Nazara/Graphics/MaterialSettings.inl | 4 +- include/Nazara/Graphics/Model.hpp | 4 +- include/Nazara/Graphics/Model.inl | 4 +- include/Nazara/Graphics/PipelinePassList.hpp | 4 +- include/Nazara/Graphics/PipelinePassList.inl | 4 +- include/Nazara/Graphics/PipelineViewer.hpp | 2 +- include/Nazara/Graphics/PipelineViewer.inl | 4 +- include/Nazara/Graphics/PointLight.hpp | 4 +- include/Nazara/Graphics/PointLight.inl | 4 +- .../Nazara/Graphics/PointLightShadowData.hpp | 4 +- .../Nazara/Graphics/PointLightShadowData.inl | 4 +- .../Graphics/PostProcessPipelinePass.hpp | 4 +- .../Graphics/PostProcessPipelinePass.inl | 4 +- .../Nazara/Graphics/PredefinedMaterials.hpp | 4 +- .../Nazara/Graphics/PredefinedMaterials.inl | 4 +- .../PredefinedShaderStructBuilder.hpp | 4 +- .../PredefinedShaderStructBuilder.inl | 4 +- .../Graphics/PredefinedShaderStructs.hpp | 2 +- .../OptionValuePropertyHandler.hpp | 4 +- .../OptionValuePropertyHandler.inl | 4 +- .../PropertyHandler/PropertyHandler.hpp | 4 +- .../PropertyHandler/PropertyHandler.inl | 4 +- .../TexturePropertyHandler.hpp | 4 +- .../TexturePropertyHandler.inl | 4 +- .../UniformValuePropertyHandler.hpp | 4 +- .../UniformValuePropertyHandler.inl | 4 +- include/Nazara/Graphics/RenderBufferPool.hpp | 4 +- include/Nazara/Graphics/RenderBufferPool.inl | 4 +- include/Nazara/Graphics/RenderElement.hpp | 4 +- include/Nazara/Graphics/RenderElement.inl | 4 +- .../Nazara/Graphics/RenderElementOwner.hpp | 4 +- .../Nazara/Graphics/RenderElementOwner.inl | 4 +- include/Nazara/Graphics/RenderElementPool.hpp | 4 +- include/Nazara/Graphics/RenderElementPool.inl | 4 +- include/Nazara/Graphics/RenderQueue.hpp | 2 +- include/Nazara/Graphics/RenderQueue.inl | 4 +- .../Nazara/Graphics/RenderQueueRegistry.hpp | 2 +- .../Nazara/Graphics/RenderQueueRegistry.inl | 4 +- include/Nazara/Graphics/RenderSpriteChain.hpp | 2 +- include/Nazara/Graphics/RenderSpriteChain.inl | 4 +- include/Nazara/Graphics/RenderSubmesh.hpp | 2 +- include/Nazara/Graphics/RenderSubmesh.inl | 4 +- include/Nazara/Graphics/RenderTarget.hpp | 4 +- include/Nazara/Graphics/RenderTarget.inl | 4 +- include/Nazara/Graphics/RenderTexture.hpp | 4 +- include/Nazara/Graphics/RenderTexture.inl | 4 +- include/Nazara/Graphics/RenderTextureBlit.hpp | 4 +- include/Nazara/Graphics/RenderTextureBlit.inl | 4 +- include/Nazara/Graphics/RenderWindow.hpp | 4 +- include/Nazara/Graphics/RenderWindow.inl | 4 +- include/Nazara/Graphics/ShaderReflection.hpp | 4 +- include/Nazara/Graphics/ShaderReflection.inl | 4 +- include/Nazara/Graphics/ShadowViewer.hpp | 2 +- include/Nazara/Graphics/ShadowViewer.inl | 4 +- include/Nazara/Graphics/SkeletonInstance.hpp | 4 +- include/Nazara/Graphics/SkeletonInstance.inl | 4 +- include/Nazara/Graphics/SlicedSprite.hpp | 4 +- include/Nazara/Graphics/SlicedSprite.inl | 4 +- include/Nazara/Graphics/SpotLight.hpp | 4 +- include/Nazara/Graphics/SpotLight.inl | 4 +- .../Nazara/Graphics/SpotLightShadowData.hpp | 2 +- .../Nazara/Graphics/SpotLightShadowData.inl | 4 +- include/Nazara/Graphics/Sprite.hpp | 4 +- include/Nazara/Graphics/Sprite.inl | 4 +- .../Nazara/Graphics/SpriteChainRenderer.hpp | 2 +- .../Nazara/Graphics/SpriteChainRenderer.inl | 4 +- include/Nazara/Graphics/SubmeshRenderer.hpp | 2 +- include/Nazara/Graphics/SubmeshRenderer.inl | 4 +- .../Nazara/Graphics/Systems/RenderSystem.hpp | 2 +- .../Nazara/Graphics/Systems/RenderSystem.inl | 4 +- include/Nazara/Graphics/TextSprite.hpp | 4 +- include/Nazara/Graphics/TextSprite.inl | 4 +- .../Nazara/Graphics/TextureSamplerCache.hpp | 4 +- .../Nazara/Graphics/TextureSamplerCache.inl | 4 +- include/Nazara/Graphics/Tilemap.hpp | 4 +- include/Nazara/Graphics/Tilemap.inl | 4 +- include/Nazara/Graphics/TransferInterface.hpp | 4 +- include/Nazara/Graphics/TransferInterface.inl | 4 +- include/Nazara/Graphics/UberShader.hpp | 4 +- include/Nazara/Graphics/UberShader.inl | 4 +- include/Nazara/Graphics/ViewerInstance.hpp | 4 +- include/Nazara/Graphics/ViewerInstance.inl | 4 +- include/Nazara/Graphics/WorldInstance.hpp | 4 +- include/Nazara/Graphics/WorldInstance.inl | 4 +- include/Nazara/Math.hpp | 1 - include/Nazara/Math/Angle.hpp | 2 +- include/Nazara/Math/Angle.inl | 4 +- include/Nazara/Math/BoundingVolume.hpp | 2 +- include/Nazara/Math/BoundingVolume.inl | 4 +- include/Nazara/Math/Box.hpp | 2 +- include/Nazara/Math/Box.inl | 8 +- include/Nazara/Math/Enums.hpp | 2 +- include/Nazara/Math/EulerAngles.hpp | 2 +- include/Nazara/Math/EulerAngles.inl | 5 +- .../Nazara/Math/{Config.hpp => Export.hpp} | 23 +- include/Nazara/Math/Frustum.hpp | 2 +- include/Nazara/Math/Frustum.inl | 4 +- include/Nazara/Math/Matrix4.hpp | 3 +- include/Nazara/Math/Matrix4.inl | 48 +- include/Nazara/Math/OrientedBox.hpp | 2 +- include/Nazara/Math/OrientedBox.inl | 10 +- include/Nazara/Math/PidController.hpp | 2 +- include/Nazara/Math/PidController.inl | 4 +- include/Nazara/Math/Plane.hpp | 2 +- include/Nazara/Math/Plane.inl | 4 +- include/Nazara/Math/Quaternion.hpp | 2 +- include/Nazara/Math/Quaternion.inl | 11 +- include/Nazara/Math/Ray.hpp | 2 +- include/Nazara/Math/Ray.inl | 9 +- include/Nazara/Math/Rect.hpp | 2 +- include/Nazara/Math/Rect.inl | 8 +- include/Nazara/Math/Sphere.hpp | 2 +- include/Nazara/Math/Sphere.inl | 8 +- include/Nazara/Math/Vector2.hpp | 2 +- include/Nazara/Math/Vector2.inl | 4 +- include/Nazara/Math/Vector3.hpp | 2 +- include/Nazara/Math/Vector3.inl | 6 +- include/Nazara/Math/Vector4.hpp | 2 +- include/Nazara/Math/Vector4.inl | 4 +- include/Nazara/Network.hpp | 2 +- include/Nazara/Network/AbstractSocket.hpp | 4 +- include/Nazara/Network/AbstractSocket.inl | 4 +- include/Nazara/Network/Algorithm.hpp | 4 +- include/Nazara/Network/Algorithm.inl | 4 +- include/Nazara/Network/ConfigCheck.hpp | 19 - include/Nazara/Network/CurlFunctions.hpp | 2 +- include/Nazara/Network/CurlLibrary.hpp | 4 +- include/Nazara/Network/CurlLibrary.inl | 4 +- include/Nazara/Network/Debug.hpp | 5 - include/Nazara/Network/DebugOff.hpp | 5 - include/Nazara/Network/ENetCompressor.hpp | 4 +- include/Nazara/Network/ENetHost.hpp | 2 +- include/Nazara/Network/ENetHost.inl | 4 +- include/Nazara/Network/ENetPacket.hpp | 2 +- include/Nazara/Network/ENetPeer.hpp | 2 +- include/Nazara/Network/ENetPeer.inl | 4 +- include/Nazara/Network/ENetProtocol.hpp | 2 +- include/Nazara/Network/ENetProtocol.inl | 4 +- include/Nazara/Network/Enums.hpp | 2 +- .../Nazara/Network/{Config.hpp => Export.hpp} | 16 +- include/Nazara/Network/IpAddress.hpp | 4 +- include/Nazara/Network/IpAddress.inl | 4 +- include/Nazara/Network/NetBuffer.hpp | 3 +- include/Nazara/Network/NetPacket.hpp | 4 +- include/Nazara/Network/NetPacket.inl | 4 +- include/Nazara/Network/Network.hpp | 4 +- include/Nazara/Network/SocketHandle.hpp | 2 +- include/Nazara/Network/SocketPoller.hpp | 2 +- include/Nazara/Network/SocketPoller.inl | 4 +- include/Nazara/Network/TcpClient.hpp | 2 +- include/Nazara/Network/TcpClient.inl | 4 +- include/Nazara/Network/TcpServer.hpp | 2 +- include/Nazara/Network/TcpServer.inl | 4 +- include/Nazara/Network/UdpSocket.hpp | 2 +- include/Nazara/Network/UdpSocket.inl | 4 +- include/Nazara/Network/WebRequest.hpp | 4 +- include/Nazara/Network/WebRequest.inl | 4 +- include/Nazara/Network/WebRequestResult.hpp | 4 +- include/Nazara/Network/WebRequestResult.inl | 4 +- include/Nazara/Network/WebService.hpp | 4 +- include/Nazara/Network/WebService.inl | 4 +- .../Nazara/Network/WebServiceAppComponent.hpp | 4 +- .../Nazara/Network/WebServiceAppComponent.inl | 4 +- include/Nazara/OpenGLRenderer.hpp | 2 +- include/Nazara/OpenGLRenderer/ConfigCheck.hpp | 12 - include/Nazara/OpenGLRenderer/Debug.hpp | 5 - include/Nazara/OpenGLRenderer/DebugOff.hpp | 5 - .../OpenGLRenderer/{Config.hpp => Export.hpp} | 16 +- .../Nazara/OpenGLRenderer/OpenGLBuffer.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLBuffer.inl | 4 +- .../OpenGLRenderer/OpenGLCommandBuffer.hpp | 4 +- .../OpenGLRenderer/OpenGLCommandBuffer.inl | 4 +- .../OpenGLCommandBufferBuilder.hpp | 4 +- .../OpenGLCommandBufferBuilder.inl | 4 +- .../OpenGLRenderer/OpenGLCommandPool.hpp | 4 +- .../OpenGLRenderer/OpenGLCommandPool.inl | 4 +- .../OpenGLRenderer/OpenGLComputePipeline.hpp | 4 +- .../OpenGLRenderer/OpenGLComputePipeline.inl | 4 +- .../Nazara/OpenGLRenderer/OpenGLDevice.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLDevice.inl | 4 +- .../OpenGLRenderer/OpenGLFboFramebuffer.hpp | 2 +- .../OpenGLRenderer/OpenGLFboFramebuffer.inl | 4 +- .../OpenGLRenderer/OpenGLFramebuffer.hpp | 4 +- .../OpenGLRenderer/OpenGLFramebuffer.inl | 4 +- .../OpenGLRenderer/OpenGLRenderImage.hpp | 2 +- .../OpenGLRenderer/OpenGLRenderImage.inl | 4 +- .../OpenGLRenderer/OpenGLRenderPass.hpp | 4 +- .../OpenGLRenderer/OpenGLRenderPass.inl | 4 +- .../OpenGLRenderer/OpenGLRenderPipeline.hpp | 4 +- .../OpenGLRenderer/OpenGLRenderPipeline.inl | 4 +- .../OpenGLRenderPipelineLayout.hpp | 4 +- .../OpenGLRenderPipelineLayout.inl | 4 +- .../Nazara/OpenGLRenderer/OpenGLRenderer.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLRenderer.inl | 4 +- .../OpenGLRenderer/OpenGLShaderBinding.hpp | 4 +- .../OpenGLRenderer/OpenGLShaderBinding.inl | 4 +- .../OpenGLRenderer/OpenGLShaderModule.hpp | 2 +- .../OpenGLRenderer/OpenGLShaderModule.inl | 4 +- .../Nazara/OpenGLRenderer/OpenGLSwapchain.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLSwapchain.inl | 4 +- .../Nazara/OpenGLRenderer/OpenGLTexture.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLTexture.inl | 4 +- .../OpenGLRenderer/OpenGLTextureSampler.hpp | 2 +- .../OpenGLRenderer/OpenGLTextureSampler.inl | 4 +- .../OpenGLRenderer/OpenGLUploadPool.hpp | 4 +- .../OpenGLRenderer/OpenGLUploadPool.inl | 4 +- .../Nazara/OpenGLRenderer/OpenGLVaoCache.hpp | 4 +- .../Nazara/OpenGLRenderer/OpenGLVaoCache.inl | 4 +- .../OpenGLWindowFramebuffer.hpp | 2 +- .../OpenGLWindowFramebuffer.inl | 4 +- include/Nazara/OpenGLRenderer/Utils.hpp | 2 +- include/Nazara/OpenGLRenderer/Utils.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Buffer.hpp | 2 +- .../Nazara/OpenGLRenderer/Wrapper/Buffer.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Context.hpp | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Context.inl | 4 +- .../OpenGLRenderer/Wrapper/ContextObject.hpp | 2 +- .../OpenGLRenderer/Wrapper/ContextObject.inl | 4 +- .../OpenGLRenderer/Wrapper/CoreFunctions.hpp | 2 +- .../OpenGLRenderer/Wrapper/DeviceObject.hpp | 2 +- .../OpenGLRenderer/Wrapper/DeviceObject.inl | 4 +- .../Wrapper/EGL/EGLContextBase.hpp | 4 +- .../Wrapper/EGL/EGLContextBase.inl | 4 +- .../Wrapper/EGL/EGLFunctions.hpp | 2 +- .../OpenGLRenderer/Wrapper/EGL/EGLLoader.hpp | 4 +- .../OpenGLRenderer/Wrapper/EGL/EGLLoader.inl | 4 +- .../OpenGLRenderer/Wrapper/Framebuffer.hpp | 2 +- .../OpenGLRenderer/Wrapper/Framebuffer.inl | 4 +- .../Wrapper/Linux/EGLContextWayland.hpp | 2 +- .../Wrapper/Linux/EGLContextWayland.inl | 4 +- .../Wrapper/Linux/EGLContextX11.hpp | 2 +- .../Wrapper/Linux/EGLContextX11.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Loader.hpp | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Loader.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Program.hpp | 2 +- .../Nazara/OpenGLRenderer/Wrapper/Program.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Sampler.hpp | 2 +- .../Nazara/OpenGLRenderer/Wrapper/Sampler.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Shader.hpp | 2 +- .../Nazara/OpenGLRenderer/Wrapper/Shader.inl | 4 +- .../Nazara/OpenGLRenderer/Wrapper/Texture.hpp | 2 +- .../Nazara/OpenGLRenderer/Wrapper/Texture.inl | 4 +- .../OpenGLRenderer/Wrapper/VertexArray.hpp | 2 +- .../OpenGLRenderer/Wrapper/VertexArray.inl | 4 +- .../OpenGLRenderer/Wrapper/WGL/WGLContext.hpp | 4 +- .../OpenGLRenderer/Wrapper/WGL/WGLContext.inl | 4 +- .../Wrapper/WGL/WGLFunctions.hpp | 2 +- .../OpenGLRenderer/Wrapper/WGL/WGLLoader.hpp | 4 +- .../OpenGLRenderer/Wrapper/WGL/WGLLoader.inl | 4 +- .../OpenGLRenderer/Wrapper/Web/WebContext.hpp | 4 +- .../OpenGLRenderer/Wrapper/Web/WebContext.inl | 4 +- .../OpenGLRenderer/Wrapper/Web/WebLoader.hpp | 4 +- .../OpenGLRenderer/Wrapper/Web/WebLoader.inl | 4 +- .../Wrapper/Win32/EGLContextWin32.hpp | 2 +- .../Wrapper/Win32/EGLContextWin32.inl | 4 +- .../Wrapper/Win32/Gdi32Functions.hpp | 2 +- .../Wrapper/Win32/Win32Helper.hpp | 2 +- include/Nazara/Physics2D.hpp | 2 +- include/Nazara/Physics2D/Collider2D.hpp | 4 +- include/Nazara/Physics2D/Collider2D.inl | 4 +- .../Components/RigidBody2DComponent.hpp | 2 +- .../Components/RigidBody2DComponent.inl | 4 +- include/Nazara/Physics2D/ConfigCheck.hpp | 19 - include/Nazara/Physics2D/Debug.hpp | 5 - include/Nazara/Physics2D/DebugOff.hpp | 5 - include/Nazara/Physics2D/Enums.hpp | 2 +- .../Physics2D/{Config.hpp => Export.hpp} | 14 +- include/Nazara/Physics2D/PhysArbiter2D.hpp | 4 +- include/Nazara/Physics2D/PhysArbiter2D.inl | 4 +- include/Nazara/Physics2D/PhysConstraint2D.hpp | 4 +- include/Nazara/Physics2D/PhysConstraint2D.inl | 4 +- include/Nazara/Physics2D/PhysWorld2D.hpp | 4 +- include/Nazara/Physics2D/PhysWorld2D.inl | 4 +- include/Nazara/Physics2D/Physics2D.hpp | 4 +- include/Nazara/Physics2D/RigidBody2D.hpp | 4 +- include/Nazara/Physics2D/RigidBody2D.inl | 4 +- .../Physics2D/Systems/Physics2DSystem.hpp | 2 +- .../Physics2D/Systems/Physics2DSystem.inl | 4 +- include/Nazara/Physics3D.hpp | 2 +- include/Nazara/Physics3D/Collider3D.hpp | 4 +- include/Nazara/Physics3D/Collider3D.inl | 4 +- .../Components/PhysCharacter3DComponent.hpp | 2 +- .../Components/PhysCharacter3DComponent.inl | 4 +- .../Components/RigidBody3DComponent.hpp | 2 +- .../Components/RigidBody3DComponent.inl | 4 +- include/Nazara/Physics3D/ConfigCheck.hpp | 10 - include/Nazara/Physics3D/Debug.hpp | 5 - include/Nazara/Physics3D/DebugOff.hpp | 5 - include/Nazara/Physics3D/Enums.hpp | 2 +- .../Physics3D/{Config.hpp => Export.hpp} | 14 +- include/Nazara/Physics3D/PhysBody3D.hpp | 4 +- include/Nazara/Physics3D/PhysBody3D.inl | 4 +- include/Nazara/Physics3D/PhysCharacter3D.hpp | 4 +- include/Nazara/Physics3D/PhysCharacter3D.inl | 4 +- include/Nazara/Physics3D/PhysConstraint3D.hpp | 4 +- include/Nazara/Physics3D/PhysConstraint3D.inl | 4 +- include/Nazara/Physics3D/PhysWorld3D.hpp | 4 +- include/Nazara/Physics3D/PhysWorld3D.inl | 4 +- .../Physics3D/PhysWorld3DStepListener.hpp | 4 +- .../Physics3D/PhysWorld3DStepListener.inl | 4 +- include/Nazara/Physics3D/Physics3D.hpp | 4 +- include/Nazara/Physics3D/RigidBody3D.hpp | 4 +- include/Nazara/Physics3D/RigidBody3D.inl | 4 +- .../Physics3D/Systems/Physics3DSystem.hpp | 2 +- .../Physics3D/Systems/Physics3DSystem.inl | 4 +- include/Nazara/Platform.hpp | 2 +- include/Nazara/Platform/Clipboard.hpp | 4 +- include/Nazara/Platform/Clipboard.inl | 4 +- include/Nazara/Platform/ConfigCheck.hpp | 17 - include/Nazara/Platform/Cursor.hpp | 4 +- include/Nazara/Platform/Cursor.inl | 4 +- include/Nazara/Platform/CursorController.hpp | 2 +- include/Nazara/Platform/CursorController.inl | 4 +- include/Nazara/Platform/Debug.hpp | 5 - include/Nazara/Platform/DebugOff.hpp | 5 - include/Nazara/Platform/Enums.hpp | 2 +- .../Platform/{Config.hpp => Export.hpp} | 17 +- include/Nazara/Platform/Icon.hpp | 4 +- include/Nazara/Platform/Icon.inl | 4 +- include/Nazara/Platform/Keyboard.hpp | 4 +- include/Nazara/Platform/MessageBox.hpp | 4 +- include/Nazara/Platform/MessageBox.inl | 4 +- include/Nazara/Platform/Mouse.hpp | 4 +- include/Nazara/Platform/Platform.hpp | 4 +- include/Nazara/Platform/VideoMode.hpp | 4 +- include/Nazara/Platform/Window.hpp | 8 +- include/Nazara/Platform/Window.inl | 4 +- include/Nazara/Platform/WindowEvent.hpp | 2 +- .../Nazara/Platform/WindowEventHandler.hpp | 4 +- .../Nazara/Platform/WindowEventHandler.inl | 4 +- include/Nazara/Platform/WindowHandle.hpp | 4 +- .../Nazara/Platform/WindowingAppComponent.hpp | 4 +- .../Nazara/Platform/WindowingAppComponent.inl | 4 +- include/Nazara/Renderer.hpp | 2 +- include/Nazara/Renderer/CommandBuffer.hpp | 4 +- include/Nazara/Renderer/CommandBuffer.inl | 4 +- .../Nazara/Renderer/CommandBufferBuilder.hpp | 4 +- .../Nazara/Renderer/CommandBufferBuilder.inl | 4 +- include/Nazara/Renderer/CommandPool.hpp | 4 +- include/Nazara/Renderer/CommandPool.inl | 4 +- include/Nazara/Renderer/ComputePipeline.hpp | 2 +- include/Nazara/Renderer/ComputePipeline.inl | 4 +- include/Nazara/Renderer/Config.hpp | 54 -- include/Nazara/Renderer/ConfigCheck.hpp | 19 - include/Nazara/Renderer/Debug.hpp | 5 - include/Nazara/Renderer/DebugDrawer.hpp | 4 +- include/Nazara/Renderer/DebugDrawer.inl | 4 +- include/Nazara/Renderer/DebugOff.hpp | 5 - include/Nazara/Renderer/Enums.hpp | 2 +- include/Nazara/Renderer/Export.hpp | 40 ++ include/Nazara/Renderer/Framebuffer.hpp | 4 +- include/Nazara/Renderer/Framebuffer.inl | 4 +- include/Nazara/Renderer/GpuSwitch.hpp | 2 +- include/Nazara/Renderer/RenderBuffer.hpp | 4 +- include/Nazara/Renderer/RenderBuffer.inl | 4 +- include/Nazara/Renderer/RenderBufferView.hpp | 2 +- include/Nazara/Renderer/RenderBufferView.inl | 4 +- include/Nazara/Renderer/RenderDevice.hpp | 4 +- include/Nazara/Renderer/RenderDevice.inl | 4 +- include/Nazara/Renderer/RenderDeviceInfo.hpp | 2 +- include/Nazara/Renderer/RenderFrame.hpp | 4 +- include/Nazara/Renderer/RenderFrame.inl | 4 +- include/Nazara/Renderer/RenderImage.hpp | 2 +- include/Nazara/Renderer/RenderImage.inl | 4 +- include/Nazara/Renderer/RenderPass.hpp | 4 +- include/Nazara/Renderer/RenderPass.inl | 4 +- include/Nazara/Renderer/RenderPassCache.hpp | 4 +- include/Nazara/Renderer/RenderPassCache.inl | 4 +- include/Nazara/Renderer/RenderPipeline.hpp | 2 +- include/Nazara/Renderer/RenderPipeline.inl | 4 +- .../Nazara/Renderer/RenderPipelineLayout.hpp | 2 +- .../Nazara/Renderer/RenderPipelineLayout.inl | 4 +- include/Nazara/Renderer/RenderResources.hpp | 4 +- include/Nazara/Renderer/RenderResources.inl | 4 +- include/Nazara/Renderer/RenderStates.hpp | 2 +- include/Nazara/Renderer/RenderStates.inl | 4 +- include/Nazara/Renderer/Renderer.hpp | 4 +- include/Nazara/Renderer/Renderer.inl | 4 +- include/Nazara/Renderer/RendererImpl.hpp | 4 +- include/Nazara/Renderer/ShaderBinding.hpp | 4 +- include/Nazara/Renderer/ShaderBinding.inl | 4 +- include/Nazara/Renderer/ShaderModule.hpp | 4 +- include/Nazara/Renderer/Swapchain.hpp | 4 +- .../Nazara/Renderer/SwapchainParameters.hpp | 2 +- include/Nazara/Renderer/Texture.hpp | 4 +- include/Nazara/Renderer/Texture.inl | 4 +- include/Nazara/Renderer/TextureSampler.hpp | 4 +- include/Nazara/Renderer/TextureSampler.inl | 4 +- include/Nazara/Renderer/UploadPool.hpp | 4 +- include/Nazara/Renderer/UploadPool.inl | 4 +- include/Nazara/Renderer/WindowSwapchain.hpp | 2 +- include/Nazara/Renderer/WindowSwapchain.inl | 4 +- include/Nazara/TextRenderer.hpp | 2 +- .../TextRenderer/AbstractTextDrawer.hpp | 4 +- .../TextRenderer/AbstractTextDrawer.inl | 4 +- include/Nazara/TextRenderer/ConfigCheck.hpp | 17 - include/Nazara/TextRenderer/Debug.hpp | 5 - include/Nazara/TextRenderer/DebugOff.hpp | 5 - .../TextRenderer/{Config.hpp => Export.hpp} | 11 +- include/Nazara/TextRenderer/Font.hpp | 4 +- include/Nazara/TextRenderer/Font.inl | 4 +- include/Nazara/TextRenderer/FontData.hpp | 4 +- include/Nazara/TextRenderer/FontGlyph.hpp | 2 +- .../Nazara/TextRenderer/RichTextBuilder.hpp | 2 +- .../Nazara/TextRenderer/RichTextBuilder.inl | 4 +- .../Nazara/TextRenderer/RichTextDrawer.hpp | 2 +- .../Nazara/TextRenderer/RichTextDrawer.inl | 4 +- .../Nazara/TextRenderer/SimpleTextDrawer.hpp | 2 +- .../Nazara/TextRenderer/SimpleTextDrawer.inl | 4 +- include/Nazara/TextRenderer/TextRenderer.hpp | 4 +- include/Nazara/VulkanRenderer.hpp | 2 +- include/Nazara/VulkanRenderer/ConfigCheck.hpp | 19 - include/Nazara/VulkanRenderer/Debug.hpp | 5 - include/Nazara/VulkanRenderer/DebugOff.hpp | 5 - .../VulkanRenderer/{Config.hpp => Export.hpp} | 16 +- include/Nazara/VulkanRenderer/Utils.hpp | 2 +- include/Nazara/VulkanRenderer/Utils.inl | 4 +- include/Nazara/VulkanRenderer/Vulkan.hpp | 4 +- .../Nazara/VulkanRenderer/VulkanBuffer.hpp | 4 +- .../Nazara/VulkanRenderer/VulkanBuffer.inl | 4 +- .../VulkanRenderer/VulkanCommandBuffer.hpp | 4 +- .../VulkanRenderer/VulkanCommandBuffer.inl | 4 +- .../VulkanCommandBufferBuilder.hpp | 4 +- .../VulkanCommandBufferBuilder.inl | 4 +- .../VulkanRenderer/VulkanCommandPool.hpp | 4 +- .../VulkanRenderer/VulkanCommandPool.inl | 4 +- .../VulkanRenderer/VulkanComputePipeline.hpp | 4 +- .../VulkanRenderer/VulkanComputePipeline.inl | 4 +- .../VulkanDescriptorSetLayoutCache.hpp | 2 +- .../VulkanDescriptorSetLayoutCache.inl | 4 +- .../Nazara/VulkanRenderer/VulkanDevice.hpp | 2 +- .../Nazara/VulkanRenderer/VulkanDevice.inl | 4 +- .../VulkanRenderer/VulkanFramebuffer.hpp | 4 +- .../VulkanRenderer/VulkanFramebuffer.inl | 4 +- .../VulkanRenderer/VulkanRenderImage.hpp | 2 +- .../VulkanRenderer/VulkanRenderImage.inl | 4 +- .../VulkanRenderer/VulkanRenderPass.hpp | 4 +- .../VulkanRenderer/VulkanRenderPass.inl | 4 +- .../VulkanRenderer/VulkanRenderPipeline.hpp | 4 +- .../VulkanRenderer/VulkanRenderPipeline.inl | 4 +- .../VulkanRenderPipelineLayout.hpp | 4 +- .../VulkanRenderPipelineLayout.inl | 4 +- .../Nazara/VulkanRenderer/VulkanRenderer.hpp | 4 +- .../Nazara/VulkanRenderer/VulkanRenderer.inl | 4 +- .../VulkanRenderer/VulkanShaderBinding.hpp | 2 +- .../VulkanRenderer/VulkanShaderBinding.inl | 4 +- .../VulkanRenderer/VulkanShaderModule.hpp | 2 +- .../VulkanRenderer/VulkanShaderModule.inl | 4 +- .../Nazara/VulkanRenderer/VulkanSwapchain.hpp | 4 +- .../Nazara/VulkanRenderer/VulkanSwapchain.inl | 4 +- .../Nazara/VulkanRenderer/VulkanTexture.hpp | 4 +- .../Nazara/VulkanRenderer/VulkanTexture.inl | 4 +- .../VulkanTextureFramebuffer.hpp | 2 +- .../VulkanTextureFramebuffer.inl | 4 +- .../VulkanRenderer/VulkanTextureSampler.hpp | 2 +- .../VulkanRenderer/VulkanTextureSampler.inl | 4 +- .../VulkanRenderer/VulkanUploadPool.hpp | 2 +- .../VulkanRenderer/VulkanUploadPool.inl | 4 +- .../VulkanWindowFramebuffer.hpp | 2 +- .../VulkanWindowFramebuffer.inl | 4 +- .../VulkanRenderer/Wrapper/AutoFree.hpp | 2 +- .../VulkanRenderer/Wrapper/AutoFree.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Buffer.hpp | 2 +- .../Nazara/VulkanRenderer/Wrapper/Buffer.inl | 4 +- .../VulkanRenderer/Wrapper/CommandBuffer.hpp | 2 +- .../VulkanRenderer/Wrapper/CommandBuffer.inl | 4 +- .../VulkanRenderer/Wrapper/CommandPool.hpp | 2 +- .../VulkanRenderer/Wrapper/CommandPool.inl | 4 +- .../Wrapper/DebugReportCallbackEXT.hpp | 2 +- .../Wrapper/DebugReportCallbackEXT.inl | 4 +- .../Wrapper/DebugUtilsMessengerEXT.hpp | 2 +- .../Wrapper/DebugUtilsMessengerEXT.inl | 4 +- .../VulkanRenderer/Wrapper/DescriptorPool.hpp | 2 +- .../VulkanRenderer/Wrapper/DescriptorPool.inl | 4 +- .../VulkanRenderer/Wrapper/DescriptorSet.hpp | 2 +- .../VulkanRenderer/Wrapper/DescriptorSet.inl | 4 +- .../Wrapper/DescriptorSetLayout.hpp | 2 +- .../Wrapper/DescriptorSetLayout.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Device.hpp | 4 +- .../Nazara/VulkanRenderer/Wrapper/Device.inl | 4 +- .../Wrapper/DeviceFunctions.hpp | 2 +- .../VulkanRenderer/Wrapper/DeviceMemory.hpp | 2 +- .../VulkanRenderer/Wrapper/DeviceMemory.inl | 4 +- .../VulkanRenderer/Wrapper/DeviceObject.hpp | 2 +- .../VulkanRenderer/Wrapper/DeviceObject.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Fence.hpp | 2 +- .../Nazara/VulkanRenderer/Wrapper/Fence.inl | 4 +- .../VulkanRenderer/Wrapper/Framebuffer.hpp | 2 +- .../VulkanRenderer/Wrapper/Framebuffer.inl | 4 +- .../Wrapper/GlobalFunctions.hpp | 2 +- .../Nazara/VulkanRenderer/Wrapper/Image.hpp | 2 +- .../Nazara/VulkanRenderer/Wrapper/Image.inl | 4 +- .../VulkanRenderer/Wrapper/ImageView.hpp | 2 +- .../VulkanRenderer/Wrapper/ImageView.inl | 4 +- .../VulkanRenderer/Wrapper/Instance.hpp | 4 +- .../VulkanRenderer/Wrapper/Instance.inl | 4 +- .../Wrapper/InstanceFunctions.hpp | 2 +- .../VulkanRenderer/Wrapper/InstanceObject.hpp | 2 +- .../VulkanRenderer/Wrapper/InstanceObject.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Loader.hpp | 4 +- .../Nazara/VulkanRenderer/Wrapper/Loader.inl | 4 +- .../VulkanRenderer/Wrapper/PhysicalDevice.hpp | 2 +- .../VulkanRenderer/Wrapper/Pipeline.hpp | 2 +- .../VulkanRenderer/Wrapper/Pipeline.inl | 4 +- .../VulkanRenderer/Wrapper/PipelineCache.hpp | 2 +- .../VulkanRenderer/Wrapper/PipelineCache.inl | 4 +- .../VulkanRenderer/Wrapper/PipelineLayout.hpp | 2 +- .../VulkanRenderer/Wrapper/PipelineLayout.inl | 4 +- .../VulkanRenderer/Wrapper/QueueHandle.hpp | 2 +- .../VulkanRenderer/Wrapper/QueueHandle.inl | 4 +- .../VulkanRenderer/Wrapper/RenderPass.hpp | 2 +- .../VulkanRenderer/Wrapper/RenderPass.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Sampler.hpp | 2 +- .../Nazara/VulkanRenderer/Wrapper/Sampler.inl | 4 +- .../VulkanRenderer/Wrapper/Semaphore.hpp | 2 +- .../VulkanRenderer/Wrapper/Semaphore.inl | 4 +- .../VulkanRenderer/Wrapper/ShaderModule.hpp | 2 +- .../VulkanRenderer/Wrapper/ShaderModule.inl | 4 +- .../Nazara/VulkanRenderer/Wrapper/Surface.hpp | 4 +- .../Nazara/VulkanRenderer/Wrapper/Surface.inl | 4 +- .../VulkanRenderer/Wrapper/Swapchain.hpp | 2 +- .../VulkanRenderer/Wrapper/Swapchain.inl | 4 +- include/Nazara/Widgets.hpp | 2 +- .../Nazara/Widgets/AbstractLabelWidget.hpp | 2 +- .../Nazara/Widgets/AbstractLabelWidget.inl | 4 +- .../Nazara/Widgets/AbstractTextAreaWidget.hpp | 2 +- .../Nazara/Widgets/AbstractTextAreaWidget.inl | 4 +- include/Nazara/Widgets/BaseWidget.hpp | 4 +- include/Nazara/Widgets/BaseWidget.inl | 4 +- include/Nazara/Widgets/BoxLayout.hpp | 2 +- include/Nazara/Widgets/BoxLayout.inl | 4 +- include/Nazara/Widgets/ButtonWidget.hpp | 2 +- include/Nazara/Widgets/ButtonWidget.inl | 4 +- include/Nazara/Widgets/Canvas.hpp | 2 +- include/Nazara/Widgets/Canvas.inl | 4 +- include/Nazara/Widgets/CheckboxWidget.hpp | 2 +- include/Nazara/Widgets/CheckboxWidget.inl | 4 +- include/Nazara/Widgets/ConfigCheck.hpp | 17 - include/Nazara/Widgets/Debug.hpp | 5 - include/Nazara/Widgets/DebugOff.hpp | 5 - include/Nazara/Widgets/DefaultWidgetTheme.hpp | 2 +- include/Nazara/Widgets/DefaultWidgetTheme.inl | 4 +- include/Nazara/Widgets/Enums.hpp | 2 +- .../Nazara/Widgets/{Config.hpp => Export.hpp} | 11 +- include/Nazara/Widgets/ImageButtonWidget.hpp | 2 +- include/Nazara/Widgets/ImageButtonWidget.inl | 4 +- include/Nazara/Widgets/ImageWidget.hpp | 2 +- include/Nazara/Widgets/ImageWidget.inl | 4 +- include/Nazara/Widgets/LabelWidget.hpp | 2 +- include/Nazara/Widgets/LabelWidget.inl | 4 +- include/Nazara/Widgets/ProgressBarWidget.hpp | 2 +- include/Nazara/Widgets/ProgressBarWidget.inl | 4 +- include/Nazara/Widgets/RichTextAreaWidget.hpp | 2 +- include/Nazara/Widgets/RichTextAreaWidget.inl | 4 +- include/Nazara/Widgets/ScrollAreaWidget.hpp | 2 +- include/Nazara/Widgets/ScrollAreaWidget.inl | 4 +- .../Nazara/Widgets/ScrollbarButtonWidget.hpp | 2 +- .../Nazara/Widgets/ScrollbarButtonWidget.inl | 4 +- include/Nazara/Widgets/ScrollbarWidget.hpp | 2 +- include/Nazara/Widgets/ScrollbarWidget.inl | 4 +- include/Nazara/Widgets/SimpleLabelWidget.hpp | 2 +- include/Nazara/Widgets/SimpleLabelWidget.inl | 4 +- include/Nazara/Widgets/SimpleWidgetStyles.hpp | 2 +- include/Nazara/Widgets/SimpleWidgetStyles.inl | 4 +- include/Nazara/Widgets/TextAreaWidget.hpp | 2 +- include/Nazara/Widgets/TextAreaWidget.inl | 4 +- include/Nazara/Widgets/WidgetTheme.hpp | 2 +- include/Nazara/Widgets/WidgetTheme.inl | 4 +- include/Nazara/Widgets/Widgets.hpp | 4 +- include/Nazara/Widgets/Widgets.inl | 4 +- src/Nazara/Audio/Audio.cpp | 3 +- src/Nazara/Audio/AudioBuffer.cpp | 3 +- src/Nazara/Audio/AudioDevice.cpp | 3 +- src/Nazara/Audio/AudioSource.cpp | 3 +- src/Nazara/Audio/DummyAudioBuffer.cpp | 3 +- src/Nazara/Audio/DummyAudioDevice.cpp | 3 +- src/Nazara/Audio/DummyAudioSource.cpp | 3 +- src/Nazara/Audio/Formats/drwavLoader.cpp | 5 +- src/Nazara/Audio/Formats/drwavLoader.hpp | 2 +- src/Nazara/Audio/Formats/libflacLoader.cpp | 5 +- src/Nazara/Audio/Formats/libflacLoader.hpp | 2 +- src/Nazara/Audio/Formats/libvorbisLoader.cpp | 5 +- src/Nazara/Audio/Formats/libvorbisLoader.hpp | 2 +- src/Nazara/Audio/Formats/minimp3Loader.cpp | 5 +- src/Nazara/Audio/Formats/minimp3Loader.hpp | 2 +- src/Nazara/Audio/Music.cpp | 3 +- src/Nazara/Audio/OpenALBuffer.cpp | 3 +- src/Nazara/Audio/OpenALDevice.cpp | 3 +- src/Nazara/Audio/OpenALLibrary.cpp | 3 +- src/Nazara/Audio/OpenALSource.cpp | 3 +- src/Nazara/Audio/OpenALUtils.cpp | 3 +- src/Nazara/Audio/Sound.cpp | 5 +- src/Nazara/Audio/SoundBuffer.cpp | 5 +- src/Nazara/Audio/SoundEmitter.cpp | 3 +- src/Nazara/Audio/SoundStream.cpp | 3 +- src/Nazara/Core/AbstractAtlas.cpp | 3 +- src/Nazara/Core/AbstractHash.cpp | 3 +- src/Nazara/Core/AbstractImage.cpp | 3 +- src/Nazara/Core/AbstractLogger.cpp | 3 +- src/Nazara/Core/AlgorithmCore.cpp | 3 +- src/Nazara/Core/Animation.cpp | 29 +- src/Nazara/Core/AntiWindows.hpp | 2 +- src/Nazara/Core/AntiX11.hpp | 2 +- src/Nazara/Core/ApplicationBase.cpp | 3 +- src/Nazara/Core/ApplicationComponent.cpp | 3 +- src/Nazara/Core/ApplicationUpdater.cpp | 3 +- src/Nazara/Core/Buffer.cpp | 3 +- src/Nazara/Core/ByteArray.cpp | 3 +- src/Nazara/Core/ByteStream.cpp | 3 +- src/Nazara/Core/Components/NodeComponent.cpp | 3 +- .../Components/SharedSkeletonComponent.cpp | 3 +- src/Nazara/Core/Core.cpp | 5 +- src/Nazara/Core/Darwin/TimeImpl.cpp | 3 +- src/Nazara/Core/Darwin/TimeImpl.hpp | 2 +- src/Nazara/Core/DynLib.cpp | 5 +- src/Nazara/Core/EmptyStream.cpp | 3 +- src/Nazara/Core/EntitySystemAppComponent.cpp | 3 +- src/Nazara/Core/EntityWorld.cpp | 3 +- src/Nazara/Core/EnttSystemGraph.cpp | 3 +- src/Nazara/Core/EnttWorld.cpp | 3 +- src/Nazara/Core/EnvironmentVariables.cpp | 3 +- src/Nazara/Core/Error.cpp | 8 +- src/Nazara/Core/File.cpp | 10 +- src/Nazara/Core/FileLogger.cpp | 3 +- src/Nazara/Core/FilesystemAppComponent.cpp | 3 +- src/Nazara/Core/Format.cpp | 3 +- src/Nazara/Core/Formats/DDSConstants.cpp | 3 +- src/Nazara/Core/Formats/DDSConstants.hpp | 4 +- src/Nazara/Core/Formats/DDSLoader.cpp | 3 +- src/Nazara/Core/Formats/DDSLoader.hpp | 2 +- src/Nazara/Core/Formats/GIFLoader.cpp | 3 +- src/Nazara/Core/Formats/GIFLoader.hpp | 2 +- src/Nazara/Core/Formats/MD2Constants.cpp | 3 +- src/Nazara/Core/Formats/MD2Constants.hpp | 2 +- src/Nazara/Core/Formats/MD2Loader.cpp | 3 +- src/Nazara/Core/Formats/MD2Loader.hpp | 2 +- src/Nazara/Core/Formats/MD5AnimLoader.cpp | 3 +- src/Nazara/Core/Formats/MD5AnimLoader.hpp | 2 +- src/Nazara/Core/Formats/MD5AnimParser.cpp | 9 +- src/Nazara/Core/Formats/MD5MeshLoader.cpp | 3 +- src/Nazara/Core/Formats/MD5MeshLoader.hpp | 2 +- src/Nazara/Core/Formats/MD5MeshParser.cpp | 9 +- src/Nazara/Core/Formats/MTLParser.cpp | 9 +- src/Nazara/Core/Formats/OBJLoader.cpp | 3 +- src/Nazara/Core/Formats/OBJLoader.hpp | 2 +- src/Nazara/Core/Formats/OBJParser.cpp | 9 +- src/Nazara/Core/Formats/OBJSaver.cpp | 3 +- src/Nazara/Core/Formats/OBJSaver.hpp | 2 +- src/Nazara/Core/Formats/PCXLoader.cpp | 3 +- src/Nazara/Core/Formats/PCXLoader.hpp | 2 +- src/Nazara/Core/Formats/STBLoader.cpp | 3 +- src/Nazara/Core/Formats/STBLoader.hpp | 2 +- src/Nazara/Core/Formats/STBSaver.cpp | 3 +- src/Nazara/Core/Formats/STBSaver.hpp | 2 +- src/Nazara/Core/GuillotineBinPack.cpp | 5 +- src/Nazara/Core/GuillotineImageAtlas.cpp | 5 +- src/Nazara/Core/HandledObject.cpp | 3 +- src/Nazara/Core/HardwareInfo.cpp | 3 +- src/Nazara/Core/Hash/CRC32.cpp | 3 +- src/Nazara/Core/Hash/CRC64.cpp | 3 +- src/Nazara/Core/Hash/Fletcher16.cpp | 3 +- src/Nazara/Core/Hash/MD5.cpp | 3 +- src/Nazara/Core/Hash/SHA/Internal.cpp | 3 +- src/Nazara/Core/Hash/SHA/Internal.hpp | 2 +- src/Nazara/Core/Hash/SHA1.cpp | 3 +- src/Nazara/Core/Hash/SHA224.cpp | 3 +- src/Nazara/Core/Hash/SHA256.cpp | 3 +- src/Nazara/Core/Hash/SHA384.cpp | 3 +- src/Nazara/Core/Hash/SHA512.cpp | 3 +- src/Nazara/Core/Hash/Whirlpool.cpp | 3 +- src/Nazara/Core/Image.cpp | 502 +++--------------- src/Nazara/Core/ImageStream.cpp | 3 +- src/Nazara/Core/IndexBuffer.cpp | 5 +- src/Nazara/Core/IndexMapper.cpp | 3 +- src/Nazara/Core/Joint.cpp | 3 +- src/Nazara/Core/Log.cpp | 3 +- src/Nazara/Core/MemoryStream.cpp | 3 +- src/Nazara/Core/MemoryView.cpp | 3 +- src/Nazara/Core/Mesh.cpp | 5 +- src/Nazara/Core/Node.cpp | 7 +- src/Nazara/Core/ParameterFile.cpp | 3 +- src/Nazara/Core/ParameterList.cpp | 3 +- src/Nazara/Core/PixelFormat.cpp | 14 +- src/Nazara/Core/PluginInterface.cpp | 3 +- src/Nazara/Core/PluginLoader.cpp | 3 +- src/Nazara/Core/PoolByteStream.cpp | 3 +- src/Nazara/Core/Posix/DynLibImpl.cpp | 3 +- src/Nazara/Core/Posix/DynLibImpl.hpp | 2 +- src/Nazara/Core/Posix/FileImpl.cpp | 5 +- src/Nazara/Core/Posix/FileImpl.hpp | 2 +- src/Nazara/Core/Posix/HardwareInfoImpl.cpp | 3 +- src/Nazara/Core/Posix/HardwareInfoImpl.hpp | 2 +- src/Nazara/Core/Posix/PosixUtils.cpp | 3 +- src/Nazara/Core/Posix/PosixUtils.hpp | 2 +- src/Nazara/Core/Posix/PosixUtils.inl | 2 +- src/Nazara/Core/Posix/ProcessImpl.cpp | 3 +- src/Nazara/Core/Posix/ProcessImpl.hpp | 2 +- src/Nazara/Core/Posix/ThreadImpl.cpp | 3 +- src/Nazara/Core/Posix/ThreadImpl.hpp | 2 +- src/Nazara/Core/Posix/TimeImpl.cpp | 3 +- src/Nazara/Core/Posix/TimeImpl.hpp | 2 +- src/Nazara/Core/Process.cpp | 3 +- src/Nazara/Core/RefCounted.cpp | 19 +- src/Nazara/Core/Resource.cpp | 3 +- src/Nazara/Core/ResourceParameters.cpp | 3 +- src/Nazara/Core/Serialization.cpp | 3 +- src/Nazara/Core/SignalHandlerAppComponent.cpp | 3 +- src/Nazara/Core/SkeletalMesh.cpp | 5 +- src/Nazara/Core/Skeleton.cpp | 3 +- src/Nazara/Core/SoftwareBuffer.cpp | 3 +- src/Nazara/Core/State.cpp | 3 +- src/Nazara/Core/StaticMesh.cpp | 3 +- src/Nazara/Core/StdLogger.cpp | 3 +- src/Nazara/Core/Stream.cpp | 15 +- src/Nazara/Core/StringExt.cpp | 3 +- src/Nazara/Core/SubMesh.cpp | 5 +- src/Nazara/Core/Systems/LifetimeSystem.cpp | 3 +- src/Nazara/Core/Systems/SkeletonSystem.cpp | 3 +- src/Nazara/Core/Systems/VelocitySystem.cpp | 3 +- src/Nazara/Core/TaskScheduler.cpp | 3 +- src/Nazara/Core/ThreadExt.cpp | 3 +- src/Nazara/Core/Time.cpp | 3 +- src/Nazara/Core/TriangleIterator.cpp | 3 +- src/Nazara/Core/Unicode.cpp | 8 +- src/Nazara/Core/UniformBuffer.cpp | 5 +- src/Nazara/Core/Updatable.cpp | 3 +- src/Nazara/Core/Uuid.cpp | 3 +- src/Nazara/Core/VertexBuffer.cpp | 3 +- src/Nazara/Core/VertexDeclaration.cpp | 5 +- src/Nazara/Core/VertexMapper.cpp | 3 +- src/Nazara/Core/VirtualDirectory.cpp | 3 +- .../VirtualDirectoryFilesystemResolver.cpp | 3 +- src/Nazara/Core/Win32/DynLibImpl.cpp | 3 +- src/Nazara/Core/Win32/DynLibImpl.hpp | 2 +- src/Nazara/Core/Win32/FileImpl.cpp | 3 +- src/Nazara/Core/Win32/FileImpl.hpp | 2 +- src/Nazara/Core/Win32/HardwareInfoImpl.cpp | 3 +- src/Nazara/Core/Win32/HardwareInfoImpl.hpp | 2 +- src/Nazara/Core/Win32/ProcessImpl.cpp | 3 +- src/Nazara/Core/Win32/ProcessImpl.hpp | 2 +- src/Nazara/Core/Win32/ThreadImpl.cpp | 3 +- src/Nazara/Core/Win32/ThreadImpl.hpp | 2 +- src/Nazara/Core/Win32/TimeImpl.cpp | 3 +- src/Nazara/Core/Win32/TimeImpl.hpp | 2 +- src/Nazara/Core/Win32/Win32Utils.cpp | 3 +- src/Nazara/Core/Win32/Win32Utils.hpp | 2 +- src/Nazara/Core/Win32/Win32Utils.inl | 2 +- src/Nazara/Graphics/AbstractViewer.cpp | 3 +- src/Nazara/Graphics/AlgorithmGraphics.cpp | 3 +- src/Nazara/Graphics/BakedFrameGraph.cpp | 3 +- src/Nazara/Graphics/Billboard.cpp | 3 +- src/Nazara/Graphics/Camera.cpp | 3 +- src/Nazara/Graphics/DebugDrawPipelinePass.cpp | 3 +- src/Nazara/Graphics/DepthPipelinePass.cpp | 3 +- src/Nazara/Graphics/DirectionalLight.cpp | 3 +- .../Graphics/DirectionalLightShadowData.cpp | 3 +- src/Nazara/Graphics/ElementRenderer.cpp | 3 +- .../Graphics/ElementRendererRegistry.cpp | 3 +- .../Graphics/Formats/ModelMeshLoader.cpp | 3 +- .../Graphics/Formats/ModelMeshLoader.hpp | 2 +- .../Formats/PipelinePassListLoader.cpp | 3 +- .../Formats/PipelinePassListLoader.hpp | 2 +- src/Nazara/Graphics/Formats/TextureLoader.cpp | 3 +- src/Nazara/Graphics/Formats/TextureLoader.hpp | 2 +- src/Nazara/Graphics/ForwardFramePipeline.cpp | 3 +- src/Nazara/Graphics/ForwardPipelinePass.cpp | 3 +- src/Nazara/Graphics/FrameGraph.cpp | 3 +- src/Nazara/Graphics/FramePass.cpp | 3 +- src/Nazara/Graphics/FramePassAttachment.cpp | 3 +- src/Nazara/Graphics/FramePipeline.cpp | 3 +- src/Nazara/Graphics/FramePipelinePass.cpp | 3 +- src/Nazara/Graphics/GraphicalMesh.cpp | 3 +- src/Nazara/Graphics/Graphics.cpp | 3 +- .../Graphics/GuillotineTextureAtlas.cpp | 3 +- src/Nazara/Graphics/InstancedRenderable.cpp | 3 +- src/Nazara/Graphics/Light.cpp | 3 +- src/Nazara/Graphics/LightShadowData.cpp | 3 +- src/Nazara/Graphics/LinearSlicedSprite.cpp | 3 +- src/Nazara/Graphics/Material.cpp | 3 +- src/Nazara/Graphics/MaterialInstance.cpp | 3 +- src/Nazara/Graphics/MaterialPipeline.cpp | 3 +- src/Nazara/Graphics/MaterialSettings.cpp | 3 +- src/Nazara/Graphics/Model.cpp | 3 +- src/Nazara/Graphics/PipelinePassList.cpp | 3 +- src/Nazara/Graphics/PointLight.cpp | 3 +- src/Nazara/Graphics/PointLightShadowData.cpp | 3 +- .../Graphics/PostProcessPipelinePass.cpp | 3 +- src/Nazara/Graphics/PredefinedMaterials.cpp | 3 +- .../OptionValuePropertyHandler.cpp | 3 +- .../PropertyHandler/PropertyHandler.cpp | 3 +- .../TexturePropertyHandler.cpp | 3 +- .../UniformValuePropertyHandler.cpp | 3 +- src/Nazara/Graphics/RenderBufferPool.cpp | 3 +- src/Nazara/Graphics/RenderElement.cpp | 3 +- src/Nazara/Graphics/RenderElementOwner.cpp | 3 +- src/Nazara/Graphics/RenderElementPool.cpp | 3 +- src/Nazara/Graphics/RenderTarget.cpp | 3 +- src/Nazara/Graphics/RenderTexture.cpp | 3 +- src/Nazara/Graphics/RenderTextureBlit.cpp | 3 +- src/Nazara/Graphics/RenderWindow.cpp | 3 +- src/Nazara/Graphics/ShaderReflection.cpp | 3 +- src/Nazara/Graphics/ShadowViewer.cpp | 3 +- src/Nazara/Graphics/SkeletonInstance.cpp | 3 +- src/Nazara/Graphics/SlicedSprite.cpp | 3 +- src/Nazara/Graphics/SpotLight.cpp | 3 +- src/Nazara/Graphics/SpotLightShadowData.cpp | 3 +- src/Nazara/Graphics/Sprite.cpp | 3 +- src/Nazara/Graphics/SpriteChainRenderer.cpp | 3 +- src/Nazara/Graphics/SubmeshRenderer.cpp | 3 +- src/Nazara/Graphics/Systems/RenderSystem.cpp | 3 +- src/Nazara/Graphics/TextSprite.cpp | 3 +- src/Nazara/Graphics/TextureSamplerCache.cpp | 3 +- src/Nazara/Graphics/Tilemap.cpp | 3 +- src/Nazara/Graphics/TransferInterface.cpp | 3 +- src/Nazara/Graphics/UberShader.cpp | 3 +- src/Nazara/Graphics/ViewerInstance.cpp | 3 +- src/Nazara/Graphics/WorldInstance.cpp | 3 +- src/Nazara/Network/AbstractSocket.cpp | 3 +- src/Nazara/Network/AlgorithmNetwork.cpp | 3 +- src/Nazara/Network/CurlLibrary.cpp | 3 +- src/Nazara/Network/ENetCompressor.cpp | 3 +- src/Nazara/Network/ENetHost.cpp | 3 +- src/Nazara/Network/ENetPacket.cpp | 3 +- src/Nazara/Network/ENetPeer.cpp | 3 +- src/Nazara/Network/IpAddress.cpp | 3 +- src/Nazara/Network/Linux/SocketPollerImpl.cpp | 3 +- src/Nazara/Network/Linux/SocketPollerImpl.hpp | 2 +- src/Nazara/Network/NetPacket.cpp | 3 +- src/Nazara/Network/Network.cpp | 5 +- src/Nazara/Network/Posix/IpAddressImpl.cpp | 3 +- src/Nazara/Network/Posix/IpAddressImpl.hpp | 2 +- src/Nazara/Network/Posix/SocketImpl.cpp | 3 +- src/Nazara/Network/Posix/SocketImpl.hpp | 2 +- src/Nazara/Network/Posix/SocketPollerImpl.cpp | 3 +- src/Nazara/Network/Posix/SocketPollerImpl.hpp | 2 +- src/Nazara/Network/SocketPoller.cpp | 3 +- src/Nazara/Network/SystemSocket.hpp | 2 +- src/Nazara/Network/TcpClient.cpp | 3 +- src/Nazara/Network/TcpServer.cpp | 3 +- src/Nazara/Network/UdpSocket.cpp | 3 +- src/Nazara/Network/WebRequest.cpp | 3 +- src/Nazara/Network/WebRequestResult.cpp | 3 +- src/Nazara/Network/WebService.cpp | 3 +- src/Nazara/Network/WebServiceAppComponent.cpp | 3 +- src/Nazara/Network/Win32/IpAddressImpl.cpp | 3 +- src/Nazara/Network/Win32/IpAddressImpl.hpp | 2 +- src/Nazara/Network/Win32/SocketImpl.cpp | 3 +- src/Nazara/Network/Win32/SocketImpl.hpp | 2 +- src/Nazara/Network/Win32/SocketPollerImpl.cpp | 3 +- src/Nazara/Network/Win32/SocketPollerImpl.hpp | 2 +- src/Nazara/OpenGLRenderer/Export.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLBuffer.cpp | 3 +- .../OpenGLRenderer/OpenGLCommandBuffer.cpp | 3 +- .../OpenGLCommandBufferBuilder.cpp | 3 +- .../OpenGLRenderer/OpenGLCommandPool.cpp | 3 +- .../OpenGLRenderer/OpenGLComputePipeline.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLDevice.cpp | 3 +- .../OpenGLRenderer/OpenGLFboFramebuffer.cpp | 3 +- .../OpenGLRenderer/OpenGLFramebuffer.cpp | 3 +- .../OpenGLRenderer/OpenGLRenderImage.cpp | 3 +- .../OpenGLRenderer/OpenGLRenderPass.cpp | 3 +- .../OpenGLRenderer/OpenGLRenderPipeline.cpp | 3 +- .../OpenGLRenderPipelineLayout.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLRenderer.cpp | 3 +- .../OpenGLRenderer/OpenGLShaderBinding.cpp | 3 +- .../OpenGLRenderer/OpenGLShaderModule.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLSwapchain.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLTexture.cpp | 3 +- .../OpenGLRenderer/OpenGLTextureSampler.cpp | 3 +- .../OpenGLRenderer/OpenGLUploadPool.cpp | 3 +- src/Nazara/OpenGLRenderer/OpenGLVaoCache.cpp | 3 +- .../OpenGLWindowFramebuffer.cpp | 3 +- .../OpenGLRenderer/Utils_OpenGLRenderer.cpp | 5 +- src/Nazara/OpenGLRenderer/Wrapper/Context.cpp | 3 +- .../Wrapper/EGL/EGLContextBase.cpp | 3 +- .../OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp | 3 +- .../Wrapper/Linux/EGLContextWayland.cpp | 3 +- .../Wrapper/Linux/EGLContextX11.cpp | 3 +- src/Nazara/OpenGLRenderer/Wrapper/Loader.cpp | 3 +- .../OpenGLRenderer/Wrapper/WGL/WGLContext.cpp | 3 +- .../OpenGLRenderer/Wrapper/WGL/WGLLoader.cpp | 3 +- .../OpenGLRenderer/Wrapper/Web/WebContext.cpp | 3 +- .../OpenGLRenderer/Wrapper/Web/WebLoader.cpp | 3 +- .../Wrapper/Win32/EGLContextWin32.cpp | 3 +- src/Nazara/Physics2D/ChipmunkHelper.hpp | 2 +- src/Nazara/Physics2D/ChipmunkHelper.inl | 4 +- src/Nazara/Physics2D/Collider2D.cpp | 3 +- src/Nazara/Physics2D/PhysArbiter2D.cpp | 3 +- src/Nazara/Physics2D/PhysConstraint2D.cpp | 3 +- src/Nazara/Physics2D/PhysWorld2D.cpp | 3 +- src/Nazara/Physics2D/Physics2D.cpp | 3 +- src/Nazara/Physics2D/RigidBody2D.cpp | 3 +- .../Physics2D/Systems/Physics2DSystem.cpp | 3 +- src/Nazara/Physics3D/Collider3D.cpp | 3 +- src/Nazara/Physics3D/JoltHelper.hpp | 2 +- src/Nazara/Physics3D/JoltHelper.inl | 4 +- src/Nazara/Physics3D/PhysBody3D.cpp | 3 +- src/Nazara/Physics3D/PhysCharacter3D.cpp | 3 +- src/Nazara/Physics3D/PhysConstraint3D.cpp | 3 +- src/Nazara/Physics3D/PhysWorld3D.cpp | 3 +- .../Physics3D/PhysWorld3DStepListener.cpp | 3 +- src/Nazara/Physics3D/Physics3D.cpp | 5 +- src/Nazara/Physics3D/RigidBody3D.cpp | 3 +- .../Physics3D/Systems/Physics3DSystem.cpp | 3 +- src/Nazara/Platform/Clipboard.cpp | 3 +- src/Nazara/Platform/Cursor.cpp | 3 +- src/Nazara/Platform/Icon.cpp | 3 +- src/Nazara/Platform/Keyboard.cpp | 3 +- src/Nazara/Platform/MessageBox.cpp | 3 +- src/Nazara/Platform/Mouse.cpp | 3 +- src/Nazara/Platform/Platform.cpp | 5 +- src/Nazara/Platform/SDL2/CursorImpl.cpp | 3 +- src/Nazara/Platform/SDL2/CursorImpl.hpp | 2 +- src/Nazara/Platform/SDL2/IconImpl.cpp | 3 +- src/Nazara/Platform/SDL2/IconImpl.hpp | 2 +- src/Nazara/Platform/SDL2/InputImpl.cpp | 3 +- src/Nazara/Platform/SDL2/InputImpl.hpp | 2 +- src/Nazara/Platform/SDL2/SDLHelper.cpp | 3 +- src/Nazara/Platform/SDL2/SDLHelper.hpp | 2 +- src/Nazara/Platform/SDL2/VideoModeImpl.cpp | 3 +- src/Nazara/Platform/SDL2/VideoModeImpl.hpp | 2 +- src/Nazara/Platform/SDL2/WindowImpl.cpp | 5 +- src/Nazara/Platform/SDL2/WindowImpl.hpp | 4 +- src/Nazara/Platform/VideoMode.cpp | 3 +- src/Nazara/Platform/VideoModeImpl.hpp | 2 +- src/Nazara/Platform/Window.cpp | 156 +----- src/Nazara/Platform/WindowingAppComponent.cpp | 3 +- src/Nazara/Renderer/CommandBuffer.cpp | 3 +- src/Nazara/Renderer/CommandBufferBuilder.cpp | 3 +- src/Nazara/Renderer/CommandPool.cpp | 3 +- src/Nazara/Renderer/ComputePipeline.cpp | 3 +- src/Nazara/Renderer/DebugDrawer.cpp | 3 +- src/Nazara/Renderer/Framebuffer.cpp | 3 +- src/Nazara/Renderer/RenderBuffer.cpp | 3 +- src/Nazara/Renderer/RenderDevice.cpp | 3 +- src/Nazara/Renderer/RenderPass.cpp | 3 +- src/Nazara/Renderer/RenderPassCache.cpp | 3 +- src/Nazara/Renderer/RenderPipeline.cpp | 3 +- src/Nazara/Renderer/RenderPipelineLayout.cpp | 3 +- src/Nazara/Renderer/RenderResources.cpp | 3 +- src/Nazara/Renderer/Renderer.cpp | 3 +- src/Nazara/Renderer/RendererImpl.cpp | 3 +- src/Nazara/Renderer/ShaderBinding.cpp | 3 +- src/Nazara/Renderer/ShaderModule.cpp | 3 +- src/Nazara/Renderer/Swapchain.cpp | 3 +- src/Nazara/Renderer/Texture.cpp | 3 +- src/Nazara/Renderer/TextureSampler.cpp | 3 +- src/Nazara/Renderer/UploadPool.cpp | 3 +- src/Nazara/Renderer/WindowSwapchain.cpp | 3 +- .../TextRenderer/AbstractTextDrawer.cpp | 3 +- src/Nazara/TextRenderer/Font.cpp | 58 +- src/Nazara/TextRenderer/FontData.cpp | 3 +- .../TextRenderer/Formats/FreeTypeLoader.cpp | 3 +- .../TextRenderer/Formats/FreeTypeLoader.hpp | 2 +- src/Nazara/TextRenderer/RichTextDrawer.cpp | 3 +- src/Nazara/TextRenderer/SimpleTextDrawer.cpp | 3 +- src/Nazara/TextRenderer/TextRenderer.cpp | 3 +- src/Nazara/VulkanRenderer/Export.cpp | 3 +- .../VulkanRenderer/Utils_VulkanRenderer.cpp | 7 +- src/Nazara/VulkanRenderer/Vulkan.cpp | 5 +- src/Nazara/VulkanRenderer/VulkanBuffer.cpp | 3 +- .../VulkanRenderer/VulkanCommandBuffer.cpp | 3 +- .../VulkanCommandBufferBuilder.cpp | 3 +- .../VulkanRenderer/VulkanCommandPool.cpp | 3 +- .../VulkanRenderer/VulkanComputePipeline.cpp | 3 +- src/Nazara/VulkanRenderer/VulkanDevice.cpp | 3 +- .../VulkanRenderer/VulkanFramebuffer.cpp | 3 +- .../VulkanRenderer/VulkanRenderImage.cpp | 3 +- .../VulkanRenderer/VulkanRenderPass.cpp | 3 +- .../VulkanRenderer/VulkanRenderPipeline.cpp | 3 +- .../VulkanRenderPipelineLayout.cpp | 3 +- src/Nazara/VulkanRenderer/VulkanRenderer.cpp | 3 +- .../VulkanRenderer/VulkanShaderBinding.cpp | 3 +- .../VulkanRenderer/VulkanShaderModule.cpp | 3 +- src/Nazara/VulkanRenderer/VulkanSwapchain.cpp | 3 +- src/Nazara/VulkanRenderer/VulkanTexture.cpp | 3 +- .../VulkanTextureFramebuffer.cpp | 3 +- .../VulkanRenderer/VulkanTextureSampler.cpp | 3 +- .../VulkanRenderer/VulkanUploadPool.cpp | 3 +- .../VulkanWindowFramebuffer.cpp | 3 +- .../VulkanRenderer/Wrapper/CommandPool.cpp | 3 +- .../VulkanRenderer/Wrapper/DescriptorPool.cpp | 3 +- src/Nazara/VulkanRenderer/Wrapper/Device.cpp | 3 +- .../VulkanRenderer/Wrapper/Instance.cpp | 3 +- src/Nazara/VulkanRenderer/Wrapper/Loader.cpp | 3 +- src/Nazara/Widgets/AbstractLabelWidget.cpp | 3 +- src/Nazara/Widgets/AbstractTextAreaWidget.cpp | 3 +- src/Nazara/Widgets/BaseWidget.cpp | 3 +- src/Nazara/Widgets/BoxLayout.cpp | 3 +- src/Nazara/Widgets/ButtonWidget.cpp | 3 +- src/Nazara/Widgets/Canvas.cpp | 3 +- src/Nazara/Widgets/CheckboxWidget.cpp | 3 +- src/Nazara/Widgets/DefaultWidgetTheme.cpp | 3 +- src/Nazara/Widgets/ImageButtonWidget.cpp | 3 +- src/Nazara/Widgets/ImageWidget.cpp | 3 +- src/Nazara/Widgets/LabelWidget.cpp | 3 +- src/Nazara/Widgets/ProgressBarWidget.cpp | 3 +- src/Nazara/Widgets/RichTextAreaWidget.cpp | 3 +- src/Nazara/Widgets/ScrollAreaWidget.cpp | 3 +- src/Nazara/Widgets/ScrollbarButtonWidget.cpp | 3 +- src/Nazara/Widgets/ScrollbarWidget.cpp | 3 +- src/Nazara/Widgets/SimpleLabelWidget.cpp | 3 +- src/Nazara/Widgets/SimpleWidgetStyles.cpp | 3 +- src/Nazara/Widgets/TextAreaWidget.cpp | 3 +- src/Nazara/Widgets/WidgetTheme.cpp | 3 +- src/Nazara/Widgets/Widgets.cpp | 3 +- xmake.lua | 5 + xmake/actions/checkfiles.lua | 75 +-- xmake/actions/createclass.lua | 5 +- xmake/actions/generateheaders.lua | 2 - 1350 files changed, 1881 insertions(+), 4103 deletions(-) delete mode 100644 include/Nazara/Audio/ConfigCheck.hpp delete mode 100644 include/Nazara/Audio/Debug.hpp delete mode 100644 include/Nazara/Audio/DebugOff.hpp rename include/Nazara/Audio/{Config.hpp => Export.hpp} (79%) delete mode 100644 include/Nazara/Core/Config.hpp delete mode 100644 include/Nazara/Core/ConfigCheck.hpp delete mode 100644 include/Nazara/Core/Debug.hpp delete mode 100644 include/Nazara/Core/DebugOff.hpp create mode 100644 include/Nazara/Core/Export.hpp delete mode 100644 include/Nazara/Graphics/ConfigCheck.hpp delete mode 100644 include/Nazara/Graphics/Debug.hpp delete mode 100644 include/Nazara/Graphics/DebugOff.hpp rename include/Nazara/Graphics/{Config.hpp => Export.hpp} (79%) rename include/Nazara/Math/{Config.hpp => Export.hpp} (72%) delete mode 100644 include/Nazara/Network/ConfigCheck.hpp delete mode 100644 include/Nazara/Network/Debug.hpp delete mode 100644 include/Nazara/Network/DebugOff.hpp rename include/Nazara/Network/{Config.hpp => Export.hpp} (75%) delete mode 100644 include/Nazara/OpenGLRenderer/ConfigCheck.hpp delete mode 100644 include/Nazara/OpenGLRenderer/Debug.hpp delete mode 100644 include/Nazara/OpenGLRenderer/DebugOff.hpp rename include/Nazara/OpenGLRenderer/{Config.hpp => Export.hpp} (71%) delete mode 100644 include/Nazara/Physics2D/ConfigCheck.hpp delete mode 100644 include/Nazara/Physics2D/Debug.hpp delete mode 100644 include/Nazara/Physics2D/DebugOff.hpp rename include/Nazara/Physics2D/{Config.hpp => Export.hpp} (76%) delete mode 100644 include/Nazara/Physics3D/ConfigCheck.hpp delete mode 100644 include/Nazara/Physics3D/Debug.hpp delete mode 100644 include/Nazara/Physics3D/DebugOff.hpp rename include/Nazara/Physics3D/{Config.hpp => Export.hpp} (76%) delete mode 100644 include/Nazara/Platform/ConfigCheck.hpp delete mode 100644 include/Nazara/Platform/Debug.hpp delete mode 100644 include/Nazara/Platform/DebugOff.hpp rename include/Nazara/Platform/{Config.hpp => Export.hpp} (73%) delete mode 100644 include/Nazara/Renderer/Config.hpp delete mode 100644 include/Nazara/Renderer/ConfigCheck.hpp delete mode 100644 include/Nazara/Renderer/Debug.hpp delete mode 100644 include/Nazara/Renderer/DebugOff.hpp create mode 100644 include/Nazara/Renderer/Export.hpp delete mode 100644 include/Nazara/TextRenderer/ConfigCheck.hpp delete mode 100644 include/Nazara/TextRenderer/Debug.hpp delete mode 100644 include/Nazara/TextRenderer/DebugOff.hpp rename include/Nazara/TextRenderer/{Config.hpp => Export.hpp} (81%) delete mode 100644 include/Nazara/VulkanRenderer/ConfigCheck.hpp delete mode 100644 include/Nazara/VulkanRenderer/Debug.hpp delete mode 100644 include/Nazara/VulkanRenderer/DebugOff.hpp rename include/Nazara/VulkanRenderer/{Config.hpp => Export.hpp} (71%) delete mode 100644 include/Nazara/Widgets/ConfigCheck.hpp delete mode 100644 include/Nazara/Widgets/Debug.hpp delete mode 100644 include/Nazara/Widgets/DebugOff.hpp rename include/Nazara/Widgets/{Config.hpp => Export.hpp} (84%) diff --git a/include/Nazara/Audio.hpp b/include/Nazara/Audio.hpp index 24744952c..8ff04e028 100644 --- a/include/Nazara/Audio.hpp +++ b/include/Nazara/Audio.hpp @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Audio/Algorithm.hpp b/include/Nazara/Audio/Algorithm.hpp index 52c81fcd8..7764818f0 100644 --- a/include/Nazara/Audio/Algorithm.hpp +++ b/include/Nazara/Audio/Algorithm.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Audio/Algorithm.inl b/include/Nazara/Audio/Algorithm.inl index a3ba1ae9c..55c845698 100644 --- a/include/Nazara/Audio/Algorithm.inl +++ b/include/Nazara/Audio/Algorithm.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -114,4 +113,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/Audio.hpp b/include/Nazara/Audio/Audio.hpp index 0fc3d9e8b..9190bc2ff 100644 --- a/include/Nazara/Audio/Audio.hpp +++ b/include/Nazara/Audio/Audio.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/AudioBuffer.hpp b/include/Nazara/Audio/AudioBuffer.hpp index ce1bd10c0..f05ffd208 100644 --- a/include/Nazara/Audio/AudioBuffer.hpp +++ b/include/Nazara/Audio/AudioBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_AUDIOBUFFER_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Audio/AudioBuffer.inl b/include/Nazara/Audio/AudioBuffer.inl index 4f75cc2af..9f042d681 100644 --- a/include/Nazara/Audio/AudioBuffer.inl +++ b/include/Nazara/Audio/AudioBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/AudioDevice.hpp b/include/Nazara/Audio/AudioDevice.hpp index 177fdc88a..796af6904 100644 --- a/include/Nazara/Audio/AudioDevice.hpp +++ b/include/Nazara/Audio/AudioDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_AUDIODEVICE_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/AudioDevice.inl b/include/Nazara/Audio/AudioDevice.inl index 3de0584ee..68f3c0c38 100644 --- a/include/Nazara/Audio/AudioDevice.inl +++ b/include/Nazara/Audio/AudioDevice.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/AudioSource.hpp b/include/Nazara/Audio/AudioSource.hpp index be2c5e9fe..8f37078b1 100644 --- a/include/Nazara/Audio/AudioSource.hpp +++ b/include/Nazara/Audio/AudioSource.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_AUDIOSOURCE_HPP #include -#include #include +#include #include #include diff --git a/include/Nazara/Audio/AudioSource.inl b/include/Nazara/Audio/AudioSource.inl index bb072d9e0..4ca42a321 100644 --- a/include/Nazara/Audio/AudioSource.inl +++ b/include/Nazara/Audio/AudioSource.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/ConfigCheck.hpp b/include/Nazara/Audio/ConfigCheck.hpp deleted file mode 100644 index 3cd887736..000000000 --- a/include/Nazara/Audio/ConfigCheck.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_AUDIO_CONFIGCHECK_HPP -#define NAZARA_AUDIO_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -// config checks - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_AUDIO_CONFIGCHECK_HPP diff --git a/include/Nazara/Audio/Debug.hpp b/include/Nazara/Audio/Debug.hpp deleted file mode 100644 index c1b685673..000000000 --- a/include/Nazara/Audio/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Audio/DebugOff.hpp b/include/Nazara/Audio/DebugOff.hpp deleted file mode 100644 index c1b685673..000000000 --- a/include/Nazara/Audio/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Audio/DummyAudioBuffer.hpp b/include/Nazara/Audio/DummyAudioBuffer.hpp index 9f12797bb..567e7a2eb 100644 --- a/include/Nazara/Audio/DummyAudioBuffer.hpp +++ b/include/Nazara/Audio/DummyAudioBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Audio/DummyAudioBuffer.inl b/include/Nazara/Audio/DummyAudioBuffer.inl index ddd44ca7a..2ba5ef79a 100644 --- a/include/Nazara/Audio/DummyAudioBuffer.inl +++ b/include/Nazara/Audio/DummyAudioBuffer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Audio/DummyAudioDevice.hpp b/include/Nazara/Audio/DummyAudioDevice.hpp index 463b9cfef..06c32a0b8 100644 --- a/include/Nazara/Audio/DummyAudioDevice.hpp +++ b/include/Nazara/Audio/DummyAudioDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include diff --git a/include/Nazara/Audio/DummyAudioDevice.inl b/include/Nazara/Audio/DummyAudioDevice.inl index ddd44ca7a..2ba5ef79a 100644 --- a/include/Nazara/Audio/DummyAudioDevice.inl +++ b/include/Nazara/Audio/DummyAudioDevice.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Audio/DummyAudioSource.hpp b/include/Nazara/Audio/DummyAudioSource.hpp index 7ce8b76b4..8fa9189b4 100644 --- a/include/Nazara/Audio/DummyAudioSource.hpp +++ b/include/Nazara/Audio/DummyAudioSource.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Audio/DummyAudioSource.inl b/include/Nazara/Audio/DummyAudioSource.inl index bce0fa18b..77ddafe9c 100644 --- a/include/Nazara/Audio/DummyAudioSource.inl +++ b/include/Nazara/Audio/DummyAudioSource.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/Enums.hpp b/include/Nazara/Audio/Enums.hpp index b67338744..c75b98c3c 100644 --- a/include/Nazara/Audio/Enums.hpp +++ b/include/Nazara/Audio/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Audio/Config.hpp b/include/Nazara/Audio/Export.hpp similarity index 79% rename from include/Nazara/Audio/Config.hpp rename to include/Nazara/Audio/Export.hpp index 07c5999a8..e4e6e9830 100644 --- a/include/Nazara/Audio/Config.hpp +++ b/include/Nazara/Audio/Export.hpp @@ -24,22 +24,14 @@ #pragma once -#ifndef NAZARA_AUDIO_CONFIG_HPP -#define NAZARA_AUDIO_CONFIG_HPP +#ifndef NAZARA_AUDIO_EXPORT_HPP +#define NAZARA_AUDIO_EXPORT_HPP /*! * \defgroup audio (NazaraAudio) Audio module * Audio/System module including classes to handle music, sound, etc... */ -/// Each modification of a parameter needs a recompilation of the module - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_AUDIO_SAFE 1 - -/// Checking the values and types of certain constants -#include - #if !defined(NAZARA_STATIC) #ifdef NAZARA_AUDIO_BUILD #define NAZARA_AUDIO_API NAZARA_EXPORT @@ -50,4 +42,4 @@ #define NAZARA_AUDIO_API #endif -#endif // NAZARA_AUDIO_CONFIG_HPP +#endif // NAZARA_AUDIO_EXPORT_HPP diff --git a/include/Nazara/Audio/Music.hpp b/include/Nazara/Audio/Music.hpp index b1577f03d..5a7955e0d 100644 --- a/include/Nazara/Audio/Music.hpp +++ b/include/Nazara/Audio/Music.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Audio/OpenAL.hpp b/include/Nazara/Audio/OpenAL.hpp index 5e1bc6780..bc6644435 100644 --- a/include/Nazara/Audio/OpenAL.hpp +++ b/include/Nazara/Audio/OpenAL.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Audio/OpenALBuffer.hpp b/include/Nazara/Audio/OpenALBuffer.hpp index 6ce19b0d5..88fd55b53 100644 --- a/include/Nazara/Audio/OpenALBuffer.hpp +++ b/include/Nazara/Audio/OpenALBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Audio/OpenALBuffer.inl b/include/Nazara/Audio/OpenALBuffer.inl index 1067fbddb..4cc3ac834 100644 --- a/include/Nazara/Audio/OpenALBuffer.inl +++ b/include/Nazara/Audio/OpenALBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -18,4 +17,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/OpenALDevice.hpp b/include/Nazara/Audio/OpenALDevice.hpp index 8ecf35405..34ddca607 100644 --- a/include/Nazara/Audio/OpenALDevice.hpp +++ b/include/Nazara/Audio/OpenALDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,8 +11,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/OpenALDevice.inl b/include/Nazara/Audio/OpenALDevice.inl index 4a280ac38..738fe3f7d 100644 --- a/include/Nazara/Audio/OpenALDevice.inl +++ b/include/Nazara/Audio/OpenALDevice.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -33,4 +32,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/OpenALFunctions.hpp b/include/Nazara/Audio/OpenALFunctions.hpp index c232a0069..1c90eaafa 100644 --- a/include/Nazara/Audio/OpenALFunctions.hpp +++ b/include/Nazara/Audio/OpenALFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/Audio/OpenALLibrary.hpp b/include/Nazara/Audio/OpenALLibrary.hpp index c4773d460..d7bd1adf6 100644 --- a/include/Nazara/Audio/OpenALLibrary.hpp +++ b/include/Nazara/Audio/OpenALLibrary.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,8 +10,8 @@ #if defined(NAZARA_AUDIO_OPENAL) || defined(NAZARA_AUDIO_BUILD) #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/OpenALLibrary.inl b/include/Nazara/Audio/OpenALLibrary.inl index 867378ab6..48871dfd5 100644 --- a/include/Nazara/Audio/OpenALLibrary.inl +++ b/include/Nazara/Audio/OpenALLibrary.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/OpenALSource.hpp b/include/Nazara/Audio/OpenALSource.hpp index 637172117..10ae80592 100644 --- a/include/Nazara/Audio/OpenALSource.hpp +++ b/include/Nazara/Audio/OpenALSource.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Audio/OpenALSource.inl b/include/Nazara/Audio/OpenALSource.inl index 04d7dc4d2..8c3db9767 100644 --- a/include/Nazara/Audio/OpenALSource.inl +++ b/include/Nazara/Audio/OpenALSource.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/OpenALUtils.hpp b/include/Nazara/Audio/OpenALUtils.hpp index 450f4b87f..ac63276ed 100644 --- a/include/Nazara/Audio/OpenALUtils.hpp +++ b/include/Nazara/Audio/OpenALUtils.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #if defined(NAZARA_AUDIO_OPENAL) || defined(NAZARA_AUDIO_BUILD) #include -#include +#include #include #include diff --git a/include/Nazara/Audio/Sound.hpp b/include/Nazara/Audio/Sound.hpp index 33d96bdfe..770c5e043 100644 --- a/include/Nazara/Audio/Sound.hpp +++ b/include/Nazara/Audio/Sound.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Audio/SoundBuffer.hpp b/include/Nazara/Audio/SoundBuffer.hpp index 69110bbaa..8f43230fe 100644 --- a/include/Nazara/Audio/SoundBuffer.hpp +++ b/include/Nazara/Audio/SoundBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/SoundBuffer.inl b/include/Nazara/Audio/SoundBuffer.inl index 67242a301..238833bdc 100644 --- a/include/Nazara/Audio/SoundBuffer.inl +++ b/include/Nazara/Audio/SoundBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -18,8 +17,6 @@ namespace Nz /*! * \brief Gets the format of the sound buffer * \return Enumeration of type AudioFormat (mono, stereo, ...) - * - * \remark Produces a NazaraError if there is no sound buffer with NAZARA_AUDIO_SAFE defined */ inline AudioFormat SoundBuffer::GetFormat() const { @@ -29,8 +26,6 @@ namespace Nz /*! * \brief Gets the internal raw samples * \return Pointer to raw data - * - * \remark Produces a NazaraError if there is no sound buffer with NAZARA_AUDIO_SAFE defined */ inline const Int16* SoundBuffer::GetSamples() const { @@ -40,8 +35,6 @@ namespace Nz /*! * \brief Gets the number of samples in the sound buffer * \return Count of samples (number of seconds * sample rate * channel count) - * - * \remark Produces a NazaraError if there is no sound buffer with NAZARA_AUDIO_SAFE defined */ inline UInt64 SoundBuffer::GetSampleCount() const { @@ -51,8 +44,6 @@ namespace Nz /*! * \brief Gets the rates of sample in the sound buffer * \return Rate of sample in Hertz (Hz) - * - * \remark Produces a NazaraError if there is no sound buffer with NAZARA_AUDIO_SAFE defined */ inline UInt32 SoundBuffer::GetSampleRate() const { @@ -60,4 +51,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/SoundEmitter.hpp b/include/Nazara/Audio/SoundEmitter.hpp index 23f584af9..47a077921 100644 --- a/include/Nazara/Audio/SoundEmitter.hpp +++ b/include/Nazara/Audio/SoundEmitter.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_SOUNDEMITTER_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Audio/SoundEmitter.inl b/include/Nazara/Audio/SoundEmitter.inl index 4b99bf595..796aeb130 100644 --- a/include/Nazara/Audio/SoundEmitter.inl +++ b/include/Nazara/Audio/SoundEmitter.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -16,4 +15,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Audio/SoundStream.hpp b/include/Nazara/Audio/SoundStream.hpp index ae004c29d..1e98293b8 100644 --- a/include/Nazara/Audio/SoundStream.hpp +++ b/include/Nazara/Audio/SoundStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_AUDIO_SOUNDSTREAM_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core.hpp b/include/Nazara/Core.hpp index 3933c8de0..f7e0c2b56 100644 --- a/include/Nazara/Core.hpp +++ b/include/Nazara/Core.hpp @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/AbstractAtlas.hpp b/include/Nazara/Core/AbstractAtlas.hpp index 30b7a0acf..d5eb7cc60 100644 --- a/include/Nazara/Core/AbstractAtlas.hpp +++ b/include/Nazara/Core/AbstractAtlas.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_ABSTRACTATLAS_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/AbstractHash.hpp b/include/Nazara/Core/AbstractHash.hpp index 71131b02d..98392349d 100644 --- a/include/Nazara/Core/AbstractHash.hpp +++ b/include/Nazara/Core/AbstractHash.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_ABSTRACTHASH_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Core/AbstractImage.hpp b/include/Nazara/Core/AbstractImage.hpp index bde0fe801..1ce45c30f 100644 --- a/include/Nazara/Core/AbstractImage.hpp +++ b/include/Nazara/Core/AbstractImage.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_ABSTRACTIMAGE_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/AbstractImage.inl b/include/Nazara/Core/AbstractImage.inl index 6995a3a2b..3abf98683 100644 --- a/include/Nazara/Core/AbstractImage.inl +++ b/include/Nazara/Core/AbstractImage.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/AbstractLogger.hpp b/include/Nazara/Core/AbstractLogger.hpp index 288cc72a1..bfa0297d2 100644 --- a/include/Nazara/Core/AbstractLogger.hpp +++ b/include/Nazara/Core/AbstractLogger.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_ABSTRACTLOGGER_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Core/Algorithm.hpp b/include/Nazara/Core/Algorithm.hpp index b65095e52..dee7f1ac0 100644 --- a/include/Nazara/Core/Algorithm.hpp +++ b/include/Nazara/Core/Algorithm.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Algorithm.inl b/include/Nazara/Core/Algorithm.inl index 8e1aa7c59..91ef72cb8 100644 --- a/include/Nazara/Core/Algorithm.inl +++ b/include/Nazara/Core/Algorithm.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { @@ -143,4 +142,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Animation.hpp b/include/Nazara/Core/Animation.hpp index 0ba1006bc..b229882ac 100644 --- a/include/Nazara/Core/Animation.hpp +++ b/include/Nazara/Core/Animation.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_ANIMATION_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/Animation.inl b/include/Nazara/Core/Animation.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Animation.inl +++ b/include/Nazara/Core/Animation.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Application.hpp b/include/Nazara/Core/Application.hpp index 81ec4f2a5..a8d6cc52a 100644 --- a/include/Nazara/Core/Application.hpp +++ b/include/Nazara/Core/Application.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Application.inl b/include/Nazara/Core/Application.inl index 92ece4f97..4dbc78592 100644 --- a/include/Nazara/Core/Application.inl +++ b/include/Nazara/Core/Application.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -72,4 +71,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ApplicationBase.hpp b/include/Nazara/Core/ApplicationBase.hpp index 7d529624c..b8596ba10 100644 --- a/include/Nazara/Core/ApplicationBase.hpp +++ b/include/Nazara/Core/ApplicationBase.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ApplicationBase.inl b/include/Nazara/Core/ApplicationBase.inl index bc003a5c1..41651b99f 100644 --- a/include/Nazara/Core/ApplicationBase.inl +++ b/include/Nazara/Core/ApplicationBase.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -145,4 +144,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ApplicationComponent.hpp b/include/Nazara/Core/ApplicationComponent.hpp index 574614a9f..f0dfd7836 100644 --- a/include/Nazara/Core/ApplicationComponent.hpp +++ b/include/Nazara/Core/ApplicationComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_APPLICATIONCOMPONENT_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/ApplicationComponent.inl b/include/Nazara/Core/ApplicationComponent.inl index 05b3ff18f..d10df0a29 100644 --- a/include/Nazara/Core/ApplicationComponent.inl +++ b/include/Nazara/Core/ApplicationComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ApplicationComponentRegistry.hpp b/include/Nazara/Core/ApplicationComponentRegistry.hpp index 85a424722..7403f130e 100644 --- a/include/Nazara/Core/ApplicationComponentRegistry.hpp +++ b/include/Nazara/Core/ApplicationComponentRegistry.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_APPLICATIONCOMPONENTREGISTRY_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Core/ApplicationComponentRegistry.inl b/include/Nazara/Core/ApplicationComponentRegistry.inl index 3d5847cb7..9ae78279d 100644 --- a/include/Nazara/Core/ApplicationComponentRegistry.inl +++ b/include/Nazara/Core/ApplicationComponentRegistry.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ApplicationUpdater.hpp b/include/Nazara/Core/ApplicationUpdater.hpp index 75fe42ee8..4eb656515 100644 --- a/include/Nazara/Core/ApplicationUpdater.hpp +++ b/include/Nazara/Core/ApplicationUpdater.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_APPLICATIONUPDATER_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/ApplicationUpdater.inl b/include/Nazara/Core/ApplicationUpdater.inl index 9d694310c..a42ee5554 100644 --- a/include/Nazara/Core/ApplicationUpdater.inl +++ b/include/Nazara/Core/ApplicationUpdater.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -69,4 +68,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Buffer.hpp b/include/Nazara/Core/Buffer.hpp index 515ef47f4..306254162 100644 --- a/include/Nazara/Core/Buffer.hpp +++ b/include/Nazara/Core/Buffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_BUFFER_HPP #include -#include #include +#include #include #include diff --git a/include/Nazara/Core/Buffer.inl b/include/Nazara/Core/Buffer.inl index 03f98e32d..e7f240830 100644 --- a/include/Nazara/Core/Buffer.inl +++ b/include/Nazara/Core/Buffer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -36,4 +35,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/BufferMapper.hpp b/include/Nazara/Core/BufferMapper.hpp index 344bdc296..11f03dace 100644 --- a/include/Nazara/Core/BufferMapper.hpp +++ b/include/Nazara/Core/BufferMapper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/BufferMapper.inl b/include/Nazara/Core/BufferMapper.inl index b11c8cb82..bc9a1406b 100644 --- a/include/Nazara/Core/BufferMapper.inl +++ b/include/Nazara/Core/BufferMapper.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include -#include +#include namespace Nz { @@ -69,4 +68,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ByteArray.hpp b/include/Nazara/Core/ByteArray.hpp index 10fdfb9f2..7d4fb88bb 100644 --- a/include/Nazara/Core/ByteArray.hpp +++ b/include/Nazara/Core/ByteArray.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ByteArray.inl b/include/Nazara/Core/ByteArray.inl index b3543a336..194c5d05d 100644 --- a/include/Nazara/Core/ByteArray.inl +++ b/include/Nazara/Core/ByteArray.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -767,4 +766,3 @@ namespace std } } -#include diff --git a/include/Nazara/Core/ByteArrayPool.hpp b/include/Nazara/Core/ByteArrayPool.hpp index 546e2c3db..d4c6a507f 100644 --- a/include/Nazara/Core/ByteArrayPool.hpp +++ b/include/Nazara/Core/ByteArrayPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ByteArrayPool.inl b/include/Nazara/Core/ByteArrayPool.inl index 896524b87..505d97348 100644 --- a/include/Nazara/Core/ByteArrayPool.inl +++ b/include/Nazara/Core/ByteArrayPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -40,4 +39,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ByteStream.hpp b/include/Nazara/Core/ByteStream.hpp index 49fcc528d..ac5095a4f 100644 --- a/include/Nazara/Core/ByteStream.hpp +++ b/include/Nazara/Core/ByteStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_BYTESTREAM_HPP #include -#include #include +#include #include #include diff --git a/include/Nazara/Core/ByteStream.inl b/include/Nazara/Core/ByteStream.inl index a5838d87b..65fe62a46 100644 --- a/include/Nazara/Core/ByteStream.inl +++ b/include/Nazara/Core/ByteStream.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -196,4 +195,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Clock.hpp b/include/Nazara/Core/Clock.hpp index af6b2d5e4..b7cbe9d3c 100644 --- a/include/Nazara/Core/Clock.hpp +++ b/include/Nazara/Core/Clock.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_CLOCK_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/Clock.inl b/include/Nazara/Core/Clock.inl index d088b8af5..40379e3fa 100644 --- a/include/Nazara/Core/Clock.inl +++ b/include/Nazara/Core/Clock.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -176,4 +175,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Color.hpp b/include/Nazara/Core/Color.hpp index 2d07d1646..e2fee025f 100644 --- a/include/Nazara/Core/Color.hpp +++ b/include/Nazara/Core/Color.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Color.inl b/include/Nazara/Core/Color.inl index 0a69f5efe..dfc39066c 100644 --- a/include/Nazara/Core/Color.inl +++ b/include/Nazara/Core/Color.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -769,4 +768,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/CommandLineParameters.hpp b/include/Nazara/Core/CommandLineParameters.hpp index e630cf4b7..07aa83f29 100644 --- a/include/Nazara/Core/CommandLineParameters.hpp +++ b/include/Nazara/Core/CommandLineParameters.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/CommandLineParameters.inl b/include/Nazara/Core/CommandLineParameters.inl index 25554f7dd..4d8cd6094 100644 --- a/include/Nazara/Core/CommandLineParameters.inl +++ b/include/Nazara/Core/CommandLineParameters.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -75,4 +74,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Components/DisabledComponent.hpp b/include/Nazara/Core/Components/DisabledComponent.hpp index 06554282b..66479264d 100644 --- a/include/Nazara/Core/Components/DisabledComponent.hpp +++ b/include/Nazara/Core/Components/DisabledComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_COMPONENTS_DISABLEDCOMPONENT_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Components/LifetimeComponent.hpp b/include/Nazara/Core/Components/LifetimeComponent.hpp index 7da020323..e1cadf9bd 100644 --- a/include/Nazara/Core/Components/LifetimeComponent.hpp +++ b/include/Nazara/Core/Components/LifetimeComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_COMPONENTS_LIFETIMECOMPONENT_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Components/LifetimeComponent.inl b/include/Nazara/Core/Components/LifetimeComponent.inl index 8ba3165c2..cb2b699b2 100644 --- a/include/Nazara/Core/Components/LifetimeComponent.inl +++ b/include/Nazara/Core/Components/LifetimeComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Components/NodeComponent.hpp b/include/Nazara/Core/Components/NodeComponent.hpp index 94fac0d27..4816a8e24 100644 --- a/include/Nazara/Core/Components/NodeComponent.hpp +++ b/include/Nazara/Core/Components/NodeComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Components/NodeComponent.inl b/include/Nazara/Core/Components/NodeComponent.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Components/NodeComponent.inl +++ b/include/Nazara/Core/Components/NodeComponent.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Components/SharedSkeletonComponent.hpp b/include/Nazara/Core/Components/SharedSkeletonComponent.hpp index 6e94a7847..3a91e4dfc 100644 --- a/include/Nazara/Core/Components/SharedSkeletonComponent.hpp +++ b/include/Nazara/Core/Components/SharedSkeletonComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Components/SharedSkeletonComponent.inl b/include/Nazara/Core/Components/SharedSkeletonComponent.inl index 4dbdb70f0..2bed57f24 100644 --- a/include/Nazara/Core/Components/SharedSkeletonComponent.inl +++ b/include/Nazara/Core/Components/SharedSkeletonComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Components/SkeletonComponent.hpp b/include/Nazara/Core/Components/SkeletonComponent.hpp index 5ee6cbf12..95681225f 100644 --- a/include/Nazara/Core/Components/SkeletonComponent.hpp +++ b/include/Nazara/Core/Components/SkeletonComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Components/SkeletonComponent.inl b/include/Nazara/Core/Components/SkeletonComponent.inl index b14be89ef..5ff5ef839 100644 --- a/include/Nazara/Core/Components/SkeletonComponent.inl +++ b/include/Nazara/Core/Components/SkeletonComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Components/SkeletonComponentBase.hpp b/include/Nazara/Core/Components/SkeletonComponentBase.hpp index fe01a5d54..0b90aacfb 100644 --- a/include/Nazara/Core/Components/SkeletonComponentBase.hpp +++ b/include/Nazara/Core/Components/SkeletonComponentBase.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Components/SkeletonComponentBase.inl b/include/Nazara/Core/Components/SkeletonComponentBase.inl index 9ca14bb9a..620c16905 100644 --- a/include/Nazara/Core/Components/SkeletonComponentBase.inl +++ b/include/Nazara/Core/Components/SkeletonComponentBase.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Components/VelocityComponent.hpp b/include/Nazara/Core/Components/VelocityComponent.hpp index fa0411996..1f003a368 100644 --- a/include/Nazara/Core/Components/VelocityComponent.hpp +++ b/include/Nazara/Core/Components/VelocityComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_COMPONENTS_VELOCITYCOMPONENT_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Components/VelocityComponent.inl b/include/Nazara/Core/Components/VelocityComponent.inl index 17ca48ea7..8ccba77ae 100644 --- a/include/Nazara/Core/Components/VelocityComponent.inl +++ b/include/Nazara/Core/Components/VelocityComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Config.hpp b/include/Nazara/Core/Config.hpp deleted file mode 100644 index ff68238a5..000000000 --- a/include/Nazara/Core/Config.hpp +++ /dev/null @@ -1,74 +0,0 @@ -/* - Nazara Engine - Core module - - Copyright (C) 2024 Jérôme "SirLynix" 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 - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. -*/ - -#pragma once - -#ifndef NAZARA_CORE_CONFIG_HPP -#define NAZARA_CORE_CONFIG_HPP - -/*! -* \defgroup core (NazaraCore) Core module -* Core/System module including classes to handle threading, time, hardware info, memory management, etc... -*/ - -/// Each modification of a parameter needs a recompilation of the module - -// Duplicate the log output on the standard output flux (cout) -#define NAZARA_CORE_DUPLICATE_LOG_TO_COUT 0 - -// Checks the assertions -#define NAZARA_CORE_ENABLE_ASSERTS 0 - -// Call exit when an assertion is invalid -#define NAZARA_CORE_EXIT_ON_ASSERT_FAILURE 1 - -// Size of buffer when reading entirely a file (ex: Hash) -#define NAZARA_CORE_FILE_BUFFERSIZE 4096 - -// Incorporate the Unicode Character Data table (Necessary to make it work with the flag String::HandleUTF8) -#define NAZARA_CORE_INCLUDE_UNICODEDATA 1 - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_CORE_SAFE 1 - -// When a resource is being parsed, it triggers a warning if a non-critical error is found in the resource (Slower) -#define NAZARA_CORE_STRICT_RESOURCE_PARSING 1 - -// The maximal number of weights acting on a vertex (In case of overflow, the surnumerous weights would be ignored and the others renormalized) -#define NAZARA_CORE_SKINNING_MAX_WEIGHTS 4 - -/// Checking the values and types of certain constants -#include - -#if defined(NAZARA_STATIC) - #define NAZARA_CORE_API -#else - #ifdef NAZARA_CORE_BUILD - #define NAZARA_CORE_API NAZARA_EXPORT - #else - #define NAZARA_CORE_API NAZARA_IMPORT - #endif -#endif - -#endif // NAZARA_CORE_CONFIG_HPP diff --git a/include/Nazara/Core/ConfigCheck.hpp b/include/Nazara/Core/ConfigCheck.hpp deleted file mode 100644 index c89aeb6b6..000000000 --- a/include/Nazara/Core/ConfigCheck.hpp +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_CORE_CONFIGCHECK_HPP -#define NAZARA_CORE_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -NazaraCheckTypeAndVal(NAZARA_CORE_FILE_BUFFERSIZE, integral, >, 0, " shall be a strictly positive integer"); -NazaraCheckTypeAndVal(NAZARA_CORE_SKINNING_MAX_WEIGHTS, integral, >, 0, " shall be a strictly positive integer"); - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_CORE_CONFIGCHECK_HPP diff --git a/include/Nazara/Core/Core.hpp b/include/Nazara/Core/Core.hpp index 10cdfd9a3..84fdd5ce7 100644 --- a/include/Nazara/Core/Core.hpp +++ b/include/Nazara/Core/Core.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Core.inl b/include/Nazara/Core/Core.inl index 884a72291..fe09c784a 100644 --- a/include/Nazara/Core/Core.inl +++ b/include/Nazara/Core/Core.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/CubemapParams.hpp b/include/Nazara/Core/CubemapParams.hpp index b52761d11..1290280d0 100644 --- a/include/Nazara/Core/CubemapParams.hpp +++ b/include/Nazara/Core/CubemapParams.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Debug.hpp b/include/Nazara/Core/Debug.hpp deleted file mode 100644 index 39eecd675..000000000 --- a/include/Nazara/Core/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Core/DebugOff.hpp b/include/Nazara/Core/DebugOff.hpp deleted file mode 100644 index 39eecd675..000000000 --- a/include/Nazara/Core/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Core/DynLib.hpp b/include/Nazara/Core/DynLib.hpp index abd157fe5..46d3f380b 100644 --- a/include/Nazara/Core/DynLib.hpp +++ b/include/Nazara/Core/DynLib.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_DYNLIB_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/EmptyStream.hpp b/include/Nazara/Core/EmptyStream.hpp index 97de9851f..eadb83d0c 100644 --- a/include/Nazara/Core/EmptyStream.hpp +++ b/include/Nazara/Core/EmptyStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/EmptyStream.inl b/include/Nazara/Core/EmptyStream.inl index 4baee335c..dbace8360 100644 --- a/include/Nazara/Core/EmptyStream.inl +++ b/include/Nazara/Core/EmptyStream.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -18,4 +17,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/EntitySystemAppComponent.hpp b/include/Nazara/Core/EntitySystemAppComponent.hpp index a9ebb239f..278529a23 100644 --- a/include/Nazara/Core/EntitySystemAppComponent.hpp +++ b/include/Nazara/Core/EntitySystemAppComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include namespace Nz { diff --git a/include/Nazara/Core/EntitySystemAppComponent.inl b/include/Nazara/Core/EntitySystemAppComponent.inl index 39310d2ba..d6ebab7a2 100644 --- a/include/Nazara/Core/EntitySystemAppComponent.inl +++ b/include/Nazara/Core/EntitySystemAppComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/EntityWorld.hpp b/include/Nazara/Core/EntityWorld.hpp index 2c32b3841..023c395b3 100644 --- a/include/Nazara/Core/EntityWorld.hpp +++ b/include/Nazara/Core/EntityWorld.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_ENTITYWORLD_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/EntityWorld.inl b/include/Nazara/Core/EntityWorld.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/EntityWorld.inl +++ b/include/Nazara/Core/EntityWorld.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/EnttSystemGraph.hpp b/include/Nazara/Core/EnttSystemGraph.hpp index a1977d15f..a249a54ef 100644 --- a/include/Nazara/Core/EnttSystemGraph.hpp +++ b/include/Nazara/Core/EnttSystemGraph.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/EnttSystemGraph.inl b/include/Nazara/Core/EnttSystemGraph.inl index 1711c5a98..2dcb5c2e8 100644 --- a/include/Nazara/Core/EnttSystemGraph.inl +++ b/include/Nazara/Core/EnttSystemGraph.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -85,4 +84,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/EnttWorld.hpp b/include/Nazara/Core/EnttWorld.hpp index 533407127..f3975f22a 100644 --- a/include/Nazara/Core/EnttWorld.hpp +++ b/include/Nazara/Core/EnttWorld.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/EnttWorld.inl b/include/Nazara/Core/EnttWorld.inl index 94b8ebdeb..65eff7659 100644 --- a/include/Nazara/Core/EnttWorld.inl +++ b/include/Nazara/Core/EnttWorld.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -60,4 +59,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Enums.hpp b/include/Nazara/Core/Enums.hpp index e3fa2034f..e98d0b43e 100644 --- a/include/Nazara/Core/Enums.hpp +++ b/include/Nazara/Core/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/EnvironmentVariables.hpp b/include/Nazara/Core/EnvironmentVariables.hpp index ee63529c1..a8bda915e 100644 --- a/include/Nazara/Core/EnvironmentVariables.hpp +++ b/include/Nazara/Core/EnvironmentVariables.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_ENVIRONMENTVARIABLES_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Core/EnvironmentVariables.inl b/include/Nazara/Core/EnvironmentVariables.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/EnvironmentVariables.inl +++ b/include/Nazara/Core/EnvironmentVariables.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Error.hpp b/include/Nazara/Core/Error.hpp index d393094ec..e3ad7a451 100644 --- a/include/Nazara/Core/Error.hpp +++ b/include/Nazara/Core/Error.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,12 +8,12 @@ #define NAZARA_CORE_ERROR_HPP #include -#include #include +#include #include #include -#if NAZARA_CORE_ENABLE_ASSERTS || defined(NAZARA_DEBUG) +#ifndef NAZARA_CORE_DISABLE_ASSERTS #define NazaraAssert(a, err) if NAZARA_UNLIKELY(!(a)) Nz::Error::Trigger(Nz::ErrorType::AssertFailed, __LINE__, __FILE__, NAZARA_PRETTY_FUNCTION, err) #define NazaraAssertFmt(a, fmt, ...) if NAZARA_UNLIKELY(!(a)) Nz::Error::Trigger(Nz::ErrorType::AssertFailed, __LINE__, __FILE__, NAZARA_PRETTY_FUNCTION, Nz::Format(NAZARA_FORMAT(fmt), __VA_ARGS__)) #else diff --git a/include/Nazara/Core/Error.inl b/include/Nazara/Core/Error.inl index b5571e934..d695dd9d8 100644 --- a/include/Nazara/Core/Error.inl +++ b/include/Nazara/Core/Error.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp namespace Nz { diff --git a/include/Nazara/Core/ErrorFlags.hpp b/include/Nazara/Core/ErrorFlags.hpp index c4aafc27d..3a75c8a5f 100644 --- a/include/Nazara/Core/ErrorFlags.hpp +++ b/include/Nazara/Core/ErrorFlags.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ErrorFlags.inl b/include/Nazara/Core/ErrorFlags.inl index 8dde6f83b..20d6115d9 100644 --- a/include/Nazara/Core/ErrorFlags.inl +++ b/include/Nazara/Core/ErrorFlags.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -57,4 +56,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Export.hpp b/include/Nazara/Core/Export.hpp new file mode 100644 index 000000000..2a9202711 --- /dev/null +++ b/include/Nazara/Core/Export.hpp @@ -0,0 +1,45 @@ +/* + Nazara Engine - Core module + + Copyright (C) 2024 Jérôme "SirLynix" 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 + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#pragma once + +#ifndef NAZARA_CORE_EXPORT_HPP +#define NAZARA_CORE_EXPORT_HPP + +/*! +* \defgroup core (NazaraCore) Core module +* Core/System module including classes to handle threading, time, hardware info, memory management, etc... +*/ + +#if defined(NAZARA_STATIC) + #define NAZARA_CORE_API +#else + #ifdef NAZARA_CORE_BUILD + #define NAZARA_CORE_API NAZARA_EXPORT + #else + #define NAZARA_CORE_API NAZARA_IMPORT + #endif +#endif + +#endif // NAZARA_CORE_EXPORT_HPP diff --git a/include/Nazara/Core/File.hpp b/include/Nazara/Core/File.hpp index 3be21cca8..b8da6e84d 100644 --- a/include/Nazara/Core/File.hpp +++ b/include/Nazara/Core/File.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/File.inl b/include/Nazara/Core/File.inl index 8f2625c3d..4da50317d 100644 --- a/include/Nazara/Core/File.inl +++ b/include/Nazara/Core/File.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -80,4 +79,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/FileLogger.hpp b/include/Nazara/Core/FileLogger.hpp index 91f11c670..eb2300c8e 100644 --- a/include/Nazara/Core/FileLogger.hpp +++ b/include/Nazara/Core/FileLogger.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/FilesystemAppComponent.hpp b/include/Nazara/Core/FilesystemAppComponent.hpp index d96c760bc..0dedc8773 100644 --- a/include/Nazara/Core/FilesystemAppComponent.hpp +++ b/include/Nazara/Core/FilesystemAppComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/FilesystemAppComponent.inl b/include/Nazara/Core/FilesystemAppComponent.inl index fcef60281..4a399d674 100644 --- a/include/Nazara/Core/FilesystemAppComponent.inl +++ b/include/Nazara/Core/FilesystemAppComponent.inl @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { @@ -160,4 +159,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Format.hpp b/include/Nazara/Core/Format.hpp index f855cce57..f5ba26ea8 100644 --- a/include/Nazara/Core/Format.hpp +++ b/include/Nazara/Core/Format.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_FORMAT_HPP #include -#include +#include #include #ifdef NAZARA_BUILD diff --git a/include/Nazara/Core/Format.inl b/include/Nazara/Core/Format.inl index 8742078fd..cff550401 100644 --- a/include/Nazara/Core/Format.inl +++ b/include/Nazara/Core/Format.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -33,4 +32,3 @@ namespace Nz #undef NAZARA_TO_STRING_STD_SPEC } -#include diff --git a/include/Nazara/Core/Formats/MD5AnimParser.hpp b/include/Nazara/Core/Formats/MD5AnimParser.hpp index f92b4552f..a0265dcd4 100644 --- a/include/Nazara/Core/Formats/MD5AnimParser.hpp +++ b/include/Nazara/Core/Formats/MD5AnimParser.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_FORMATS_MD5ANIMPARSER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Formats/MD5MeshParser.hpp b/include/Nazara/Core/Formats/MD5MeshParser.hpp index eac4725a0..b8ed10b0e 100644 --- a/include/Nazara/Core/Formats/MD5MeshParser.hpp +++ b/include/Nazara/Core/Formats/MD5MeshParser.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_FORMATS_MD5MESHPARSER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Formats/MTLParser.hpp b/include/Nazara/Core/Formats/MTLParser.hpp index 12e62b690..81a9df60e 100644 --- a/include/Nazara/Core/Formats/MTLParser.hpp +++ b/include/Nazara/Core/Formats/MTLParser.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Core/Formats/MTLParser.inl b/include/Nazara/Core/Formats/MTLParser.inl index 1308b603c..0adb5b80b 100644 --- a/include/Nazara/Core/Formats/MTLParser.inl +++ b/include/Nazara/Core/Formats/MTLParser.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -78,4 +77,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Formats/OBJParser.hpp b/include/Nazara/Core/Formats/OBJParser.hpp index e1e9f7cb0..b157c9354 100644 --- a/include/Nazara/Core/Formats/OBJParser.hpp +++ b/include/Nazara/Core/Formats/OBJParser.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_FORMATS_OBJPARSER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Formats/OBJParser.inl b/include/Nazara/Core/Formats/OBJParser.inl index c88150daa..81e1fef22 100644 --- a/include/Nazara/Core/Formats/OBJParser.inl +++ b/include/Nazara/Core/Formats/OBJParser.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -182,4 +181,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Functor.hpp b/include/Nazara/Core/Functor.hpp index 194b5343b..5b1bde881 100644 --- a/include/Nazara/Core/Functor.hpp +++ b/include/Nazara/Core/Functor.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Functor.inl b/include/Nazara/Core/Functor.inl index e279cb812..4db147953 100644 --- a/include/Nazara/Core/Functor.inl +++ b/include/Nazara/Core/Functor.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -90,4 +89,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/GuillotineBinPack.hpp b/include/Nazara/Core/GuillotineBinPack.hpp index 41056a96c..2a4f5409d 100644 --- a/include/Nazara/Core/GuillotineBinPack.hpp +++ b/include/Nazara/Core/GuillotineBinPack.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Implémentation originale de Jukka Jylänki (Merci de sa contribution au domaine public) // http://clb.demon.fi/projects/even-more-rectangle-bin-packing diff --git a/include/Nazara/Core/GuillotineImageAtlas.hpp b/include/Nazara/Core/GuillotineImageAtlas.hpp index c7fe51e85..5398a625f 100644 --- a/include/Nazara/Core/GuillotineImageAtlas.hpp +++ b/include/Nazara/Core/GuillotineImageAtlas.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/HandledObject.hpp b/include/Nazara/Core/HandledObject.hpp index 71a43563b..0042ed2f7 100644 --- a/include/Nazara/Core/HandledObject.hpp +++ b/include/Nazara/Core/HandledObject.hpp @@ -1,14 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_CORE_HANDLEDOBJECT_HPP #define NAZARA_CORE_HANDLEDOBJECT_HPP -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/HandledObject.inl b/include/Nazara/Core/HandledObject.inl index 462bdfc4a..7bc284a0f 100644 --- a/include/Nazara/Core/HandledObject.inl +++ b/include/Nazara/Core/HandledObject.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -133,4 +132,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/HardwareInfo.hpp b/include/Nazara/Core/HardwareInfo.hpp index 1fa495e68..c759fd3fa 100644 --- a/include/Nazara/Core/HardwareInfo.hpp +++ b/include/Nazara/Core/HardwareInfo.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_HARDWAREINFO_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/HardwareInfo.inl b/include/Nazara/Core/HardwareInfo.inl index 20eef3e09..d87969f72 100644 --- a/include/Nazara/Core/HardwareInfo.inl +++ b/include/Nazara/Core/HardwareInfo.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -32,4 +31,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Hash/CRC32.hpp b/include/Nazara/Core/Hash/CRC32.hpp index 20f185fc0..4500ce88a 100644 --- a/include/Nazara/Core/Hash/CRC32.hpp +++ b/include/Nazara/Core/Hash/CRC32.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/CRC64.hpp b/include/Nazara/Core/Hash/CRC64.hpp index 9bb0050d9..e739b752a 100644 --- a/include/Nazara/Core/Hash/CRC64.hpp +++ b/include/Nazara/Core/Hash/CRC64.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/Fletcher16.hpp b/include/Nazara/Core/Hash/Fletcher16.hpp index ea863f757..8dd8201c4 100644 --- a/include/Nazara/Core/Hash/Fletcher16.hpp +++ b/include/Nazara/Core/Hash/Fletcher16.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/MD5.hpp b/include/Nazara/Core/Hash/MD5.hpp index ca9123744..e50d2cb7e 100644 --- a/include/Nazara/Core/Hash/MD5.hpp +++ b/include/Nazara/Core/Hash/MD5.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/SHA1.hpp b/include/Nazara/Core/Hash/SHA1.hpp index 1efc37759..30d1f85e1 100644 --- a/include/Nazara/Core/Hash/SHA1.hpp +++ b/include/Nazara/Core/Hash/SHA1.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/SHA224.hpp b/include/Nazara/Core/Hash/SHA224.hpp index aa4ea4a65..00b4b934e 100644 --- a/include/Nazara/Core/Hash/SHA224.hpp +++ b/include/Nazara/Core/Hash/SHA224.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/SHA256.hpp b/include/Nazara/Core/Hash/SHA256.hpp index cc1590b74..1454edbc5 100644 --- a/include/Nazara/Core/Hash/SHA256.hpp +++ b/include/Nazara/Core/Hash/SHA256.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/SHA384.hpp b/include/Nazara/Core/Hash/SHA384.hpp index c5c4b8e11..69fdb525e 100644 --- a/include/Nazara/Core/Hash/SHA384.hpp +++ b/include/Nazara/Core/Hash/SHA384.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/SHA512.hpp b/include/Nazara/Core/Hash/SHA512.hpp index 663cc9cf2..5d355efa9 100644 --- a/include/Nazara/Core/Hash/SHA512.hpp +++ b/include/Nazara/Core/Hash/SHA512.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Hash/Whirlpool.hpp b/include/Nazara/Core/Hash/Whirlpool.hpp index 0e53069a0..6ca327529 100644 --- a/include/Nazara/Core/Hash/Whirlpool.hpp +++ b/include/Nazara/Core/Hash/Whirlpool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Image.hpp b/include/Nazara/Core/Image.hpp index dc4438763..9793f6af3 100644 --- a/include/Nazara/Core/Image.hpp +++ b/include/Nazara/Core/Image.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Image.inl b/include/Nazara/Core/Image.inl index 06c9ae81f..6d8655251 100644 --- a/include/Nazara/Core/Image.inl +++ b/include/Nazara/Core/Image.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -86,4 +85,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ImageStream.hpp b/include/Nazara/Core/ImageStream.hpp index 438224e16..399caecfc 100644 --- a/include/Nazara/Core/ImageStream.hpp +++ b/include/Nazara/Core/ImageStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_IMAGESTREAM_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/ImageStream.inl b/include/Nazara/Core/ImageStream.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/ImageStream.inl +++ b/include/Nazara/Core/ImageStream.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/IndexBuffer.hpp b/include/Nazara/Core/IndexBuffer.hpp index 9553566f5..83b53917e 100644 --- a/include/Nazara/Core/IndexBuffer.hpp +++ b/include/Nazara/Core/IndexBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/IndexBuffer.inl b/include/Nazara/Core/IndexBuffer.inl index 8ee068fc7..31c2e73ac 100644 --- a/include/Nazara/Core/IndexBuffer.inl +++ b/include/Nazara/Core/IndexBuffer.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -69,4 +68,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/IndexIterator.hpp b/include/Nazara/Core/IndexIterator.hpp index 361d97349..2cce86e18 100644 --- a/include/Nazara/Core/IndexIterator.hpp +++ b/include/Nazara/Core/IndexIterator.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/IndexIterator.inl b/include/Nazara/Core/IndexIterator.inl index 5ab5337c1..c9c744092 100644 --- a/include/Nazara/Core/IndexIterator.inl +++ b/include/Nazara/Core/IndexIterator.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -172,4 +171,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Core/IndexMapper.hpp b/include/Nazara/Core/IndexMapper.hpp index 1bfde6d54..95f9c127c 100644 --- a/include/Nazara/Core/IndexMapper.hpp +++ b/include/Nazara/Core/IndexMapper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Initializer.hpp b/include/Nazara/Core/Initializer.hpp index bd480ed39..924823353 100644 --- a/include/Nazara/Core/Initializer.hpp +++ b/include/Nazara/Core/Initializer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Initializer.inl b/include/Nazara/Core/Initializer.inl index eb48310f1..426f2aa8c 100644 --- a/include/Nazara/Core/Initializer.inl +++ b/include/Nazara/Core/Initializer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -124,4 +123,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Joint.hpp b/include/Nazara/Core/Joint.hpp index d691d5e00..342db26ce 100644 --- a/include/Nazara/Core/Joint.hpp +++ b/include/Nazara/Core/Joint.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Joint.inl b/include/Nazara/Core/Joint.inl index 01eb6ada9..978f38038 100644 --- a/include/Nazara/Core/Joint.inl +++ b/include/Nazara/Core/Joint.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -109,4 +108,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Log.hpp b/include/Nazara/Core/Log.hpp index d9d10570d..4976b6daa 100644 --- a/include/Nazara/Core/Log.hpp +++ b/include/Nazara/Core/Log.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,9 +8,9 @@ #define NAZARA_CORE_LOG_HPP #include -#include #include #include +#include #include #include diff --git a/include/Nazara/Core/Log.inl b/include/Nazara/Core/Log.inl index 09e809ab6..5e8c9f746 100644 --- a/include/Nazara/Core/Log.inl +++ b/include/Nazara/Core/Log.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -14,4 +13,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/MaterialData.hpp b/include/Nazara/Core/MaterialData.hpp index c1717221b..c6731744d 100644 --- a/include/Nazara/Core/MaterialData.hpp +++ b/include/Nazara/Core/MaterialData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/MemoryStream.hpp b/include/Nazara/Core/MemoryStream.hpp index 0db931342..cd9044f89 100644 --- a/include/Nazara/Core/MemoryStream.hpp +++ b/include/Nazara/Core/MemoryStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/MemoryStream.inl b/include/Nazara/Core/MemoryStream.inl index ae29d0849..d7850befb 100644 --- a/include/Nazara/Core/MemoryStream.inl +++ b/include/Nazara/Core/MemoryStream.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -57,4 +56,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/MemoryView.hpp b/include/Nazara/Core/MemoryView.hpp index 234616edb..8da6aea74 100644 --- a/include/Nazara/Core/MemoryView.hpp +++ b/include/Nazara/Core/MemoryView.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Mesh.hpp b/include/Nazara/Core/Mesh.hpp index 3f332ab86..e14453aa2 100644 --- a/include/Nazara/Core/Mesh.hpp +++ b/include/Nazara/Core/Mesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_MESH_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/Mesh.inl b/include/Nazara/Core/Mesh.inl index ca088fb18..94c2f57a1 100644 --- a/include/Nazara/Core/Mesh.inl +++ b/include/Nazara/Core/Mesh.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -43,4 +42,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/MeshData.hpp b/include/Nazara/Core/MeshData.hpp index 62578b69a..9d55f4024 100644 --- a/include/Nazara/Core/MeshData.hpp +++ b/include/Nazara/Core/MeshData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ModuleBase.hpp b/include/Nazara/Core/ModuleBase.hpp index 146207c1d..5942d2584 100644 --- a/include/Nazara/Core/ModuleBase.hpp +++ b/include/Nazara/Core/ModuleBase.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ModuleBase.inl b/include/Nazara/Core/ModuleBase.inl index 3649d40d4..781ec48a8 100644 --- a/include/Nazara/Core/ModuleBase.inl +++ b/include/Nazara/Core/ModuleBase.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -52,4 +51,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Modules.hpp b/include/Nazara/Core/Modules.hpp index a45d79330..ea5737c0e 100644 --- a/include/Nazara/Core/Modules.hpp +++ b/include/Nazara/Core/Modules.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Modules.inl b/include/Nazara/Core/Modules.inl index 7f7174d4f..b7fc33df3 100644 --- a/include/Nazara/Core/Modules.inl +++ b/include/Nazara/Core/Modules.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -113,4 +112,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Node.hpp b/include/Nazara/Core/Node.hpp index a3659ff5b..2b6758fe4 100644 --- a/include/Nazara/Core/Node.hpp +++ b/include/Nazara/Core/Node.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,9 +8,9 @@ #define NAZARA_CORE_NODE_HPP #include -#include #include #include +#include #include #include #include diff --git a/include/Nazara/Core/Node.inl b/include/Nazara/Core/Node.inl index 8dc1f8190..8d7b593a6 100644 --- a/include/Nazara/Core/Node.inl +++ b/include/Nazara/Core/Node.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -193,7 +192,7 @@ namespace Nz Invalidate(invalidation); return *this; } - + Node& Node::InterpolateGlobal(const Node& nodeA, const Node& nodeB, float interpolation, Invalidation invalidation) { nodeA.EnsureGlobalsUpdate(); @@ -239,7 +238,7 @@ namespace Nz Invalidate(invalidation); return *this; } - + inline Node& Node::Rotate(const Quaternionf& rotation, Invalidation invalidation) { m_rotation = rotation * m_rotation; @@ -324,7 +323,7 @@ namespace Nz Invalidate(invalidation); } - + inline void Node::SetGlobalTransform(const Vector3f& position, const Quaternionf& rotation, Invalidation invalidation) { // Position @@ -421,7 +420,7 @@ namespace Nz m_position = Vector3f(position); Invalidate(invalidation); } - + inline void Node::SetPosition(const Vector3f& position, Invalidation invalidation) { m_position = position; @@ -449,7 +448,7 @@ namespace Nz m_scale = scale; Invalidate(invalidation); } - + inline void Node::SetTransform(const Vector3f& position, const Quaternionf& rotation, Invalidation invalidation) { m_position = position; @@ -592,4 +591,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ObjectHandle.hpp b/include/Nazara/Core/ObjectHandle.hpp index 97f5ae17d..5bf4764e6 100644 --- a/include/Nazara/Core/ObjectHandle.hpp +++ b/include/Nazara/Core/ObjectHandle.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ObjectHandle.inl b/include/Nazara/Core/ObjectHandle.inl index c3139106d..75fc4b50a 100644 --- a/include/Nazara/Core/ObjectHandle.inl +++ b/include/Nazara/Core/ObjectHandle.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -550,4 +549,3 @@ namespace std } } -#include diff --git a/include/Nazara/Core/ObjectLibrary.hpp b/include/Nazara/Core/ObjectLibrary.hpp index 624a05c9f..89e3c8d80 100644 --- a/include/Nazara/Core/ObjectLibrary.hpp +++ b/include/Nazara/Core/ObjectLibrary.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ObjectLibrary.inl b/include/Nazara/Core/ObjectLibrary.inl index dbe7010b8..bb5fd854d 100644 --- a/include/Nazara/Core/ObjectLibrary.inl +++ b/include/Nazara/Core/ObjectLibrary.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -90,4 +89,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ObjectRef.hpp b/include/Nazara/Core/ObjectRef.hpp index b04b10415..075c541f7 100644 --- a/include/Nazara/Core/ObjectRef.hpp +++ b/include/Nazara/Core/ObjectRef.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ObjectRef.inl b/include/Nazara/Core/ObjectRef.inl index 45eb7fafd..b45d58a97 100644 --- a/include/Nazara/Core/ObjectRef.inl +++ b/include/Nazara/Core/ObjectRef.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -557,4 +556,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Core/OwnedMemoryStream.hpp b/include/Nazara/Core/OwnedMemoryStream.hpp index a5aebb4b8..7db392a32 100644 --- a/include/Nazara/Core/OwnedMemoryStream.hpp +++ b/include/Nazara/Core/OwnedMemoryStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/OwnedMemoryStream.inl b/include/Nazara/Core/OwnedMemoryStream.inl index a2e33bcf7..d7830c849 100644 --- a/include/Nazara/Core/OwnedMemoryStream.inl +++ b/include/Nazara/Core/OwnedMemoryStream.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -29,4 +28,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ParameterFile.hpp b/include/Nazara/Core/ParameterFile.hpp index 0f48e3da0..33149d85d 100644 --- a/include/Nazara/Core/ParameterFile.hpp +++ b/include/Nazara/Core/ParameterFile.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_PARAMETERFILE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/ParameterFile.inl b/include/Nazara/Core/ParameterFile.inl index 1ff0a6ca7..d382a1abd 100644 --- a/include/Nazara/Core/ParameterFile.inl +++ b/include/Nazara/Core/ParameterFile.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { @@ -219,4 +218,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ParameterList.hpp b/include/Nazara/Core/ParameterList.hpp index 0671165aa..404fb3f7b 100644 --- a/include/Nazara/Core/ParameterList.hpp +++ b/include/Nazara/Core/ParameterList.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ParameterList.inl b/include/Nazara/Core/ParameterList.inl index 4f96a8627..b59079faa 100644 --- a/include/Nazara/Core/ParameterList.inl +++ b/include/Nazara/Core/ParameterList.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -38,4 +37,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/PixelFormat.hpp b/include/Nazara/Core/PixelFormat.hpp index c9298164d..36fe7e3cc 100644 --- a/include/Nazara/Core/PixelFormat.hpp +++ b/include/Nazara/Core/PixelFormat.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,9 +8,9 @@ #define NAZARA_CORE_PIXELFORMAT_HPP #include -#include #include #include +#include #include #include #include diff --git a/include/Nazara/Core/PixelFormat.inl b/include/Nazara/Core/PixelFormat.inl index 6aa8c781f..b4e009511 100644 --- a/include/Nazara/Core/PixelFormat.inl +++ b/include/Nazara/Core/PixelFormat.inl @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { @@ -172,19 +171,8 @@ namespace Nz return true; } - #if NAZARA_CORE_SAFE - if (IsCompressed(srcFormat)) - { - NazaraError("cannot convert single pixel from compressed format"); - return false; - } - - if (IsCompressed(dstFormat)) - { - NazaraError("cannot convert single pixel to compressed format"); - return false; - } - #endif + NazaraAssert(!IsCompressed(srcFormat), "cannot convert single pixel from compressed format"); + NazaraAssert(!IsCompressed(dstFormat), "cannot convert single pixel to compressed format"); return Convert(srcFormat, dstFormat, src, static_cast(src) + GetBytesPerPixel(srcFormat), dst); } @@ -296,4 +284,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Plugin.hpp b/include/Nazara/Core/Plugin.hpp index 6b51b0946..5e638c470 100644 --- a/include/Nazara/Core/Plugin.hpp +++ b/include/Nazara/Core/Plugin.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_PLUGIN_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/Plugin.inl b/include/Nazara/Core/Plugin.inl index 6b8973b88..b11f70efc 100644 --- a/include/Nazara/Core/Plugin.inl +++ b/include/Nazara/Core/Plugin.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -78,4 +77,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/PluginInterface.hpp b/include/Nazara/Core/PluginInterface.hpp index 364f18743..522c2e385 100644 --- a/include/Nazara/Core/PluginInterface.hpp +++ b/include/Nazara/Core/PluginInterface.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_PLUGININTERFACE_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/PluginInterface.inl b/include/Nazara/Core/PluginInterface.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/PluginInterface.inl +++ b/include/Nazara/Core/PluginInterface.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/PluginLoader.hpp b/include/Nazara/Core/PluginLoader.hpp index d18de5e00..b47e59de4 100644 --- a/include/Nazara/Core/PluginLoader.hpp +++ b/include/Nazara/Core/PluginLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_PLUGINLOADER_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/PluginLoader.inl b/include/Nazara/Core/PluginLoader.inl index 70ae4eae6..4271c5840 100644 --- a/include/Nazara/Core/PluginLoader.inl +++ b/include/Nazara/Core/PluginLoader.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Plugins/AssimpPlugin.hpp b/include/Nazara/Core/Plugins/AssimpPlugin.hpp index 9a8bf6185..061f1b515 100644 --- a/include/Nazara/Core/Plugins/AssimpPlugin.hpp +++ b/include/Nazara/Core/Plugins/AssimpPlugin.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_PLUGINS_ASSIMPPLUGIN_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Plugins/AssimpPlugin.inl b/include/Nazara/Core/Plugins/AssimpPlugin.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Plugins/AssimpPlugin.inl +++ b/include/Nazara/Core/Plugins/AssimpPlugin.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Plugins/FFmpegPlugin.hpp b/include/Nazara/Core/Plugins/FFmpegPlugin.hpp index 7674ae9cb..e6be0cd75 100644 --- a/include/Nazara/Core/Plugins/FFmpegPlugin.hpp +++ b/include/Nazara/Core/Plugins/FFmpegPlugin.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_PLUGINS_FFMPEGPLUGIN_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Plugins/FFmpegPlugin.inl b/include/Nazara/Core/Plugins/FFmpegPlugin.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Plugins/FFmpegPlugin.inl +++ b/include/Nazara/Core/Plugins/FFmpegPlugin.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/PoolByteStream.hpp b/include/Nazara/Core/PoolByteStream.hpp index b9ea61f7f..1df69e2e8 100644 --- a/include/Nazara/Core/PoolByteStream.hpp +++ b/include/Nazara/Core/PoolByteStream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include namespace Nz { diff --git a/include/Nazara/Core/PoolByteStream.inl b/include/Nazara/Core/PoolByteStream.inl index 6b2cc4eb7..91f925152 100644 --- a/include/Nazara/Core/PoolByteStream.inl +++ b/include/Nazara/Core/PoolByteStream.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -26,4 +25,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Primitive.hpp b/include/Nazara/Core/Primitive.hpp index f39f8f067..68f586ec0 100644 --- a/include/Nazara/Core/Primitive.hpp +++ b/include/Nazara/Core/Primitive.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Primitive.inl b/include/Nazara/Core/Primitive.inl index c98e96175..857c2a701 100644 --- a/include/Nazara/Core/Primitive.inl +++ b/include/Nazara/Core/Primitive.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -452,4 +451,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/PrimitiveList.hpp b/include/Nazara/Core/PrimitiveList.hpp index 604dbe208..4aa28c2af 100644 --- a/include/Nazara/Core/PrimitiveList.hpp +++ b/include/Nazara/Core/PrimitiveList.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/PrimitiveList.inl b/include/Nazara/Core/PrimitiveList.inl index d1bb81396..502f909d1 100644 --- a/include/Nazara/Core/PrimitiveList.inl +++ b/include/Nazara/Core/PrimitiveList.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include -#include +#include namespace Nz { @@ -260,4 +259,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Process.hpp b/include/Nazara/Core/Process.hpp index a9ed75cf6..60941dad6 100644 --- a/include/Nazara/Core/Process.hpp +++ b/include/Nazara/Core/Process.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_PROCESS_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Process.inl b/include/Nazara/Core/Process.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Process.inl +++ b/include/Nazara/Core/Process.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/RefCounted.hpp b/include/Nazara/Core/RefCounted.hpp index cdd99b23c..7e5c1db16 100644 --- a/include/Nazara/Core/RefCounted.hpp +++ b/include/Nazara/Core/RefCounted.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_REFCOUNTED_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/Resource.hpp b/include/Nazara/Core/Resource.hpp index ae59dcf86..3a3ae4714 100644 --- a/include/Nazara/Core/Resource.hpp +++ b/include/Nazara/Core/Resource.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_RESOURCE_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/ResourceLoader.hpp b/include/Nazara/Core/ResourceLoader.hpp index f8e623007..5c765c9e3 100644 --- a/include/Nazara/Core/ResourceLoader.hpp +++ b/include/Nazara/Core/ResourceLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ResourceLoader.inl b/include/Nazara/Core/ResourceLoader.inl index 046910fb8..14f0a5a77 100644 --- a/include/Nazara/Core/ResourceLoader.inl +++ b/include/Nazara/Core/ResourceLoader.inl @@ -1,15 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include +#include #include #include #include #include #include -#include namespace Nz { @@ -275,4 +274,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ResourceManager.hpp b/include/Nazara/Core/ResourceManager.hpp index 8fb0d0182..59ce11d51 100644 --- a/include/Nazara/Core/ResourceManager.hpp +++ b/include/Nazara/Core/ResourceManager.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ResourceManager.inl b/include/Nazara/Core/ResourceManager.inl index 402bc6b5f..28a24b416 100644 --- a/include/Nazara/Core/ResourceManager.inl +++ b/include/Nazara/Core/ResourceManager.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -111,4 +110,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/ResourceParameters.hpp b/include/Nazara/Core/ResourceParameters.hpp index 0ab4dfcbb..c80753173 100644 --- a/include/Nazara/Core/ResourceParameters.hpp +++ b/include/Nazara/Core/ResourceParameters.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ResourceSaver.hpp b/include/Nazara/Core/ResourceSaver.hpp index 1cf1933f1..e7ad45231 100644 --- a/include/Nazara/Core/ResourceSaver.hpp +++ b/include/Nazara/Core/ResourceSaver.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/ResourceSaver.inl b/include/Nazara/Core/ResourceSaver.inl index 8f783feb7..0675d0082 100644 --- a/include/Nazara/Core/ResourceSaver.inl +++ b/include/Nazara/Core/ResourceSaver.inl @@ -1,15 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include +#include #include #include #include #include #include -#include namespace Nz { @@ -192,4 +191,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Sequence.hpp b/include/Nazara/Core/Sequence.hpp index a505b0b15..dc392a3a6 100644 --- a/include/Nazara/Core/Sequence.hpp +++ b/include/Nazara/Core/Sequence.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Serialization.hpp b/include/Nazara/Core/Serialization.hpp index dc053a9b2..ea7ea06b8 100644 --- a/include/Nazara/Core/Serialization.hpp +++ b/include/Nazara/Core/Serialization.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_SERIALIZATION_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Serialization.inl b/include/Nazara/Core/Serialization.inl index 8df1a2ff5..a671e9b2d 100644 --- a/include/Nazara/Core/Serialization.inl +++ b/include/Nazara/Core/Serialization.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -181,4 +180,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/SignalHandlerAppComponent.hpp b/include/Nazara/Core/SignalHandlerAppComponent.hpp index e2bf7b748..de5b2d2d8 100644 --- a/include/Nazara/Core/SignalHandlerAppComponent.hpp +++ b/include/Nazara/Core/SignalHandlerAppComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/SignalHandlerAppComponent.inl b/include/Nazara/Core/SignalHandlerAppComponent.inl index e75a2050d..f6d25fded 100644 --- a/include/Nazara/Core/SignalHandlerAppComponent.inl +++ b/include/Nazara/Core/SignalHandlerAppComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/SkeletalMesh.hpp b/include/Nazara/Core/SkeletalMesh.hpp index fa370b67d..7084a12c2 100644 --- a/include/Nazara/Core/SkeletalMesh.hpp +++ b/include/Nazara/Core/SkeletalMesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/SkeletalMesh.inl b/include/Nazara/Core/SkeletalMesh.inl index d8ff1e990..1c04027f9 100644 --- a/include/Nazara/Core/SkeletalMesh.inl +++ b/include/Nazara/Core/SkeletalMesh.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Skeleton.hpp b/include/Nazara/Core/Skeleton.hpp index 64ac93e27..d7b68f303 100644 --- a/include/Nazara/Core/Skeleton.hpp +++ b/include/Nazara/Core/Skeleton.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_SKELETON_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Skeleton.inl b/include/Nazara/Core/Skeleton.inl index d8ff1e990..1c04027f9 100644 --- a/include/Nazara/Core/Skeleton.inl +++ b/include/Nazara/Core/Skeleton.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/SoftwareBuffer.hpp b/include/Nazara/Core/SoftwareBuffer.hpp index b23f1f8f4..90dffb0e5 100644 --- a/include/Nazara/Core/SoftwareBuffer.hpp +++ b/include/Nazara/Core/SoftwareBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/State.hpp b/include/Nazara/Core/State.hpp index eae84976a..bfd7ec776 100644 --- a/include/Nazara/Core/State.hpp +++ b/include/Nazara/Core/State.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_STATE_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Core/StateMachine.hpp b/include/Nazara/Core/StateMachine.hpp index 63de88248..4c61e229c 100644 --- a/include/Nazara/Core/StateMachine.hpp +++ b/include/Nazara/Core/StateMachine.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/StateMachine.inl b/include/Nazara/Core/StateMachine.inl index b74ff8758..4cb1a7950 100644 --- a/include/Nazara/Core/StateMachine.inl +++ b/include/Nazara/Core/StateMachine.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -297,4 +296,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/StaticMesh.hpp b/include/Nazara/Core/StaticMesh.hpp index ead6ac8f3..257718a8e 100644 --- a/include/Nazara/Core/StaticMesh.hpp +++ b/include/Nazara/Core/StaticMesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/StaticMesh.inl b/include/Nazara/Core/StaticMesh.inl index d8ff1e990..1c04027f9 100644 --- a/include/Nazara/Core/StaticMesh.inl +++ b/include/Nazara/Core/StaticMesh.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/StdLogger.hpp b/include/Nazara/Core/StdLogger.hpp index e24b41723..93071e364 100644 --- a/include/Nazara/Core/StdLogger.hpp +++ b/include/Nazara/Core/StdLogger.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Stream.hpp b/include/Nazara/Core/Stream.hpp index 721d336a6..7e2114f7e 100644 --- a/include/Nazara/Core/Stream.hpp +++ b/include/Nazara/Core/Stream.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_STREAM_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/Stream.inl b/include/Nazara/Core/Stream.inl index 267f482da..91ccce118 100644 --- a/include/Nazara/Core/Stream.inl +++ b/include/Nazara/Core/Stream.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -196,4 +195,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/StringExt.hpp b/include/Nazara/Core/StringExt.hpp index 3a13448f6..11eec912f 100644 --- a/include/Nazara/Core/StringExt.hpp +++ b/include/Nazara/Core/StringExt.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/StringExt.inl b/include/Nazara/Core/StringExt.inl index 0f734a1b5..79b42a682 100644 --- a/include/Nazara/Core/StringExt.inl +++ b/include/Nazara/Core/StringExt.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -45,7 +44,6 @@ namespace Nz * \param radix Base of the number * * \remark radix is meant to be between 2 and 36, other values are potentially undefined behavior - * \remark With NAZARA_MATH_SAFE, a NazaraError is produced and String() is returned */ inline std::string NumberToString(long long number, UInt8 radix) { @@ -191,7 +189,6 @@ namespace Nz * \param ok Optional argument to know if convertion is correct * * \remark radix is meant to be between 2 and 36, other values are potentially undefined behavior - * \remark With NAZARA_MATH_SAFE, a NazaraError is produced and 0 is returned */ inline long long StringToNumber(std::string_view str, UInt8 radix, bool* ok) { @@ -338,4 +335,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/SubMesh.hpp b/include/Nazara/Core/SubMesh.hpp index 5e5105ae9..a9608425b 100644 --- a/include/Nazara/Core/SubMesh.hpp +++ b/include/Nazara/Core/SubMesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Systems/LifetimeSystem.hpp b/include/Nazara/Core/Systems/LifetimeSystem.hpp index c41d1ba7d..aad942563 100644 --- a/include/Nazara/Core/Systems/LifetimeSystem.hpp +++ b/include/Nazara/Core/Systems/LifetimeSystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_SYSTEMS_LIFETIMESYSTEM_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Systems/LifetimeSystem.inl b/include/Nazara/Core/Systems/LifetimeSystem.inl index 9b91b8219..8192f930f 100644 --- a/include/Nazara/Core/Systems/LifetimeSystem.inl +++ b/include/Nazara/Core/Systems/LifetimeSystem.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Systems/SkeletonSystem.hpp b/include/Nazara/Core/Systems/SkeletonSystem.hpp index f4da22f0b..13d4bf885 100644 --- a/include/Nazara/Core/Systems/SkeletonSystem.hpp +++ b/include/Nazara/Core/Systems/SkeletonSystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_SYSTEMS_SKELETONSYSTEM_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/Systems/SkeletonSystem.inl b/include/Nazara/Core/Systems/SkeletonSystem.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/Systems/SkeletonSystem.inl +++ b/include/Nazara/Core/Systems/SkeletonSystem.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Systems/VelocitySystem.hpp b/include/Nazara/Core/Systems/VelocitySystem.hpp index 773f18079..8996f470b 100644 --- a/include/Nazara/Core/Systems/VelocitySystem.hpp +++ b/include/Nazara/Core/Systems/VelocitySystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_SYSTEMS_VELOCITYSYSTEM_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Systems/VelocitySystem.inl b/include/Nazara/Core/Systems/VelocitySystem.inl index af6b8a6a9..4a1411116 100644 --- a/include/Nazara/Core/Systems/VelocitySystem.inl +++ b/include/Nazara/Core/Systems/VelocitySystem.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/TaskScheduler.hpp b/include/Nazara/Core/TaskScheduler.hpp index 9f63bd6be..6dab038e4 100644 --- a/include/Nazara/Core/TaskScheduler.hpp +++ b/include/Nazara/Core/TaskScheduler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_TASKSCHEDULER_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/TaskScheduler.inl b/include/Nazara/Core/TaskScheduler.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/TaskScheduler.inl +++ b/include/Nazara/Core/TaskScheduler.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/ThreadExt.hpp b/include/Nazara/Core/ThreadExt.hpp index 781c7f744..16c4e56c2 100644 --- a/include/Nazara/Core/ThreadExt.hpp +++ b/include/Nazara/Core/ThreadExt.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_THREADEXT_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/ThreadExt.inl b/include/Nazara/Core/ThreadExt.inl index a8eacde68..2bb02fc05 100644 --- a/include/Nazara/Core/ThreadExt.inl +++ b/include/Nazara/Core/ThreadExt.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Core/Time.hpp b/include/Nazara/Core/Time.hpp index f95cfc36c..1ec86fbd7 100644 --- a/include/Nazara/Core/Time.hpp +++ b/include/Nazara/Core/Time.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_TIME_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Time.inl b/include/Nazara/Core/Time.inl index 3f9eae071..6fa1892e7 100644 --- a/include/Nazara/Core/Time.inl +++ b/include/Nazara/Core/Time.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -257,4 +256,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/TriangleIterator.hpp b/include/Nazara/Core/TriangleIterator.hpp index 8e2bf4a0d..68f80dc75 100644 --- a/include/Nazara/Core/TriangleIterator.hpp +++ b/include/Nazara/Core/TriangleIterator.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/Unicode.hpp b/include/Nazara/Core/Unicode.hpp index e5f8119bf..6f8d0cdc8 100644 --- a/include/Nazara/Core/Unicode.hpp +++ b/include/Nazara/Core/Unicode.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_UNICODE_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Core/UniformBuffer.hpp b/include/Nazara/Core/UniformBuffer.hpp index 87a58f4b7..5e0b30064 100644 --- a/include/Nazara/Core/UniformBuffer.hpp +++ b/include/Nazara/Core/UniformBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/UniformBuffer.inl b/include/Nazara/Core/UniformBuffer.inl index e130fca87..c3af2746c 100644 --- a/include/Nazara/Core/UniformBuffer.inl +++ b/include/Nazara/Core/UniformBuffer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/Updatable.hpp b/include/Nazara/Core/Updatable.hpp index bb63506cd..66264d111 100644 --- a/include/Nazara/Core/Updatable.hpp +++ b/include/Nazara/Core/Updatable.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_UPDATABLE_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Core/Uuid.hpp b/include/Nazara/Core/Uuid.hpp index fa55392e6..39d487de2 100644 --- a/include/Nazara/Core/Uuid.hpp +++ b/include/Nazara/Core/Uuid.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Full Cycle Games // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_UUID_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Core/Uuid.inl b/include/Nazara/Core/Uuid.inl index a156a0a97..b709adb1a 100644 --- a/include/Nazara/Core/Uuid.inl +++ b/include/Nazara/Core/Uuid.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Full Cycle Games // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -176,4 +175,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Core/VertexBuffer.hpp b/include/Nazara/Core/VertexBuffer.hpp index 9e49533bd..84ccebe39 100644 --- a/include/Nazara/Core/VertexBuffer.hpp +++ b/include/Nazara/Core/VertexBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/VertexBuffer.inl b/include/Nazara/Core/VertexBuffer.inl index eb4e07ed2..a84a208e7 100644 --- a/include/Nazara/Core/VertexBuffer.inl +++ b/include/Nazara/Core/VertexBuffer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -43,4 +42,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/VertexDeclaration.hpp b/include/Nazara/Core/VertexDeclaration.hpp index 2666d886c..5ea360fc0 100644 --- a/include/Nazara/Core/VertexDeclaration.hpp +++ b/include/Nazara/Core/VertexDeclaration.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_CORE_VERTEXDECLARATION_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Core/VertexDeclaration.inl b/include/Nazara/Core/VertexDeclaration.inl index 9e1044506..752990b9e 100644 --- a/include/Nazara/Core/VertexDeclaration.inl +++ b/include/Nazara/Core/VertexDeclaration.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -78,4 +77,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/VertexMapper.hpp b/include/Nazara/Core/VertexMapper.hpp index 0b6aef508..03488ae4d 100644 --- a/include/Nazara/Core/VertexMapper.hpp +++ b/include/Nazara/Core/VertexMapper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/VertexMapper.inl b/include/Nazara/Core/VertexMapper.inl index 687da0731..f70a7ab0d 100644 --- a/include/Nazara/Core/VertexMapper.inl +++ b/include/Nazara/Core/VertexMapper.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -36,4 +35,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/VertexStruct.hpp b/include/Nazara/Core/VertexStruct.hpp index dba6dd132..26e279c7b 100644 --- a/include/Nazara/Core/VertexStruct.hpp +++ b/include/Nazara/Core/VertexStruct.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/VirtualDirectory.hpp b/include/Nazara/Core/VirtualDirectory.hpp index d22a1f5eb..436eb2f4a 100644 --- a/include/Nazara/Core/VirtualDirectory.hpp +++ b/include/Nazara/Core/VirtualDirectory.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Core/VirtualDirectory.inl b/include/Nazara/Core/VirtualDirectory.inl index e3c4f8a3e..03c422c1a 100644 --- a/include/Nazara/Core/VirtualDirectory.inl +++ b/include/Nazara/Core/VirtualDirectory.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { @@ -462,4 +461,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Core/VirtualDirectoryFilesystemResolver.hpp b/include/Nazara/Core/VirtualDirectoryFilesystemResolver.hpp index 7564c8f92..f72f60b99 100644 --- a/include/Nazara/Core/VirtualDirectoryFilesystemResolver.hpp +++ b/include/Nazara/Core/VirtualDirectoryFilesystemResolver.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_VIRTUALDIRECTORYFILESYSTEMRESOLVER_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl b/include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl index 3d8d830b8..ec3f342d5 100644 --- a/include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl +++ b/include/Nazara/Core/VirtualDirectoryFilesystemResolver.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics.hpp b/include/Nazara/Graphics.hpp index fecd4392c..416826fe2 100644 --- a/include/Nazara/Graphics.hpp +++ b/include/Nazara/Graphics.hpp @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/AbstractViewer.hpp b/include/Nazara/Graphics/AbstractViewer.hpp index dc331ea94..674f33b99 100644 --- a/include/Nazara/Graphics/AbstractViewer.hpp +++ b/include/Nazara/Graphics/AbstractViewer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/AbstractViewer.inl b/include/Nazara/Graphics/AbstractViewer.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/AbstractViewer.inl +++ b/include/Nazara/Graphics/AbstractViewer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/Algorithm.hpp b/include/Nazara/Graphics/Algorithm.hpp index da2f81800..607de58af 100644 --- a/include/Nazara/Graphics/Algorithm.hpp +++ b/include/Nazara/Graphics/Algorithm.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Algorithm.inl b/include/Nazara/Graphics/Algorithm.inl index 26a4c0aaa..c206a09f1 100644 --- a/include/Nazara/Graphics/Algorithm.inl +++ b/include/Nazara/Graphics/Algorithm.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -33,4 +32,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/BakedFrameGraph.hpp b/include/Nazara/Graphics/BakedFrameGraph.hpp index 9759663ed..a76519727 100644 --- a/include/Nazara/Graphics/BakedFrameGraph.hpp +++ b/include/Nazara/Graphics/BakedFrameGraph.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_BAKEDFRAMEGRAPH_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/BakedFrameGraph.inl b/include/Nazara/Graphics/BakedFrameGraph.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/BakedFrameGraph.inl +++ b/include/Nazara/Graphics/BakedFrameGraph.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/Billboard.hpp b/include/Nazara/Graphics/Billboard.hpp index f9279a9a0..9c0c887cb 100644 --- a/include/Nazara/Graphics/Billboard.hpp +++ b/include/Nazara/Graphics/Billboard.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Billboard.inl b/include/Nazara/Graphics/Billboard.inl index 604dc5a32..14dc62a23 100644 --- a/include/Nazara/Graphics/Billboard.inl +++ b/include/Nazara/Graphics/Billboard.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -114,4 +113,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Camera.hpp b/include/Nazara/Graphics/Camera.hpp index 91a1e53c2..bbb3ff813 100644 --- a/include/Nazara/Graphics/Camera.hpp +++ b/include/Nazara/Graphics/Camera.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Camera.inl b/include/Nazara/Graphics/Camera.inl index 193783275..923f20873 100644 --- a/include/Nazara/Graphics/Camera.inl +++ b/include/Nazara/Graphics/Camera.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -271,4 +270,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Components/CameraComponent.hpp b/include/Nazara/Graphics/Components/CameraComponent.hpp index b9ba18bb0..07ac6073f 100644 --- a/include/Nazara/Graphics/Components/CameraComponent.hpp +++ b/include/Nazara/Graphics/Components/CameraComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Components/CameraComponent.inl b/include/Nazara/Graphics/Components/CameraComponent.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/Components/CameraComponent.inl +++ b/include/Nazara/Graphics/Components/CameraComponent.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/Components/GraphicsComponent.hpp b/include/Nazara/Graphics/Components/GraphicsComponent.hpp index dc9857158..dde276763 100644 --- a/include/Nazara/Graphics/Components/GraphicsComponent.hpp +++ b/include/Nazara/Graphics/Components/GraphicsComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Components/GraphicsComponent.inl b/include/Nazara/Graphics/Components/GraphicsComponent.inl index 0b713b76e..76136e61d 100644 --- a/include/Nazara/Graphics/Components/GraphicsComponent.inl +++ b/include/Nazara/Graphics/Components/GraphicsComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -127,4 +126,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Components/LightComponent.hpp b/include/Nazara/Graphics/Components/LightComponent.hpp index 80515ba80..dd77626e8 100644 --- a/include/Nazara/Graphics/Components/LightComponent.hpp +++ b/include/Nazara/Graphics/Components/LightComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Components/LightComponent.inl b/include/Nazara/Graphics/Components/LightComponent.inl index c6ba9f0f2..3330e52fe 100644 --- a/include/Nazara/Graphics/Components/LightComponent.inl +++ b/include/Nazara/Graphics/Components/LightComponent.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -95,4 +94,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/ConfigCheck.hpp b/include/Nazara/Graphics/ConfigCheck.hpp deleted file mode 100644 index e78361528..000000000 --- a/include/Nazara/Graphics/ConfigCheck.hpp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_GRAPHICS_CONFIGCHECK_HPP -#define NAZARA_GRAPHICS_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_GRAPHICS_CONFIGCHECK_HPP diff --git a/include/Nazara/Graphics/Debug.hpp b/include/Nazara/Graphics/Debug.hpp deleted file mode 100644 index b8bb7b9cc..000000000 --- a/include/Nazara/Graphics/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Graphics/DebugDrawPipelinePass.hpp b/include/Nazara/Graphics/DebugDrawPipelinePass.hpp index df6e6a241..c64306a32 100644 --- a/include/Nazara/Graphics/DebugDrawPipelinePass.hpp +++ b/include/Nazara/Graphics/DebugDrawPipelinePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/DebugDrawPipelinePass.inl b/include/Nazara/Graphics/DebugDrawPipelinePass.inl index 5249219bd..b496a40d9 100644 --- a/include/Nazara/Graphics/DebugDrawPipelinePass.inl +++ b/include/Nazara/Graphics/DebugDrawPipelinePass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -15,4 +14,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/DebugOff.hpp b/include/Nazara/Graphics/DebugOff.hpp deleted file mode 100644 index b8bb7b9cc..000000000 --- a/include/Nazara/Graphics/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Graphics/DepthPipelinePass.hpp b/include/Nazara/Graphics/DepthPipelinePass.hpp index 236e5f542..69d76d865 100644 --- a/include/Nazara/Graphics/DepthPipelinePass.hpp +++ b/include/Nazara/Graphics/DepthPipelinePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/DepthPipelinePass.inl b/include/Nazara/Graphics/DepthPipelinePass.inl index b2c78fef6..cad445f3c 100644 --- a/include/Nazara/Graphics/DepthPipelinePass.inl +++ b/include/Nazara/Graphics/DepthPipelinePass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -35,4 +34,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/DirectionalLight.hpp b/include/Nazara/Graphics/DirectionalLight.hpp index 7539f4374..dd6749ba5 100644 --- a/include/Nazara/Graphics/DirectionalLight.hpp +++ b/include/Nazara/Graphics/DirectionalLight.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/DirectionalLight.inl b/include/Nazara/Graphics/DirectionalLight.inl index 892971b5e..e9c35a0bd 100644 --- a/include/Nazara/Graphics/DirectionalLight.inl +++ b/include/Nazara/Graphics/DirectionalLight.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -82,4 +81,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/DirectionalLightShadowData.hpp b/include/Nazara/Graphics/DirectionalLightShadowData.hpp index 56f3e5f9d..b99d2b856 100644 --- a/include/Nazara/Graphics/DirectionalLightShadowData.hpp +++ b/include/Nazara/Graphics/DirectionalLightShadowData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_DIRECTIONALLIGHTSHADOWDATA_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/DirectionalLightShadowData.inl b/include/Nazara/Graphics/DirectionalLightShadowData.inl index d06b0aaa4..2d8d5ebbd 100644 --- a/include/Nazara/Graphics/DirectionalLightShadowData.inl +++ b/include/Nazara/Graphics/DirectionalLightShadowData.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -38,4 +37,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/ElementRenderer.hpp b/include/Nazara/Graphics/ElementRenderer.hpp index 464c17395..b4f35acf4 100644 --- a/include/Nazara/Graphics/ElementRenderer.hpp +++ b/include/Nazara/Graphics/ElementRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_ELEMENTRENDERER_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/ElementRenderer.inl b/include/Nazara/Graphics/ElementRenderer.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/ElementRenderer.inl +++ b/include/Nazara/Graphics/ElementRenderer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/ElementRendererRegistry.hpp b/include/Nazara/Graphics/ElementRendererRegistry.hpp index b40b78e70..a57355cbf 100644 --- a/include/Nazara/Graphics/ElementRendererRegistry.hpp +++ b/include/Nazara/Graphics/ElementRendererRegistry.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_ELEMENTRENDERERREGISTRY_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/ElementRendererRegistry.inl b/include/Nazara/Graphics/ElementRendererRegistry.inl index 01d7e970e..3e779f99f 100644 --- a/include/Nazara/Graphics/ElementRendererRegistry.inl +++ b/include/Nazara/Graphics/ElementRendererRegistry.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -80,4 +79,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Enums.hpp b/include/Nazara/Graphics/Enums.hpp index 27687d659..0dcb65d12 100644 --- a/include/Nazara/Graphics/Enums.hpp +++ b/include/Nazara/Graphics/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Config.hpp b/include/Nazara/Graphics/Export.hpp similarity index 79% rename from include/Nazara/Graphics/Config.hpp rename to include/Nazara/Graphics/Export.hpp index 7ebac5de6..dd8098aac 100644 --- a/include/Nazara/Graphics/Config.hpp +++ b/include/Nazara/Graphics/Export.hpp @@ -24,22 +24,14 @@ #pragma once -#ifndef NAZARA_GRAPHICS_CONFIG_HPP -#define NAZARA_GRAPHICS_CONFIG_HPP +#ifndef NAZARA_GRAPHICS_EXPORT_HPP +#define NAZARA_GRAPHICS_EXPORT_HPP /*! * \defgroup graphics (NazaraGraphics) Graphics module * Graphics/System module including classes to handle graphical elements... */ -/// Each modification of a parameter needs a recompilation of the module - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_GRAPHICS_SAFE 1 - -/// Checking the values and types of certain constants -#include - #if !defined(NAZARA_STATIC) #ifdef NAZARA_GRAPHICS_BUILD #define NAZARA_GRAPHICS_API NAZARA_EXPORT @@ -50,4 +42,4 @@ #define NAZARA_GRAPHICS_API #endif -#endif // NAZARA_GRAPHICS_CONFIG_HPP +#endif // NAZARA_GRAPHICS_EXPORT_HPP diff --git a/include/Nazara/Graphics/ForwardFramePipeline.hpp b/include/Nazara/Graphics/ForwardFramePipeline.hpp index 637df1c05..17b1a36f2 100644 --- a/include/Nazara/Graphics/ForwardFramePipeline.hpp +++ b/include/Nazara/Graphics/ForwardFramePipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,9 +10,9 @@ #include #include #include -#include #include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/ForwardFramePipeline.inl b/include/Nazara/Graphics/ForwardFramePipeline.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/ForwardFramePipeline.inl +++ b/include/Nazara/Graphics/ForwardFramePipeline.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/ForwardPipelinePass.hpp b/include/Nazara/Graphics/ForwardPipelinePass.hpp index ccb587dae..21dc6fdf9 100644 --- a/include/Nazara/Graphics/ForwardPipelinePass.hpp +++ b/include/Nazara/Graphics/ForwardPipelinePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/ForwardPipelinePass.inl b/include/Nazara/Graphics/ForwardPipelinePass.inl index b2876a6f7..5dcf1df10 100644 --- a/include/Nazara/Graphics/ForwardPipelinePass.inl +++ b/include/Nazara/Graphics/ForwardPipelinePass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/FrameGraph.hpp b/include/Nazara/Graphics/FrameGraph.hpp index fc001128c..720f0bbbe 100644 --- a/include/Nazara/Graphics/FrameGraph.hpp +++ b/include/Nazara/Graphics/FrameGraph.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/FrameGraph.inl b/include/Nazara/Graphics/FrameGraph.inl index 9a2a418a8..6981f1e8f 100644 --- a/include/Nazara/Graphics/FrameGraph.inl +++ b/include/Nazara/Graphics/FrameGraph.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -103,4 +102,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/FrameGraphStructs.hpp b/include/Nazara/Graphics/FrameGraphStructs.hpp index 9feb70371..4693e5bc7 100644 --- a/include/Nazara/Graphics/FrameGraphStructs.hpp +++ b/include/Nazara/Graphics/FrameGraphStructs.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/FramePass.hpp b/include/Nazara/Graphics/FramePass.hpp index a3d5713fa..52d1d9aff 100644 --- a/include/Nazara/Graphics/FramePass.hpp +++ b/include/Nazara/Graphics/FramePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/FramePass.inl b/include/Nazara/Graphics/FramePass.inl index 9caaa319c..8bc9f037e 100644 --- a/include/Nazara/Graphics/FramePass.inl +++ b/include/Nazara/Graphics/FramePass.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -164,4 +163,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/FramePassAttachment.hpp b/include/Nazara/Graphics/FramePassAttachment.hpp index d038311ac..743e94353 100644 --- a/include/Nazara/Graphics/FramePassAttachment.hpp +++ b/include/Nazara/Graphics/FramePassAttachment.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/FramePassAttachment.inl b/include/Nazara/Graphics/FramePassAttachment.inl index 24480ff23..cb2328f00 100644 --- a/include/Nazara/Graphics/FramePassAttachment.inl +++ b/include/Nazara/Graphics/FramePassAttachment.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/FramePipeline.hpp b/include/Nazara/Graphics/FramePipeline.hpp index 8d991b54f..17becb76e 100644 --- a/include/Nazara/Graphics/FramePipeline.hpp +++ b/include/Nazara/Graphics/FramePipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_FRAMEPIPELINE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/FramePipeline.inl b/include/Nazara/Graphics/FramePipeline.inl index 7770bc06a..00d61eb86 100644 --- a/include/Nazara/Graphics/FramePipeline.inl +++ b/include/Nazara/Graphics/FramePipeline.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/FramePipelinePass.hpp b/include/Nazara/Graphics/FramePipelinePass.hpp index 0106e5bcf..10611db28 100644 --- a/include/Nazara/Graphics/FramePipelinePass.hpp +++ b/include/Nazara/Graphics/FramePipelinePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_FRAMEPIPELINEPASS_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/FramePipelinePass.inl b/include/Nazara/Graphics/FramePipelinePass.inl index c98ba1880..f876ab38c 100644 --- a/include/Nazara/Graphics/FramePipelinePass.inl +++ b/include/Nazara/Graphics/FramePipelinePass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/FramePipelinePassRegistry.hpp b/include/Nazara/Graphics/FramePipelinePassRegistry.hpp index ab6fc1906..5d2e72080 100644 --- a/include/Nazara/Graphics/FramePipelinePassRegistry.hpp +++ b/include/Nazara/Graphics/FramePipelinePassRegistry.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/FramePipelinePassRegistry.inl b/include/Nazara/Graphics/FramePipelinePassRegistry.inl index 21d2d50fc..0b8ded81d 100644 --- a/include/Nazara/Graphics/FramePipelinePassRegistry.inl +++ b/include/Nazara/Graphics/FramePipelinePassRegistry.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -69,4 +68,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/GraphicalMesh.hpp b/include/Nazara/Graphics/GraphicalMesh.hpp index d24e5caec..29f0c7e64 100644 --- a/include/Nazara/Graphics/GraphicalMesh.hpp +++ b/include/Nazara/Graphics/GraphicalMesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/GraphicalMesh.inl b/include/Nazara/Graphics/GraphicalMesh.inl index 94a64b18a..615126e72 100644 --- a/include/Nazara/Graphics/GraphicalMesh.inl +++ b/include/Nazara/Graphics/GraphicalMesh.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -99,4 +98,3 @@ namespace Nz } -#include diff --git a/include/Nazara/Graphics/Graphics.hpp b/include/Nazara/Graphics/Graphics.hpp index d4b3c374b..2d1fb8530 100644 --- a/include/Nazara/Graphics/Graphics.hpp +++ b/include/Nazara/Graphics/Graphics.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Graphics.inl b/include/Nazara/Graphics/Graphics.inl index 6e4922fac..986b93637 100644 --- a/include/Nazara/Graphics/Graphics.inl +++ b/include/Nazara/Graphics/Graphics.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -128,4 +127,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/GuillotineTextureAtlas.hpp b/include/Nazara/Graphics/GuillotineTextureAtlas.hpp index 08dc0c7ea..d53674b42 100644 --- a/include/Nazara/Graphics/GuillotineTextureAtlas.hpp +++ b/include/Nazara/Graphics/GuillotineTextureAtlas.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include namespace Nz { diff --git a/include/Nazara/Graphics/GuillotineTextureAtlas.inl b/include/Nazara/Graphics/GuillotineTextureAtlas.inl index 04363922f..db22d179b 100644 --- a/include/Nazara/Graphics/GuillotineTextureAtlas.inl +++ b/include/Nazara/Graphics/GuillotineTextureAtlas.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/InstancedRenderable.hpp b/include/Nazara/Graphics/InstancedRenderable.hpp index 66cf647a7..18d3ea8ce 100644 --- a/include/Nazara/Graphics/InstancedRenderable.hpp +++ b/include/Nazara/Graphics/InstancedRenderable.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_INSTANCEDRENDERABLE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/InstancedRenderable.inl b/include/Nazara/Graphics/InstancedRenderable.inl index a716e30f2..8bbc97d41 100644 --- a/include/Nazara/Graphics/InstancedRenderable.inl +++ b/include/Nazara/Graphics/InstancedRenderable.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -38,4 +37,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Light.hpp b/include/Nazara/Graphics/Light.hpp index 1aacee0f1..e30597b67 100644 --- a/include/Nazara/Graphics/Light.hpp +++ b/include/Nazara/Graphics/Light.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Light.inl b/include/Nazara/Graphics/Light.inl index 6ac1576d4..392eb1201 100644 --- a/include/Nazara/Graphics/Light.inl +++ b/include/Nazara/Graphics/Light.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -86,4 +85,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/LightShadowData.hpp b/include/Nazara/Graphics/LightShadowData.hpp index 4cf196bbd..453f36291 100644 --- a/include/Nazara/Graphics/LightShadowData.hpp +++ b/include/Nazara/Graphics/LightShadowData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_LIGHTSHADOWDATA_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Graphics/LightShadowData.inl b/include/Nazara/Graphics/LightShadowData.inl index 5d1fce6fc..f0070a4b0 100644 --- a/include/Nazara/Graphics/LightShadowData.inl +++ b/include/Nazara/Graphics/LightShadowData.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/LinearSlicedSprite.hpp b/include/Nazara/Graphics/LinearSlicedSprite.hpp index 3d691d68a..bdda38dbf 100644 --- a/include/Nazara/Graphics/LinearSlicedSprite.hpp +++ b/include/Nazara/Graphics/LinearSlicedSprite.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/LinearSlicedSprite.inl b/include/Nazara/Graphics/LinearSlicedSprite.inl index 64fca4ead..8c1a65371 100644 --- a/include/Nazara/Graphics/LinearSlicedSprite.inl +++ b/include/Nazara/Graphics/LinearSlicedSprite.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -154,4 +153,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Material.hpp b/include/Nazara/Graphics/Material.hpp index f9368401a..c3844cff0 100644 --- a/include/Nazara/Graphics/Material.hpp +++ b/include/Nazara/Graphics/Material.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,8 +12,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/Material.inl b/include/Nazara/Graphics/Material.inl index 279c54589..714809b93 100644 --- a/include/Nazara/Graphics/Material.inl +++ b/include/Nazara/Graphics/Material.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -78,4 +77,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/MaterialInstance.hpp b/include/Nazara/Graphics/MaterialInstance.hpp index 52f50d0af..3e048688a 100644 --- a/include/Nazara/Graphics/MaterialInstance.hpp +++ b/include/Nazara/Graphics/MaterialInstance.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_MATERIALINSTANCE_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/MaterialInstance.inl b/include/Nazara/Graphics/MaterialInstance.inl index ec9bb6bc6..04d4c8711 100644 --- a/include/Nazara/Graphics/MaterialInstance.inl +++ b/include/Nazara/Graphics/MaterialInstance.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -231,4 +230,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/MaterialPass.hpp b/include/Nazara/Graphics/MaterialPass.hpp index 7fbd4e020..4a7dd0e52 100644 --- a/include/Nazara/Graphics/MaterialPass.hpp +++ b/include/Nazara/Graphics/MaterialPass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,8 +11,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/MaterialPassRegistry.hpp b/include/Nazara/Graphics/MaterialPassRegistry.hpp index 2a0e1afe7..6f44c8f87 100644 --- a/include/Nazara/Graphics/MaterialPassRegistry.hpp +++ b/include/Nazara/Graphics/MaterialPassRegistry.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/MaterialPassRegistry.inl b/include/Nazara/Graphics/MaterialPassRegistry.inl index 8d0ea3bc2..aa65ffbe3 100644 --- a/include/Nazara/Graphics/MaterialPassRegistry.inl +++ b/include/Nazara/Graphics/MaterialPassRegistry.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -28,4 +27,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/MaterialPipeline.hpp b/include/Nazara/Graphics/MaterialPipeline.hpp index 5b4963d52..936cb73c5 100644 --- a/include/Nazara/Graphics/MaterialPipeline.hpp +++ b/include/Nazara/Graphics/MaterialPipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_MATERIALPIPELINE_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/MaterialPipeline.inl b/include/Nazara/Graphics/MaterialPipeline.inl index 3894346cf..56a783b8f 100644 --- a/include/Nazara/Graphics/MaterialPipeline.inl +++ b/include/Nazara/Graphics/MaterialPipeline.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -104,4 +103,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Graphics/MaterialSettings.hpp b/include/Nazara/Graphics/MaterialSettings.hpp index e9bf47248..dc0cf0d1f 100644 --- a/include/Nazara/Graphics/MaterialSettings.hpp +++ b/include/Nazara/Graphics/MaterialSettings.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/MaterialSettings.inl b/include/Nazara/Graphics/MaterialSettings.inl index c0a95d40d..dfa3f57ec 100644 --- a/include/Nazara/Graphics/MaterialSettings.inl +++ b/include/Nazara/Graphics/MaterialSettings.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -326,4 +325,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Model.hpp b/include/Nazara/Graphics/Model.hpp index 3fa7fc9c6..479ac7afc 100644 --- a/include/Nazara/Graphics/Model.hpp +++ b/include/Nazara/Graphics/Model.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Model.inl b/include/Nazara/Graphics/Model.inl index e011b36d6..ae0fe61de 100644 --- a/include/Nazara/Graphics/Model.inl +++ b/include/Nazara/Graphics/Model.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PipelinePassList.hpp b/include/Nazara/Graphics/PipelinePassList.hpp index dd8603f7f..f01865474 100644 --- a/include/Nazara/Graphics/PipelinePassList.hpp +++ b/include/Nazara/Graphics/PipelinePassList.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,8 +12,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/PipelinePassList.inl b/include/Nazara/Graphics/PipelinePassList.inl index ed0b080c3..513d8898b 100644 --- a/include/Nazara/Graphics/PipelinePassList.inl +++ b/include/Nazara/Graphics/PipelinePassList.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -85,4 +84,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PipelineViewer.hpp b/include/Nazara/Graphics/PipelineViewer.hpp index 751942db6..aef194a28 100644 --- a/include/Nazara/Graphics/PipelineViewer.hpp +++ b/include/Nazara/Graphics/PipelineViewer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/PipelineViewer.inl b/include/Nazara/Graphics/PipelineViewer.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/PipelineViewer.inl +++ b/include/Nazara/Graphics/PipelineViewer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/PointLight.hpp b/include/Nazara/Graphics/PointLight.hpp index 55290786a..9f3138b25 100644 --- a/include/Nazara/Graphics/PointLight.hpp +++ b/include/Nazara/Graphics/PointLight.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/PointLight.inl b/include/Nazara/Graphics/PointLight.inl index 249f67c94..42f018ff6 100644 --- a/include/Nazara/Graphics/PointLight.inl +++ b/include/Nazara/Graphics/PointLight.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -95,4 +94,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PointLightShadowData.hpp b/include/Nazara/Graphics/PointLightShadowData.hpp index 9840ade3f..a22c056d5 100644 --- a/include/Nazara/Graphics/PointLightShadowData.hpp +++ b/include/Nazara/Graphics/PointLightShadowData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_POINTLIGHTSHADOWDATA_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/PointLightShadowData.inl b/include/Nazara/Graphics/PointLightShadowData.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/PointLightShadowData.inl +++ b/include/Nazara/Graphics/PointLightShadowData.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/PostProcessPipelinePass.hpp b/include/Nazara/Graphics/PostProcessPipelinePass.hpp index ec6336f6c..1512835ad 100644 --- a/include/Nazara/Graphics/PostProcessPipelinePass.hpp +++ b/include/Nazara/Graphics/PostProcessPipelinePass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/PostProcessPipelinePass.inl b/include/Nazara/Graphics/PostProcessPipelinePass.inl index a0f93d116..e3d84cfdb 100644 --- a/include/Nazara/Graphics/PostProcessPipelinePass.inl +++ b/include/Nazara/Graphics/PostProcessPipelinePass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PredefinedMaterials.hpp b/include/Nazara/Graphics/PredefinedMaterials.hpp index 6f4881bca..4ff94c9e8 100644 --- a/include/Nazara/Graphics/PredefinedMaterials.hpp +++ b/include/Nazara/Graphics/PredefinedMaterials.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_PREDEFINEDMATERIALS_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Graphics/PredefinedMaterials.inl b/include/Nazara/Graphics/PredefinedMaterials.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/PredefinedMaterials.inl +++ b/include/Nazara/Graphics/PredefinedMaterials.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/PredefinedShaderStructBuilder.hpp b/include/Nazara/Graphics/PredefinedShaderStructBuilder.hpp index 0d70e5f09..a9395c071 100644 --- a/include/Nazara/Graphics/PredefinedShaderStructBuilder.hpp +++ b/include/Nazara/Graphics/PredefinedShaderStructBuilder.hpp @@ -1,13 +1,13 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_GRAPHICS_PREDEFINEDSHADERSTRUCTBUILDER_HPP #define NAZARA_GRAPHICS_PREDEFINEDSHADERSTRUCTBUILDER_HPP -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/PredefinedShaderStructBuilder.inl b/include/Nazara/Graphics/PredefinedShaderStructBuilder.inl index 21df91ebc..2993466a4 100644 --- a/include/Nazara/Graphics/PredefinedShaderStructBuilder.inl +++ b/include/Nazara/Graphics/PredefinedShaderStructBuilder.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -132,4 +131,3 @@ NAZARA_WARNING_CLANG_GCC_DISABLE("-Wmissing-field-initializers") NAZARA_WARNING_POP() } -#include diff --git a/include/Nazara/Graphics/PredefinedShaderStructs.hpp b/include/Nazara/Graphics/PredefinedShaderStructs.hpp index 3c62548ef..092419a74 100644 --- a/include/Nazara/Graphics/PredefinedShaderStructs.hpp +++ b/include/Nazara/Graphics/PredefinedShaderStructs.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.hpp b/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.hpp index ff5e968f8..6f18c79cd 100644 --- a/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.hpp +++ b/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_PROPERTYHANDLER_OPTIONVALUEPROPERTYHANDLER_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.inl b/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.inl index 5738d3f43..6da7c5d57 100644 --- a/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.inl +++ b/include/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp index 5c6208c57..c22d23f0f 100644 --- a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp +++ b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.inl b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.inl index 3ffabfb98..e9526351d 100644 --- a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.inl +++ b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.hpp b/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.hpp index 545691937..8127aab90 100644 --- a/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.hpp +++ b/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_PROPERTYHANDLER_TEXTUREPROPERTYHANDLER_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.inl b/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.inl index a55713a39..a2b0ac993 100644 --- a/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.inl +++ b/include/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.hpp b/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.hpp index fd62c8a56..8b6a75df9 100644 --- a/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.hpp +++ b/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_PROPERTYHANDLER_UNIFORMVALUEPROPERTYHANDLER_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.inl b/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.inl index a5d4201fe..da826177d 100644 --- a/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.inl +++ b/include/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -21,4 +20,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderBufferPool.hpp b/include/Nazara/Graphics/RenderBufferPool.hpp index b1dab31d1..cfe26bbd2 100644 --- a/include/Nazara/Graphics/RenderBufferPool.hpp +++ b/include/Nazara/Graphics/RenderBufferPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERBUFFERPOOL_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/RenderBufferPool.inl b/include/Nazara/Graphics/RenderBufferPool.inl index 6487bc430..b27fdf62d 100644 --- a/include/Nazara/Graphics/RenderBufferPool.inl +++ b/include/Nazara/Graphics/RenderBufferPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderElement.hpp b/include/Nazara/Graphics/RenderElement.hpp index 3a34edb80..60b1e14c9 100644 --- a/include/Nazara/Graphics/RenderElement.hpp +++ b/include/Nazara/Graphics/RenderElement.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_GRAPHICS_RENDERELEMENT_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Graphics/RenderElement.inl b/include/Nazara/Graphics/RenderElement.inl index 6c04daa4c..c3cca2538 100644 --- a/include/Nazara/Graphics/RenderElement.inl +++ b/include/Nazara/Graphics/RenderElement.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -24,4 +23,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderElementOwner.hpp b/include/Nazara/Graphics/RenderElementOwner.hpp index 704518717..bb9145de2 100644 --- a/include/Nazara/Graphics/RenderElementOwner.hpp +++ b/include/Nazara/Graphics/RenderElementOwner.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERELEMENTOWNER_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/RenderElementOwner.inl b/include/Nazara/Graphics/RenderElementOwner.inl index 7cc25fa63..eafc500c6 100644 --- a/include/Nazara/Graphics/RenderElementOwner.inl +++ b/include/Nazara/Graphics/RenderElementOwner.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -35,4 +34,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderElementPool.hpp b/include/Nazara/Graphics/RenderElementPool.hpp index 633833f4d..4b0f4b68b 100644 --- a/include/Nazara/Graphics/RenderElementPool.hpp +++ b/include/Nazara/Graphics/RenderElementPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERELEMENTPOOL_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/RenderElementPool.inl b/include/Nazara/Graphics/RenderElementPool.inl index 121d95b7e..8e96414db 100644 --- a/include/Nazara/Graphics/RenderElementPool.inl +++ b/include/Nazara/Graphics/RenderElementPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -35,4 +34,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderQueue.hpp b/include/Nazara/Graphics/RenderQueue.hpp index 9ae3d9651..92b382ae1 100644 --- a/include/Nazara/Graphics/RenderQueue.hpp +++ b/include/Nazara/Graphics/RenderQueue.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/RenderQueue.inl b/include/Nazara/Graphics/RenderQueue.inl index 1899349be..9e18a5f03 100644 --- a/include/Nazara/Graphics/RenderQueue.inl +++ b/include/Nazara/Graphics/RenderQueue.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -54,4 +53,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderQueueRegistry.hpp b/include/Nazara/Graphics/RenderQueueRegistry.hpp index 128126177..80bbce980 100644 --- a/include/Nazara/Graphics/RenderQueueRegistry.hpp +++ b/include/Nazara/Graphics/RenderQueueRegistry.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/RenderQueueRegistry.inl b/include/Nazara/Graphics/RenderQueueRegistry.inl index 681f4fcdb..c3a3a70b4 100644 --- a/include/Nazara/Graphics/RenderQueueRegistry.inl +++ b/include/Nazara/Graphics/RenderQueueRegistry.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -103,4 +102,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderSpriteChain.hpp b/include/Nazara/Graphics/RenderSpriteChain.hpp index 2de72cd5c..2ecb077aa 100644 --- a/include/Nazara/Graphics/RenderSpriteChain.hpp +++ b/include/Nazara/Graphics/RenderSpriteChain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/RenderSpriteChain.inl b/include/Nazara/Graphics/RenderSpriteChain.inl index 56e34e8e7..0908d5208 100644 --- a/include/Nazara/Graphics/RenderSpriteChain.inl +++ b/include/Nazara/Graphics/RenderSpriteChain.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -121,4 +120,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderSubmesh.hpp b/include/Nazara/Graphics/RenderSubmesh.hpp index 80175fceb..197cb6ad4 100644 --- a/include/Nazara/Graphics/RenderSubmesh.hpp +++ b/include/Nazara/Graphics/RenderSubmesh.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/RenderSubmesh.inl b/include/Nazara/Graphics/RenderSubmesh.inl index ba0a1897a..3802b2e24 100644 --- a/include/Nazara/Graphics/RenderSubmesh.inl +++ b/include/Nazara/Graphics/RenderSubmesh.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -134,4 +133,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderTarget.hpp b/include/Nazara/Graphics/RenderTarget.hpp index c9d1c7776..1130e8f32 100644 --- a/include/Nazara/Graphics/RenderTarget.hpp +++ b/include/Nazara/Graphics/RenderTarget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERTARGET_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/RenderTarget.inl b/include/Nazara/Graphics/RenderTarget.inl index c46cbb993..34e294698 100644 --- a/include/Nazara/Graphics/RenderTarget.inl +++ b/include/Nazara/Graphics/RenderTarget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -34,4 +33,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderTexture.hpp b/include/Nazara/Graphics/RenderTexture.hpp index 3577381e3..c857dcd7d 100644 --- a/include/Nazara/Graphics/RenderTexture.hpp +++ b/include/Nazara/Graphics/RenderTexture.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERTEXTURE_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/RenderTexture.inl b/include/Nazara/Graphics/RenderTexture.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/RenderTexture.inl +++ b/include/Nazara/Graphics/RenderTexture.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/RenderTextureBlit.hpp b/include/Nazara/Graphics/RenderTextureBlit.hpp index e1a33cf85..bb694545c 100644 --- a/include/Nazara/Graphics/RenderTextureBlit.hpp +++ b/include/Nazara/Graphics/RenderTextureBlit.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/RenderTextureBlit.inl b/include/Nazara/Graphics/RenderTextureBlit.inl index 468452bfc..9b805f04a 100644 --- a/include/Nazara/Graphics/RenderTextureBlit.inl +++ b/include/Nazara/Graphics/RenderTextureBlit.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/RenderWindow.hpp b/include/Nazara/Graphics/RenderWindow.hpp index 08e47a00c..27b2fd511 100644 --- a/include/Nazara/Graphics/RenderWindow.hpp +++ b/include/Nazara/Graphics/RenderWindow.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_RENDERWINDOW_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/RenderWindow.inl b/include/Nazara/Graphics/RenderWindow.inl index 0c1b78cfe..fb9219c4c 100644 --- a/include/Nazara/Graphics/RenderWindow.inl +++ b/include/Nazara/Graphics/RenderWindow.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -14,4 +13,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/ShaderReflection.hpp b/include/Nazara/Graphics/ShaderReflection.hpp index 0eefd73e7..8cd7f8b47 100644 --- a/include/Nazara/Graphics/ShaderReflection.hpp +++ b/include/Nazara/Graphics/ShaderReflection.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_SHADERREFLECTION_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/ShaderReflection.inl b/include/Nazara/Graphics/ShaderReflection.inl index f4e5e0c72..d2f38dd74 100644 --- a/include/Nazara/Graphics/ShaderReflection.inl +++ b/include/Nazara/Graphics/ShaderReflection.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -39,4 +38,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/ShadowViewer.hpp b/include/Nazara/Graphics/ShadowViewer.hpp index 92ca73e80..8671a6a8a 100644 --- a/include/Nazara/Graphics/ShadowViewer.hpp +++ b/include/Nazara/Graphics/ShadowViewer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/ShadowViewer.inl b/include/Nazara/Graphics/ShadowViewer.inl index 27d447090..19358e7d9 100644 --- a/include/Nazara/Graphics/ShadowViewer.inl +++ b/include/Nazara/Graphics/ShadowViewer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -18,4 +17,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/SkeletonInstance.hpp b/include/Nazara/Graphics/SkeletonInstance.hpp index 0e11d5417..f1f3175af 100644 --- a/include/Nazara/Graphics/SkeletonInstance.hpp +++ b/include/Nazara/Graphics/SkeletonInstance.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/SkeletonInstance.inl b/include/Nazara/Graphics/SkeletonInstance.inl index c2b938656..e97744e90 100644 --- a/include/Nazara/Graphics/SkeletonInstance.inl +++ b/include/Nazara/Graphics/SkeletonInstance.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/SlicedSprite.hpp b/include/Nazara/Graphics/SlicedSprite.hpp index 94b185f9f..25e6609e6 100644 --- a/include/Nazara/Graphics/SlicedSprite.hpp +++ b/include/Nazara/Graphics/SlicedSprite.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/SlicedSprite.inl b/include/Nazara/Graphics/SlicedSprite.inl index f271e0930..9fff2db50 100644 --- a/include/Nazara/Graphics/SlicedSprite.inl +++ b/include/Nazara/Graphics/SlicedSprite.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -109,4 +108,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/SpotLight.hpp b/include/Nazara/Graphics/SpotLight.hpp index ca8a53750..f9f7da104 100644 --- a/include/Nazara/Graphics/SpotLight.hpp +++ b/include/Nazara/Graphics/SpotLight.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/SpotLight.inl b/include/Nazara/Graphics/SpotLight.inl index 02614a880..523f88089 100644 --- a/include/Nazara/Graphics/SpotLight.inl +++ b/include/Nazara/Graphics/SpotLight.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -216,4 +215,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/SpotLightShadowData.hpp b/include/Nazara/Graphics/SpotLightShadowData.hpp index 6cd5962c6..045b24fa8 100644 --- a/include/Nazara/Graphics/SpotLightShadowData.hpp +++ b/include/Nazara/Graphics/SpotLightShadowData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/SpotLightShadowData.inl b/include/Nazara/Graphics/SpotLightShadowData.inl index 7b9376a99..3d4504eac 100644 --- a/include/Nazara/Graphics/SpotLightShadowData.inl +++ b/include/Nazara/Graphics/SpotLightShadowData.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Sprite.hpp b/include/Nazara/Graphics/Sprite.hpp index 72cead090..fbf2f799c 100644 --- a/include/Nazara/Graphics/Sprite.hpp +++ b/include/Nazara/Graphics/Sprite.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Sprite.inl b/include/Nazara/Graphics/Sprite.inl index 8d5c0c3a0..785d1f013 100644 --- a/include/Nazara/Graphics/Sprite.inl +++ b/include/Nazara/Graphics/Sprite.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -112,4 +111,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/SpriteChainRenderer.hpp b/include/Nazara/Graphics/SpriteChainRenderer.hpp index 2bf8dda2d..155b60476 100644 --- a/include/Nazara/Graphics/SpriteChainRenderer.hpp +++ b/include/Nazara/Graphics/SpriteChainRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/SpriteChainRenderer.inl b/include/Nazara/Graphics/SpriteChainRenderer.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/SpriteChainRenderer.inl +++ b/include/Nazara/Graphics/SpriteChainRenderer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/SubmeshRenderer.hpp b/include/Nazara/Graphics/SubmeshRenderer.hpp index 3a52a775f..d4091db1f 100644 --- a/include/Nazara/Graphics/SubmeshRenderer.hpp +++ b/include/Nazara/Graphics/SubmeshRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/SubmeshRenderer.inl b/include/Nazara/Graphics/SubmeshRenderer.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/SubmeshRenderer.inl +++ b/include/Nazara/Graphics/SubmeshRenderer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/Systems/RenderSystem.hpp b/include/Nazara/Graphics/Systems/RenderSystem.hpp index e11042d78..5ce73530c 100644 --- a/include/Nazara/Graphics/Systems/RenderSystem.hpp +++ b/include/Nazara/Graphics/Systems/RenderSystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Graphics/Systems/RenderSystem.inl b/include/Nazara/Graphics/Systems/RenderSystem.inl index 0e8d8c107..7f5126b32 100644 --- a/include/Nazara/Graphics/Systems/RenderSystem.inl +++ b/include/Nazara/Graphics/Systems/RenderSystem.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -30,4 +29,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/TextSprite.hpp b/include/Nazara/Graphics/TextSprite.hpp index b84770ffb..6b0ccf1e9 100644 --- a/include/Nazara/Graphics/TextSprite.hpp +++ b/include/Nazara/Graphics/TextSprite.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/TextSprite.inl b/include/Nazara/Graphics/TextSprite.inl index 6214b3398..daca2c5ba 100644 --- a/include/Nazara/Graphics/TextSprite.inl +++ b/include/Nazara/Graphics/TextSprite.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -28,4 +27,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/TextureSamplerCache.hpp b/include/Nazara/Graphics/TextureSamplerCache.hpp index ea21faafd..5393b017c 100644 --- a/include/Nazara/Graphics/TextureSamplerCache.hpp +++ b/include/Nazara/Graphics/TextureSamplerCache.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_TEXTURESAMPLERCACHE_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Graphics/TextureSamplerCache.inl b/include/Nazara/Graphics/TextureSamplerCache.inl index eb01a21e6..9117d81d8 100644 --- a/include/Nazara/Graphics/TextureSamplerCache.inl +++ b/include/Nazara/Graphics/TextureSamplerCache.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/Tilemap.hpp b/include/Nazara/Graphics/Tilemap.hpp index 6509c5b46..1f54fda0f 100644 --- a/include/Nazara/Graphics/Tilemap.hpp +++ b/include/Nazara/Graphics/Tilemap.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/Tilemap.inl b/include/Nazara/Graphics/Tilemap.inl index 08070b15c..acbaaca22 100644 --- a/include/Nazara/Graphics/Tilemap.inl +++ b/include/Nazara/Graphics/Tilemap.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -417,4 +416,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/TransferInterface.hpp b/include/Nazara/Graphics/TransferInterface.hpp index 0a514b2bf..5ef9f3887 100644 --- a/include/Nazara/Graphics/TransferInterface.hpp +++ b/include/Nazara/Graphics/TransferInterface.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_TRANSFERINTERFACE_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Graphics/TransferInterface.inl b/include/Nazara/Graphics/TransferInterface.inl index eb650e04d..f9036eb12 100644 --- a/include/Nazara/Graphics/TransferInterface.inl +++ b/include/Nazara/Graphics/TransferInterface.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Graphics/UberShader.hpp b/include/Nazara/Graphics/UberShader.hpp index d2fd05e74..bef48e801 100644 --- a/include/Nazara/Graphics/UberShader.hpp +++ b/include/Nazara/Graphics/UberShader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_UBERSHADER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/UberShader.inl b/include/Nazara/Graphics/UberShader.inl index 9df51b2cd..535e72f60 100644 --- a/include/Nazara/Graphics/UberShader.inl +++ b/include/Nazara/Graphics/UberShader.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -52,4 +51,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/ViewerInstance.hpp b/include/Nazara/Graphics/ViewerInstance.hpp index fece7e492..ec8cce246 100644 --- a/include/Nazara/Graphics/ViewerInstance.hpp +++ b/include/Nazara/Graphics/ViewerInstance.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_VIEWERINSTANCE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/ViewerInstance.inl b/include/Nazara/Graphics/ViewerInstance.inl index 6e869e64d..267404336 100644 --- a/include/Nazara/Graphics/ViewerInstance.inl +++ b/include/Nazara/Graphics/ViewerInstance.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -184,4 +183,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Graphics/WorldInstance.hpp b/include/Nazara/Graphics/WorldInstance.hpp index 998ea2cbf..01f6421fd 100644 --- a/include/Nazara/Graphics/WorldInstance.hpp +++ b/include/Nazara/Graphics/WorldInstance.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_GRAPHICS_WORLDINSTANCE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Graphics/WorldInstance.inl b/include/Nazara/Graphics/WorldInstance.inl index f091b2a5b..94c3d2477 100644 --- a/include/Nazara/Graphics/WorldInstance.inl +++ b/include/Nazara/Graphics/WorldInstance.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -51,4 +50,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math.hpp b/include/Nazara/Math.hpp index 0de92b160..d8e02d7f8 100644 --- a/include/Nazara/Math.hpp +++ b/include/Nazara/Math.hpp @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/include/Nazara/Math/Angle.hpp b/include/Nazara/Math/Angle.hpp index cf739aa5f..dca71ce5e 100644 --- a/include/Nazara/Math/Angle.hpp +++ b/include/Nazara/Math/Angle.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Angle.inl b/include/Nazara/Math/Angle.inl index fd57139f9..6fc7a6d37 100644 --- a/include/Nazara/Math/Angle.inl +++ b/include/Nazara/Math/Angle.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include //< sincos #endif -#include namespace Nz { @@ -791,4 +790,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/BoundingVolume.hpp b/include/Nazara/Math/BoundingVolume.hpp index ca49052d2..95e8a6aad 100644 --- a/include/Nazara/Math/BoundingVolume.hpp +++ b/include/Nazara/Math/BoundingVolume.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/BoundingVolume.inl b/include/Nazara/Math/BoundingVolume.inl index 6bdda6380..a328bb02a 100644 --- a/include/Nazara/Math/BoundingVolume.inl +++ b/include/Nazara/Math/BoundingVolume.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -493,4 +492,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Box.hpp b/include/Nazara/Math/Box.hpp index 3c6e7e3fd..c8812e995 100644 --- a/include/Nazara/Math/Box.hpp +++ b/include/Nazara/Math/Box.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Box.inl b/include/Nazara/Math/Box.inl index 8b10a5804..8953c36e4 100644 --- a/include/Nazara/Math/Box.inl +++ b/include/Nazara/Math/Box.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -634,8 +633,6 @@ namespace Nz * \return A reference to the ith element of the box * * \remark Access to index greater than 6 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 6 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 6 */ template constexpr T& Box::operator[](std::size_t i) @@ -650,8 +647,6 @@ namespace Nz * \return A value to the ith element of the box * * \remark Access to index greater than 6 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 6 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 6 */ template constexpr const T& Box::operator[](std::size_t i) const @@ -825,4 +820,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Enums.hpp b/include/Nazara/Math/Enums.hpp index 094800b20..7d1b5356a 100644 --- a/include/Nazara/Math/Enums.hpp +++ b/include/Nazara/Math/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/EulerAngles.hpp b/include/Nazara/Math/EulerAngles.hpp index 285432f40..9cf93d34a 100644 --- a/include/Nazara/Math/EulerAngles.hpp +++ b/include/Nazara/Math/EulerAngles.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/EulerAngles.inl b/include/Nazara/Math/EulerAngles.inl index 6d01d2e01..25b979c90 100644 --- a/include/Nazara/Math/EulerAngles.inl +++ b/include/Nazara/Math/EulerAngles.inl @@ -1,14 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include #include #include #include #include -#include namespace Nz { @@ -344,4 +342,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Config.hpp b/include/Nazara/Math/Export.hpp similarity index 72% rename from include/Nazara/Math/Config.hpp rename to include/Nazara/Math/Export.hpp index 8a2a5a31d..0aab0bd7a 100644 --- a/include/Nazara/Math/Config.hpp +++ b/include/Nazara/Math/Export.hpp @@ -25,21 +25,22 @@ #pragma once -#ifndef NAZARA_MATH_CONFIG_HPP -#define NAZARA_MATH_CONFIG_HPP +#ifndef NAZARA_MATH_EXPORT_HPP +#define NAZARA_MATH_EXPORT_HPP /*! * \defgroup math (NazaraMath) Mathematics module * 2D/3D mathematics module including matrix, vector, box, sphere, quaternion, ... */ -/// Each modification of a parameter of the module needs a recompilation of the unit +#if !defined(NAZARA_STATIC) + #ifdef NAZARA_CORE_BUILD // Math is compiled as part of Core + #define NAZARA_MATH_API NAZARA_EXPORT + #else + #define NAZARA_MATH_API NAZARA_IMPORT + #endif +#else + #define NAZARA_MATH_API +#endif -// Checks for transform matrix on common operations (Concatenate, Inverse, ...) and warns if the operation could be optimized -// also checks if transform calls are called on transform matrices -#define NAZARA_MATH_MATRIX4_CHECK_TRANSFORM 0 - -// Enable tests of security based on the code (Advised for the development) -#define NAZARA_MATH_SAFE 1 - -#endif // NAZARA_MATH_CONFIG_HPP +#endif // NAZARA_MATH_EXPORT_HPP diff --git a/include/Nazara/Math/Frustum.hpp b/include/Nazara/Math/Frustum.hpp index 21bffeaf5..ba7e32122 100644 --- a/include/Nazara/Math/Frustum.hpp +++ b/include/Nazara/Math/Frustum.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Frustum.inl b/include/Nazara/Math/Frustum.inl index e331629f6..830554627 100644 --- a/include/Nazara/Math/Frustum.inl +++ b/include/Nazara/Math/Frustum.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Sources: // http://www.crownandcutlass.com/features/technicaldetails/frustum.html @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { @@ -656,4 +655,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Matrix4.hpp b/include/Nazara/Math/Matrix4.hpp index 7bb1c0568..ce639be4c 100644 --- a/include/Nazara/Math/Matrix4.hpp +++ b/include/Nazara/Math/Matrix4.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,6 @@ ///FIXME: Matrices column-major, difficile de bosser avec (Tout passer en row-major et transposer dans les shaders ?) #include -#include #include #include #include diff --git a/include/Nazara/Math/Matrix4.inl b/include/Nazara/Math/Matrix4.inl index 0bb1a6522..716af3751 100644 --- a/include/Nazara/Math/Matrix4.inl +++ b/include/Nazara/Math/Matrix4.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include #include #include #include @@ -15,7 +14,6 @@ #include #include #include -#include namespace Nz { @@ -167,21 +165,13 @@ namespace Nz * * \param matrix Matrix to multiply with * - * \remark if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM is defined, will print a message if both matrices are transform matrices (and will call ConcatenateTransform) + * \remark if NAZARA_DEBUG is defined, will print a message if both matrices are transform matrices (and will call ConcatenateTransform) * * \see ConcatenateTransform */ template constexpr Matrix4& Matrix4::Concatenate(const Matrix4& matrix) { - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM - if (IsTransformMatrix() && matrix.IsTransformMatrix()) - { - NazaraDebug("Matrix4::Concatenate was called on transform matrices, use Matrix4::ConcatenateTransform"); - return ConcatenateTransform(matrix); - } - #endif - return operator=(Matrix4( m11 * matrix.m11 + m12 * matrix.m21 + m13 * matrix.m31 + m14 * matrix.m41, m11 * matrix.m12 + m12 * matrix.m22 + m13 * matrix.m32 + m14 * matrix.m42, @@ -211,14 +201,14 @@ namespace Nz * * \param matrix Matrix to multiply with * - * \remark if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM is defined and matrices are not transform matrices, a NazaraWarning is produced and Concatenate is called + * \remark if NAZARA_DEBUG is defined and matrices are not transform matrices, a NazaraWarning is produced and Concatenate is called * * \see Concatenate */ template constexpr Matrix4& Matrix4::ConcatenateTransform(const Matrix4& matrix) { - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM + #ifdef NAZARA_DEBUG if (!IsTransformMatrix()) { NazaraDebug("Matrix4::ConcatenateTransform first matrix is not a transform matrix"); @@ -273,21 +263,11 @@ namespace Nz * \brief Computes the determinant of this matrix * \return The value of the determinant * - * \remark if NAZARA_MATH_MATRIX4_CHECK_AFFINE is defined, GetDeterminantTransform is called - * * \see GetDeterminantTransform */ template constexpr T Matrix4::GetDeterminant() const { - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM - if (IsTransformMatrix()) - { - NazaraDebug("Matrix4::GetDeterminant was called on a transform matrix, use Matrix4::GetDeterminantTransform"); - return GetDeterminantTransform(); - } - #endif - T A = m22*(m33*m44 - m43*m34) - m32*(m23*m44 - m43*m24) + m42*(m23*m34 - m33*m24); T B = m12*(m33*m44 - m43*m34) - m32*(m13*m44 - m43*m14) + m42*(m13*m34 - m33*m14); T C = m12*(m23*m44 - m43*m24) - m22*(m13*m44 - m43*m14) + m42*(m13*m24 - m23*m14); @@ -300,14 +280,12 @@ namespace Nz * \brief Computes the determinant of this matrix * \return The value of the determinant * - * \remark if NAZARA_DEBUG is defined and matrix is not affine, a NazaraWarning is produced and GetDeterminant is called - * * \see GetDeterminant */ template constexpr T Matrix4::GetDeterminantTransform() const { - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM + #ifdef NAZARA_DEBUG if (!IsTransformMatrix()) { NazaraDebug("matrix is not a transform matrix"); @@ -329,7 +307,7 @@ namespace Nz * \param dest Matrix to put the result * * \remark You can call this method on the same object - * \remark if NAZARA_MATH_MATRIX4_CHECK_AFFINE is defined, GetInverseAffine is called + * \remark if NAZARADEBUG is defined, GetInverseAffine is called * \remark if NAZARA_DEBUG is defined, a NazaraError is produced if dest is null and false is returned * * \see GetInverseAffine @@ -339,14 +317,6 @@ namespace Nz { NazaraAssert(dest, "destination matrix must be valid"); - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM - if (IsTransformMatrix()) - { - NazaraDebug("Matrix4::GetInverse was called on a transform matrix, use Matrix4::GetInverseTransform"); - return GetInverseTransform(dest); - } - #endif - T det = GetDeterminant(); if (det == T(0.0)) return false; @@ -490,7 +460,7 @@ namespace Nz { NazaraAssert(dest, "destination matrix must be valid"); - #if NAZARA_MATH_MATRIX4_CHECK_TRANSFORM + #ifdef NAZARA_DEBUG if (!IsTransformMatrix()) { NazaraDebug("matrix is not a transform matrix"); @@ -627,9 +597,6 @@ namespace Nz * \return Vector4 which is the ith row of the matrix * * \param row Index of the row you want - * - * \remark Produce a NazaraError if you try to access index greater than 3 with NAZARA_MATH_SAFE defined - * \throw std::out_of_range if NAZARA_MATH_SAFE is defined and if you try to access index greater than 3 */ template constexpr Vector4 Matrix4::GetRow(std::size_t row) const @@ -1460,4 +1427,3 @@ namespace Nz } -#include diff --git a/include/Nazara/Math/OrientedBox.hpp b/include/Nazara/Math/OrientedBox.hpp index fd2892339..ffbc2ebb5 100644 --- a/include/Nazara/Math/OrientedBox.hpp +++ b/include/Nazara/Math/OrientedBox.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/OrientedBox.inl b/include/Nazara/Math/OrientedBox.inl index bf60a219e..b7b613f25 100644 --- a/include/Nazara/Math/OrientedBox.inl +++ b/include/Nazara/Math/OrientedBox.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include ///DOC: Pour que les coins soient valides, la méthode Update doit être appelée @@ -130,9 +129,6 @@ namespace Nz /*! * \brief Gets the ith corner of the oriented box * \return A reference to this corner - * - * \remark Produce a NazaraError if you try to access to index greather than BoxCorner::Max with NAZARA_MATH_SAFE defined. If not, it is undefined behaviour - * \throw std::out_of_range if NAZARA_MATH_SAFE is defined and you try to acces to index greather than BoxCorner::Max */ template constexpr Vector3& OrientedBox::operator()(unsigned int i) @@ -144,9 +140,6 @@ namespace Nz /*! * \brief Gets the ith corner of the oriented box * \return A reference to this corner - * - * \remark Produce a NazaraError if you try to access to index greather than BoxCorner::Max with NAZARA_MATH_SAFE defined. If not, it is undefined behaviour - * \throw std::out_of_range if NAZARA_MATH_SAFE is defined and you try to acces to index greather than BoxCorner::Max */ template constexpr const Vector3& OrientedBox::operator()(unsigned int i) const @@ -279,4 +272,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/PidController.hpp b/include/Nazara/Math/PidController.hpp index 635df926b..b0e76f942 100644 --- a/include/Nazara/Math/PidController.hpp +++ b/include/Nazara/Math/PidController.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/PidController.inl b/include/Nazara/Math/PidController.inl index 149b532df..091f739f8 100644 --- a/include/Nazara/Math/PidController.inl +++ b/include/Nazara/Math/PidController.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Plane.hpp b/include/Nazara/Math/Plane.hpp index ea19de81f..b8f1cc03d 100644 --- a/include/Nazara/Math/Plane.hpp +++ b/include/Nazara/Math/Plane.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Plane.inl b/include/Nazara/Math/Plane.inl index 003d09bf2..f9ca92aa5 100644 --- a/include/Nazara/Math/Plane.inl +++ b/include/Nazara/Math/Plane.inl @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { @@ -325,4 +324,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Quaternion.hpp b/include/Nazara/Math/Quaternion.hpp index 1e657f8cf..ccd998d81 100644 --- a/include/Nazara/Math/Quaternion.hpp +++ b/include/Nazara/Math/Quaternion.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Quaternion.inl b/include/Nazara/Math/Quaternion.inl index 6e4ebd81c..370ee3288 100644 --- a/include/Nazara/Math/Quaternion.inl +++ b/include/Nazara/Math/Quaternion.inl @@ -1,13 +1,11 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include #include #include #include -#include namespace Nz { @@ -711,9 +709,9 @@ namespace Nz template Quaternion Quaternion::Mirror(Quaternion quat, const Vector3& axis) { - float x = std::copysign(T(1.0), axis.x); - float y = std::copysign(T(1.0), axis.y); - float z = std::copysign(T(1.0), axis.z); + T x = std::copysign(T(1.0), axis.x); + T y = std::copysign(T(1.0), axis.y); + T z = std::copysign(T(1.0), axis.z); quat.x = y * z * quat.x; quat.y = x * z * quat.y; @@ -844,4 +842,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Ray.hpp b/include/Nazara/Math/Ray.hpp index 595e23f91..c02e8c32c 100644 --- a/include/Nazara/Math/Ray.hpp +++ b/include/Nazara/Math/Ray.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Gawaboumga (https://github.com/Gawaboumga) - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Ray.inl b/include/Nazara/Math/Ray.inl index bc856db30..8698f16e0 100644 --- a/include/Nazara/Math/Ray.inl +++ b/include/Nazara/Math/Ray.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Gawaboumga (https://github.com/Gawaboumga) - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -65,9 +64,6 @@ namespace Nz * * \param planeOne First plane * \param planeTwo Second secant plane - * - * \remark Produce a NazaraError if planes are parallel with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and planes are parallel */ template Ray::Ray(const Plane& planeOne, const Plane& planeTwo) @@ -77,7 +73,7 @@ namespace Nz T termFour = planeTwo.normal.GetLength(); T det = termOne * termFour - termTwo * termTwo; - #if NAZARA_MATH_SAFE + #ifdef NAZARA_DEBUG if (NumberEquals(det, T(0.0))) { std::string error("Planes are parallel"); @@ -622,4 +618,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Rect.hpp b/include/Nazara/Math/Rect.hpp index 3e8b40b18..c9bff7fc7 100644 --- a/include/Nazara/Math/Rect.hpp +++ b/include/Nazara/Math/Rect.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Rect.inl b/include/Nazara/Math/Rect.inl index 46001f50d..9f8eed2e2 100644 --- a/include/Nazara/Math/Rect.inl +++ b/include/Nazara/Math/Rect.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -500,8 +499,6 @@ namespace Nz * \return A reference to the ith element of the rectangle * * \remark Access to index greather than 4 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 4 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 4 */ template constexpr T& Rect::operator[](std::size_t i) @@ -516,8 +513,6 @@ namespace Nz * \return A value to the ith element of the rectangle * * \remark Access to index greater than 4 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 4 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 4 */ template constexpr const T& Rect::operator[](std::size_t i) const @@ -685,4 +680,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Sphere.hpp b/include/Nazara/Math/Sphere.hpp index 870199fb8..809edcf82 100644 --- a/include/Nazara/Math/Sphere.hpp +++ b/include/Nazara/Math/Sphere.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Sphere.inl b/include/Nazara/Math/Sphere.inl index e19c1389b..a9f670346 100644 --- a/include/Nazara/Math/Sphere.inl +++ b/include/Nazara/Math/Sphere.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { @@ -319,8 +318,6 @@ namespace Nz * \return A reference to the ith element of the sphere * * \remark Access to index greater than 4 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 4 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 4 */ template constexpr T& Sphere::operator[](std::size_t i) @@ -335,8 +332,6 @@ namespace Nz * \return A value to the ith element of the sphere * * \remark Access to index greater than 4 is undefined behavior - * \remark Produce a NazaraError if you try to access to index greater than 4 with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of you try to acces to index greather than 4 */ template constexpr T Sphere::operator[](std::size_t i) const @@ -566,4 +561,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Math/Vector2.hpp b/include/Nazara/Math/Vector2.hpp index c43d49b14..dcf015fd6 100644 --- a/include/Nazara/Math/Vector2.hpp +++ b/include/Nazara/Math/Vector2.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Vector2.inl b/include/Nazara/Math/Vector2.inl index af0fcc5a9..ea177a2e7 100644 --- a/include/Nazara/Math/Vector2.inl +++ b/include/Nazara/Math/Vector2.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { @@ -823,4 +822,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Math/Vector3.hpp b/include/Nazara/Math/Vector3.hpp index 726478fc3..327ac12d0 100644 --- a/include/Nazara/Math/Vector3.hpp +++ b/include/Nazara/Math/Vector3.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Vector3.inl b/include/Nazara/Math/Vector3.inl index a0762382d..1dacbf295 100644 --- a/include/Nazara/Math/Vector3.inl +++ b/include/Nazara/Math/Vector3.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { @@ -124,8 +123,6 @@ namespace Nz * \param vec The other vector to measure the angle with * * \remark The vectors need to be normalised - * \remark Produce a NazaraError if one of the vec components is null with NAZARA_MATH_SAFE defined - * \throw std::domain_error if NAZARA_MATH_SAFE is defined and one of the vec components is null * * \see NormalizeAngle */ @@ -1041,4 +1038,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Math/Vector4.hpp b/include/Nazara/Math/Vector4.hpp index ce7a2d305..40e1e36b2 100644 --- a/include/Nazara/Math/Vector4.hpp +++ b/include/Nazara/Math/Vector4.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Math/Vector4.inl b/include/Nazara/Math/Vector4.inl index 61274207a..8504d4fdc 100644 --- a/include/Nazara/Math/Vector4.inl +++ b/include/Nazara/Math/Vector4.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Rémi Bèges - Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include ///FIXME: Les calculs effectués ici sont probablements tous faux, la composante W étant spéciale dans le monde de la 3D @@ -861,4 +860,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Network.hpp b/include/Nazara/Network.hpp index 17bc424a3..2e2c45bf4 100644 --- a/include/Nazara/Network.hpp +++ b/include/Nazara/Network.hpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Network/AbstractSocket.hpp b/include/Nazara/Network/AbstractSocket.hpp index 82296810d..f5cc7eb73 100644 --- a/include/Nazara/Network/AbstractSocket.hpp +++ b/include/Nazara/Network/AbstractSocket.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_NETWORK_ABSTRACTSOCKET_HPP #include -#include #include +#include #include #include diff --git a/include/Nazara/Network/AbstractSocket.inl b/include/Nazara/Network/AbstractSocket.inl index 7314a2464..763e2f63e 100644 --- a/include/Nazara/Network/AbstractSocket.inl +++ b/include/Nazara/Network/AbstractSocket.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -73,4 +72,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/Algorithm.hpp b/include/Nazara/Network/Algorithm.hpp index a4a2897ac..9fe1a7d27 100644 --- a/include/Nazara/Network/Algorithm.hpp +++ b/include/Nazara/Network/Algorithm.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_NETWORK_ALGORITHM_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Network/Algorithm.inl b/include/Nazara/Network/Algorithm.inl index 3ec3d3beb..71a82a4f8 100644 --- a/include/Nazara/Network/Algorithm.inl +++ b/include/Nazara/Network/Algorithm.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/ConfigCheck.hpp b/include/Nazara/Network/ConfigCheck.hpp deleted file mode 100644 index 6a22ab97d..000000000 --- a/include/Nazara/Network/ConfigCheck.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_NETWORK_CONFIGCHECK_HPP -#define NAZARA_NETWORK_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -// config checks - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_NETWORK_CONFIGCHECK_HPP diff --git a/include/Nazara/Network/CurlFunctions.hpp b/include/Nazara/Network/CurlFunctions.hpp index a1149ad2c..65e2754b0 100644 --- a/include/Nazara/Network/CurlFunctions.hpp +++ b/include/Nazara/Network/CurlFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/Network/CurlLibrary.hpp b/include/Nazara/Network/CurlLibrary.hpp index aaf12b185..c0877a4f3 100644 --- a/include/Nazara/Network/CurlLibrary.hpp +++ b/include/Nazara/Network/CurlLibrary.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_NETWORK_CURLLIBRARY_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Network/CurlLibrary.inl b/include/Nazara/Network/CurlLibrary.inl index 4a8510816..2fbf1bf0c 100644 --- a/include/Nazara/Network/CurlLibrary.inl +++ b/include/Nazara/Network/CurlLibrary.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/Debug.hpp b/include/Nazara/Network/Debug.hpp deleted file mode 100644 index c2d636285..000000000 --- a/include/Nazara/Network/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Network/DebugOff.hpp b/include/Nazara/Network/DebugOff.hpp deleted file mode 100644 index c2d636285..000000000 --- a/include/Nazara/Network/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Network/ENetCompressor.hpp b/include/Nazara/Network/ENetCompressor.hpp index 23c5206bd..51bab1b17 100644 --- a/include/Nazara/Network/ENetCompressor.hpp +++ b/include/Nazara/Network/ENetCompressor.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright(c) 2002 - 2016 Lee Salzman @@ -22,7 +22,7 @@ #define NAZARA_NETWORK_ENETCOMPRESSOR_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Network/ENetHost.hpp b/include/Nazara/Network/ENetHost.hpp index 8e4bf0cde..526088767 100644 --- a/include/Nazara/Network/ENetHost.hpp +++ b/include/Nazara/Network/ENetHost.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright(c) 2002 - 2016 Lee Salzman diff --git a/include/Nazara/Network/ENetHost.inl b/include/Nazara/Network/ENetHost.inl index 82b3fce8d..fbca70b4e 100644 --- a/include/Nazara/Network/ENetHost.inl +++ b/include/Nazara/Network/ENetHost.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -115,4 +114,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/ENetPacket.hpp b/include/Nazara/Network/ENetPacket.hpp index 0f3f7af52..51ee89840 100644 --- a/include/Nazara/Network/ENetPacket.hpp +++ b/include/Nazara/Network/ENetPacket.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/ENetPeer.hpp b/include/Nazara/Network/ENetPeer.hpp index 9198923bf..f76ddd10d 100644 --- a/include/Nazara/Network/ENetPeer.hpp +++ b/include/Nazara/Network/ENetPeer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright(c) 2002 - 2016 Lee Salzman diff --git a/include/Nazara/Network/ENetPeer.inl b/include/Nazara/Network/ENetPeer.inl index f925c6126..c89d1e356 100644 --- a/include/Nazara/Network/ENetPeer.inl +++ b/include/Nazara/Network/ENetPeer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -118,4 +117,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/ENetProtocol.hpp b/include/Nazara/Network/ENetProtocol.hpp index 74d7ff880..5d66a6d17 100644 --- a/include/Nazara/Network/ENetProtocol.hpp +++ b/include/Nazara/Network/ENetProtocol.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/ENetProtocol.inl b/include/Nazara/Network/ENetProtocol.inl index 48d5038b9..ec4d50d05 100644 --- a/include/Nazara/Network/ENetProtocol.inl +++ b/include/Nazara/Network/ENetProtocol.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -32,4 +31,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/Enums.hpp b/include/Nazara/Network/Enums.hpp index 8d2e06dc5..dce38e328 100644 --- a/include/Nazara/Network/Enums.hpp +++ b/include/Nazara/Network/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/Config.hpp b/include/Nazara/Network/Export.hpp similarity index 75% rename from include/Nazara/Network/Config.hpp rename to include/Nazara/Network/Export.hpp index c3d85db9a..759cf7abc 100644 --- a/include/Nazara/Network/Config.hpp +++ b/include/Nazara/Network/Export.hpp @@ -24,24 +24,14 @@ #pragma once -#ifndef NAZARA_NETWORK_CONFIG_HPP -#define NAZARA_NETWORK_CONFIG_HPP +#ifndef NAZARA_NETWORK_EXPORT_HPP +#define NAZARA_NETWORK_EXPORT_HPP /*! * \defgroup network (NazaraNetwork) Network module * Network/System module including classes to handle networking elements... */ -/// Each modification of a paramater of the module needs a recompilation of the unit - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_NETWORK_SAFE 1 - -/// Each modification of a parameter following implies a modification (often minor) of the code - -/// Checking the values and types of certain constants -#include - #if defined(NAZARA_STATIC) #define NAZARA_NETWORK_API #else @@ -52,4 +42,4 @@ #endif #endif -#endif // NAZARA_NETWORK_CONFIG_HPP +#endif // NAZARA_NETWORK_EXPORT_HPP diff --git a/include/Nazara/Network/IpAddress.hpp b/include/Nazara/Network/IpAddress.hpp index 3a44bd060..fb7da92d9 100644 --- a/include/Nazara/Network/IpAddress.hpp +++ b/include/Nazara/Network/IpAddress.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_NETWORK_IPADDRESS_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Network/IpAddress.inl b/include/Nazara/Network/IpAddress.inl index 6019ac445..0a9f5f987 100644 --- a/include/Nazara/Network/IpAddress.inl +++ b/include/Nazara/Network/IpAddress.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -410,4 +409,3 @@ namespace std } }; } -#include diff --git a/include/Nazara/Network/NetBuffer.hpp b/include/Nazara/Network/NetBuffer.hpp index 973ee6ba6..956108f5f 100644 --- a/include/Nazara/Network/NetBuffer.hpp +++ b/include/Nazara/Network/NetBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,6 +8,7 @@ #define NAZARA_NETWORK_NETBUFFER_HPP #include +#include namespace Nz { diff --git a/include/Nazara/Network/NetPacket.hpp b/include/Nazara/Network/NetPacket.hpp index 60440dc41..700d329cd 100644 --- a/include/Nazara/Network/NetPacket.hpp +++ b/include/Nazara/Network/NetPacket.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Network/NetPacket.inl b/include/Nazara/Network/NetPacket.inl index ceef10a44..9b1dd6f82 100644 --- a/include/Nazara/Network/NetPacket.inl +++ b/include/Nazara/Network/NetPacket.inl @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { @@ -221,4 +220,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/Network.hpp b/include/Nazara/Network/Network.hpp index 2b355bf9b..fd8dbc29d 100644 --- a/include/Nazara/Network/Network.hpp +++ b/include/Nazara/Network/Network.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Network/SocketHandle.hpp b/include/Nazara/Network/SocketHandle.hpp index 7034d67f5..f5a7eb5d1 100644 --- a/include/Nazara/Network/SocketHandle.hpp +++ b/include/Nazara/Network/SocketHandle.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/SocketPoller.hpp b/include/Nazara/Network/SocketPoller.hpp index 3154865db..596c8be9d 100644 --- a/include/Nazara/Network/SocketPoller.hpp +++ b/include/Nazara/Network/SocketPoller.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/SocketPoller.inl b/include/Nazara/Network/SocketPoller.inl index acebb3809..943e247e3 100644 --- a/include/Nazara/Network/SocketPoller.inl +++ b/include/Nazara/Network/SocketPoller.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Network/TcpClient.hpp b/include/Nazara/Network/TcpClient.hpp index e7657c2b4..3b0af458b 100644 --- a/include/Nazara/Network/TcpClient.hpp +++ b/include/Nazara/Network/TcpClient.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/TcpClient.inl b/include/Nazara/Network/TcpClient.inl index 15dc5b1b3..071706b57 100644 --- a/include/Nazara/Network/TcpClient.inl +++ b/include/Nazara/Network/TcpClient.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -82,4 +81,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/TcpServer.hpp b/include/Nazara/Network/TcpServer.hpp index f053dd6a6..477c2e621 100644 --- a/include/Nazara/Network/TcpServer.hpp +++ b/include/Nazara/Network/TcpServer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/TcpServer.inl b/include/Nazara/Network/TcpServer.inl index 08e134cd5..5a79a7915 100644 --- a/include/Nazara/Network/TcpServer.inl +++ b/include/Nazara/Network/TcpServer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -86,4 +85,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/UdpSocket.hpp b/include/Nazara/Network/UdpSocket.hpp index cd9dac1b7..94cecbb52 100644 --- a/include/Nazara/Network/UdpSocket.hpp +++ b/include/Nazara/Network/UdpSocket.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Network/UdpSocket.inl b/include/Nazara/Network/UdpSocket.inl index a9463f0dc..67d13b5e3 100644 --- a/include/Nazara/Network/UdpSocket.inl +++ b/include/Nazara/Network/UdpSocket.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -114,4 +113,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/WebRequest.hpp b/include/Nazara/Network/WebRequest.hpp index 6a5ad8ebe..cc5239e34 100644 --- a/include/Nazara/Network/WebRequest.hpp +++ b/include/Nazara/Network/WebRequest.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Network/WebRequest.inl b/include/Nazara/Network/WebRequest.inl index 224abede5..3d7cdab48 100644 --- a/include/Nazara/Network/WebRequest.inl +++ b/include/Nazara/Network/WebRequest.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -79,4 +78,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/WebRequestResult.hpp b/include/Nazara/Network/WebRequestResult.hpp index 59dea0d05..9507bfb19 100644 --- a/include/Nazara/Network/WebRequestResult.hpp +++ b/include/Nazara/Network/WebRequestResult.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Network/WebRequestResult.inl b/include/Nazara/Network/WebRequestResult.inl index 1cddb2aab..0d2b1dc72 100644 --- a/include/Nazara/Network/WebRequestResult.inl +++ b/include/Nazara/Network/WebRequestResult.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -53,4 +52,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Network/WebService.hpp b/include/Nazara/Network/WebService.hpp index 577d88a2a..7bbdb3659 100644 --- a/include/Nazara/Network/WebService.hpp +++ b/include/Nazara/Network/WebService.hpp @@ -1,13 +1,13 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once #ifndef NAZARA_NETWORK_WEBSERVICE_HPP #define NAZARA_NETWORK_WEBSERVICE_HPP -#include +#include #include #include #include diff --git a/include/Nazara/Network/WebService.inl b/include/Nazara/Network/WebService.inl index 59035a369..d3f0b3d6c 100644 --- a/include/Nazara/Network/WebService.inl +++ b/include/Nazara/Network/WebService.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -44,4 +43,3 @@ namespace Nz #endif } -#include diff --git a/include/Nazara/Network/WebServiceAppComponent.hpp b/include/Nazara/Network/WebServiceAppComponent.hpp index 4b95e6940..fa1e4602b 100644 --- a/include/Nazara/Network/WebServiceAppComponent.hpp +++ b/include/Nazara/Network/WebServiceAppComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Network/WebServiceAppComponent.inl b/include/Nazara/Network/WebServiceAppComponent.inl index acebb3809..943e247e3 100644 --- a/include/Nazara/Network/WebServiceAppComponent.inl +++ b/include/Nazara/Network/WebServiceAppComponent.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/OpenGLRenderer.hpp b/include/Nazara/OpenGLRenderer.hpp index d8778d322..e411c42f2 100644 --- a/include/Nazara/OpenGLRenderer.hpp +++ b/include/Nazara/OpenGLRenderer.hpp @@ -29,7 +29,7 @@ #ifndef NAZARA_GLOBAL_OPENGLRENDERER_HPP #define NAZARA_GLOBAL_OPENGLRENDERER_HPP -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/ConfigCheck.hpp b/include/Nazara/OpenGLRenderer/ConfigCheck.hpp deleted file mode 100644 index 34059167e..000000000 --- a/include/Nazara/OpenGLRenderer/ConfigCheck.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_OPENGLRENDERER_CONFIGCHECK_HPP -#define NAZARA_OPENGLRENDERER_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#endif // NAZARA_OPENGLRENDERER_CONFIGCHECK_HPP diff --git a/include/Nazara/OpenGLRenderer/Debug.hpp b/include/Nazara/OpenGLRenderer/Debug.hpp deleted file mode 100644 index ea6ee627b..000000000 --- a/include/Nazara/OpenGLRenderer/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/OpenGLRenderer/DebugOff.hpp b/include/Nazara/OpenGLRenderer/DebugOff.hpp deleted file mode 100644 index ea6ee627b..000000000 --- a/include/Nazara/OpenGLRenderer/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/OpenGLRenderer/Config.hpp b/include/Nazara/OpenGLRenderer/Export.hpp similarity index 71% rename from include/Nazara/OpenGLRenderer/Config.hpp rename to include/Nazara/OpenGLRenderer/Export.hpp index 47a29ab04..2f4b5cf99 100644 --- a/include/Nazara/OpenGLRenderer/Config.hpp +++ b/include/Nazara/OpenGLRenderer/Export.hpp @@ -24,18 +24,8 @@ #pragma once -#ifndef NAZARA_OPENGLRENDERER_CONFIG_HPP -#define NAZARA_OPENGLRENDERER_CONFIG_HPP - -/// Chaque modification d'un paramètre du module nécessite une recompilation de celui-ci - -// Active les tests de sécurité basés sur le code (Conseillé pour le développement) -#define NAZARA_OPENGLRENDERER_SAFE 1 - -/// Chaque modification d'un paramètre ci-dessous implique une modification (souvent mineure) du code - -/// Vérification des valeurs et types de certaines constantes -#include +#ifndef NAZARA_OPENGLRENDERER_EXPORT_HPP +#define NAZARA_OPENGLRENDERER_EXPORT_HPP #if !defined(NAZARA_STATIC) #ifdef NAZARA_OPENGLRENDERER_BUILD @@ -47,4 +37,4 @@ #define NAZARA_OPENGLRENDERER_API #endif -#endif // NAZARA_OPENGLRENDERER_CONFIG_HPP +#endif // NAZARA_OPENGLRENDERER_EXPORT_HPP diff --git a/include/Nazara/OpenGLRenderer/OpenGLBuffer.hpp b/include/Nazara/OpenGLRenderer/OpenGLBuffer.hpp index 4886075fd..ed467ff51 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLBuffer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLBUFFER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLBuffer.inl b/include/Nazara/OpenGLRenderer/OpenGLBuffer.inl index e15820604..6bdeed385 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLBuffer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.hpp b/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.hpp index c221bc028..84b9b1826 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.inl b/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.inl index 7173cb836..bde864d18 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandBuffer.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -269,4 +268,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.hpp b/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.hpp index aca2783bd..8581516e1 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLCOMMANDBUFFERBUILDER_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.inl b/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.inl index c8e2d75fe..b1c3d2ff2 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandPool.hpp b/include/Nazara/OpenGLRenderer/OpenGLCommandPool.hpp index 70a3ce065..7c24819f1 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandPool.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLCOMMANDPOOL_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLCommandPool.inl b/include/Nazara/OpenGLRenderer/OpenGLCommandPool.inl index 29c511f01..97db1c2d9 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLCommandPool.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLCommandPool.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -25,4 +24,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.hpp b/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.hpp index 24acae0fc..2096c8f43 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLCOMPUTEPIPELINE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.inl b/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.inl index 5acbf3cde..0fbd75883 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLComputePipeline.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLDevice.hpp b/include/Nazara/OpenGLRenderer/OpenGLDevice.hpp index e95b86872..fcf96d5a8 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLDevice.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLDEVICE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLDevice.inl b/include/Nazara/OpenGLRenderer/OpenGLDevice.inl index a61aa3f7d..e6fb95a6d 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLDevice.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLDevice.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -41,4 +40,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.hpp b/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.hpp index 8c9be6010..7af720ef7 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.inl b/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.inl index d607ddf50..866c6d324 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.hpp b/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.hpp index f8637ad96..09fd48bc1 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.inl b/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.inl index 4132bc141..c500cd242 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLFramebuffer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderImage.hpp b/include/Nazara/OpenGLRenderer/OpenGLRenderImage.hpp index f02aa0c25..2ff82c5d6 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderImage.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderImage.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderImage.inl b/include/Nazara/OpenGLRenderer/OpenGLRenderImage.inl index 7e7e6af73..7827ce5c5 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderImage.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderImage.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPass.hpp b/include/Nazara/OpenGLRenderer/OpenGLRenderPass.hpp index 67d65b773..af8281bdd 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPass.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLRENDERPASS_HPP #include -#include +#include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPass.inl b/include/Nazara/OpenGLRenderer/OpenGLRenderPass.inl index 4132bc141..c500cd242 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPass.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPass.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.hpp b/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.hpp index 9ece5ab60..14898c806 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLRENDERPIPELINE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.inl b/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.inl index 472b9629d..6505c90d5 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPipeline.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp b/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp index dce9f92e9..7944df90a 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLRENDERPIPELINELAYOUT_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.inl b/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.inl index e18420fa9..4fac829c8 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -52,4 +51,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderer.hpp b/include/Nazara/OpenGLRenderer/OpenGLRenderer.hpp index 3291ec55f..dd15a2bba 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLRenderer.inl b/include/Nazara/OpenGLRenderer/OpenGLRenderer.inl index 4132bc141..c500cd242 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLRenderer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLRenderer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.hpp b/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.hpp index 8bb1ebc24..b21b3fc6c 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLSHADERBINDING_HPP #include -#include +#include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.inl b/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.inl index ddbb971a5..0ebe24b05 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLShaderBinding.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -29,4 +28,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLShaderModule.hpp b/include/Nazara/OpenGLRenderer/OpenGLShaderModule.hpp index 8462b74cf..c6a4c0797 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLShaderModule.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLShaderModule.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/OpenGLShaderModule.inl b/include/Nazara/OpenGLRenderer/OpenGLShaderModule.inl index af64f4d09..4312abf55 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLShaderModule.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLShaderModule.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLSwapchain.hpp b/include/Nazara/OpenGLRenderer/OpenGLSwapchain.hpp index 32e7bf6da..34b73fcd7 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLSwapchain.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLSwapchain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLSWAPCHAIN_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLSwapchain.inl b/include/Nazara/OpenGLRenderer/OpenGLSwapchain.inl index d7a039fcf..923263d2b 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLSwapchain.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLSwapchain.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -19,4 +18,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLTexture.hpp b/include/Nazara/OpenGLRenderer/OpenGLTexture.hpp index f279bff80..29934d143 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLTexture.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLTexture.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLTEXTURE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLTexture.inl b/include/Nazara/OpenGLRenderer/OpenGLTexture.inl index 39db1a638..fed81fbee 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLTexture.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLTexture.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -102,4 +101,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.hpp b/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.hpp index 54234f730..0bc3e3d57 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.inl b/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.inl index 9b4b7efc2..14dd789ae 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLTextureSampler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLUploadPool.hpp b/include/Nazara/OpenGLRenderer/OpenGLUploadPool.hpp index cf5ac8ce0..5a0fad781 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLUploadPool.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLUploadPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLUPLOADPOOL_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLUploadPool.inl b/include/Nazara/OpenGLRenderer/OpenGLUploadPool.inl index 1659c1ebe..edba3593d 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLUploadPool.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLUploadPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLVaoCache.hpp b/include/Nazara/OpenGLRenderer/OpenGLVaoCache.hpp index 159186049..50924b898 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLVaoCache.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLVaoCache.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_OPENGLVAOCACHE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/OpenGLVaoCache.inl b/include/Nazara/OpenGLRenderer/OpenGLVaoCache.inl index ea60f7888..220e22fc4 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLVaoCache.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLVaoCache.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -75,4 +74,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.hpp b/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.hpp index 83c93bd2d..af0ebeed2 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.hpp +++ b/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.inl b/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.inl index d0a21e892..a722eec09 100644 --- a/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.inl +++ b/include/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/Utils.hpp b/include/Nazara/OpenGLRenderer/Utils.hpp index 026c4c73d..63d7debf9 100644 --- a/include/Nazara/OpenGLRenderer/Utils.hpp +++ b/include/Nazara/OpenGLRenderer/Utils.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Utils.inl b/include/Nazara/OpenGLRenderer/Utils.inl index 4f9faf3e7..50098778f 100644 --- a/include/Nazara/OpenGLRenderer/Utils.inl +++ b/include/Nazara/OpenGLRenderer/Utils.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -315,4 +314,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Buffer.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Buffer.hpp index 049b6b770..ce3a60a05 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Buffer.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Buffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Buffer.inl b/include/Nazara/OpenGLRenderer/Wrapper/Buffer.inl index a6409ad8c..46e91f2d8 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Buffer.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Buffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -55,4 +54,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Context.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Context.hpp index f42300dd4..7c63100f8 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Context.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Context.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Context.inl b/include/Nazara/OpenGLRenderer/Wrapper/Context.inl index bcbed1afd..8c5630915 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Context.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Context.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -200,4 +199,3 @@ namespace Nz::GL } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.hpp b/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.hpp index 868624a62..0fb88f837 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.inl b/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.inl index ae0afb4ba..ae893e9d2 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/ContextObject.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::GL { @@ -94,4 +93,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/CoreFunctions.hpp b/include/Nazara/OpenGLRenderer/Wrapper/CoreFunctions.hpp index 7afebd205..896369479 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/CoreFunctions.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/CoreFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.hpp b/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.hpp index a12b4dbf7..f8492e952 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.inl b/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.inl index 41d467912..85addaecf 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/DeviceObject.inl @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz::GL { @@ -100,4 +99,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.hpp b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.hpp index 457f52a5f..a24a33448 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.inl b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.inl index e1db1f62e..e411e1a99 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -22,4 +21,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLFunctions.hpp b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLFunctions.hpp index 2dcbfda05..17a9ef18e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLFunctions.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.hpp b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.hpp index 3f265fd8c..7c202c0a6 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_WRAPPER_EGL_EGLLOADER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.inl b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.inl index 48d65efa4..5df649a65 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -12,4 +11,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.hpp index cd346933a..128e0572c 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.inl b/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.inl index c630286a6..aa706d489 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Framebuffer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -68,4 +67,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.hpp index efd6886fb..7ada3501e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.inl b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.inl index e557a3530..850656b8e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.hpp index eceffba4d..2136b897c 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.inl b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.inl index e557a3530..850656b8e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Loader.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Loader.hpp index 2da11c40a..6d466da41 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Loader.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Loader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_WRAPPER_LOADER_HPP #include -#include +#include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Loader.inl b/include/Nazara/OpenGLRenderer/Wrapper/Loader.inl index e557a3530..850656b8e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Loader.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Loader.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Program.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Program.hpp index c7bb4fdb9..7c358300d 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Program.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Program.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Program.inl b/include/Nazara/OpenGLRenderer/Wrapper/Program.inl index 981fdbaac..098152643 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Program.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Program.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -232,4 +231,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Sampler.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Sampler.hpp index 8a7230812..f5c801a3d 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Sampler.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Sampler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Sampler.inl b/include/Nazara/OpenGLRenderer/Wrapper/Sampler.inl index 49c02092d..d228d5799 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Sampler.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Sampler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -54,4 +53,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Shader.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Shader.hpp index 388f3be9d..004f6afcc 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Shader.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Shader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Shader.inl b/include/Nazara/OpenGLRenderer/Wrapper/Shader.inl index 691b213d1..4b997ed0c 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Shader.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Shader.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -105,4 +104,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Texture.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Texture.hpp index 6a130a6c3..89fa1c81d 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Texture.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Texture.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Texture.inl b/include/Nazara/OpenGLRenderer/Wrapper/Texture.inl index 87f1ebfd9..ab636602d 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Texture.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Texture.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -141,4 +140,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.hpp b/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.hpp index 34aa2677f..7fd9795f3 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.inl b/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.inl index b48117921..2eae03683 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/VertexArray.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { @@ -37,4 +36,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.hpp b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.hpp index 79e1afa78..43b23b368 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.inl b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.inl index 782807b20..e7989a65e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -19,4 +18,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLFunctions.hpp b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLFunctions.hpp index 422eb55ed..df780e797 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLFunctions.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.hpp b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.hpp index 27243d006..753d57b96 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.inl b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.inl index aef6599d5..01b894c6b 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::Vk { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.hpp index 8a2c398c1..02600664a 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.inl b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.inl index b5e834a83..5361ce934 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { @@ -19,4 +18,3 @@ namespace Nz::GL } } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.hpp index 28701a5bd..02b6065de 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_OPENGLRENDERER_WRAPPER_WEB_WEBLOADER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.inl b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.inl index e557a3530..850656b8e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.hpp index bba792a77..d6a07419f 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.inl b/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.inl index e557a3530..850656b8e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.inl +++ b/include/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::GL { } -#include diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Win32/Gdi32Functions.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Win32/Gdi32Functions.hpp index d2599f4f5..83afc2c91 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Win32/Gdi32Functions.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Win32/Gdi32Functions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/OpenGLRenderer/Wrapper/Win32/Win32Helper.hpp b/include/Nazara/OpenGLRenderer/Wrapper/Win32/Win32Helper.hpp index b732b490b..3577c050e 100644 --- a/include/Nazara/OpenGLRenderer/Wrapper/Win32/Win32Helper.hpp +++ b/include/Nazara/OpenGLRenderer/Wrapper/Win32/Win32Helper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics2D.hpp b/include/Nazara/Physics2D.hpp index b0a52bf1a..cacfceed8 100644 --- a/include/Nazara/Physics2D.hpp +++ b/include/Nazara/Physics2D.hpp @@ -30,7 +30,7 @@ #define NAZARA_GLOBAL_PHYSICS2D_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics2D/Collider2D.hpp b/include/Nazara/Physics2D/Collider2D.hpp index cf79a727e..55c7245a6 100644 --- a/include/Nazara/Physics2D/Collider2D.hpp +++ b/include/Nazara/Physics2D/Collider2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,8 +11,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Physics2D/Collider2D.inl b/include/Nazara/Physics2D/Collider2D.inl index 2f5eeb166..b84dde675 100644 --- a/include/Nazara/Physics2D/Collider2D.inl +++ b/include/Nazara/Physics2D/Collider2D.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -193,4 +192,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics2D/Components/RigidBody2DComponent.hpp b/include/Nazara/Physics2D/Components/RigidBody2DComponent.hpp index 45630a7fc..ef9837647 100644 --- a/include/Nazara/Physics2D/Components/RigidBody2DComponent.hpp +++ b/include/Nazara/Physics2D/Components/RigidBody2DComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics2D/Components/RigidBody2DComponent.inl b/include/Nazara/Physics2D/Components/RigidBody2DComponent.inl index 545741ed3..59622bf03 100644 --- a/include/Nazara/Physics2D/Components/RigidBody2DComponent.inl +++ b/include/Nazara/Physics2D/Components/RigidBody2DComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics2D/ConfigCheck.hpp b/include/Nazara/Physics2D/ConfigCheck.hpp deleted file mode 100644 index 81d857291..000000000 --- a/include/Nazara/Physics2D/ConfigCheck.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_PHYSICS2D_CONFIGCHECK_HPP -#define NAZARA_PHYSICS2D_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -// config checks - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_PHYSICS2D_CONFIGCHECK_HPP diff --git a/include/Nazara/Physics2D/Debug.hpp b/include/Nazara/Physics2D/Debug.hpp deleted file mode 100644 index 1b533c77d..000000000 --- a/include/Nazara/Physics2D/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// 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 diff --git a/include/Nazara/Physics2D/DebugOff.hpp b/include/Nazara/Physics2D/DebugOff.hpp deleted file mode 100644 index 1b533c77d..000000000 --- a/include/Nazara/Physics2D/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// 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 diff --git a/include/Nazara/Physics2D/Enums.hpp b/include/Nazara/Physics2D/Enums.hpp index 39c12805d..846bb6f67 100644 --- a/include/Nazara/Physics2D/Enums.hpp +++ b/include/Nazara/Physics2D/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics2D/Config.hpp b/include/Nazara/Physics2D/Export.hpp similarity index 76% rename from include/Nazara/Physics2D/Config.hpp rename to include/Nazara/Physics2D/Export.hpp index c7094a731..df5ceed7d 100644 --- a/include/Nazara/Physics2D/Config.hpp +++ b/include/Nazara/Physics2D/Export.hpp @@ -24,16 +24,8 @@ #pragma once -#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 - -// Active les tests de sécurité basés sur le code (Conseillé pour le développement) -#define NAZARA_PHYSICS2D_SAFE 1 - -/// Vérification des valeurs et types de certaines constantes -#include +#ifndef NAZARA_PHYSICS2D_EXPORT_HPP +#define NAZARA_PHYSICS2D_EXPORT_HPP #if defined(NAZARA_STATIC) #define NAZARA_PHYSICS2D_API @@ -45,4 +37,4 @@ #endif #endif -#endif // NAZARA_PHYSICS2D_CONFIG_HPP +#endif // NAZARA_PHYSICS2D_EXPORT_HPP diff --git a/include/Nazara/Physics2D/PhysArbiter2D.hpp b/include/Nazara/Physics2D/PhysArbiter2D.hpp index b31af34ee..ea2729550 100644 --- a/include/Nazara/Physics2D/PhysArbiter2D.hpp +++ b/include/Nazara/Physics2D/PhysArbiter2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include struct cpArbiter; diff --git a/include/Nazara/Physics2D/PhysArbiter2D.inl b/include/Nazara/Physics2D/PhysArbiter2D.inl index 0996a90b9..c8e2d2447 100644 --- a/include/Nazara/Physics2D/PhysArbiter2D.inl +++ b/include/Nazara/Physics2D/PhysArbiter2D.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics2D/PhysConstraint2D.hpp b/include/Nazara/Physics2D/PhysConstraint2D.hpp index d07154108..2c433c3dc 100644 --- a/include/Nazara/Physics2D/PhysConstraint2D.hpp +++ b/include/Nazara/Physics2D/PhysConstraint2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics2D/PhysConstraint2D.inl b/include/Nazara/Physics2D/PhysConstraint2D.inl index 7e7393382..a87297704 100644 --- a/include/Nazara/Physics2D/PhysConstraint2D.inl +++ b/include/Nazara/Physics2D/PhysConstraint2D.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Physics2D/PhysWorld2D.hpp b/include/Nazara/Physics2D/PhysWorld2D.hpp index 861e6f377..1ce29cbc6 100644 --- a/include/Nazara/Physics2D/PhysWorld2D.hpp +++ b/include/Nazara/Physics2D/PhysWorld2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics2D/PhysWorld2D.inl b/include/Nazara/Physics2D/PhysWorld2D.inl index a17b778a3..4dba28f0a 100644 --- a/include/Nazara/Physics2D/PhysWorld2D.inl +++ b/include/Nazara/Physics2D/PhysWorld2D.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -44,4 +43,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics2D/Physics2D.hpp b/include/Nazara/Physics2D/Physics2D.hpp index 2b4a76fef..4db7b023f 100644 --- a/include/Nazara/Physics2D/Physics2D.hpp +++ b/include/Nazara/Physics2D/Physics2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include namespace Nz { diff --git a/include/Nazara/Physics2D/RigidBody2D.hpp b/include/Nazara/Physics2D/RigidBody2D.hpp index 083d8d038..8e1041580 100644 --- a/include/Nazara/Physics2D/RigidBody2D.hpp +++ b/include/Nazara/Physics2D/RigidBody2D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics2D/RigidBody2D.inl b/include/Nazara/Physics2D/RigidBody2D.inl index 0282b28f4..ca77f8f01 100644 --- a/include/Nazara/Physics2D/RigidBody2D.inl +++ b/include/Nazara/Physics2D/RigidBody2D.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -96,4 +95,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics2D/Systems/Physics2DSystem.hpp b/include/Nazara/Physics2D/Systems/Physics2DSystem.hpp index 722dedbf5..0c923c076 100644 --- a/include/Nazara/Physics2D/Systems/Physics2DSystem.hpp +++ b/include/Nazara/Physics2D/Systems/Physics2DSystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics2D/Systems/Physics2DSystem.inl b/include/Nazara/Physics2D/Systems/Physics2DSystem.inl index 70e03d39c..905d8b4c4 100644 --- a/include/Nazara/Physics2D/Systems/Physics2DSystem.inl +++ b/include/Nazara/Physics2D/Systems/Physics2DSystem.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -127,4 +126,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D.hpp b/include/Nazara/Physics3D.hpp index d32f398d1..0ec62aeb2 100644 --- a/include/Nazara/Physics3D.hpp +++ b/include/Nazara/Physics3D.hpp @@ -30,7 +30,7 @@ #define NAZARA_GLOBAL_PHYSICS3D_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics3D/Collider3D.hpp b/include/Nazara/Physics3D/Collider3D.hpp index 43bac6d6f..44ac8c338 100644 --- a/include/Nazara/Physics3D/Collider3D.hpp +++ b/include/Nazara/Physics3D/Collider3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,8 +12,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Physics3D/Collider3D.inl b/include/Nazara/Physics3D/Collider3D.inl index 55b1bc808..17fc642b7 100644 --- a/include/Nazara/Physics3D/Collider3D.inl +++ b/include/Nazara/Physics3D/Collider3D.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -31,4 +30,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.hpp b/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.hpp index 49f0a7c52..bbbbf81d5 100644 --- a/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.hpp +++ b/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.inl b/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.inl index 5db571698..033a42597 100644 --- a/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.inl +++ b/include/Nazara/Physics3D/Components/PhysCharacter3DComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -19,4 +18,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/Components/RigidBody3DComponent.hpp b/include/Nazara/Physics3D/Components/RigidBody3DComponent.hpp index 5dd8750d3..65920ab8d 100644 --- a/include/Nazara/Physics3D/Components/RigidBody3DComponent.hpp +++ b/include/Nazara/Physics3D/Components/RigidBody3DComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics3D/Components/RigidBody3DComponent.inl b/include/Nazara/Physics3D/Components/RigidBody3DComponent.inl index ec50435ff..b5c1bd588 100644 --- a/include/Nazara/Physics3D/Components/RigidBody3DComponent.inl +++ b/include/Nazara/Physics3D/Components/RigidBody3DComponent.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -28,4 +27,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/ConfigCheck.hpp b/include/Nazara/Physics3D/ConfigCheck.hpp deleted file mode 100644 index 14a453479..000000000 --- a/include/Nazara/Physics3D/ConfigCheck.hpp +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_PHYSICS3D_CONFIGCHECK_HPP -#define NAZARA_PHYSICS3D_CONFIGCHECK_HPP - -#endif // NAZARA_PHYSICS3D_CONFIGCHECK_HPP diff --git a/include/Nazara/Physics3D/Debug.hpp b/include/Nazara/Physics3D/Debug.hpp deleted file mode 100644 index 54abf8d53..000000000 --- a/include/Nazara/Physics3D/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// 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 diff --git a/include/Nazara/Physics3D/DebugOff.hpp b/include/Nazara/Physics3D/DebugOff.hpp deleted file mode 100644 index 54abf8d53..000000000 --- a/include/Nazara/Physics3D/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// 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 diff --git a/include/Nazara/Physics3D/Enums.hpp b/include/Nazara/Physics3D/Enums.hpp index 85c96adb6..389484ebf 100644 --- a/include/Nazara/Physics3D/Enums.hpp +++ b/include/Nazara/Physics3D/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics3D/Config.hpp b/include/Nazara/Physics3D/Export.hpp similarity index 76% rename from include/Nazara/Physics3D/Config.hpp rename to include/Nazara/Physics3D/Export.hpp index 3272a13db..c03a4dd8d 100644 --- a/include/Nazara/Physics3D/Config.hpp +++ b/include/Nazara/Physics3D/Export.hpp @@ -24,16 +24,8 @@ #pragma once -#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 - -// Active les tests de sécurité basés sur le code (Conseillé pour le développement) -#define NAZARA_PHYSICS3D_SAFE 1 - -/// Vérification des valeurs et types de certaines constantes -#include +#ifndef NAZARA_PHYSICS3D_EXPORT_HPP +#define NAZARA_PHYSICS3D_EXPORT_HPP #if defined(NAZARA_STATIC) #define NAZARA_PHYSICS3D_API @@ -45,4 +37,4 @@ #endif #endif -#endif // NAZARA_PHYSICS3D_CONFIG_HPP +#endif // NAZARA_PHYSICS3D_EXPORT_HPP diff --git a/include/Nazara/Physics3D/PhysBody3D.hpp b/include/Nazara/Physics3D/PhysBody3D.hpp index 18fcea5b8..948953f6f 100644 --- a/include/Nazara/Physics3D/PhysBody3D.hpp +++ b/include/Nazara/Physics3D/PhysBody3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_PHYSICS3D_PHYSBODY3D_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Physics3D/PhysBody3D.inl b/include/Nazara/Physics3D/PhysBody3D.inl index 00dedea36..4533090ba 100644 --- a/include/Nazara/Physics3D/PhysBody3D.inl +++ b/include/Nazara/Physics3D/PhysBody3D.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Physics3D/PhysCharacter3D.hpp b/include/Nazara/Physics3D/PhysCharacter3D.hpp index 6478f80e6..06bb056ae 100644 --- a/include/Nazara/Physics3D/PhysCharacter3D.hpp +++ b/include/Nazara/Physics3D/PhysCharacter3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics3D/PhysCharacter3D.inl b/include/Nazara/Physics3D/PhysCharacter3D.inl index d0d938474..a477c60ae 100644 --- a/include/Nazara/Physics3D/PhysCharacter3D.inl +++ b/include/Nazara/Physics3D/PhysCharacter3D.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -32,4 +31,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/PhysConstraint3D.hpp b/include/Nazara/Physics3D/PhysConstraint3D.hpp index 492112ee1..c9d44e63c 100644 --- a/include/Nazara/Physics3D/PhysConstraint3D.hpp +++ b/include/Nazara/Physics3D/PhysConstraint3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/Nazara/Physics3D/PhysConstraint3D.inl b/include/Nazara/Physics3D/PhysConstraint3D.inl index 71d89d6e4..a8a2b9ad3 100644 --- a/include/Nazara/Physics3D/PhysConstraint3D.inl +++ b/include/Nazara/Physics3D/PhysConstraint3D.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -19,4 +18,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/PhysWorld3D.hpp b/include/Nazara/Physics3D/PhysWorld3D.hpp index 6275abf4f..63a6234b0 100644 --- a/include/Nazara/Physics3D/PhysWorld3D.hpp +++ b/include/Nazara/Physics3D/PhysWorld3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Physics3D/PhysWorld3D.inl b/include/Nazara/Physics3D/PhysWorld3D.inl index 3f22bd5b4..a02c22454 100644 --- a/include/Nazara/Physics3D/PhysWorld3D.inl +++ b/include/Nazara/Physics3D/PhysWorld3D.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -36,4 +35,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/PhysWorld3DStepListener.hpp b/include/Nazara/Physics3D/PhysWorld3DStepListener.hpp index 55e00e342..2234a7d6f 100644 --- a/include/Nazara/Physics3D/PhysWorld3DStepListener.hpp +++ b/include/Nazara/Physics3D/PhysWorld3DStepListener.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_PHYSICS3D_PHYSWORLD3DSTEPLISTENER_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Physics3D/PhysWorld3DStepListener.inl b/include/Nazara/Physics3D/PhysWorld3DStepListener.inl index 00dedea36..4533090ba 100644 --- a/include/Nazara/Physics3D/PhysWorld3DStepListener.inl +++ b/include/Nazara/Physics3D/PhysWorld3DStepListener.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Physics3D/Physics3D.hpp b/include/Nazara/Physics3D/Physics3D.hpp index e0cb5ffb5..1331e0922 100644 --- a/include/Nazara/Physics3D/Physics3D.hpp +++ b/include/Nazara/Physics3D/Physics3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace JPH diff --git a/include/Nazara/Physics3D/RigidBody3D.hpp b/include/Nazara/Physics3D/RigidBody3D.hpp index 024a2447b..81dc1e1c7 100644 --- a/include/Nazara/Physics3D/RigidBody3D.hpp +++ b/include/Nazara/Physics3D/RigidBody3D.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/Nazara/Physics3D/RigidBody3D.inl b/include/Nazara/Physics3D/RigidBody3D.inl index ceade6331..b373b4084 100644 --- a/include/Nazara/Physics3D/RigidBody3D.inl +++ b/include/Nazara/Physics3D/RigidBody3D.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -52,4 +51,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Physics3D/Systems/Physics3DSystem.hpp b/include/Nazara/Physics3D/Systems/Physics3DSystem.hpp index 4c14e834d..5cdcdb7e0 100644 --- a/include/Nazara/Physics3D/Systems/Physics3DSystem.hpp +++ b/include/Nazara/Physics3D/Systems/Physics3DSystem.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Physics3D/Systems/Physics3DSystem.inl b/include/Nazara/Physics3D/Systems/Physics3DSystem.inl index 7ec07ffb3..1332ba2da 100644 --- a/include/Nazara/Physics3D/Systems/Physics3DSystem.inl +++ b/include/Nazara/Physics3D/Systems/Physics3DSystem.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -22,4 +21,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform.hpp b/include/Nazara/Platform.hpp index e505498b6..7c638eaa9 100644 --- a/include/Nazara/Platform.hpp +++ b/include/Nazara/Platform.hpp @@ -30,7 +30,7 @@ #define NAZARA_GLOBAL_PLATFORM_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Platform/Clipboard.hpp b/include/Nazara/Platform/Clipboard.hpp index 6d8a2fac9..be0d45ded 100644 --- a/include/Nazara/Platform/Clipboard.hpp +++ b/include/Nazara/Platform/Clipboard.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_PLATFORM_CLIPBOARD_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Platform/Clipboard.inl b/include/Nazara/Platform/Clipboard.inl index c278ab9b3..66cf998a3 100644 --- a/include/Nazara/Platform/Clipboard.inl +++ b/include/Nazara/Platform/Clipboard.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Platform/ConfigCheck.hpp b/include/Nazara/Platform/ConfigCheck.hpp deleted file mode 100644 index 15dd677de..000000000 --- a/include/Nazara/Platform/ConfigCheck.hpp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_PLATFORM_CONFIGCHECK_HPP -#define NAZARA_PLATFORM_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_PLATFORM_CONFIGCHECK_HPP diff --git a/include/Nazara/Platform/Cursor.hpp b/include/Nazara/Platform/Cursor.hpp index 65e45b184..b7355f872 100644 --- a/include/Nazara/Platform/Cursor.hpp +++ b/include/Nazara/Platform/Cursor.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,8 +10,8 @@ #include #include #include -#include #include +#include #include #include diff --git a/include/Nazara/Platform/Cursor.inl b/include/Nazara/Platform/Cursor.inl index 4f29b369e..fb5f1ca93 100644 --- a/include/Nazara/Platform/Cursor.inl +++ b/include/Nazara/Platform/Cursor.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -24,4 +23,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/CursorController.hpp b/include/Nazara/Platform/CursorController.hpp index 526df033a..d3baa2b73 100644 --- a/include/Nazara/Platform/CursorController.hpp +++ b/include/Nazara/Platform/CursorController.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Platform/CursorController.inl b/include/Nazara/Platform/CursorController.inl index 23b702fe3..9d1b9727b 100644 --- a/include/Nazara/Platform/CursorController.inl +++ b/include/Nazara/Platform/CursorController.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/Debug.hpp b/include/Nazara/Platform/Debug.hpp deleted file mode 100644 index 99de4e8b5..000000000 --- a/include/Nazara/Platform/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Platform/DebugOff.hpp b/include/Nazara/Platform/DebugOff.hpp deleted file mode 100644 index 99de4e8b5..000000000 --- a/include/Nazara/Platform/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Platform/Enums.hpp b/include/Nazara/Platform/Enums.hpp index d373161ba..d39b2bf0e 100644 --- a/include/Nazara/Platform/Enums.hpp +++ b/include/Nazara/Platform/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Platform/Config.hpp b/include/Nazara/Platform/Export.hpp similarity index 73% rename from include/Nazara/Platform/Config.hpp rename to include/Nazara/Platform/Export.hpp index 7f43c2571..3088a37ad 100644 --- a/include/Nazara/Platform/Config.hpp +++ b/include/Nazara/Platform/Export.hpp @@ -24,19 +24,8 @@ #pragma once -#ifndef NAZARA_PLATFORM_CONFIG_HPP -#define NAZARA_PLATFORM_CONFIG_HPP - -/// Each modification of a parameter needs a recompilation of the module - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_PLATFORM_SAFE 1 - -// Protect the classes against data race -//#define NAZARA_PLATFORM_THREADSAFE 1 - -// On Windows, ALT and F10 keys do not activate the window menu -#define NAZARA_PLATFORM_WINDOWS_DISABLE_MENU_KEYS 1 +#ifndef NAZARA_PLATFORM_EXPORT_HPP +#define NAZARA_PLATFORM_EXPORT_HPP #if defined(NAZARA_STATIC) #define NAZARA_PLATFORM_API @@ -48,4 +37,4 @@ #endif #endif -#endif // NAZARA_PLATFORM_CONFIG_HPP +#endif // NAZARA_PLATFORM_EXPORT_HPP diff --git a/include/Nazara/Platform/Icon.hpp b/include/Nazara/Platform/Icon.hpp index 820c986ec..c825fc22f 100644 --- a/include/Nazara/Platform/Icon.hpp +++ b/include/Nazara/Platform/Icon.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_PLATFORM_ICON_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Platform/Icon.inl b/include/Nazara/Platform/Icon.inl index 3d9f30f2c..f68b7c896 100644 --- a/include/Nazara/Platform/Icon.inl +++ b/include/Nazara/Platform/Icon.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -13,4 +12,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/Keyboard.hpp b/include/Nazara/Platform/Keyboard.hpp index b1d94a04c..f2c60120b 100644 --- a/include/Nazara/Platform/Keyboard.hpp +++ b/include/Nazara/Platform/Keyboard.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspired by the SFML of Laurent Gomila (and its team) @@ -10,7 +10,7 @@ #define NAZARA_PLATFORM_KEYBOARD_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Platform/MessageBox.hpp b/include/Nazara/Platform/MessageBox.hpp index e284c89b7..784720eb3 100644 --- a/include/Nazara/Platform/MessageBox.hpp +++ b/include/Nazara/Platform/MessageBox.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Platform/MessageBox.inl b/include/Nazara/Platform/MessageBox.inl index edbf492c0..287b5fb1e 100644 --- a/include/Nazara/Platform/MessageBox.inl +++ b/include/Nazara/Platform/MessageBox.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -67,4 +66,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/Mouse.hpp b/include/Nazara/Platform/Mouse.hpp index 9ea83b88b..f54fe6d27 100644 --- a/include/Nazara/Platform/Mouse.hpp +++ b/include/Nazara/Platform/Mouse.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspired by the SFML of Laurent Gomila (and its team) @@ -11,7 +11,7 @@ #include #include -#include +#include namespace Nz { diff --git a/include/Nazara/Platform/Platform.hpp b/include/Nazara/Platform/Platform.hpp index 8626049f2..a7375093a 100644 --- a/include/Nazara/Platform/Platform.hpp +++ b/include/Nazara/Platform/Platform.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include namespace Nz { diff --git a/include/Nazara/Platform/VideoMode.hpp b/include/Nazara/Platform/VideoMode.hpp index 16ce39515..8a1177553 100644 --- a/include/Nazara/Platform/VideoMode.hpp +++ b/include/Nazara/Platform/VideoMode.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspirée de la SFML par Laurent Gomila @@ -10,7 +10,7 @@ #define NAZARA_PLATFORM_VIDEOMODE_HPP #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Platform/Window.hpp b/include/Nazara/Platform/Window.hpp index 2d91fae80..50bf2c4cf 100644 --- a/include/Nazara/Platform/Window.hpp +++ b/include/Nazara/Platform/Window.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspirée de la SFML par Laurent Gomila @@ -11,10 +11,10 @@ #include #include -#include #include #include #include +#include #include #include #include @@ -77,13 +77,9 @@ namespace Nz void SetFocus(); void SetIcon(std::shared_ptr icon); void SetMaximumSize(const Vector2i& maxSize); - void SetMaximumSize(int width, int height); void SetMinimumSize(const Vector2i& minSize); - void SetMinimumSize(int width, int height); void SetPosition(const Vector2i& position); - void SetPosition(int x, int y); void SetSize(const Vector2i& size); - void SetSize(unsigned int width, unsigned int height); void SetStayOnTop(bool stayOnTop); void SetTitle(const std::string& title); void SetVisible(bool visible); diff --git a/include/Nazara/Platform/Window.inl b/include/Nazara/Platform/Window.inl index 591583762..d2a3f0b25 100644 --- a/include/Nazara/Platform/Window.inl +++ b/include/Nazara/Platform/Window.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -102,4 +101,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/WindowEvent.hpp b/include/Nazara/Platform/WindowEvent.hpp index da152c1df..1cac4bd97 100644 --- a/include/Nazara/Platform/WindowEvent.hpp +++ b/include/Nazara/Platform/WindowEvent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspired by the SFML of Laurent Gomila (and its team) diff --git a/include/Nazara/Platform/WindowEventHandler.hpp b/include/Nazara/Platform/WindowEventHandler.hpp index 1de7ad640..18ebbf980 100644 --- a/include/Nazara/Platform/WindowEventHandler.hpp +++ b/include/Nazara/Platform/WindowEventHandler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/Nazara/Platform/WindowEventHandler.inl b/include/Nazara/Platform/WindowEventHandler.inl index 67e0ac751..47b6f6967 100644 --- a/include/Nazara/Platform/WindowEventHandler.inl +++ b/include/Nazara/Platform/WindowEventHandler.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -97,4 +96,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Platform/WindowHandle.hpp b/include/Nazara/Platform/WindowHandle.hpp index 833817cad..464a82151 100644 --- a/include/Nazara/Platform/WindowHandle.hpp +++ b/include/Nazara/Platform/WindowHandle.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_PLATFORM_WINDOWHANDLE_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Platform/WindowingAppComponent.hpp b/include/Nazara/Platform/WindowingAppComponent.hpp index 66270f725..b7453ddf3 100644 --- a/include/Nazara/Platform/WindowingAppComponent.hpp +++ b/include/Nazara/Platform/WindowingAppComponent.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Platform/WindowingAppComponent.inl b/include/Nazara/Platform/WindowingAppComponent.inl index 10bcdf8a1..40c511962 100644 --- a/include/Nazara/Platform/WindowingAppComponent.inl +++ b/include/Nazara/Platform/WindowingAppComponent.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -34,4 +33,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer.hpp b/include/Nazara/Renderer.hpp index 52fd5986f..344b4c572 100644 --- a/include/Nazara/Renderer.hpp +++ b/include/Nazara/Renderer.hpp @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Renderer/CommandBuffer.hpp b/include/Nazara/Renderer/CommandBuffer.hpp index f895a40c0..02340683c 100644 --- a/include/Nazara/Renderer/CommandBuffer.hpp +++ b/include/Nazara/Renderer/CommandBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_RENDERER_COMMANDBUFFER_HPP #include -#include +#include #include #include diff --git a/include/Nazara/Renderer/CommandBuffer.inl b/include/Nazara/Renderer/CommandBuffer.inl index 145813f2d..8d93862c8 100644 --- a/include/Nazara/Renderer/CommandBuffer.inl +++ b/include/Nazara/Renderer/CommandBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/CommandBufferBuilder.hpp b/include/Nazara/Renderer/CommandBufferBuilder.hpp index b7c209184..5520de26a 100644 --- a/include/Nazara/Renderer/CommandBufferBuilder.hpp +++ b/include/Nazara/Renderer/CommandBufferBuilder.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,8 +12,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/CommandBufferBuilder.inl b/include/Nazara/Renderer/CommandBufferBuilder.inl index 9da8bc25e..5aca7966e 100644 --- a/include/Nazara/Renderer/CommandBufferBuilder.inl +++ b/include/Nazara/Renderer/CommandBufferBuilder.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -27,4 +26,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/CommandPool.hpp b/include/Nazara/Renderer/CommandPool.hpp index fb6a8c1b4..79441fdf6 100644 --- a/include/Nazara/Renderer/CommandPool.hpp +++ b/include/Nazara/Renderer/CommandPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Renderer/CommandPool.inl b/include/Nazara/Renderer/CommandPool.inl index 729523f4d..7b6ecc06d 100644 --- a/include/Nazara/Renderer/CommandPool.inl +++ b/include/Nazara/Renderer/CommandPool.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/ComputePipeline.hpp b/include/Nazara/Renderer/ComputePipeline.hpp index 7adb4e665..ba722ad22 100644 --- a/include/Nazara/Renderer/ComputePipeline.hpp +++ b/include/Nazara/Renderer/ComputePipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/ComputePipeline.inl b/include/Nazara/Renderer/ComputePipeline.inl index d042adfb8..576310ec6 100644 --- a/include/Nazara/Renderer/ComputePipeline.inl +++ b/include/Nazara/Renderer/ComputePipeline.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/Config.hpp b/include/Nazara/Renderer/Config.hpp deleted file mode 100644 index 15797377d..000000000 --- a/include/Nazara/Renderer/Config.hpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - Nazara Engine - Renderer module - - Copyright (C) 2024 Jérôme "SirLynix" 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 - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. -*/ - -#pragma once - -#ifndef NAZARA_RENDERER_CONFIG_HPP -#define NAZARA_RENDERER_CONFIG_HPP - -/// Chaque modification d'un paramètre du module nécessite une recompilation de celui-ci - -// La taille du buffer d'Instancing (définit le nombre maximum d'instances en un rendu) -#define NAZARA_RENDERER_INSTANCE_BUFFER_SIZE 1 * 1024 * 1024 - -// Active le paramère debug des paramètres des contextes par défaut (Perte de performances mais capable de recevoir des messages d'OpenGL) -#define NAZARA_RENDERER_OPENGL_DEBUG 0 - -// Active les tests de sécurité basés sur le code (Conseillé pour le développement) -#define NAZARA_RENDERER_SAFE 1 - -/// Vérification des valeurs et types de certaines constantes -#include - -#if defined(NAZARA_STATIC) - #define NAZARA_RENDERER_API -#else - #ifdef NAZARA_RENDERER_BUILD - #define NAZARA_RENDERER_API NAZARA_EXPORT - #else - #define NAZARA_RENDERER_API NAZARA_IMPORT - #endif -#endif - -#endif // NAZARA_RENDERER_CONFIG_HPP diff --git a/include/Nazara/Renderer/ConfigCheck.hpp b/include/Nazara/Renderer/ConfigCheck.hpp deleted file mode 100644 index 0ec0de80b..000000000 --- a/include/Nazara/Renderer/ConfigCheck.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_RENDERER_CONFIGCHECK_HPP -#define NAZARA_RENDERER_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -NazaraCheckTypeAndVal(NAZARA_RENDERER_INSTANCE_BUFFER_SIZE, integral, >, 0, " shall be a strictly positive integer"); - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_RENDERER_CONFIGCHECK_HPP diff --git a/include/Nazara/Renderer/Debug.hpp b/include/Nazara/Renderer/Debug.hpp deleted file mode 100644 index 1e8c41f53..000000000 --- a/include/Nazara/Renderer/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Renderer/DebugDrawer.hpp b/include/Nazara/Renderer/DebugDrawer.hpp index 8d5c569f6..5235831e3 100644 --- a/include/Nazara/Renderer/DebugDrawer.hpp +++ b/include/Nazara/Renderer/DebugDrawer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Renderer/DebugDrawer.inl b/include/Nazara/Renderer/DebugDrawer.inl index 81e284599..283554aec 100644 --- a/include/Nazara/Renderer/DebugDrawer.inl +++ b/include/Nazara/Renderer/DebugDrawer.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -69,4 +68,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/DebugOff.hpp b/include/Nazara/Renderer/DebugOff.hpp deleted file mode 100644 index 1e8c41f53..000000000 --- a/include/Nazara/Renderer/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Renderer/Enums.hpp b/include/Nazara/Renderer/Enums.hpp index 7afeb9cf9..3e6c91214 100644 --- a/include/Nazara/Renderer/Enums.hpp +++ b/include/Nazara/Renderer/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/Export.hpp b/include/Nazara/Renderer/Export.hpp new file mode 100644 index 000000000..41595ba09 --- /dev/null +++ b/include/Nazara/Renderer/Export.hpp @@ -0,0 +1,40 @@ +/* + Nazara Engine - Renderer module + + Copyright (C) 2024 Jérôme "SirLynix" 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 + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +*/ + +#pragma once + +#ifndef NAZARA_RENDERER_EXPORT_HPP +#define NAZARA_RENDERER_EXPORT_HPP + +#if defined(NAZARA_STATIC) + #define NAZARA_RENDERER_API +#else + #ifdef NAZARA_RENDERER_BUILD + #define NAZARA_RENDERER_API NAZARA_EXPORT + #else + #define NAZARA_RENDERER_API NAZARA_IMPORT + #endif +#endif + +#endif // NAZARA_RENDERER_EXPORT_HPP diff --git a/include/Nazara/Renderer/Framebuffer.hpp b/include/Nazara/Renderer/Framebuffer.hpp index a08b96316..79480774f 100644 --- a/include/Nazara/Renderer/Framebuffer.hpp +++ b/include/Nazara/Renderer/Framebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_RENDERER_FRAMEBUFFER_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Renderer/Framebuffer.inl b/include/Nazara/Renderer/Framebuffer.inl index 56c508fd1..5ad771a5e 100644 --- a/include/Nazara/Renderer/Framebuffer.inl +++ b/include/Nazara/Renderer/Framebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/GpuSwitch.hpp b/include/Nazara/Renderer/GpuSwitch.hpp index 216a093f6..a80abf225 100644 --- a/include/Nazara/Renderer/GpuSwitch.hpp +++ b/include/Nazara/Renderer/GpuSwitch.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include diff --git a/include/Nazara/Renderer/RenderBuffer.hpp b/include/Nazara/Renderer/RenderBuffer.hpp index 3ed392faa..f45e86f3e 100644 --- a/include/Nazara/Renderer/RenderBuffer.hpp +++ b/include/Nazara/Renderer/RenderBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Renderer/RenderBuffer.inl b/include/Nazara/Renderer/RenderBuffer.inl index c263113f0..4cd119c6e 100644 --- a/include/Nazara/Renderer/RenderBuffer.inl +++ b/include/Nazara/Renderer/RenderBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderBufferView.hpp b/include/Nazara/Renderer/RenderBufferView.hpp index c7b6b199c..191c530af 100644 --- a/include/Nazara/Renderer/RenderBufferView.hpp +++ b/include/Nazara/Renderer/RenderBufferView.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderBufferView.inl b/include/Nazara/Renderer/RenderBufferView.inl index 1ea54b826..f70539385 100644 --- a/include/Nazara/Renderer/RenderBufferView.inl +++ b/include/Nazara/Renderer/RenderBufferView.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -57,4 +56,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderDevice.hpp b/include/Nazara/Renderer/RenderDevice.hpp index b1ea7c3b2..bcbab9fd4 100644 --- a/include/Nazara/Renderer/RenderDevice.hpp +++ b/include/Nazara/Renderer/RenderDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,8 +10,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/RenderDevice.inl b/include/Nazara/Renderer/RenderDevice.inl index 729523f4d..7b6ecc06d 100644 --- a/include/Nazara/Renderer/RenderDevice.inl +++ b/include/Nazara/Renderer/RenderDevice.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/RenderDeviceInfo.hpp b/include/Nazara/Renderer/RenderDeviceInfo.hpp index 6445219d6..ea09b24f6 100644 --- a/include/Nazara/Renderer/RenderDeviceInfo.hpp +++ b/include/Nazara/Renderer/RenderDeviceInfo.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderFrame.hpp b/include/Nazara/Renderer/RenderFrame.hpp index bd0f0450c..0e65b92fe 100644 --- a/include/Nazara/Renderer/RenderFrame.hpp +++ b/include/Nazara/Renderer/RenderFrame.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/RenderFrame.inl b/include/Nazara/Renderer/RenderFrame.inl index 3c3c9d90d..7d7b0deef 100644 --- a/include/Nazara/Renderer/RenderFrame.inl +++ b/include/Nazara/Renderer/RenderFrame.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -105,4 +104,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderImage.hpp b/include/Nazara/Renderer/RenderImage.hpp index e34574ab6..a6af3f403 100644 --- a/include/Nazara/Renderer/RenderImage.hpp +++ b/include/Nazara/Renderer/RenderImage.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderImage.inl b/include/Nazara/Renderer/RenderImage.inl index 729523f4d..7b6ecc06d 100644 --- a/include/Nazara/Renderer/RenderImage.inl +++ b/include/Nazara/Renderer/RenderImage.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/RenderPass.hpp b/include/Nazara/Renderer/RenderPass.hpp index 106448b29..75449b0e6 100644 --- a/include/Nazara/Renderer/RenderPass.hpp +++ b/include/Nazara/Renderer/RenderPass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,8 +9,8 @@ #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/RenderPass.inl b/include/Nazara/Renderer/RenderPass.inl index 45c2d6e25..93da87285 100644 --- a/include/Nazara/Renderer/RenderPass.inl +++ b/include/Nazara/Renderer/RenderPass.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -41,4 +40,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderPassCache.hpp b/include/Nazara/Renderer/RenderPassCache.hpp index cf5b07820..c9e2203a4 100644 --- a/include/Nazara/Renderer/RenderPassCache.hpp +++ b/include/Nazara/Renderer/RenderPassCache.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_RENDERER_RENDERPASSCACHE_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/Renderer/RenderPassCache.inl b/include/Nazara/Renderer/RenderPassCache.inl index 7d10e295b..2a2b501a5 100644 --- a/include/Nazara/Renderer/RenderPassCache.inl +++ b/include/Nazara/Renderer/RenderPassCache.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -57,4 +56,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderPipeline.hpp b/include/Nazara/Renderer/RenderPipeline.hpp index e949acd59..f65b067e9 100644 --- a/include/Nazara/Renderer/RenderPipeline.hpp +++ b/include/Nazara/Renderer/RenderPipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderPipeline.inl b/include/Nazara/Renderer/RenderPipeline.inl index d042adfb8..576310ec6 100644 --- a/include/Nazara/Renderer/RenderPipeline.inl +++ b/include/Nazara/Renderer/RenderPipeline.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/RenderPipelineLayout.hpp b/include/Nazara/Renderer/RenderPipelineLayout.hpp index 3b570e92d..01e477aad 100644 --- a/include/Nazara/Renderer/RenderPipelineLayout.hpp +++ b/include/Nazara/Renderer/RenderPipelineLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderPipelineLayout.inl b/include/Nazara/Renderer/RenderPipelineLayout.inl index d042adfb8..576310ec6 100644 --- a/include/Nazara/Renderer/RenderPipelineLayout.inl +++ b/include/Nazara/Renderer/RenderPipelineLayout.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/RenderResources.hpp b/include/Nazara/Renderer/RenderResources.hpp index 859a4b3a9..13a460efb 100644 --- a/include/Nazara/Renderer/RenderResources.hpp +++ b/include/Nazara/Renderer/RenderResources.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_RENDERER_RENDERRESOURCES_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/RenderResources.inl b/include/Nazara/Renderer/RenderResources.inl index 03fbda33c..388e89c70 100644 --- a/include/Nazara/Renderer/RenderResources.inl +++ b/include/Nazara/Renderer/RenderResources.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -132,4 +131,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RenderStates.hpp b/include/Nazara/Renderer/RenderStates.hpp index a6eb1d39c..933846001 100644 --- a/include/Nazara/Renderer/RenderStates.hpp +++ b/include/Nazara/Renderer/RenderStates.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/RenderStates.inl b/include/Nazara/Renderer/RenderStates.inl index d0cd7e129..3453ddfbf 100644 --- a/include/Nazara/Renderer/RenderStates.inl +++ b/include/Nazara/Renderer/RenderStates.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -167,4 +166,3 @@ namespace std }; } -#include diff --git a/include/Nazara/Renderer/Renderer.hpp b/include/Nazara/Renderer/Renderer.hpp index 9a76411cc..d506be1cd 100644 --- a/include/Nazara/Renderer/Renderer.hpp +++ b/include/Nazara/Renderer/Renderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,8 +11,8 @@ #include #include #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Renderer/Renderer.inl b/include/Nazara/Renderer/Renderer.inl index 6b709a597..24c7f04db 100644 --- a/include/Nazara/Renderer/Renderer.inl +++ b/include/Nazara/Renderer/Renderer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/RendererImpl.hpp b/include/Nazara/Renderer/RendererImpl.hpp index 2dd367a29..d50131d4a 100644 --- a/include/Nazara/Renderer/RendererImpl.hpp +++ b/include/Nazara/Renderer/RendererImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,8 +10,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/ShaderBinding.hpp b/include/Nazara/Renderer/ShaderBinding.hpp index a2c807def..f6bad609f 100644 --- a/include/Nazara/Renderer/ShaderBinding.hpp +++ b/include/Nazara/Renderer/ShaderBinding.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_RENDERER_SHADERBINDING_HPP #include -#include #include +#include #include #include #include diff --git a/include/Nazara/Renderer/ShaderBinding.inl b/include/Nazara/Renderer/ShaderBinding.inl index 8f1dead9a..d486df627 100644 --- a/include/Nazara/Renderer/ShaderBinding.inl +++ b/include/Nazara/Renderer/ShaderBinding.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/ShaderModule.hpp b/include/Nazara/Renderer/ShaderModule.hpp index 1581d8c66..1552629c4 100644 --- a/include/Nazara/Renderer/ShaderModule.hpp +++ b/include/Nazara/Renderer/ShaderModule.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,8 +8,8 @@ #define NAZARA_RENDERER_SHADERMODULE_HPP #include -#include #include +#include #include namespace Nz diff --git a/include/Nazara/Renderer/Swapchain.hpp b/include/Nazara/Renderer/Swapchain.hpp index 59433f7f0..4102c8d31 100644 --- a/include/Nazara/Renderer/Swapchain.hpp +++ b/include/Nazara/Renderer/Swapchain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Renderer/SwapchainParameters.hpp b/include/Nazara/Renderer/SwapchainParameters.hpp index c6d0a8995..2636b2392 100644 --- a/include/Nazara/Renderer/SwapchainParameters.hpp +++ b/include/Nazara/Renderer/SwapchainParameters.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/Texture.hpp b/include/Nazara/Renderer/Texture.hpp index 6069012c7..117e61a9e 100644 --- a/include/Nazara/Renderer/Texture.hpp +++ b/include/Nazara/Renderer/Texture.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -14,8 +14,8 @@ #include #include #include -#include #include +#include namespace Nz { diff --git a/include/Nazara/Renderer/Texture.inl b/include/Nazara/Renderer/Texture.inl index 949896dc9..7ce75c9ac 100644 --- a/include/Nazara/Renderer/Texture.inl +++ b/include/Nazara/Renderer/Texture.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -28,4 +27,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Renderer/TextureSampler.hpp b/include/Nazara/Renderer/TextureSampler.hpp index c8684f8fe..5ac16993d 100644 --- a/include/Nazara/Renderer/TextureSampler.hpp +++ b/include/Nazara/Renderer/TextureSampler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/Renderer/TextureSampler.inl b/include/Nazara/Renderer/TextureSampler.inl index 08e17bd8c..0762f3ccd 100644 --- a/include/Nazara/Renderer/TextureSampler.inl +++ b/include/Nazara/Renderer/TextureSampler.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -62,4 +61,3 @@ struct std::hash } }; -#include diff --git a/include/Nazara/Renderer/UploadPool.hpp b/include/Nazara/Renderer/UploadPool.hpp index 646a28fa4..ae8cf8452 100644 --- a/include/Nazara/Renderer/UploadPool.hpp +++ b/include/Nazara/Renderer/UploadPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_RENDERER_UPLOADPOOL_HPP #include -#include +#include namespace Nz { diff --git a/include/Nazara/Renderer/UploadPool.inl b/include/Nazara/Renderer/UploadPool.inl index 729523f4d..7b6ecc06d 100644 --- a/include/Nazara/Renderer/UploadPool.inl +++ b/include/Nazara/Renderer/UploadPool.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Renderer/WindowSwapchain.hpp b/include/Nazara/Renderer/WindowSwapchain.hpp index 54746995a..312839478 100644 --- a/include/Nazara/Renderer/WindowSwapchain.hpp +++ b/include/Nazara/Renderer/WindowSwapchain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Renderer/WindowSwapchain.inl b/include/Nazara/Renderer/WindowSwapchain.inl index 2d8f15d19..f62a5f699 100644 --- a/include/Nazara/Renderer/WindowSwapchain.inl +++ b/include/Nazara/Renderer/WindowSwapchain.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -68,4 +67,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/TextRenderer.hpp b/include/Nazara/TextRenderer.hpp index 8332a1f77..239e5e15a 100644 --- a/include/Nazara/TextRenderer.hpp +++ b/include/Nazara/TextRenderer.hpp @@ -30,7 +30,7 @@ #define NAZARA_GLOBAL_TEXTRENDERER_HPP #include -#include +#include #include #include #include diff --git a/include/Nazara/TextRenderer/AbstractTextDrawer.hpp b/include/Nazara/TextRenderer/AbstractTextDrawer.hpp index a7e541a38..875b782d1 100644 --- a/include/Nazara/TextRenderer/AbstractTextDrawer.hpp +++ b/include/Nazara/TextRenderer/AbstractTextDrawer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/TextRenderer/AbstractTextDrawer.inl b/include/Nazara/TextRenderer/AbstractTextDrawer.inl index 478e6282b..84841dc2d 100644 --- a/include/Nazara/TextRenderer/AbstractTextDrawer.inl +++ b/include/Nazara/TextRenderer/AbstractTextDrawer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -19,4 +18,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/TextRenderer/ConfigCheck.hpp b/include/Nazara/TextRenderer/ConfigCheck.hpp deleted file mode 100644 index 9b524a9ba..000000000 --- a/include/Nazara/TextRenderer/ConfigCheck.hpp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_TEXTRENDERER_CONFIGCHECK_HPP -#define NAZARA_TEXTRENDERER_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_TEXTRENDERER_CONFIGCHECK_HPP diff --git a/include/Nazara/TextRenderer/Debug.hpp b/include/Nazara/TextRenderer/Debug.hpp deleted file mode 100644 index e144d0071..000000000 --- a/include/Nazara/TextRenderer/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/TextRenderer/DebugOff.hpp b/include/Nazara/TextRenderer/DebugOff.hpp deleted file mode 100644 index e144d0071..000000000 --- a/include/Nazara/TextRenderer/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/TextRenderer/Config.hpp b/include/Nazara/TextRenderer/Export.hpp similarity index 81% rename from include/Nazara/TextRenderer/Config.hpp rename to include/Nazara/TextRenderer/Export.hpp index 8414a98c7..e3f8d609e 100644 --- a/include/Nazara/TextRenderer/Config.hpp +++ b/include/Nazara/TextRenderer/Export.hpp @@ -24,13 +24,8 @@ #pragma once -#ifndef NAZARA_TEXTRENDERER_CONFIG_HPP -#define NAZARA_TEXTRENDERER_CONFIG_HPP - -/// Each modification of a parameter needs a recompilation of the module - -// Activate the security tests based on the code (Advised for development) -#define NAZARA_TEXTRENDERER_SAFE 1 +#ifndef NAZARA_TEXTRENDERER_EXPORT_HPP +#define NAZARA_TEXTRENDERER_EXPORT_HPP #if defined(NAZARA_STATIC) #define NAZARA_TEXTRENDERER_API @@ -42,4 +37,4 @@ #endif #endif -#endif // NAZARA_TEXTRENDERER_CONFIG_HPP +#endif // NAZARA_TEXTRENDERER_EXPORT_HPP diff --git a/include/Nazara/TextRenderer/Font.hpp b/include/Nazara/TextRenderer/Font.hpp index b0515c640..a9bda5e32 100644 --- a/include/Nazara/TextRenderer/Font.hpp +++ b/include/Nazara/TextRenderer/Font.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp ///TODO: FontManager ? @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/Nazara/TextRenderer/Font.inl b/include/Nazara/TextRenderer/Font.inl index d63c9a657..afaaee24d 100644 --- a/include/Nazara/TextRenderer/Font.inl +++ b/include/Nazara/TextRenderer/Font.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/TextRenderer/FontData.hpp b/include/Nazara/TextRenderer/FontData.hpp index 0252aa955..ba58050be 100644 --- a/include/Nazara/TextRenderer/FontData.hpp +++ b/include/Nazara/TextRenderer/FontData.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/TextRenderer/FontGlyph.hpp b/include/Nazara/TextRenderer/FontGlyph.hpp index 0a13998dc..37bb8516d 100644 --- a/include/Nazara/TextRenderer/FontGlyph.hpp +++ b/include/Nazara/TextRenderer/FontGlyph.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/TextRenderer/RichTextBuilder.hpp b/include/Nazara/TextRenderer/RichTextBuilder.hpp index 919643eb1..56a7cb978 100644 --- a/include/Nazara/TextRenderer/RichTextBuilder.hpp +++ b/include/Nazara/TextRenderer/RichTextBuilder.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/TextRenderer/RichTextBuilder.inl b/include/Nazara/TextRenderer/RichTextBuilder.inl index 3d360c4de..b583a77c0 100644 --- a/include/Nazara/TextRenderer/RichTextBuilder.inl +++ b/include/Nazara/TextRenderer/RichTextBuilder.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -166,4 +165,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/TextRenderer/RichTextDrawer.hpp b/include/Nazara/TextRenderer/RichTextDrawer.hpp index 61a8c811e..19e4dfd06 100644 --- a/include/Nazara/TextRenderer/RichTextDrawer.hpp +++ b/include/Nazara/TextRenderer/RichTextDrawer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/TextRenderer/RichTextDrawer.inl b/include/Nazara/TextRenderer/RichTextDrawer.inl index 94ee96dfb..2f07a51b2 100644 --- a/include/Nazara/TextRenderer/RichTextDrawer.inl +++ b/include/Nazara/TextRenderer/RichTextDrawer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -620,4 +619,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/TextRenderer/SimpleTextDrawer.hpp b/include/Nazara/TextRenderer/SimpleTextDrawer.hpp index 2c96708e0..6056181c5 100644 --- a/include/Nazara/TextRenderer/SimpleTextDrawer.hpp +++ b/include/Nazara/TextRenderer/SimpleTextDrawer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/TextRenderer/SimpleTextDrawer.inl b/include/Nazara/TextRenderer/SimpleTextDrawer.inl index 1f4d01f6a..69e5d31cf 100644 --- a/include/Nazara/TextRenderer/SimpleTextDrawer.inl +++ b/include/Nazara/TextRenderer/SimpleTextDrawer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -381,4 +380,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/TextRenderer/TextRenderer.hpp b/include/Nazara/TextRenderer/TextRenderer.hpp index b11cfe1eb..e6860d5c1 100644 --- a/include/Nazara/TextRenderer/TextRenderer.hpp +++ b/include/Nazara/TextRenderer/TextRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/VulkanRenderer.hpp b/include/Nazara/VulkanRenderer.hpp index 485e03eb4..e46aed61a 100644 --- a/include/Nazara/VulkanRenderer.hpp +++ b/include/Nazara/VulkanRenderer.hpp @@ -29,7 +29,7 @@ #ifndef NAZARA_GLOBAL_VULKANRENDERER_HPP #define NAZARA_GLOBAL_VULKANRENDERER_HPP -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/ConfigCheck.hpp b/include/Nazara/VulkanRenderer/ConfigCheck.hpp deleted file mode 100644 index 1da233d5a..000000000 --- a/include/Nazara/VulkanRenderer/ConfigCheck.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_VULKANRENDERER_CONFIGCHECK_HPP -#define NAZARA_VULKANRENDERER_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define CheckType(name, type, err) static_assert(std::is_ ##type ::value, #type err) -#define CheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -#undef CheckType -#undef CheckTypeAndVal - -#endif // NAZARA_VULKANRENDERER_CONFIGCHECK_HPP diff --git a/include/Nazara/VulkanRenderer/Debug.hpp b/include/Nazara/VulkanRenderer/Debug.hpp deleted file mode 100644 index 61a752370..000000000 --- a/include/Nazara/VulkanRenderer/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/VulkanRenderer/DebugOff.hpp b/include/Nazara/VulkanRenderer/DebugOff.hpp deleted file mode 100644 index 61a752370..000000000 --- a/include/Nazara/VulkanRenderer/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/VulkanRenderer/Config.hpp b/include/Nazara/VulkanRenderer/Export.hpp similarity index 71% rename from include/Nazara/VulkanRenderer/Config.hpp rename to include/Nazara/VulkanRenderer/Export.hpp index 7de27f8eb..f3e109511 100644 --- a/include/Nazara/VulkanRenderer/Config.hpp +++ b/include/Nazara/VulkanRenderer/Export.hpp @@ -24,18 +24,8 @@ #pragma once -#ifndef NAZARA_VULKANRENDERER_CONFIG_HPP -#define NAZARA_VULKANRENDERER_CONFIG_HPP - -/// Chaque modification d'un paramètre du module nécessite une recompilation de celui-ci - -// Active les tests de sécurité basés sur le code (Conseillé pour le développement) -#define NAZARA_VULKANRENDERER_SAFE 1 - -/// Chaque modification d'un paramètre ci-dessous implique une modification (souvent mineure) du code - -/// Vérification des valeurs et types de certaines constantes -#include +#ifndef NAZARA_VULKANRENDERER_EXPORT_HPP +#define NAZARA_VULKANRENDERER_EXPORT_HPP #if !defined(NAZARA_STATIC) #ifdef NAZARA_VULKANRENDERER_BUILD @@ -47,4 +37,4 @@ #define NAZARA_VULKANRENDERER_API #endif -#endif // NAZARA_VULKANRENDERER_CONFIG_HPP +#endif // NAZARA_VULKANRENDERER_EXPORT_HPP diff --git a/include/Nazara/VulkanRenderer/Utils.hpp b/include/Nazara/VulkanRenderer/Utils.hpp index c1fd0c4ae..6f39822ac 100644 --- a/include/Nazara/VulkanRenderer/Utils.hpp +++ b/include/Nazara/VulkanRenderer/Utils.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Utils.inl b/include/Nazara/VulkanRenderer/Utils.inl index 24c0b8f61..65281c65f 100644 --- a/include/Nazara/VulkanRenderer/Utils.inl +++ b/include/Nazara/VulkanRenderer/Utils.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -529,4 +528,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Vulkan.hpp b/include/Nazara/VulkanRenderer/Vulkan.hpp index 37dfb4b32..6599c0565 100644 --- a/include/Nazara/VulkanRenderer/Vulkan.hpp +++ b/include/Nazara/VulkanRenderer/Vulkan.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanBuffer.hpp b/include/Nazara/VulkanRenderer/VulkanBuffer.hpp index 2bc557316..747e5e833 100644 --- a/include/Nazara/VulkanRenderer/VulkanBuffer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanBuffer.inl b/include/Nazara/VulkanRenderer/VulkanBuffer.inl index 6339f41a0..2248af51a 100644 --- a/include/Nazara/VulkanRenderer/VulkanBuffer.inl +++ b/include/Nazara/VulkanRenderer/VulkanBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanCommandBuffer.hpp b/include/Nazara/VulkanRenderer/VulkanCommandBuffer.hpp index e93ca182f..039e6b2be 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandBuffer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanCommandBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanCommandBuffer.inl b/include/Nazara/VulkanRenderer/VulkanCommandBuffer.inl index a2205fe0a..4292a2955 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandBuffer.inl +++ b/include/Nazara/VulkanRenderer/VulkanCommandBuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -42,4 +41,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.hpp b/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.hpp index cdc1f5d91..c03da6ed6 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.hpp +++ b/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.inl b/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.inl index c67d5b7ca..30c255bfd 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.inl +++ b/include/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanCommandPool.hpp b/include/Nazara/VulkanRenderer/VulkanCommandPool.hpp index e2b0a25d2..4ce5cd33c 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandPool.hpp +++ b/include/Nazara/VulkanRenderer/VulkanCommandPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanCommandPool.inl b/include/Nazara/VulkanRenderer/VulkanCommandPool.inl index 1ef1ed4bd..a490a1131 100644 --- a/include/Nazara/VulkanRenderer/VulkanCommandPool.inl +++ b/include/Nazara/VulkanRenderer/VulkanCommandPool.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -56,4 +55,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanComputePipeline.hpp b/include/Nazara/VulkanRenderer/VulkanComputePipeline.hpp index 1ebb3b65a..09d67fb5a 100644 --- a/include/Nazara/VulkanRenderer/VulkanComputePipeline.hpp +++ b/include/Nazara/VulkanRenderer/VulkanComputePipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanComputePipeline.inl b/include/Nazara/VulkanRenderer/VulkanComputePipeline.inl index e9e5e27da..396757bd4 100644 --- a/include/Nazara/VulkanRenderer/VulkanComputePipeline.inl +++ b/include/Nazara/VulkanRenderer/VulkanComputePipeline.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.hpp b/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.hpp index 877202315..530e8fcf9 100644 --- a/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.hpp +++ b/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.inl b/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.inl index 7ad134acb..9aeb5ebc5 100644 --- a/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.inl +++ b/include/Nazara/VulkanRenderer/VulkanDescriptorSetLayoutCache.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -81,4 +80,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanDevice.hpp b/include/Nazara/VulkanRenderer/VulkanDevice.hpp index c4099ecb0..f929d41ae 100644 --- a/include/Nazara/VulkanRenderer/VulkanDevice.hpp +++ b/include/Nazara/VulkanRenderer/VulkanDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanDevice.inl b/include/Nazara/VulkanRenderer/VulkanDevice.inl index afffeb64b..e9127d4ee 100644 --- a/include/Nazara/VulkanRenderer/VulkanDevice.inl +++ b/include/Nazara/VulkanRenderer/VulkanDevice.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -14,4 +13,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanFramebuffer.hpp b/include/Nazara/VulkanRenderer/VulkanFramebuffer.hpp index 39a457f94..bea98b2e8 100644 --- a/include/Nazara/VulkanRenderer/VulkanFramebuffer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/VulkanRenderer/VulkanFramebuffer.inl b/include/Nazara/VulkanRenderer/VulkanFramebuffer.inl index af0317d5d..8916f5bae 100644 --- a/include/Nazara/VulkanRenderer/VulkanFramebuffer.inl +++ b/include/Nazara/VulkanRenderer/VulkanFramebuffer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderImage.hpp b/include/Nazara/VulkanRenderer/VulkanRenderImage.hpp index 83b36172e..cf8155720 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderImage.hpp +++ b/include/Nazara/VulkanRenderer/VulkanRenderImage.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanRenderImage.inl b/include/Nazara/VulkanRenderer/VulkanRenderImage.inl index 971afc631..3bf41403d 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderImage.inl +++ b/include/Nazara/VulkanRenderer/VulkanRenderImage.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -33,4 +32,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPass.hpp b/include/Nazara/VulkanRenderer/VulkanRenderPass.hpp index cea661066..09238a761 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPass.hpp +++ b/include/Nazara/VulkanRenderer/VulkanRenderPass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPass.inl b/include/Nazara/VulkanRenderer/VulkanRenderPass.inl index fe80e0b8b..cad806a89 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPass.inl +++ b/include/Nazara/VulkanRenderer/VulkanRenderPass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPipeline.hpp b/include/Nazara/VulkanRenderer/VulkanRenderPipeline.hpp index bc5f07e16..dc79d1107 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPipeline.hpp +++ b/include/Nazara/VulkanRenderer/VulkanRenderPipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPipeline.inl b/include/Nazara/VulkanRenderer/VulkanRenderPipeline.inl index e005c62e1..237e7a967 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPipeline.inl +++ b/include/Nazara/VulkanRenderer/VulkanRenderPipeline.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -21,4 +20,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.hpp b/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.hpp index 91cc01ddd..6be076262 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.hpp +++ b/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.inl b/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.inl index f9507c237..4b456c395 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.inl +++ b/include/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -34,4 +33,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderer.hpp b/include/Nazara/VulkanRenderer/VulkanRenderer.hpp index 550579918..740eca2a0 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanRenderer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanRenderer.inl b/include/Nazara/VulkanRenderer/VulkanRenderer.inl index af0317d5d..8916f5bae 100644 --- a/include/Nazara/VulkanRenderer/VulkanRenderer.inl +++ b/include/Nazara/VulkanRenderer/VulkanRenderer.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanShaderBinding.hpp b/include/Nazara/VulkanRenderer/VulkanShaderBinding.hpp index 3db6dda35..93905710c 100644 --- a/include/Nazara/VulkanRenderer/VulkanShaderBinding.hpp +++ b/include/Nazara/VulkanRenderer/VulkanShaderBinding.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanShaderBinding.inl b/include/Nazara/VulkanRenderer/VulkanShaderBinding.inl index f0158bca3..e58e4bab8 100644 --- a/include/Nazara/VulkanRenderer/VulkanShaderBinding.inl +++ b/include/Nazara/VulkanRenderer/VulkanShaderBinding.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -35,4 +34,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanShaderModule.hpp b/include/Nazara/VulkanRenderer/VulkanShaderModule.hpp index 882241f69..5b5a4f0ad 100644 --- a/include/Nazara/VulkanRenderer/VulkanShaderModule.hpp +++ b/include/Nazara/VulkanRenderer/VulkanShaderModule.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanShaderModule.inl b/include/Nazara/VulkanRenderer/VulkanShaderModule.inl index e90bcc5fb..14cbb3219 100644 --- a/include/Nazara/VulkanRenderer/VulkanShaderModule.inl +++ b/include/Nazara/VulkanRenderer/VulkanShaderModule.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanSwapchain.hpp b/include/Nazara/VulkanRenderer/VulkanSwapchain.hpp index bf43703c9..9e638158d 100644 --- a/include/Nazara/VulkanRenderer/VulkanSwapchain.hpp +++ b/include/Nazara/VulkanRenderer/VulkanSwapchain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanSwapchain.inl b/include/Nazara/VulkanRenderer/VulkanSwapchain.inl index cbdfeb901..02ba1d1ed 100644 --- a/include/Nazara/VulkanRenderer/VulkanSwapchain.inl +++ b/include/Nazara/VulkanRenderer/VulkanSwapchain.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -32,4 +31,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanTexture.hpp b/include/Nazara/VulkanRenderer/VulkanTexture.hpp index 17581c324..a7973f92f 100644 --- a/include/Nazara/VulkanRenderer/VulkanTexture.hpp +++ b/include/Nazara/VulkanRenderer/VulkanTexture.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/VulkanTexture.inl b/include/Nazara/VulkanRenderer/VulkanTexture.inl index 8d19ede1b..59e4614ec 100644 --- a/include/Nazara/VulkanRenderer/VulkanTexture.inl +++ b/include/Nazara/VulkanRenderer/VulkanTexture.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -92,4 +91,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.hpp b/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.hpp index 51a19df71..f304773ec 100644 --- a/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.inl b/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.inl index f11dff9a1..8bcf05c49 100644 --- a/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.inl +++ b/include/Nazara/VulkanRenderer/VulkanTextureFramebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanTextureSampler.hpp b/include/Nazara/VulkanRenderer/VulkanTextureSampler.hpp index 4d4561269..36f4ecd83 100644 --- a/include/Nazara/VulkanRenderer/VulkanTextureSampler.hpp +++ b/include/Nazara/VulkanRenderer/VulkanTextureSampler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanTextureSampler.inl b/include/Nazara/VulkanRenderer/VulkanTextureSampler.inl index 77004b34c..2dd366e98 100644 --- a/include/Nazara/VulkanRenderer/VulkanTextureSampler.inl +++ b/include/Nazara/VulkanRenderer/VulkanTextureSampler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -12,4 +11,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanUploadPool.hpp b/include/Nazara/VulkanRenderer/VulkanUploadPool.hpp index 708e6268d..bf67625a0 100644 --- a/include/Nazara/VulkanRenderer/VulkanUploadPool.hpp +++ b/include/Nazara/VulkanRenderer/VulkanUploadPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanUploadPool.inl b/include/Nazara/VulkanRenderer/VulkanUploadPool.inl index 7e66757c4..8a21cd35d 100644 --- a/include/Nazara/VulkanRenderer/VulkanUploadPool.inl +++ b/include/Nazara/VulkanRenderer/VulkanUploadPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -14,4 +13,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp b/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp index e619c40e6..33be0af73 100644 --- a/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp +++ b/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.inl b/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.inl index bdd86603a..cd84e282e 100644 --- a/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.inl +++ b/include/Nazara/VulkanRenderer/VulkanWindowFramebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -23,4 +22,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/AutoFree.hpp b/include/Nazara/VulkanRenderer/Wrapper/AutoFree.hpp index 70c2ee6a2..3243a4e02 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/AutoFree.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/AutoFree.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/AutoFree.inl b/include/Nazara/VulkanRenderer/Wrapper/AutoFree.inl index 980255d65..d4e21ddfe 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/AutoFree.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/AutoFree.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::Vk { @@ -57,4 +56,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Buffer.hpp b/include/Nazara/VulkanRenderer/Wrapper/Buffer.hpp index 1cbf71c06..771cb7bd8 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Buffer.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Buffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Buffer.inl b/include/Nazara/VulkanRenderer/Wrapper/Buffer.inl index a63fa7780..cdb4eb2e0 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Buffer.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Buffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -58,4 +57,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.hpp b/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.hpp index a90c0b03c..41d36aaf6 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.inl b/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.inl index d043a0283..3c226f0bd 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/CommandBuffer.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -597,4 +596,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/CommandPool.hpp b/include/Nazara/VulkanRenderer/Wrapper/CommandPool.hpp index 4f22c24c6..d9daaf612 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/CommandPool.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/CommandPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/CommandPool.inl b/include/Nazara/VulkanRenderer/Wrapper/CommandPool.inl index f338d780b..1613decad 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/CommandPool.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/CommandPool.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -44,4 +43,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.hpp b/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.hpp index 9e759cc1d..1cd89ef21 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl b/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl index 8fcd9c39f..efbb911d4 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::Vk { @@ -22,4 +21,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.hpp b/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.hpp index 60006a151..a176a7330 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.inl b/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.inl index 1304d59db..b4d16540a 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DebugUtilsMessengerEXT.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz::Vk { @@ -22,4 +21,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp b/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp index 4f52494eb..7dd0cfa4c 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.inl b/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.inl index 989e236d7..02dcaa221 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorPool.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -50,4 +49,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.hpp b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.hpp index 9362f3849..a2014041a 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.inl b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.inl index bc20dae79..8b8d5c3bd 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSet.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::Vk { @@ -159,4 +158,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.hpp b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.hpp index a44eb88e0..e268e09c6 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.inl b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.inl index b0575e6b5..1b081e107 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DescriptorSetLayout.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -39,4 +38,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Device.hpp b/include/Nazara/VulkanRenderer/Wrapper/Device.hpp index 077d726ea..bbce5bb49 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Device.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Device.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Device.inl b/include/Nazara/VulkanRenderer/Wrapper/Device.inl index 55067c9ae..030d244fc 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Device.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Device.inl @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz::Vk { @@ -139,4 +138,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DeviceFunctions.hpp b/include/Nazara/VulkanRenderer/Wrapper/DeviceFunctions.hpp index 24218b7de..eac56b49a 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DeviceFunctions.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DeviceFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.hpp b/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.hpp index d2a7043b0..46aae455f 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.inl b/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.inl index 92d2938e9..3649ae792 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DeviceMemory.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -114,4 +113,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp b/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp index b1b46ada7..f970b4661 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.inl b/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.inl index 4ef967041..87b1daea9 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/DeviceObject.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::Vk { @@ -106,4 +105,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Fence.hpp b/include/Nazara/VulkanRenderer/Wrapper/Fence.hpp index 03dbe4b76..37961a420 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Fence.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Fence.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Fence.inl b/include/Nazara/VulkanRenderer/Wrapper/Fence.inl index 18d34c1f2..4e6ed842f 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Fence.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Fence.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -64,4 +63,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.hpp b/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.hpp index fcd464e98..90d0aa569 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.inl b/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.inl index 1c8cfa8d9..fd4a41131 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Framebuffer.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/GlobalFunctions.hpp b/include/Nazara/VulkanRenderer/Wrapper/GlobalFunctions.hpp index 579d0bdd2..3006294fb 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/GlobalFunctions.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/GlobalFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/VulkanRenderer/Wrapper/Image.hpp b/include/Nazara/VulkanRenderer/Wrapper/Image.hpp index 0e37dcbba..9601b7bec 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Image.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Image.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Image.inl b/include/Nazara/VulkanRenderer/Wrapper/Image.inl index ad6275876..2d22442dd 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Image.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Image.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -43,4 +42,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/ImageView.hpp b/include/Nazara/VulkanRenderer/Wrapper/ImageView.hpp index 9f449fa35..179fb6eae 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/ImageView.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/ImageView.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/ImageView.inl b/include/Nazara/VulkanRenderer/Wrapper/ImageView.inl index d877a6e84..54abe2dc0 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/ImageView.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/ImageView.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Instance.hpp b/include/Nazara/VulkanRenderer/Wrapper/Instance.hpp index 9b4d4eb1e..2df767488 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Instance.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Instance.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Instance.inl b/include/Nazara/VulkanRenderer/Wrapper/Instance.inl index 1f741442a..d074eb95a 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Instance.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Instance.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::Vk { @@ -144,4 +143,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/InstanceFunctions.hpp b/include/Nazara/VulkanRenderer/Wrapper/InstanceFunctions.hpp index 759444962..15a71dee8 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/InstanceFunctions.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/InstanceFunctions.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.hpp b/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.hpp index 337fcafbd..1f17f7855 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.inl b/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.inl index a75b6d0b1..fab5958c5 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/InstanceObject.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -99,4 +98,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Loader.hpp b/include/Nazara/VulkanRenderer/Wrapper/Loader.hpp index 8d13df1ef..e946c2e97 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Loader.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Loader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Loader.inl b/include/Nazara/VulkanRenderer/Wrapper/Loader.inl index 870881157..61ed2efc1 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Loader.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Loader.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -15,4 +14,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/PhysicalDevice.hpp b/include/Nazara/VulkanRenderer/Wrapper/PhysicalDevice.hpp index f0b36865f..813267fd5 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/PhysicalDevice.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/PhysicalDevice.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Pipeline.hpp b/include/Nazara/VulkanRenderer/Wrapper/Pipeline.hpp index 74b926ea0..8063b0c68 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Pipeline.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Pipeline.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl b/include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl index 236ee65ce..ae919cbb3 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -89,4 +88,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.hpp b/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.hpp index 6d7bd04ce..77202ef34 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.inl b/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.inl index 4fb25515c..6fc97c8a7 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/PipelineCache.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.hpp b/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.hpp index dd982f199..791259a07 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.inl b/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.inl index a3eece066..0d0da3828 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/PipelineLayout.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -40,4 +39,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.hpp b/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.hpp index d9b21a854..416382843 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.inl b/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.inl index a177c398f..00ae5c7e8 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/QueueHandle.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { @@ -161,4 +160,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/RenderPass.hpp b/include/Nazara/VulkanRenderer/Wrapper/RenderPass.hpp index 26a1529e0..75c8ba1d8 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/RenderPass.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/RenderPass.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/RenderPass.inl b/include/Nazara/VulkanRenderer/Wrapper/RenderPass.inl index 00bff1eec..0f0e678c4 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/RenderPass.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/RenderPass.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Sampler.hpp b/include/Nazara/VulkanRenderer/Wrapper/Sampler.hpp index da5e411ae..bf804cc08 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Sampler.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Sampler.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Sampler.inl b/include/Nazara/VulkanRenderer/Wrapper/Sampler.inl index eb86c55b5..f38ba3676 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Sampler.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Sampler.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -20,4 +19,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp b/include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp index cc6677522..8688ea37d 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Semaphore.inl b/include/Nazara/VulkanRenderer/Wrapper/Semaphore.inl index 0b95e02b3..78950b6ce 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Semaphore.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Semaphore.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -32,4 +31,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.hpp b/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.hpp index c739cad5d..6d5011a8c 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.inl b/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.inl index 1e62fbfd5..dbc1dc46c 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/ShaderModule.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -34,4 +33,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Surface.hpp b/include/Nazara/VulkanRenderer/Wrapper/Surface.hpp index 69f6eb868..f2334b236 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Surface.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Surface.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_VULKANRENDERER_WRAPPER_SURFACE_HPP #include -#include +#include #include #include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Surface.inl b/include/Nazara/VulkanRenderer/Wrapper/Surface.inl index f16d4baba..f420e7950 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Surface.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Surface.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::Vk { @@ -305,4 +304,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/VulkanRenderer/Wrapper/Swapchain.hpp b/include/Nazara/VulkanRenderer/Wrapper/Swapchain.hpp index 5aaa282a8..6535b84ae 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Swapchain.hpp +++ b/include/Nazara/VulkanRenderer/Wrapper/Swapchain.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/VulkanRenderer/Wrapper/Swapchain.inl b/include/Nazara/VulkanRenderer/Wrapper/Swapchain.inl index df148f6f7..c20ca0795 100644 --- a/include/Nazara/VulkanRenderer/Wrapper/Swapchain.inl +++ b/include/Nazara/VulkanRenderer/Wrapper/Swapchain.inl @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::Vk { @@ -118,4 +117,3 @@ namespace Nz::Vk } } -#include diff --git a/include/Nazara/Widgets.hpp b/include/Nazara/Widgets.hpp index 654a053ce..07b131e62 100644 --- a/include/Nazara/Widgets.hpp +++ b/include/Nazara/Widgets.hpp @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Widgets/AbstractLabelWidget.hpp b/include/Nazara/Widgets/AbstractLabelWidget.hpp index 8191940f2..c6eb5fc1a 100644 --- a/include/Nazara/Widgets/AbstractLabelWidget.hpp +++ b/include/Nazara/Widgets/AbstractLabelWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/AbstractLabelWidget.inl b/include/Nazara/Widgets/AbstractLabelWidget.inl index 91abd729f..b9afae146 100644 --- a/include/Nazara/Widgets/AbstractLabelWidget.inl +++ b/include/Nazara/Widgets/AbstractLabelWidget.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/AbstractTextAreaWidget.hpp b/include/Nazara/Widgets/AbstractTextAreaWidget.hpp index 7cc717dbf..0fe8ed2e0 100644 --- a/include/Nazara/Widgets/AbstractTextAreaWidget.hpp +++ b/include/Nazara/Widgets/AbstractTextAreaWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/AbstractTextAreaWidget.inl b/include/Nazara/Widgets/AbstractTextAreaWidget.inl index 3bd1bff76..961f8f5b0 100644 --- a/include/Nazara/Widgets/AbstractTextAreaWidget.inl +++ b/include/Nazara/Widgets/AbstractTextAreaWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -261,4 +260,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/BaseWidget.hpp b/include/Nazara/Widgets/BaseWidget.hpp index e91bf42a7..1f9993bde 100644 --- a/include/Nazara/Widgets/BaseWidget.hpp +++ b/include/Nazara/Widgets/BaseWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/Nazara/Widgets/BaseWidget.inl b/include/Nazara/Widgets/BaseWidget.inl index 4b8aca2cf..c9192f2f6 100644 --- a/include/Nazara/Widgets/BaseWidget.inl +++ b/include/Nazara/Widgets/BaseWidget.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -364,4 +363,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/BoxLayout.hpp b/include/Nazara/Widgets/BoxLayout.hpp index fb2e4c618..23b0d4068 100644 --- a/include/Nazara/Widgets/BoxLayout.hpp +++ b/include/Nazara/Widgets/BoxLayout.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/BoxLayout.inl b/include/Nazara/Widgets/BoxLayout.inl index 91abd729f..b9afae146 100644 --- a/include/Nazara/Widgets/BoxLayout.inl +++ b/include/Nazara/Widgets/BoxLayout.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/ButtonWidget.hpp b/include/Nazara/Widgets/ButtonWidget.hpp index cb6486e29..0da1c53ad 100644 --- a/include/Nazara/Widgets/ButtonWidget.hpp +++ b/include/Nazara/Widgets/ButtonWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ButtonWidget.inl b/include/Nazara/Widgets/ButtonWidget.inl index 91abd729f..b9afae146 100644 --- a/include/Nazara/Widgets/ButtonWidget.inl +++ b/include/Nazara/Widgets/ButtonWidget.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/Canvas.hpp b/include/Nazara/Widgets/Canvas.hpp index cd4a3e299..092257edf 100644 --- a/include/Nazara/Widgets/Canvas.hpp +++ b/include/Nazara/Widgets/Canvas.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/Canvas.inl b/include/Nazara/Widgets/Canvas.inl index d238c8d77..515ef5f4a 100644 --- a/include/Nazara/Widgets/Canvas.inl +++ b/include/Nazara/Widgets/Canvas.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -102,4 +101,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/CheckboxWidget.hpp b/include/Nazara/Widgets/CheckboxWidget.hpp index acf87bd3a..b2afbb892 100644 --- a/include/Nazara/Widgets/CheckboxWidget.hpp +++ b/include/Nazara/Widgets/CheckboxWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/CheckboxWidget.inl b/include/Nazara/Widgets/CheckboxWidget.inl index bb6bb040a..d17cb3d32 100644 --- a/include/Nazara/Widgets/CheckboxWidget.inl +++ b/include/Nazara/Widgets/CheckboxWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -47,4 +46,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/ConfigCheck.hpp b/include/Nazara/Widgets/ConfigCheck.hpp deleted file mode 100644 index d86f586be..000000000 --- a/include/Nazara/Widgets/ConfigCheck.hpp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -#pragma once - -#ifndef NAZARA_WIDGETS_CONFIGCHECK_HPP -#define NAZARA_WIDGETS_CONFIGCHECK_HPP - -/// This file is used to check the constant values defined in Config.hpp - -#include -#define NazaraCheckTypeAndVal(name, type, op, val, err) static_assert(std::is_ ##type ::value && name op val, #type err) - -#undef NazaraCheckTypeAndVal - -#endif // NAZARA_WIDGETS_CONFIGCHECK_HPP diff --git a/include/Nazara/Widgets/Debug.hpp b/include/Nazara/Widgets/Debug.hpp deleted file mode 100644 index c4fae63f5..000000000 --- a/include/Nazara/Widgets/Debug.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Widgets/DebugOff.hpp b/include/Nazara/Widgets/DebugOff.hpp deleted file mode 100644 index c4fae63f5..000000000 --- a/include/Nazara/Widgets/DebugOff.hpp +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) -// This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp - -// no header guards diff --git a/include/Nazara/Widgets/DefaultWidgetTheme.hpp b/include/Nazara/Widgets/DefaultWidgetTheme.hpp index 56e96febb..d56061921 100644 --- a/include/Nazara/Widgets/DefaultWidgetTheme.hpp +++ b/include/Nazara/Widgets/DefaultWidgetTheme.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/DefaultWidgetTheme.inl b/include/Nazara/Widgets/DefaultWidgetTheme.inl index ddb4936b2..5b7ac6c79 100644 --- a/include/Nazara/Widgets/DefaultWidgetTheme.inl +++ b/include/Nazara/Widgets/DefaultWidgetTheme.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/Enums.hpp b/include/Nazara/Widgets/Enums.hpp index 4f1414711..2f944aed8 100644 --- a/include/Nazara/Widgets/Enums.hpp +++ b/include/Nazara/Widgets/Enums.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Samy Bensaid // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/Config.hpp b/include/Nazara/Widgets/Export.hpp similarity index 84% rename from include/Nazara/Widgets/Config.hpp rename to include/Nazara/Widgets/Export.hpp index 7f029e674..4e9020c35 100644 --- a/include/Nazara/Widgets/Config.hpp +++ b/include/Nazara/Widgets/Export.hpp @@ -24,19 +24,14 @@ #pragma once -#ifndef NAZARA_WIDGETS_CONFIG_HPP -#define NAZARA_WIDGETS_CONFIG_HPP +#ifndef NAZARA_WIDGETS_EXPORT_HPP +#define NAZARA_WIDGETS_EXPORT_HPP /*! * \defgroup widgets (NazaraWidgets) Widgets module * Widgets module including classes to handle widgets... */ -/// Each modification of a parameter needs a recompilation of the module - -/// Checking the values and types of certain constants -#include - #if !defined(NAZARA_STATIC) #ifdef NAZARA_WIDGETS_BUILD #define NAZARA_WIDGETS_API NAZARA_EXPORT @@ -47,4 +42,4 @@ #define NAZARA_WIDGETS_API #endif -#endif // NAZARA_WIDGETS_CONFIG_HPP +#endif // NAZARA_WIDGETS_EXPORT_HPP diff --git a/include/Nazara/Widgets/ImageButtonWidget.hpp b/include/Nazara/Widgets/ImageButtonWidget.hpp index c95fb4fea..d34ac988d 100644 --- a/include/Nazara/Widgets/ImageButtonWidget.hpp +++ b/include/Nazara/Widgets/ImageButtonWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ImageButtonWidget.inl b/include/Nazara/Widgets/ImageButtonWidget.inl index 71baf76c8..f8c51ec59 100644 --- a/include/Nazara/Widgets/ImageButtonWidget.inl +++ b/include/Nazara/Widgets/ImageButtonWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -97,4 +96,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/ImageWidget.hpp b/include/Nazara/Widgets/ImageWidget.hpp index 055678274..bf854ede8 100644 --- a/include/Nazara/Widgets/ImageWidget.hpp +++ b/include/Nazara/Widgets/ImageWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Samy Bensaid // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ImageWidget.inl b/include/Nazara/Widgets/ImageWidget.inl index 11f558a4a..799a26d49 100644 --- a/include/Nazara/Widgets/ImageWidget.inl +++ b/include/Nazara/Widgets/ImageWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Samy Bensaid // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -56,4 +55,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/LabelWidget.hpp b/include/Nazara/Widgets/LabelWidget.hpp index 90dae57f9..82755f3ef 100644 --- a/include/Nazara/Widgets/LabelWidget.hpp +++ b/include/Nazara/Widgets/LabelWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/LabelWidget.inl b/include/Nazara/Widgets/LabelWidget.inl index 91abd729f..b9afae146 100644 --- a/include/Nazara/Widgets/LabelWidget.inl +++ b/include/Nazara/Widgets/LabelWidget.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/ProgressBarWidget.hpp b/include/Nazara/Widgets/ProgressBarWidget.hpp index 66c27db26..1ce658280 100644 --- a/include/Nazara/Widgets/ProgressBarWidget.hpp +++ b/include/Nazara/Widgets/ProgressBarWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ProgressBarWidget.inl b/include/Nazara/Widgets/ProgressBarWidget.inl index 14a90d890..adc3dfe3e 100644 --- a/include/Nazara/Widgets/ProgressBarWidget.inl +++ b/include/Nazara/Widgets/ProgressBarWidget.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -19,4 +18,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/RichTextAreaWidget.hpp b/include/Nazara/Widgets/RichTextAreaWidget.hpp index 42d336c53..9b492e0c6 100644 --- a/include/Nazara/Widgets/RichTextAreaWidget.hpp +++ b/include/Nazara/Widgets/RichTextAreaWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/RichTextAreaWidget.inl b/include/Nazara/Widgets/RichTextAreaWidget.inl index 6794030ce..dc248db71 100644 --- a/include/Nazara/Widgets/RichTextAreaWidget.inl +++ b/include/Nazara/Widgets/RichTextAreaWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -87,4 +86,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/ScrollAreaWidget.hpp b/include/Nazara/Widgets/ScrollAreaWidget.hpp index df18021aa..57b8521c1 100644 --- a/include/Nazara/Widgets/ScrollAreaWidget.hpp +++ b/include/Nazara/Widgets/ScrollAreaWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ScrollAreaWidget.inl b/include/Nazara/Widgets/ScrollAreaWidget.inl index 27bd0229f..ffbc5ea27 100644 --- a/include/Nazara/Widgets/ScrollAreaWidget.inl +++ b/include/Nazara/Widgets/ScrollAreaWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -28,4 +27,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/ScrollbarButtonWidget.hpp b/include/Nazara/Widgets/ScrollbarButtonWidget.hpp index c386c98f1..f163c7925 100644 --- a/include/Nazara/Widgets/ScrollbarButtonWidget.hpp +++ b/include/Nazara/Widgets/ScrollbarButtonWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ScrollbarButtonWidget.inl b/include/Nazara/Widgets/ScrollbarButtonWidget.inl index 91abd729f..b9afae146 100644 --- a/include/Nazara/Widgets/ScrollbarButtonWidget.inl +++ b/include/Nazara/Widgets/ScrollbarButtonWidget.inl @@ -1,11 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/ScrollbarWidget.hpp b/include/Nazara/Widgets/ScrollbarWidget.hpp index 5925fa0d2..8dccfbd8e 100644 --- a/include/Nazara/Widgets/ScrollbarWidget.hpp +++ b/include/Nazara/Widgets/ScrollbarWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/ScrollbarWidget.inl b/include/Nazara/Widgets/ScrollbarWidget.inl index f07680ff3..1ab64c8a2 100644 --- a/include/Nazara/Widgets/ScrollbarWidget.inl +++ b/include/Nazara/Widgets/ScrollbarWidget.inl @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -41,4 +40,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/SimpleLabelWidget.hpp b/include/Nazara/Widgets/SimpleLabelWidget.hpp index d546553e3..9ae40e240 100644 --- a/include/Nazara/Widgets/SimpleLabelWidget.hpp +++ b/include/Nazara/Widgets/SimpleLabelWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/SimpleLabelWidget.inl b/include/Nazara/Widgets/SimpleLabelWidget.inl index 7b0538d83..44b1ceb84 100644 --- a/include/Nazara/Widgets/SimpleLabelWidget.inl +++ b/include/Nazara/Widgets/SimpleLabelWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -67,4 +66,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/SimpleWidgetStyles.hpp b/include/Nazara/Widgets/SimpleWidgetStyles.hpp index 0d1d307c0..0aafebcac 100644 --- a/include/Nazara/Widgets/SimpleWidgetStyles.hpp +++ b/include/Nazara/Widgets/SimpleWidgetStyles.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/SimpleWidgetStyles.inl b/include/Nazara/Widgets/SimpleWidgetStyles.inl index ddb4936b2..5b7ac6c79 100644 --- a/include/Nazara/Widgets/SimpleWidgetStyles.inl +++ b/include/Nazara/Widgets/SimpleWidgetStyles.inl @@ -1,12 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { } -#include diff --git a/include/Nazara/Widgets/TextAreaWidget.hpp b/include/Nazara/Widgets/TextAreaWidget.hpp index c5f593868..e53a6ad65 100644 --- a/include/Nazara/Widgets/TextAreaWidget.hpp +++ b/include/Nazara/Widgets/TextAreaWidget.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/TextAreaWidget.inl b/include/Nazara/Widgets/TextAreaWidget.inl index 4205522d1..fba808891 100644 --- a/include/Nazara/Widgets/TextAreaWidget.inl +++ b/include/Nazara/Widgets/TextAreaWidget.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -123,4 +122,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/WidgetTheme.hpp b/include/Nazara/Widgets/WidgetTheme.hpp index ba3922b75..b95484eb1 100644 --- a/include/Nazara/Widgets/WidgetTheme.hpp +++ b/include/Nazara/Widgets/WidgetTheme.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/include/Nazara/Widgets/WidgetTheme.inl b/include/Nazara/Widgets/WidgetTheme.inl index b0cd5ddaf..1c55de098 100644 --- a/include/Nazara/Widgets/WidgetTheme.inl +++ b/include/Nazara/Widgets/WidgetTheme.inl @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { @@ -58,4 +57,3 @@ namespace Nz } } -#include diff --git a/include/Nazara/Widgets/Widgets.hpp b/include/Nazara/Widgets/Widgets.hpp index 53e39ba28..4dba3c5e3 100644 --- a/include/Nazara/Widgets/Widgets.hpp +++ b/include/Nazara/Widgets/Widgets.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include namespace Nz diff --git a/include/Nazara/Widgets/Widgets.inl b/include/Nazara/Widgets/Widgets.inl index 61e368cdf..7f2b5b3b2 100644 --- a/include/Nazara/Widgets/Widgets.inl +++ b/include/Nazara/Widgets/Widgets.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/src/Nazara/Audio/Audio.cpp b/src/Nazara/Audio/Audio.cpp index 96bb63d5a..9d67d82e6 100644 --- a/src/Nazara/Audio/Audio.cpp +++ b/src/Nazara/Audio/Audio.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/AudioBuffer.cpp b/src/Nazara/Audio/AudioBuffer.cpp index d590749ee..35802b09a 100644 --- a/src/Nazara/Audio/AudioBuffer.cpp +++ b/src/Nazara/Audio/AudioBuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Audio/AudioDevice.cpp b/src/Nazara/Audio/AudioDevice.cpp index 26e488bfe..b0529c0fd 100644 --- a/src/Nazara/Audio/AudioDevice.cpp +++ b/src/Nazara/Audio/AudioDevice.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Audio/AudioSource.cpp b/src/Nazara/Audio/AudioSource.cpp index 283ac437b..a68819b53 100644 --- a/src/Nazara/Audio/AudioSource.cpp +++ b/src/Nazara/Audio/AudioSource.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Audio/DummyAudioBuffer.cpp b/src/Nazara/Audio/DummyAudioBuffer.cpp index d09114d09..14128bba7 100644 --- a/src/Nazara/Audio/DummyAudioBuffer.cpp +++ b/src/Nazara/Audio/DummyAudioBuffer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/DummyAudioDevice.cpp b/src/Nazara/Audio/DummyAudioDevice.cpp index 3821f8857..fac1645bf 100644 --- a/src/Nazara/Audio/DummyAudioDevice.cpp +++ b/src/Nazara/Audio/DummyAudioDevice.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/DummyAudioSource.cpp b/src/Nazara/Audio/DummyAudioSource.cpp index 2c4ce62dd..ccf8673bd 100644 --- a/src/Nazara/Audio/DummyAudioSource.cpp +++ b/src/Nazara/Audio/DummyAudioSource.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Formats/drwavLoader.cpp b/src/Nazara/Audio/Formats/drwavLoader.cpp index 8f882b976..12b340c37 100644 --- a/src/Nazara/Audio/Formats/drwavLoader.cpp +++ b/src/Nazara/Audio/Formats/drwavLoader.cpp @@ -1,11 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include +#include #include #include #include @@ -20,7 +20,6 @@ #define DR_WAV_NO_STDIO #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Formats/drwavLoader.hpp b/src/Nazara/Audio/Formats/drwavLoader.hpp index 8e6d258e0..881ab5d4a 100644 --- a/src/Nazara/Audio/Formats/drwavLoader.hpp +++ b/src/Nazara/Audio/Formats/drwavLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Audio/Formats/libflacLoader.cpp b/src/Nazara/Audio/Formats/libflacLoader.cpp index 46f0ae613..2a4334adb 100644 --- a/src/Nazara/Audio/Formats/libflacLoader.cpp +++ b/src/Nazara/Audio/Formats/libflacLoader.cpp @@ -1,11 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include +#include #include #include #include @@ -17,7 +17,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Formats/libflacLoader.hpp b/src/Nazara/Audio/Formats/libflacLoader.hpp index 83f794df0..9ce00dcc0 100644 --- a/src/Nazara/Audio/Formats/libflacLoader.hpp +++ b/src/Nazara/Audio/Formats/libflacLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Audio/Formats/libvorbisLoader.cpp b/src/Nazara/Audio/Formats/libvorbisLoader.cpp index c51e947fd..102b6e6b1 100644 --- a/src/Nazara/Audio/Formats/libvorbisLoader.cpp +++ b/src/Nazara/Audio/Formats/libvorbisLoader.cpp @@ -1,11 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include +#include #include #include #include @@ -21,7 +21,6 @@ #define OV_EXCLUDE_STATIC_CALLBACKS #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Formats/libvorbisLoader.hpp b/src/Nazara/Audio/Formats/libvorbisLoader.hpp index 1a3bb7506..62c28161a 100644 --- a/src/Nazara/Audio/Formats/libvorbisLoader.hpp +++ b/src/Nazara/Audio/Formats/libvorbisLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Audio/Formats/minimp3Loader.cpp b/src/Nazara/Audio/Formats/minimp3Loader.cpp index dd62a2737..8ec6e136a 100644 --- a/src/Nazara/Audio/Formats/minimp3Loader.cpp +++ b/src/Nazara/Audio/Formats/minimp3Loader.cpp @@ -1,11 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include +#include #include #include #include @@ -19,7 +19,6 @@ #define MINIMP3_NO_STDIO #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Formats/minimp3Loader.hpp b/src/Nazara/Audio/Formats/minimp3Loader.hpp index 5d22a242c..acf1c8320 100644 --- a/src/Nazara/Audio/Formats/minimp3Loader.hpp +++ b/src/Nazara/Audio/Formats/minimp3Loader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Audio/Music.cpp b/src/Nazara/Audio/Music.cpp index afba8ba4e..b296b07e9 100644 --- a/src/Nazara/Audio/Music.cpp +++ b/src/Nazara/Audio/Music.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/OpenALBuffer.cpp b/src/Nazara/Audio/OpenALBuffer.cpp index 560a3cc79..d183fc440 100644 --- a/src/Nazara/Audio/OpenALBuffer.cpp +++ b/src/Nazara/Audio/OpenALBuffer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/OpenALDevice.cpp b/src/Nazara/Audio/OpenALDevice.cpp index 494f2e51c..aabcabe51 100644 --- a/src/Nazara/Audio/OpenALDevice.cpp +++ b/src/Nazara/Audio/OpenALDevice.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/OpenALLibrary.cpp b/src/Nazara/Audio/OpenALLibrary.cpp index 0083f8d9c..b4a22040e 100644 --- a/src/Nazara/Audio/OpenALLibrary.cpp +++ b/src/Nazara/Audio/OpenALLibrary.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/OpenALSource.cpp b/src/Nazara/Audio/OpenALSource.cpp index 0a6a9739f..daa3dbaaa 100644 --- a/src/Nazara/Audio/OpenALSource.cpp +++ b/src/Nazara/Audio/OpenALSource.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/OpenALUtils.cpp b/src/Nazara/Audio/OpenALUtils.cpp index a5928498e..222207ae3 100644 --- a/src/Nazara/Audio/OpenALUtils.cpp +++ b/src/Nazara/Audio/OpenALUtils.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/Sound.cpp b/src/Nazara/Audio/Sound.cpp index ba4911927..9759174d1 100644 --- a/src/Nazara/Audio/Sound.cpp +++ b/src/Nazara/Audio/Sound.cpp @@ -1,14 +1,13 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include +#include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/SoundBuffer.cpp b/src/Nazara/Audio/SoundBuffer.cpp index da9376866..da2e4bd7c 100644 --- a/src/Nazara/Audio/SoundBuffer.cpp +++ b/src/Nazara/Audio/SoundBuffer.cpp @@ -1,17 +1,16 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include +#include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/SoundEmitter.cpp b/src/Nazara/Audio/SoundEmitter.cpp index 64c7d9b55..aed9e5957 100644 --- a/src/Nazara/Audio/SoundEmitter.cpp +++ b/src/Nazara/Audio/SoundEmitter.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Audio/SoundStream.cpp b/src/Nazara/Audio/SoundStream.cpp index 663442cdb..fadb6e073 100644 --- a/src/Nazara/Audio/SoundStream.cpp +++ b/src/Nazara/Audio/SoundStream.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Audio module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/AbstractAtlas.cpp b/src/Nazara/Core/AbstractAtlas.cpp index 715c333da..a4bac094f 100644 --- a/src/Nazara/Core/AbstractAtlas.cpp +++ b/src/Nazara/Core/AbstractAtlas.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/AbstractHash.cpp b/src/Nazara/Core/AbstractHash.cpp index 48721c0c5..c5e05f800 100644 --- a/src/Nazara/Core/AbstractHash.cpp +++ b/src/Nazara/Core/AbstractHash.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -16,7 +16,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/AbstractImage.cpp b/src/Nazara/Core/AbstractImage.cpp index 5e7e03740..7c1c6fe35 100644 --- a/src/Nazara/Core/AbstractImage.cpp +++ b/src/Nazara/Core/AbstractImage.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/AbstractLogger.cpp b/src/Nazara/Core/AbstractLogger.cpp index 155652977..596c14045 100644 --- a/src/Nazara/Core/AbstractLogger.cpp +++ b/src/Nazara/Core/AbstractLogger.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/AlgorithmCore.cpp b/src/Nazara/Core/AlgorithmCore.cpp index d8b2f59ed..5e2dc2c0f 100644 --- a/src/Nazara/Core/AlgorithmCore.cpp +++ b/src/Nazara/Core/AlgorithmCore.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* * vcacheopt.h - Vertex Cache Optimizer @@ -33,7 +33,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Animation.cpp b/src/Nazara/Core/Animation.cpp index da7cc5c62..f8af0d994 100644 --- a/src/Nazara/Core/Animation.cpp +++ b/src/Nazara/Core/Animation.cpp @@ -1,17 +1,16 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include #include +#include #include #include #include #include #include -#include namespace Nz { @@ -63,15 +62,7 @@ namespace Nz if (!sequence.name.empty()) { - #if NAZARA_CORE_SAFE - auto it = m_impl->sequenceMap.find(sequence.name); - if (it != m_impl->sequenceMap.end()) - { - NazaraErrorFmt("sequence name \"{0}\" is already in use", sequence.name); - return false; - } - #endif - + NazaraAssertFmt(m_impl->sequenceMap.contains(sequence.name), "sequence name \"{0}\" is already in use", sequence.name); m_impl->sequenceMap[sequence.name] = static_cast(m_impl->sequences.size()); } @@ -84,10 +75,10 @@ namespace Nz { NazaraAssert(m_impl, "Animation not created"); NazaraAssert(m_impl->type == AnimationType::Skeletal, "Animation is not skeletal"); - NazaraAssert(targetSkeleton && targetSkeleton->IsValid(), "Invalid skeleton"); - NazaraAssert(targetSkeleton->GetJointCount() == m_impl->jointCount, "Skeleton joint does not match animation joint count"); - NazaraAssert(frameA < m_impl->frameCount, "FrameA is out of range"); - NazaraAssert(frameB < m_impl->frameCount, "FrameB is out of range"); + NazaraAssert(targetSkeleton && targetSkeleton->IsValid(), "invalid skeleton"); + NazaraAssertFmt(targetSkeleton->GetJointCount() == m_impl->jointCount, "skeleton joint does not match animation joint count ({0} != {1})", targetSkeleton->GetJointCount(), m_impl->jointCount); + NazaraAssertFmt(frameA < m_impl->frameCount, "Frame A is out of range ({0} >= {1})", frameA, m_impl->frameCount); + NazaraAssertFmt(frameB < m_impl->frameCount, "Frame B is out of range ({0} >= {1})", frameB, m_impl->frameCount); Joint* joints = targetSkeleton->GetJoints(); for (std::size_t i = 0; i < m_impl->jointCount; ++i) @@ -106,8 +97,8 @@ namespace Nz bool Animation::CreateSkeletal(std::size_t frameCount, std::size_t jointCount) { - NazaraAssert(frameCount > 0, "Frame count must be over zero"); - NazaraAssert(jointCount > 0, "Frame count must be over zero"); + NazaraAssert(frameCount > 0, "frame count must be over zero"); + NazaraAssert(jointCount > 0, "frame count must be over zero"); Destroy(); @@ -231,7 +222,7 @@ namespace Nz { NazaraAssert(m_impl, "Animation not created"); - return m_impl->sequenceMap.find(sequenceName) != m_impl->sequenceMap.end(); + return m_impl->sequenceMap.contains(sequenceName); } bool Animation::HasSequence(std::size_t index) const diff --git a/src/Nazara/Core/AntiWindows.hpp b/src/Nazara/Core/AntiWindows.hpp index b855af7a3..bf874e95d 100644 --- a/src/Nazara/Core/AntiWindows.hpp +++ b/src/Nazara/Core/AntiWindows.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/src/Nazara/Core/AntiX11.hpp b/src/Nazara/Core/AntiX11.hpp index 3b9ae734d..77fca103b 100644 --- a/src/Nazara/Core/AntiX11.hpp +++ b/src/Nazara/Core/AntiX11.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/src/Nazara/Core/ApplicationBase.cpp b/src/Nazara/Core/ApplicationBase.cpp index 60ec64988..d93b57178 100644 --- a/src/Nazara/Core/ApplicationBase.cpp +++ b/src/Nazara/Core/ApplicationBase.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #ifdef NAZARA_PLATFORM_WEB #include #endif -#include namespace Nz { diff --git a/src/Nazara/Core/ApplicationComponent.cpp b/src/Nazara/Core/ApplicationComponent.cpp index 619a3bd38..320140b71 100644 --- a/src/Nazara/Core/ApplicationComponent.cpp +++ b/src/Nazara/Core/ApplicationComponent.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/ApplicationUpdater.cpp b/src/Nazara/Core/ApplicationUpdater.cpp index af1180afb..aac30d1b0 100644 --- a/src/Nazara/Core/ApplicationUpdater.cpp +++ b/src/Nazara/Core/ApplicationUpdater.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Buffer.cpp b/src/Nazara/Core/Buffer.cpp index e6fc25b29..38850d275 100644 --- a/src/Nazara/Core/Buffer.cpp +++ b/src/Nazara/Core/Buffer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/ByteArray.cpp b/src/Nazara/Core/ByteArray.cpp index 0bbb497bc..3308db262 100644 --- a/src/Nazara/Core/ByteArray.cpp +++ b/src/Nazara/Core/ByteArray.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/ByteStream.cpp b/src/Nazara/Core/ByteStream.cpp index fa7030f22..7543cd9cf 100644 --- a/src/Nazara/Core/ByteStream.cpp +++ b/src/Nazara/Core/ByteStream.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Components/NodeComponent.cpp b/src/Nazara/Core/Components/NodeComponent.cpp index e44aa322f..226804a9c 100644 --- a/src/Nazara/Core/Components/NodeComponent.cpp +++ b/src/Nazara/Core/Components/NodeComponent.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Components/SharedSkeletonComponent.cpp b/src/Nazara/Core/Components/SharedSkeletonComponent.cpp index 96f29ae11..b42c71cf5 100644 --- a/src/Nazara/Core/Components/SharedSkeletonComponent.cpp +++ b/src/Nazara/Core/Components/SharedSkeletonComponent.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Core.cpp b/src/Nazara/Core/Core.cpp index 6e29fd4af..5fc7c5cc7 100644 --- a/src/Nazara/Core/Core.cpp +++ b/src/Nazara/Core/Core.cpp @@ -1,12 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include #include +#include #include #include #include @@ -26,7 +26,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Darwin/TimeImpl.cpp b/src/Nazara/Core/Darwin/TimeImpl.cpp index eb9004cbc..409705586 100644 --- a/src/Nazara/Core/Darwin/TimeImpl.cpp +++ b/src/Nazara/Core/Darwin/TimeImpl.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Darwin/TimeImpl.hpp b/src/Nazara/Core/Darwin/TimeImpl.hpp index 20dc229c3..815112db2 100644 --- a/src/Nazara/Core/Darwin/TimeImpl.hpp +++ b/src/Nazara/Core/Darwin/TimeImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/DynLib.cpp b/src/Nazara/Core/DynLib.cpp index 602365b06..a3c93e743 100644 --- a/src/Nazara/Core/DynLib.cpp +++ b/src/Nazara/Core/DynLib.cpp @@ -1,10 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include +#include #include #if defined(NAZARA_PLATFORM_WINDOWS) @@ -15,7 +15,6 @@ #error No implementation for this platform #endif -#include namespace Nz { diff --git a/src/Nazara/Core/EmptyStream.cpp b/src/Nazara/Core/EmptyStream.cpp index 1c3814eb6..af2e26f88 100644 --- a/src/Nazara/Core/EmptyStream.cpp +++ b/src/Nazara/Core/EmptyStream.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/EntitySystemAppComponent.cpp b/src/Nazara/Core/EntitySystemAppComponent.cpp index 0df145306..1db676b69 100644 --- a/src/Nazara/Core/EntitySystemAppComponent.cpp +++ b/src/Nazara/Core/EntitySystemAppComponent.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/EntityWorld.cpp b/src/Nazara/Core/EntityWorld.cpp index b6034ee2d..392b9b203 100644 --- a/src/Nazara/Core/EntityWorld.cpp +++ b/src/Nazara/Core/EntityWorld.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/EnttSystemGraph.cpp b/src/Nazara/Core/EnttSystemGraph.cpp index 702744ace..2fe820eaa 100644 --- a/src/Nazara/Core/EnttSystemGraph.cpp +++ b/src/Nazara/Core/EnttSystemGraph.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/EnttWorld.cpp b/src/Nazara/Core/EnttWorld.cpp index c14520fbf..da710c17a 100644 --- a/src/Nazara/Core/EnttWorld.cpp +++ b/src/Nazara/Core/EnttWorld.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/EnvironmentVariables.cpp b/src/Nazara/Core/EnvironmentVariables.cpp index d34174039..23172e991 100644 --- a/src/Nazara/Core/EnvironmentVariables.cpp +++ b/src/Nazara/Core/EnvironmentVariables.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Error.cpp b/src/Nazara/Core/Error.cpp index 82dab07cd..40d091ddb 100644 --- a/src/Nazara/Core/Error.cpp +++ b/src/Nazara/Core/Error.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -17,7 +17,6 @@ #include #endif -#include namespace Nz { @@ -179,11 +178,6 @@ namespace Nz s_lastErrorLine = line; } - #if NAZARA_CORE_EXIT_ON_ASSERT_FAILURE - if (type == ErrorType::AssertFailed) - std::abort(); - #endif - if (type == ErrorType::AssertFailed || (type != ErrorType::Warning && flags.Test(ErrorMode::ThrowException))) throw std::runtime_error(s_lastError); } diff --git a/src/Nazara/Core/File.cpp b/src/Nazara/Core/File.cpp index aa7992cbf..6291eda23 100644 --- a/src/Nazara/Core/File.cpp +++ b/src/Nazara/Core/File.cpp @@ -1,12 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include #include #include +#include #include #if defined(NAZARA_PLATFORM_WINDOWS) @@ -17,7 +17,6 @@ #error OS not handled #endif -#include namespace Nz { @@ -461,10 +460,11 @@ namespace Nz UInt64 remainingSize = file.GetSize(); - char buffer[NAZARA_CORE_FILE_BUFFERSIZE]; + constexpr std::size_t BufferSize = Stream::DefaultBufferSize; + std::unique_ptr buffer = std::make_unique(BufferSize); while (remainingSize > 0) { - std::size_t size = std::min(static_cast(remainingSize), NAZARA_CORE_FILE_BUFFERSIZE); + std::size_t size = static_cast(std::min(remainingSize, BufferSize)); if (file.Read(&buffer[0], size) != size) { NazaraError("unable to read file"); diff --git a/src/Nazara/Core/FileLogger.cpp b/src/Nazara/Core/FileLogger.cpp index c0ce07d49..8552c12c9 100644 --- a/src/Nazara/Core/FileLogger.cpp +++ b/src/Nazara/Core/FileLogger.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/FilesystemAppComponent.cpp b/src/Nazara/Core/FilesystemAppComponent.cpp index 47f7a5d60..e8af9a424 100644 --- a/src/Nazara/Core/FilesystemAppComponent.cpp +++ b/src/Nazara/Core/FilesystemAppComponent.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Format.cpp b/src/Nazara/Core/Format.cpp index 462dca7fd..22cc7ea4b 100644 --- a/src/Nazara/Core/Format.cpp +++ b/src/Nazara/Core/Format.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/DDSConstants.cpp b/src/Nazara/Core/Formats/DDSConstants.cpp index 3f8b4d333..68bf78c32 100644 --- a/src/Nazara/Core/Formats/DDSConstants.cpp +++ b/src/Nazara/Core/Formats/DDSConstants.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/DDSConstants.hpp b/src/Nazara/Core/Formats/DDSConstants.hpp index d6395d3d6..92852c4ee 100644 --- a/src/Nazara/Core/Formats/DDSConstants.hpp +++ b/src/Nazara/Core/Formats/DDSConstants.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Cruden BV - 2020 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once @@ -8,7 +8,7 @@ #define NAZARA_CORE_FORMATS_DDSCONSTANTS_HPP #include -#include +#include #include namespace Nz diff --git a/src/Nazara/Core/Formats/DDSLoader.cpp b/src/Nazara/Core/Formats/DDSLoader.cpp index b4464893e..a542b4b30 100644 --- a/src/Nazara/Core/Formats/DDSLoader.cpp +++ b/src/Nazara/Core/Formats/DDSLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) - 2009 Cruden BV // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/DDSLoader.hpp b/src/Nazara/Core/Formats/DDSLoader.hpp index 4569858f0..78d696d54 100644 --- a/src/Nazara/Core/Formats/DDSLoader.hpp +++ b/src/Nazara/Core/Formats/DDSLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/GIFLoader.cpp b/src/Nazara/Core/Formats/GIFLoader.cpp index 7761c0876..9b63ec325 100644 --- a/src/Nazara/Core/Formats/GIFLoader.cpp +++ b/src/Nazara/Core/Formats/GIFLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include // based on https://www.w3.org/Graphics/GIF/spec-gif89a.txt, with help from the following public domain libraries source code: // - https://github.com/lecram/gifdec diff --git a/src/Nazara/Core/Formats/GIFLoader.hpp b/src/Nazara/Core/Formats/GIFLoader.hpp index 3e20d4fbd..ed2d10e24 100644 --- a/src/Nazara/Core/Formats/GIFLoader.hpp +++ b/src/Nazara/Core/Formats/GIFLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/MD2Constants.cpp b/src/Nazara/Core/Formats/MD2Constants.cpp index 6d2b2f838..42725d3d8 100644 --- a/src/Nazara/Core/Formats/MD2Constants.cpp +++ b/src/Nazara/Core/Formats/MD2Constants.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/MD2Constants.hpp b/src/Nazara/Core/Formats/MD2Constants.hpp index 76dc5a80d..b3ae41eb0 100644 --- a/src/Nazara/Core/Formats/MD2Constants.hpp +++ b/src/Nazara/Core/Formats/MD2Constants.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/MD2Loader.cpp b/src/Nazara/Core/Formats/MD2Loader.cpp index 8f9978ceb..a18de0175 100644 --- a/src/Nazara/Core/Formats/MD2Loader.cpp +++ b/src/Nazara/Core/Formats/MD2Loader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/MD2Loader.hpp b/src/Nazara/Core/Formats/MD2Loader.hpp index 2a15284ca..917986216 100644 --- a/src/Nazara/Core/Formats/MD2Loader.hpp +++ b/src/Nazara/Core/Formats/MD2Loader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/MD5AnimLoader.cpp b/src/Nazara/Core/Formats/MD5AnimLoader.cpp index 10befc023..00c3477da 100644 --- a/src/Nazara/Core/Formats/MD5AnimLoader.cpp +++ b/src/Nazara/Core/Formats/MD5AnimLoader.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/MD5AnimLoader.hpp b/src/Nazara/Core/Formats/MD5AnimLoader.hpp index 02f43ea15..cc5416555 100644 --- a/src/Nazara/Core/Formats/MD5AnimLoader.hpp +++ b/src/Nazara/Core/Formats/MD5AnimLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/MD5AnimParser.cpp b/src/Nazara/Core/Formats/MD5AnimParser.cpp index 6c81af069..414ba64ea 100644 --- a/src/Nazara/Core/Formats/MD5AnimParser.cpp +++ b/src/Nazara/Core/Formats/MD5AnimParser.cpp @@ -1,14 +1,15 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include +#include #include #include #include -#include + +#define NAZARA_CORE_STRICT_RESOURCE_PARSING 1 namespace Nz { @@ -520,3 +521,5 @@ namespace Nz Warning(message); } } + +#undef NAZARA_CORE_STRICT_RESOURCE_PARSING diff --git a/src/Nazara/Core/Formats/MD5MeshLoader.cpp b/src/Nazara/Core/Formats/MD5MeshLoader.cpp index 40714e0a0..5eba3360d 100644 --- a/src/Nazara/Core/Formats/MD5MeshLoader.cpp +++ b/src/Nazara/Core/Formats/MD5MeshLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/MD5MeshLoader.hpp b/src/Nazara/Core/Formats/MD5MeshLoader.hpp index 6d68edefb..1a19e76aa 100644 --- a/src/Nazara/Core/Formats/MD5MeshLoader.hpp +++ b/src/Nazara/Core/Formats/MD5MeshLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/MD5MeshParser.cpp b/src/Nazara/Core/Formats/MD5MeshParser.cpp index 2ea383892..487cbb14c 100644 --- a/src/Nazara/Core/Formats/MD5MeshParser.cpp +++ b/src/Nazara/Core/Formats/MD5MeshParser.cpp @@ -1,15 +1,16 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include +#include #include #include #include #include -#include + +#define NAZARA_CORE_STRICT_RESOURCE_PARSING 1 namespace Nz { @@ -460,3 +461,5 @@ namespace Nz Warning(message); } } + +#undef NAZARA_CORE_STRICT_RESOURCE_PARSING diff --git a/src/Nazara/Core/Formats/MTLParser.cpp b/src/Nazara/Core/Formats/MTLParser.cpp index 13d8a32a3..d0e7aefd9 100644 --- a/src/Nazara/Core/Formats/MTLParser.cpp +++ b/src/Nazara/Core/Formats/MTLParser.cpp @@ -1,13 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include +#include #include #include #include -#include + +#define NAZARA_CORE_STRICT_RESOURCE_PARSING 1 namespace Nz { @@ -658,3 +659,5 @@ namespace Nz return true; } } + +#undef NAZARA_CORE_STRICT_RESOURCE_PARSING diff --git a/src/Nazara/Core/Formats/OBJLoader.cpp b/src/Nazara/Core/Formats/OBJLoader.cpp index 6778d6238..4582292c9 100644 --- a/src/Nazara/Core/Formats/OBJLoader.cpp +++ b/src/Nazara/Core/Formats/OBJLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include // TODO: Use only one index buffer / vertex buffer for all submeshes diff --git a/src/Nazara/Core/Formats/OBJLoader.hpp b/src/Nazara/Core/Formats/OBJLoader.hpp index 480e13d5b..46d290ae2 100644 --- a/src/Nazara/Core/Formats/OBJLoader.hpp +++ b/src/Nazara/Core/Formats/OBJLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/OBJParser.cpp b/src/Nazara/Core/Formats/OBJParser.cpp index 02ff7fd2c..f70e1d34a 100644 --- a/src/Nazara/Core/Formats/OBJParser.cpp +++ b/src/Nazara/Core/Formats/OBJParser.cpp @@ -1,9 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include +#include #include #include #include @@ -12,7 +12,8 @@ #include #include #include -#include + +#define NAZARA_CORE_STRICT_RESOURCE_PARSING 1 namespace Nz { @@ -677,3 +678,5 @@ namespace Nz m_outputStream.str({}); } } + +#undef NAZARA_CORE_STRICT_RESOURCE_PARSING diff --git a/src/Nazara/Core/Formats/OBJSaver.cpp b/src/Nazara/Core/Formats/OBJSaver.cpp index 1b60b7644..704eb64cd 100644 --- a/src/Nazara/Core/Formats/OBJSaver.cpp +++ b/src/Nazara/Core/Formats/OBJSaver.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/OBJSaver.hpp b/src/Nazara/Core/Formats/OBJSaver.hpp index 85c98272c..c76bb465f 100644 --- a/src/Nazara/Core/Formats/OBJSaver.hpp +++ b/src/Nazara/Core/Formats/OBJSaver.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/PCXLoader.cpp b/src/Nazara/Core/Formats/PCXLoader.cpp index a564da653..ca0d2a09b 100644 --- a/src/Nazara/Core/Formats/PCXLoader.cpp +++ b/src/Nazara/Core/Formats/PCXLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include // Auteur du loader original : David Henry diff --git a/src/Nazara/Core/Formats/PCXLoader.hpp b/src/Nazara/Core/Formats/PCXLoader.hpp index 23396badf..f7e80f1d9 100644 --- a/src/Nazara/Core/Formats/PCXLoader.hpp +++ b/src/Nazara/Core/Formats/PCXLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/STBLoader.cpp b/src/Nazara/Core/Formats/STBLoader.cpp index 59986a2b5..b2523cd16 100644 --- a/src/Nazara/Core/Formats/STBLoader.cpp +++ b/src/Nazara/Core/Formats/STBLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #define STB_IMAGE_IMPLEMENTATION #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/STBLoader.hpp b/src/Nazara/Core/Formats/STBLoader.hpp index 77c824c03..a633babcd 100644 --- a/src/Nazara/Core/Formats/STBLoader.hpp +++ b/src/Nazara/Core/Formats/STBLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Formats/STBSaver.cpp b/src/Nazara/Core/Formats/STBSaver.cpp index bd0f2d854..aa6ad9fec 100644 --- a/src/Nazara/Core/Formats/STBSaver.cpp +++ b/src/Nazara/Core/Formats/STBSaver.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #define STB_IMAGE_WRITE_IMPLEMENTATION #include -#include namespace Nz { diff --git a/src/Nazara/Core/Formats/STBSaver.hpp b/src/Nazara/Core/Formats/STBSaver.hpp index a359db6f7..7c07d81a0 100644 --- a/src/Nazara/Core/Formats/STBSaver.hpp +++ b/src/Nazara/Core/Formats/STBSaver.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/GuillotineBinPack.cpp b/src/Nazara/Core/GuillotineBinPack.cpp index d9718436b..9e56b0c87 100644 --- a/src/Nazara/Core/GuillotineBinPack.cpp +++ b/src/Nazara/Core/GuillotineBinPack.cpp @@ -1,17 +1,16 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Implémentation originale de Jukka Jylänki (Merci de sa contribution au domaine public) // http://clb.demon.fi/projects/even-more-rectangle-bin-packing // Je n'ai vraiment fait qu'adapter le code au moteur (Avec quelques améliorations), je n'ai aucun mérite sur le code ci-dessous #include -#include +#include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/GuillotineImageAtlas.cpp b/src/Nazara/Core/GuillotineImageAtlas.cpp index bd92d8b9a..f5f85ce8b 100644 --- a/src/Nazara/Core/GuillotineImageAtlas.cpp +++ b/src/Nazara/Core/GuillotineImageAtlas.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include -#include +#include namespace Nz { diff --git a/src/Nazara/Core/HandledObject.cpp b/src/Nazara/Core/HandledObject.cpp index 016809002..1f27aeca1 100644 --- a/src/Nazara/Core/HandledObject.cpp +++ b/src/Nazara/Core/HandledObject.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/HardwareInfo.cpp b/src/Nazara/Core/HardwareInfo.cpp index c6c52c50f..81a326a1b 100644 --- a/src/Nazara/Core/HardwareInfo.cpp +++ b/src/Nazara/Core/HardwareInfo.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -18,7 +18,6 @@ #error Lack of implementation: HardwareInfo #endif -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/CRC32.cpp b/src/Nazara/Core/Hash/CRC32.cpp index 496dac237..b7fdada18 100644 --- a/src/Nazara/Core/Hash/CRC32.cpp +++ b/src/Nazara/Core/Hash/CRC32.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/CRC64.cpp b/src/Nazara/Core/Hash/CRC64.cpp index 94044b303..2f163321f 100644 --- a/src/Nazara/Core/Hash/CRC64.cpp +++ b/src/Nazara/Core/Hash/CRC64.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/Fletcher16.cpp b/src/Nazara/Core/Hash/Fletcher16.cpp index 798e07be2..c8c0f4999 100644 --- a/src/Nazara/Core/Hash/Fletcher16.cpp +++ b/src/Nazara/Core/Hash/Fletcher16.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/MD5.cpp b/src/Nazara/Core/Hash/MD5.cpp index 88870750e..fc359719e 100644 --- a/src/Nazara/Core/Hash/MD5.cpp +++ b/src/Nazara/Core/Hash/MD5.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright (C) 1999, 2000, 2002 Aladdin Enterprises. All rights reserved. @@ -29,7 +29,6 @@ #include #include #include -#include #define T_MASK (static_cast(~0)) #define T1 /* 0xd76aa478 */ (T_MASK ^ 0x28955b87) diff --git a/src/Nazara/Core/Hash/SHA/Internal.cpp b/src/Nazara/Core/Hash/SHA/Internal.cpp index f87070b7d..0c06e7faa 100644 --- a/src/Nazara/Core/Hash/SHA/Internal.cpp +++ b/src/Nazara/Core/Hash/SHA/Internal.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* * FILE: sha2.c @@ -40,7 +40,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/SHA/Internal.hpp b/src/Nazara/Core/Hash/SHA/Internal.hpp index 3ec958e6e..9c3a2b29b 100644 --- a/src/Nazara/Core/Hash/SHA/Internal.hpp +++ b/src/Nazara/Core/Hash/SHA/Internal.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* * FILE: sha2.h diff --git a/src/Nazara/Core/Hash/SHA1.cpp b/src/Nazara/Core/Hash/SHA1.cpp index 9967893bc..b9beeb806 100644 --- a/src/Nazara/Core/Hash/SHA1.cpp +++ b/src/Nazara/Core/Hash/SHA1.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/SHA224.cpp b/src/Nazara/Core/Hash/SHA224.cpp index 1839ba409..0c62ac0de 100644 --- a/src/Nazara/Core/Hash/SHA224.cpp +++ b/src/Nazara/Core/Hash/SHA224.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/SHA256.cpp b/src/Nazara/Core/Hash/SHA256.cpp index 838c37a26..1b94360da 100644 --- a/src/Nazara/Core/Hash/SHA256.cpp +++ b/src/Nazara/Core/Hash/SHA256.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/SHA384.cpp b/src/Nazara/Core/Hash/SHA384.cpp index 2c74c417e..7642d46df 100644 --- a/src/Nazara/Core/Hash/SHA384.cpp +++ b/src/Nazara/Core/Hash/SHA384.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/SHA512.cpp b/src/Nazara/Core/Hash/SHA512.cpp index dcaa4ce18..0ed5ec6c9 100644 --- a/src/Nazara/Core/Hash/SHA512.cpp +++ b/src/Nazara/Core/Hash/SHA512.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Hash/Whirlpool.cpp b/src/Nazara/Core/Hash/Whirlpool.cpp index 0f592b5af..533f1d0d0 100644 --- a/src/Nazara/Core/Hash/Whirlpool.cpp +++ b/src/Nazara/Core/Hash/Whirlpool.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /** * The Whirlpool hashing function. @@ -62,7 +62,6 @@ #include #include -#include #define ONE64 0xFFffffffffffffffULL diff --git a/src/Nazara/Core/Image.cpp b/src/Nazara/Core/Image.cpp index 46541aa0a..f546752c8 100644 --- a/src/Nazara/Core/Image.cpp +++ b/src/Nazara/Core/Image.cpp @@ -1,17 +1,16 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include #include #include +#include #include #include #include #include -#include ///TODO: Rajouter des warnings (Formats compressés avec les méthodes Copy/Update, tests taille dans Copy) ///TODO: Rendre les méthodes exception-safe (faire usage du RAII) @@ -80,29 +79,14 @@ namespace Nz bool Image::Convert(PixelFormat newFormat) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (!PixelFormatInfo::IsValid(newFormat)) - { - NazaraError("invalid pixel format"); - return false; - } - - if (!PixelFormatInfo::IsConversionSupported(m_sharedImage->format, newFormat)) - { - NazaraErrorFmt("conversion from {0} to {1} is not supported", PixelFormatInfo::GetName(m_sharedImage->format), PixelFormatInfo::GetName(newFormat)); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(PixelFormatInfo::IsValid(newFormat), "invalid pixel format"); if (m_sharedImage->format == newFormat) return true; + NazaraAssertFmt(PixelFormatInfo::IsConversionSupported(m_sharedImage->format, newFormat), "conversion from {0} to {1} is not supported", PixelFormatInfo::GetName(m_sharedImage->format), PixelFormatInfo::GetName(newFormat)); + SharedImage::PixelContainer levels(m_sharedImage->levels.size()); unsigned int width = m_sharedImage->width; @@ -158,13 +142,7 @@ namespace Nz NazaraAssert(source.GetFormat() == m_sharedImage->format, "image formats don't match"); const UInt8* srcPtr = source.GetConstPixels(srcBox.x, srcBox.y, srcBox.z); - #if NAZARA_CORE_SAFE - if (!srcPtr) - { - NazaraError("failed to access pixels"); - return; - } - #endif + NazaraAssert(srcPtr, "failed to access pixels"); UInt8 bpp = PixelFormatInfo::GetBytesPerPixel(m_sharedImage->format); UInt8* dstPtr = GetPixelPtr(m_sharedImage->levels[0].get(), bpp, dstPos.x, dstPos.y, dstPos.z, m_sharedImage->width, m_sharedImage->height); @@ -176,54 +154,25 @@ namespace Nz { Destroy(); - #if NAZARA_CORE_SAFE - if (!PixelFormatInfo::IsValid(format)) - { - NazaraError("invalid pixel format"); - return false; - } - - if (width == 0) - { - NazaraError("width must be at least 1 (0)"); - return false; - } - - if (height == 0) - { - NazaraError("height must be at least 1 (0)"); - return false; - } - - if (depth == 0) - { - NazaraError("depth must be at least 1 (0)"); - return false; - } + NazaraAssert(PixelFormatInfo::IsValid(format), "invalid pixel format"); + NazaraAssert(width > 0, "width must be greater than zero"); + NazaraAssert(height > 0, "height must be greater than zero"); + NazaraAssert(depth > 0, "depth must be greater than zero"); switch (type) { case ImageType::E1D: - if (height > 1) - { - NazaraError("1D textures must be 1 tall"); - return false; - } - - if (depth > 1) - { - NazaraError("1D textures must be 1 deep"); - return false; - } + NazaraAssertFmt(height == 1, "1D textures height must be 1 (got {0})", height); + NazaraAssertFmt(depth == 1, "1D textures height must be 1 (got {0})", depth); break; case ImageType::E1D_Array: + NazaraAssertFmt(height == 1, "2D texture arrays height must be 1 (got {0})", height); + NazaraAssertFmt(depth == 1, "2D texture arrays depth must be 1 (got {0})", depth); + break; + case ImageType::E2D: - if (depth > 1) - { - NazaraError("2D textures must be 1 deep"); - return false; - } + NazaraAssertFmt(depth == 1, "2D textures depth must be 1 (got {0})", depth); break; case ImageType::E2D_Array: @@ -231,24 +180,10 @@ namespace Nz break; case ImageType::Cubemap: - if (depth > 1) - { - NazaraError("cubemaps must be 1 deep"); - return false; - } - - if (width != height) - { - NazaraError("cubemaps must have square dimensions"); - return false; - } + NazaraAssertFmt(depth == 1, "cubemaps depth must be 1 (got {0})", depth); + NazaraAssertFmt(width == height, "cubemap depth must be greater than 1 ({0})", depth); break; - - default: - NazaraInternalError("Image type not handled"); - return false; } - #endif levelCount = std::min(levelCount, GetMaxLevel(type, width, height, depth)); @@ -295,20 +230,8 @@ namespace Nz bool Image::Fill(const Color& color) { ///FIXME: Pourquoi cette méthode alloue une nouvelle image plutôt que de remplir l'existante ? - - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot access pixels from compressed image"); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); UInt8 bpp = PixelFormatInfo::GetBytesPerPixel(m_sharedImage->format); StackArray colorBuffer = NazaraStackArrayNoInit(UInt8, bpp); @@ -361,31 +284,12 @@ namespace Nz bool Image::Fill(const Color& color, const Boxui& box) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot access pixels from compressed image"); - return false; - } - - if (!box.IsValid()) - { - NazaraError("invalid rectangle"); - return false; - } - - if (box.x+box.width > m_sharedImage->width || box.y+box.height > m_sharedImage->height || box.z+box.depth > m_sharedImage->depth) - { - NazaraError("box dimensions are out of bounds"); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); + NazaraAssert(box.IsValid(), "invalid box"); + NazaraAssertFmt(box.x + box.width <= m_sharedImage->width, "box dimensions are out of bounds (x range: [{0};{1}[ exceeds image width {2})", box.x, box.x + box.width, m_sharedImage->width); + NazaraAssertFmt(box.y + box.height <= m_sharedImage->height, "box dimensions are out of bounds (y range: [{0};{1}[ exceeds image height {2})", box.y, box.y + box.height, m_sharedImage->height); + NazaraAssertFmt(box.z + box.depth <= m_sharedImage->depth, "box dimensions are out of bounds (z range: [{0};{1}[ exceeds image depth {2})", box.z, box.z + box.depth, m_sharedImage->depth); EnsureOwnership(); @@ -427,38 +331,12 @@ namespace Nz bool Image::Fill(const Color& color, const Rectui& rect, unsigned int z) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot access pixels from compressed image"); - return false; - } - - if (!rect.IsValid()) - { - NazaraError("invalid rectangle"); - return false; - } - - if (rect.x + rect.width > m_sharedImage->width || rect.y + rect.height > m_sharedImage->height) - { - NazaraError("rectangle dimensions are out of bounds"); - return false; - } - - unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : m_sharedImage->depth; - if (z >= depth) - { - NazaraErrorFmt("z value exceeds depth ({0} >= {1})", z, depth); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); + NazaraAssert(rect.IsValid(), "invalid rect"); + NazaraAssertFmt(rect.x + rect.width <= m_sharedImage->width, "rect dimensions are out of bounds (x range: [{0};{1}[ exceeds image width {2})", rect.x, rect.x + rect.width, m_sharedImage->width); + NazaraAssertFmt(rect.y + rect.height <= m_sharedImage->height, "rect dimensions are out of bounds (y range: [{0};{1}[ exceeds image height {2})", rect.y, rect.y + rect.height, m_sharedImage->height); + NazaraAssertFmt(z < ((m_sharedImage->type == ImageType::Cubemap) ? 6 : m_sharedImage->depth), "z is out of range ({0} >= {1})", z, (m_sharedImage->type == ImageType::Cubemap) ? 6 : m_sharedImage->depth); EnsureOwnership(); @@ -493,13 +371,7 @@ namespace Nz bool Image::FlipHorizontally() { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); EnsureOwnership(); @@ -530,19 +402,8 @@ namespace Nz bool Image::FlipVertically() { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot flip compressed image"); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); EnsureOwnership(); @@ -573,57 +434,25 @@ namespace Nz const UInt8* Image::GetConstPixels(unsigned int x, unsigned int y, unsigned int z, UInt8 level) const { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return nullptr; - } - - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return nullptr; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); unsigned int width = GetImageLevelSize(m_sharedImage->width, level); - #if NAZARA_CORE_SAFE - if (x >= width) - { - NazaraErrorFmt("x value exceeds width ({0} >= {1})", x, width); - return nullptr; - } - #endif + NazaraAssertFmt(x < width, "x value exceeds width ({0} >= {1})", x, width); unsigned int height = GetImageLevelSize(m_sharedImage->height, level); - #if NAZARA_CORE_SAFE - if (y >= height) - { - NazaraErrorFmt("y value exceeds height ({0} >= {1})", y, height); - return nullptr; - } + NazaraAssertFmt(y < height, "y value exceeds height ({0} >= {1})", y, height); unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : GetImageLevelSize(m_sharedImage->depth, level); - if (z >= depth) - { - NazaraErrorFmt("z value exceeds depth ({0} >= {1})", z, depth); - return nullptr; - } - #endif + NazaraUnused(depth); + NazaraAssertFmt(z < depth, "z value exceeds depth ({0} >= {1})", z, depth); return GetPixelPtr(m_sharedImage->levels[level].get(), PixelFormatInfo::GetBytesPerPixel(m_sharedImage->format), x, y, z, width, height); } unsigned int Image::GetDepth(UInt8 level) const { - #if NAZARA_CORE_SAFE - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return 0; - } - #endif + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); return GetImageLevelSize(m_sharedImage->depth, level); } @@ -635,13 +464,7 @@ namespace Nz unsigned int Image::GetHeight(UInt8 level) const { - #if NAZARA_CORE_SAFE - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return 0; - } - #endif + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); return GetImageLevelSize(m_sharedImage->height, level); } @@ -690,38 +513,14 @@ namespace Nz Color Image::GetPixelColor(unsigned int x, unsigned int y, unsigned int z) const { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return Color(); - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot access pixels from compressed image"); - return Color(); - } - - if (x >= m_sharedImage->width) - { - NazaraErrorFmt("x value exceeds width ({0} >= {1})", x, m_sharedImage->width); - return Color(); - } - - if (y >= m_sharedImage->height) - { - NazaraErrorFmt("y value exceeds height ({0} >= {1})", y, m_sharedImage->height); - return Color(); - } + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); + NazaraAssertFmt(x < m_sharedImage->width, "x value exceeds width ({0} >= {1})", x, m_sharedImage->width); + NazaraAssertFmt(y < m_sharedImage->height, "y value exceeds height ({0} >= {1})", y, m_sharedImage->height); unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : m_sharedImage->depth; - if (z >= depth) - { - NazaraErrorFmt("z value exceeds depth ({0} >= {1})", z, depth); - return Color(); - } - #endif + NazaraUnused(depth); + NazaraAssertFmt(z < depth, "z value exceeds depth ({0} >= {1})", z, depth); const UInt8* pixel = GetPixelPtr(m_sharedImage->levels[0].get(), PixelFormatInfo::GetBytesPerPixel(m_sharedImage->format), x, y, z, m_sharedImage->width, m_sharedImage->height); @@ -734,50 +533,20 @@ namespace Nz UInt8* Image::GetPixels(unsigned int x, unsigned int y, unsigned int z, UInt8 level) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return nullptr; - } - - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return nullptr; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); unsigned int width = GetImageLevelSize(m_sharedImage->width, level); - #if NAZARA_CORE_SAFE - if (x >= width) - { - NazaraErrorFmt("x value exceeds width ({0} >= {1})", x, width); - return nullptr; - } - #endif + NazaraAssertFmt(x < width, "x value exceeds width ({0} >= {1})", x, width); unsigned int height = GetImageLevelSize(m_sharedImage->height, level); - #if NAZARA_CORE_SAFE - if (y >= height) - { - NazaraErrorFmt("y value exceeds height ({0} >= {1})", y, height); - return nullptr; - } + NazaraAssertFmt(y < height, "y value exceeds height ({0} >= {1})", y, height); unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : GetImageLevelSize(m_sharedImage->depth, level); - if (z >= depth) - { - NazaraErrorFmt("z value exceeds depth ({0} >= {1})", z, depth); - return nullptr; - } + NazaraUnused(depth); + NazaraAssertFmt(z < depth, "z value exceeds depth ({0} >= {1})", z, depth); - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return nullptr; - } - #endif + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); EnsureOwnership(); @@ -786,13 +555,7 @@ namespace Nz Vector3ui Image::GetSize(UInt8 level) const { - #if NAZARA_CORE_SAFE - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return Vector3ui::Zero(); - } - #endif + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); return Vector3ui(GetImageLevelSize(m_sharedImage->width, level), GetImageLevelSize(m_sharedImage->height, level), GetImageLevelSize(m_sharedImage->depth, level)); } @@ -804,13 +567,7 @@ namespace Nz unsigned int Image::GetWidth(UInt8 level) const { - #if NAZARA_CORE_SAFE - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return 0; - } - #endif + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); return GetImageLevelSize(m_sharedImage->width, level); } @@ -873,30 +630,12 @@ namespace Nz std::shared_ptr Image::LoadFromImage(const Image& image, const Vector2ui& atlasSize) { NazaraAssert(image.IsValid(), "invalid image"); - - #if NAZARA_CORE_SAFE - if (atlasSize.x == 0) - { - NazaraError("atlas width must be over zero"); - return nullptr; - } - - if (atlasSize.y == 0) - { - NazaraError("atlas height must be over zero"); - return nullptr; - } - #endif + NazaraAssert(atlasSize.x > 0, "atlas width must be over zero"); + NazaraAssert(atlasSize.x > 0, "atlas height must be over zero"); ImageType type = image.GetType(); - #if NAZARA_CORE_SAFE - if (type != ImageType::E1D && type != ImageType::E2D) - { - NazaraErrorFmt("image type not handled ({0:#x})", UnderlyingCast(type)); - return nullptr; - } - #endif + NazaraAssertFmt(type == ImageType::E1D || type == ImageType::E2D, "image type not handled ({0:#x})", UnderlyingCast(type)); Vector2ui imageSize(image.GetWidth(), image.GetHeight()); @@ -970,15 +709,7 @@ namespace Nz std::shared_ptr Image::LoadFromImage(const Image& image, const CubemapParams& params) { NazaraAssert(image.IsValid(), "invalid image"); - - #if NAZARA_CORE_SAFE - ImageType type = image.GetType(); - if (type != ImageType::E2D) - { - NazaraErrorFmt("image type not handled ({0:#x})", UnderlyingCast(type)); - return nullptr; - } - #endif + NazaraAssertFmt(image.GetType() == ImageType::E2D, "image type not handled ({0:#x})", UnderlyingCast(image.GetType())); unsigned int width = image.GetWidth(); unsigned int height = image.GetHeight(); @@ -1156,19 +887,8 @@ namespace Nz void Image::SetLevelCount(UInt8 levelCount) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("Image must be valid"); - return; - } - - if (levelCount == 0) - { - NazaraError("Level count must be positive"); - return; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssertFmt(levelCount > 0, "level count must be over zero ({0})", levelCount); levelCount = std::min(levelCount, GetMaxLevel()); @@ -1187,38 +907,13 @@ namespace Nz bool Image::SetPixelColor(const Color& color, unsigned int x, unsigned int y, unsigned int z) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (PixelFormatInfo::IsCompressed(m_sharedImage->format)) - { - NazaraError("cannot access pixels from compressed image"); - return false; - } - - if (x >= m_sharedImage->width) - { - NazaraErrorFmt("x value exceeds width ({0} >= {1})", x, m_sharedImage->width); - return false; - } - - if (y >= m_sharedImage->height) - { - NazaraErrorFmt("y value exceeds height ({0} >= {1})", y, m_sharedImage->height); - return false; - } - + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(!PixelFormatInfo::IsCompressed(m_sharedImage->format), "cannot access pixels from compressed image"); + NazaraAssertFmt(x < m_sharedImage->width, "x value exceeds width ({0} >= {1})", x, m_sharedImage->width); + NazaraAssertFmt(y < m_sharedImage->height, "y value exceeds height ({0} >= {1})", y, m_sharedImage->height); unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : m_sharedImage->depth; - if (z >= depth) - { - NazaraErrorFmt("z value exceeds depth ({0} >= {1})", z, depth); - return false; - } - #endif + NazaraUnused(depth); + NazaraAssertFmt(z < depth, "z value exceeds depth ({0} >= {1})", z, depth); UInt8* pixel = GetPixelPtr(m_sharedImage->levels[0].get(), PixelFormatInfo::GetBytesPerPixel(m_sharedImage->format), x, y, z, m_sharedImage->width, m_sharedImage->height); @@ -1233,44 +928,18 @@ namespace Nz bool Image::Update(const void* pixels, const Boxui& box, unsigned int srcWidth, unsigned int srcHeight, UInt8 level) { - #if NAZARA_CORE_SAFE - if (m_sharedImage == &emptyImage) - { - NazaraError("image must be valid"); - return false; - } - - if (!pixels) - { - NazaraError("invalid pixel source"); - return false; - } - - if (level >= m_sharedImage->levels.size()) - { - NazaraErrorFmt("level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); - return false; - } - #endif + NazaraAssert(IsValid(), "invalid image"); + NazaraAssert(pixels, "invalid pixel source"); + NazaraAssertFmt(level < m_sharedImage->levels.size(), "level out of bounds ({0} >= {1})", level, m_sharedImage->levels.size()); unsigned int width = GetImageLevelSize(m_sharedImage->width, level); unsigned int height = GetImageLevelSize(m_sharedImage->height, level); - - #if NAZARA_CORE_SAFE - if (!box.IsValid()) - { - NazaraError("invalid box"); - return false; - } - + NazaraAssert(box.IsValid(), "invalid box"); + NazaraAssertFmt(box.x + box.width <= width, "box dimensions are out of bounds (x range: [{0};{1}[ exceeds image width {2})", box.x, box.x + box.width, width); + NazaraAssertFmt(box.y + box.height <= height, "box dimensions are out of bounds (y range: [{0};{1}[ exceeds image height {2})", box.y, box.y + box.height, height); unsigned int depth = (m_sharedImage->type == ImageType::Cubemap) ? 6 : GetImageLevelSize(m_sharedImage->depth, level); - if (box.x+box.width > width || box.y+box.height > height || box.z+box.depth > depth || - (m_sharedImage->type == ImageType::Cubemap && box.depth > 1)) // We don't allow to update more than one face of the cubemap at once - { - NazaraError("box dimensions are out of bounds"); - return false; - } - #endif + NazaraUnused(depth); + NazaraAssertFmt(box.z + box.depth <= depth, "box dimensions are out of bounds (z range: [{0};{1}[ exceeds image depth {2})", box.z, box.z + box.depth, depth); EnsureOwnership(); @@ -1298,14 +967,9 @@ namespace Nz void Image::Copy(UInt8* destination, const UInt8* source, PixelFormat format, unsigned int width, unsigned int height, unsigned int depth, unsigned int dstWidth, unsigned int dstHeight, unsigned int srcWidth, unsigned int srcHeight) { - #if NAZARA_CORE_SAFE - if (width == 0) - NazaraError("width must be greater than zero"); - if (height == 0) - NazaraError("height must be greater than zero"); - if (depth == 0) - NazaraError("depth must be greater than zero"); - #endif + NazaraAssert(width > 0, "width must be greater than zero"); + NazaraAssert(height > 0, "height must be greater than zero"); + NazaraAssert(depth > 0, "depth must be greater than zero"); if (dstWidth == 0) dstWidth = width; diff --git a/src/Nazara/Core/ImageStream.cpp b/src/Nazara/Core/ImageStream.cpp index 44123f57d..eb4d31f4d 100644 --- a/src/Nazara/Core/ImageStream.cpp +++ b/src/Nazara/Core/ImageStream.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/IndexBuffer.cpp b/src/Nazara/Core/IndexBuffer.cpp index 563b2519e..0bdb168e9 100644 --- a/src/Nazara/Core/IndexBuffer.cpp +++ b/src/Nazara/Core/IndexBuffer.cpp @@ -1,15 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include #include #include +#include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/IndexMapper.cpp b/src/Nazara/Core/IndexMapper.cpp index 52b77fee3..967b6b2e4 100644 --- a/src/Nazara/Core/IndexMapper.cpp +++ b/src/Nazara/Core/IndexMapper.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Joint.cpp b/src/Nazara/Core/Joint.cpp index 52f85d069..c0694158a 100644 --- a/src/Nazara/Core/Joint.cpp +++ b/src/Nazara/Core/Joint.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Log.cpp b/src/Nazara/Core/Log.cpp index 1305924c1..ffaa7b029 100644 --- a/src/Nazara/Core/Log.cpp +++ b/src/Nazara/Core/Log.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/MemoryStream.cpp b/src/Nazara/Core/MemoryStream.cpp index 2fd0a3703..59cc7c3b9 100644 --- a/src/Nazara/Core/MemoryStream.cpp +++ b/src/Nazara/Core/MemoryStream.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/MemoryView.cpp b/src/Nazara/Core/MemoryView.cpp index e92da68ab..ddcba5351 100644 --- a/src/Nazara/Core/MemoryView.cpp +++ b/src/Nazara/Core/MemoryView.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Mesh.cpp b/src/Nazara/Core/Mesh.cpp index 21376feac..e00fbb0c3 100644 --- a/src/Nazara/Core/Mesh.cpp +++ b/src/Nazara/Core/Mesh.cpp @@ -1,14 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include #include #include #include +#include #include #include #include @@ -19,7 +19,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Node.cpp b/src/Nazara/Core/Node.cpp index 86874a93b..69d6c6f5a 100644 --- a/src/Nazara/Core/Node.cpp +++ b/src/Nazara/Core/Node.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { @@ -25,7 +24,7 @@ namespace Nz void Node::SetParent(const Node* node, bool keepDerived, Invalidation invalidation) { - #if NAZARA_CORE_SAFE + #ifdef NAZARA_DEBUG // Check the node isn't its own parent const Node* parentNode = node; while (parentNode) @@ -101,7 +100,7 @@ namespace Nz m_parent->EnsureGlobalsUpdate(); if (m_doesInheritPosition) - m_globalPosition = m_parent->m_globalRotation*(m_parent->m_globalScale * m_position) + m_parent->m_globalPosition; + m_globalPosition = m_parent->m_globalRotation * (m_parent->m_globalScale * m_position) + m_parent->m_globalPosition; else m_globalPosition = m_position; diff --git a/src/Nazara/Core/ParameterFile.cpp b/src/Nazara/Core/ParameterFile.cpp index c5c4b3ad6..9e0f2010a 100644 --- a/src/Nazara/Core/ParameterFile.cpp +++ b/src/Nazara/Core/ParameterFile.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/ParameterList.cpp b/src/Nazara/Core/ParameterList.cpp index 2ec5ed58c..10ebb1612 100644 --- a/src/Nazara/Core/ParameterList.cpp +++ b/src/Nazara/Core/ParameterList.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/PixelFormat.cpp b/src/Nazara/Core/PixelFormat.cpp index 7a5f51bca..9cfe52dd2 100644 --- a/src/Nazara/Core/PixelFormat.cpp +++ b/src/Nazara/Core/PixelFormat.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { @@ -1411,15 +1410,8 @@ namespace Nz flipFunction(width, height, depth, reinterpret_cast(src), reinterpret_cast(dst)); else { - // Flipping générique - - #if NAZARA_CORE_SAFE - if (IsCompressed(format)) - { - NazaraError("no function to flip compressed format"); - return false; - } - #endif + // Generic flipping + NazaraAssert(!IsCompressed(format), "not able to flip compressed formats"); UInt8 bpp = GetBytesPerPixel(format); unsigned int lineStride = width*bpp; diff --git a/src/Nazara/Core/PluginInterface.cpp b/src/Nazara/Core/PluginInterface.cpp index 22ac866b9..ddd4b467a 100644 --- a/src/Nazara/Core/PluginInterface.cpp +++ b/src/Nazara/Core/PluginInterface.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/PluginLoader.cpp b/src/Nazara/Core/PluginLoader.cpp index fa00bb8e7..b5e2a5d4c 100644 --- a/src/Nazara/Core/PluginLoader.cpp +++ b/src/Nazara/Core/PluginLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/PoolByteStream.cpp b/src/Nazara/Core/PoolByteStream.cpp index b8c49764d..5d846266a 100644 --- a/src/Nazara/Core/PoolByteStream.cpp +++ b/src/Nazara/Core/PoolByteStream.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Posix/DynLibImpl.cpp b/src/Nazara/Core/Posix/DynLibImpl.cpp index 6423a29b6..adf4786e9 100644 --- a/src/Nazara/Core/Posix/DynLibImpl.cpp +++ b/src/Nazara/Core/Posix/DynLibImpl.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/DynLibImpl.hpp b/src/Nazara/Core/Posix/DynLibImpl.hpp index 05e23a657..3dd2bb45f 100644 --- a/src/Nazara/Core/Posix/DynLibImpl.hpp +++ b/src/Nazara/Core/Posix/DynLibImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/FileImpl.cpp b/src/Nazara/Core/Posix/FileImpl.cpp index 6f3641355..d1fe6c358 100644 --- a/src/Nazara/Core/Posix/FileImpl.cpp +++ b/src/Nazara/Core/Posix/FileImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #include #include -#include #ifdef NAZARA_PLATFORM_BSD #define fstat64 fstat @@ -137,7 +136,7 @@ namespace Nz::PlatformImpl NazaraErrorFmt("failed to read from file: {0}", Error::GetLastSystemError()); return 0; } - + m_endOfFile = (static_cast(read) != size); m_endOfFileUpdated = true; diff --git a/src/Nazara/Core/Posix/FileImpl.hpp b/src/Nazara/Core/Posix/FileImpl.hpp index 028bc051a..2c7111f45 100644 --- a/src/Nazara/Core/Posix/FileImpl.hpp +++ b/src/Nazara/Core/Posix/FileImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/HardwareInfoImpl.cpp b/src/Nazara/Core/Posix/HardwareInfoImpl.cpp index 710938872..0ded91846 100644 --- a/src/Nazara/Core/Posix/HardwareInfoImpl.cpp +++ b/src/Nazara/Core/Posix/HardwareInfoImpl.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/HardwareInfoImpl.hpp b/src/Nazara/Core/Posix/HardwareInfoImpl.hpp index b37f62e27..1b5121e0d 100644 --- a/src/Nazara/Core/Posix/HardwareInfoImpl.hpp +++ b/src/Nazara/Core/Posix/HardwareInfoImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Alexandre Janniaux // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/PosixUtils.cpp b/src/Nazara/Core/Posix/PosixUtils.cpp index 8b67d1bf5..c5a0c9c79 100644 --- a/src/Nazara/Core/Posix/PosixUtils.cpp +++ b/src/Nazara/Core/Posix/PosixUtils.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/PosixUtils.hpp b/src/Nazara/Core/Posix/PosixUtils.hpp index ab9d91251..83b618fa2 100644 --- a/src/Nazara/Core/Posix/PosixUtils.hpp +++ b/src/Nazara/Core/Posix/PosixUtils.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/PosixUtils.inl b/src/Nazara/Core/Posix/PosixUtils.inl index 443dbee4f..cf3efe477 100644 --- a/src/Nazara/Core/Posix/PosixUtils.inl +++ b/src/Nazara/Core/Posix/PosixUtils.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/ProcessImpl.cpp b/src/Nazara/Core/Posix/ProcessImpl.cpp index 7c7707d25..e87d1166a 100644 --- a/src/Nazara/Core/Posix/ProcessImpl.cpp +++ b/src/Nazara/Core/Posix/ProcessImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/ProcessImpl.hpp b/src/Nazara/Core/Posix/ProcessImpl.hpp index fb07d882a..6d6f78bce 100644 --- a/src/Nazara/Core/Posix/ProcessImpl.hpp +++ b/src/Nazara/Core/Posix/ProcessImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/ThreadImpl.cpp b/src/Nazara/Core/Posix/ThreadImpl.cpp index 0e8ab4556..58b0a61ec 100644 --- a/src/Nazara/Core/Posix/ThreadImpl.cpp +++ b/src/Nazara/Core/Posix/ThreadImpl.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include // https://stackoverflow.com/questions/2369738/how-to-set-the-name-of-a-thread-in-linux-pthreads diff --git a/src/Nazara/Core/Posix/ThreadImpl.hpp b/src/Nazara/Core/Posix/ThreadImpl.hpp index 1d63b7616..b3b52c108 100644 --- a/src/Nazara/Core/Posix/ThreadImpl.hpp +++ b/src/Nazara/Core/Posix/ThreadImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Posix/TimeImpl.cpp b/src/Nazara/Core/Posix/TimeImpl.cpp index f76249773..60130495f 100644 --- a/src/Nazara/Core/Posix/TimeImpl.cpp +++ b/src/Nazara/Core/Posix/TimeImpl.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Posix/TimeImpl.hpp b/src/Nazara/Core/Posix/TimeImpl.hpp index 8f80b7fa6..7cf848ac6 100644 --- a/src/Nazara/Core/Posix/TimeImpl.hpp +++ b/src/Nazara/Core/Posix/TimeImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Process.cpp b/src/Nazara/Core/Process.cpp index bb0d2a89c..0bc42e862 100644 --- a/src/Nazara/Core/Process.cpp +++ b/src/Nazara/Core/Process.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include @@ -12,7 +12,6 @@ #error OS not handled #endif -#include namespace Nz { diff --git a/src/Nazara/Core/RefCounted.cpp b/src/Nazara/Core/RefCounted.cpp index a61f51e71..80c345cb3 100644 --- a/src/Nazara/Core/RefCounted.cpp +++ b/src/Nazara/Core/RefCounted.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include -#include +#include namespace Nz { @@ -29,13 +28,11 @@ namespace Nz /*! * \brief Destructs the object - * - * \remark Produces a NazaraWarning if still referenced with NAZARA_CORE_SAFE defined */ RefCounted::~RefCounted() { - #if NAZARA_CORE_SAFE + #ifdef NAZARA_DEBUG if (m_referenceCount > 0) NazaraWarningFmt("Resource destroyed while still referenced {0} time(s)", m_referenceCount); #endif @@ -73,19 +70,11 @@ namespace Nz /*! * \brief Removes a reference to the object * \return true if object is deleted because no more referenced - * - * \remark Produces a NazaraError if counter is already 0 with NAZARA_CORE_SAFE defined */ bool RefCounted::RemoveReference() const { - #if NAZARA_CORE_SAFE - if (m_referenceCount == 0) - { - NazaraError("impossible to remove reference (Ref. counter is already 0)"); - return false; - } - #endif + NazaraAssert(m_referenceCount > 0, "impossible to remove reference (Ref. counter is already 0)"); if (--m_referenceCount == 0 && !m_persistent) { diff --git a/src/Nazara/Core/Resource.cpp b/src/Nazara/Core/Resource.cpp index f1899aff3..b03394ddd 100644 --- a/src/Nazara/Core/Resource.cpp +++ b/src/Nazara/Core/Resource.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/ResourceParameters.cpp b/src/Nazara/Core/ResourceParameters.cpp index 95cb4e104..433fc92e7 100644 --- a/src/Nazara/Core/ResourceParameters.cpp +++ b/src/Nazara/Core/ResourceParameters.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Serialization.cpp b/src/Nazara/Core/Serialization.cpp index 4cf641583..6462ce0d2 100644 --- a/src/Nazara/Core/Serialization.cpp +++ b/src/Nazara/Core/Serialization.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/SignalHandlerAppComponent.cpp b/src/Nazara/Core/SignalHandlerAppComponent.cpp index 23cf24d25..5e6bd611d 100644 --- a/src/Nazara/Core/SignalHandlerAppComponent.cpp +++ b/src/Nazara/Core/SignalHandlerAppComponent.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/Core/SkeletalMesh.cpp b/src/Nazara/Core/SkeletalMesh.cpp index 9137ce427..b6517bad9 100644 --- a/src/Nazara/Core/SkeletalMesh.cpp +++ b/src/Nazara/Core/SkeletalMesh.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include -#include +#include namespace Nz { diff --git a/src/Nazara/Core/Skeleton.cpp b/src/Nazara/Core/Skeleton.cpp index 4dfc43825..1a2483abd 100644 --- a/src/Nazara/Core/Skeleton.cpp +++ b/src/Nazara/Core/Skeleton.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/SoftwareBuffer.cpp b/src/Nazara/Core/SoftwareBuffer.cpp index 97d5763f3..fad4ac138 100644 --- a/src/Nazara/Core/SoftwareBuffer.cpp +++ b/src/Nazara/Core/SoftwareBuffer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/State.cpp b/src/Nazara/Core/State.cpp index bca34ccc7..7fee6068c 100644 --- a/src/Nazara/Core/State.cpp +++ b/src/Nazara/Core/State.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/StaticMesh.cpp b/src/Nazara/Core/StaticMesh.cpp index a0a28b32c..f916b6ea3 100644 --- a/src/Nazara/Core/StaticMesh.cpp +++ b/src/Nazara/Core/StaticMesh.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/StdLogger.cpp b/src/Nazara/Core/StdLogger.cpp index 2412ff520..696843436 100644 --- a/src/Nazara/Core/StdLogger.cpp +++ b/src/Nazara/Core/StdLogger.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Stream.cpp b/src/Nazara/Core/Stream.cpp index 640bdb420..8a4fcc0f0 100644 --- a/src/Nazara/Core/Stream.cpp +++ b/src/Nazara/Core/Stream.cpp @@ -1,15 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include #include -#include +#include namespace Nz { @@ -295,7 +294,9 @@ namespace Nz } } - std::array content; + constexpr std::size_t BufferSize = Stream::DefaultBufferSize; + + std::unique_ptr buffer = std::make_unique(BufferSize); // Save and restore cursor position after the call std::size_t cursorPos = stream.GetCursorPos(); @@ -305,11 +306,11 @@ namespace Nz while (!stream.EndOfStream()) { - std::size_t readSize = stream.Read(&content[0], content.size()); + std::size_t readSize = stream.Read(&buffer[0], BufferSize); if (readSize > 0) - hash.Append(&content[0], readSize); + hash.Append(&buffer[0], readSize); - if (readSize != content.size()) + if (readSize != BufferSize) { if (!stream.EndOfStream()) { diff --git a/src/Nazara/Core/StringExt.cpp b/src/Nazara/Core/StringExt.cpp index bf88ca353..da20b9ac6 100644 --- a/src/Nazara/Core/StringExt.cpp +++ b/src/Nazara/Core/StringExt.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/SubMesh.cpp b/src/Nazara/Core/SubMesh.cpp index bc088dd81..9bade83d1 100644 --- a/src/Nazara/Core/SubMesh.cpp +++ b/src/Nazara/Core/SubMesh.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include +#include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Systems/LifetimeSystem.cpp b/src/Nazara/Core/Systems/LifetimeSystem.cpp index 9e341dc1b..881f84677 100644 --- a/src/Nazara/Core/Systems/LifetimeSystem.cpp +++ b/src/Nazara/Core/Systems/LifetimeSystem.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Systems/SkeletonSystem.cpp b/src/Nazara/Core/Systems/SkeletonSystem.cpp index 4c5250d90..3d560a1b2 100644 --- a/src/Nazara/Core/Systems/SkeletonSystem.cpp +++ b/src/Nazara/Core/Systems/SkeletonSystem.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Systems/VelocitySystem.cpp b/src/Nazara/Core/Systems/VelocitySystem.cpp index b7513b05a..af0ef26f6 100644 --- a/src/Nazara/Core/Systems/VelocitySystem.cpp +++ b/src/Nazara/Core/Systems/VelocitySystem.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/TaskScheduler.cpp b/src/Nazara/Core/TaskScheduler.cpp index 87df7af77..a1f75dc7d 100644 --- a/src/Nazara/Core/TaskScheduler.cpp +++ b/src/Nazara/Core/TaskScheduler.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/ThreadExt.cpp b/src/Nazara/Core/ThreadExt.cpp index 72467d7c1..d642b98b1 100644 --- a/src/Nazara/Core/ThreadExt.cpp +++ b/src/Nazara/Core/ThreadExt.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include @@ -12,7 +12,6 @@ #error OS not handled #endif -#include namespace Nz { diff --git a/src/Nazara/Core/Time.cpp b/src/Nazara/Core/Time.cpp index 1e526282a..ecd42a989 100644 --- a/src/Nazara/Core/Time.cpp +++ b/src/Nazara/Core/Time.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -16,7 +16,6 @@ #error OS not handled #endif -#include namespace Nz { diff --git a/src/Nazara/Core/TriangleIterator.cpp b/src/Nazara/Core/TriangleIterator.cpp index ca401c2ff..bd30e7e47 100644 --- a/src/Nazara/Core/TriangleIterator.cpp +++ b/src/Nazara/Core/TriangleIterator.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Unicode.cpp b/src/Nazara/Core/Unicode.cpp index 8c9080e32..08cf3d2c4 100644 --- a/src/Nazara/Core/Unicode.cpp +++ b/src/Nazara/Core/Unicode.cpp @@ -1,14 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include +#include #include #include -#include -#if NAZARA_CORE_INCLUDE_UNICODEDATA +#ifdef NAZARA_CORE_EMBED_UNICODEDATA + namespace Nz { struct UnicodeCharacter diff --git a/src/Nazara/Core/UniformBuffer.cpp b/src/Nazara/Core/UniformBuffer.cpp index 7da2d9a46..ad60b7b3f 100644 --- a/src/Nazara/Core/UniformBuffer.cpp +++ b/src/Nazara/Core/UniformBuffer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include #include -#include +#include namespace Nz { diff --git a/src/Nazara/Core/Updatable.cpp b/src/Nazara/Core/Updatable.cpp index ab50c5ced..1df79383a 100644 --- a/src/Nazara/Core/Updatable.cpp +++ b/src/Nazara/Core/Updatable.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/Uuid.cpp b/src/Nazara/Core/Uuid.cpp index 19b6c937c..2203721f2 100644 --- a/src/Nazara/Core/Uuid.cpp +++ b/src/Nazara/Core/Uuid.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Full Cycle Games // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/Core/VertexBuffer.cpp b/src/Nazara/Core/VertexBuffer.cpp index 60aca00ea..a10c7c35d 100644 --- a/src/Nazara/Core/VertexBuffer.cpp +++ b/src/Nazara/Core/VertexBuffer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/VertexDeclaration.cpp b/src/Nazara/Core/VertexDeclaration.cpp index af1831999..41eddedb7 100644 --- a/src/Nazara/Core/VertexDeclaration.cpp +++ b/src/Nazara/Core/VertexDeclaration.cpp @@ -1,16 +1,15 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include #include #include +#include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/VertexMapper.cpp b/src/Nazara/Core/VertexMapper.cpp index 3f2745e38..b4c4e5da1 100644 --- a/src/Nazara/Core/VertexMapper.cpp +++ b/src/Nazara/Core/VertexMapper.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/VirtualDirectory.cpp b/src/Nazara/Core/VirtualDirectory.cpp index 7d1f03c9e..a991dca4d 100644 --- a/src/Nazara/Core/VirtualDirectory.cpp +++ b/src/Nazara/Core/VirtualDirectory.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Core/VirtualDirectoryFilesystemResolver.cpp b/src/Nazara/Core/VirtualDirectoryFilesystemResolver.cpp index d2b2aa12b..f366949ce 100644 --- a/src/Nazara/Core/VirtualDirectoryFilesystemResolver.cpp +++ b/src/Nazara/Core/VirtualDirectoryFilesystemResolver.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Core/Win32/DynLibImpl.cpp b/src/Nazara/Core/Win32/DynLibImpl.cpp index cf35ebcef..ae8841cc0 100644 --- a/src/Nazara/Core/Win32/DynLibImpl.cpp +++ b/src/Nazara/Core/Win32/DynLibImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/DynLibImpl.hpp b/src/Nazara/Core/Win32/DynLibImpl.hpp index ce64e386b..394b7ffd4 100644 --- a/src/Nazara/Core/Win32/DynLibImpl.hpp +++ b/src/Nazara/Core/Win32/DynLibImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/FileImpl.cpp b/src/Nazara/Core/Win32/FileImpl.cpp index 27ea6c37e..8a9bda77f 100644 --- a/src/Nazara/Core/Win32/FileImpl.cpp +++ b/src/Nazara/Core/Win32/FileImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/FileImpl.hpp b/src/Nazara/Core/Win32/FileImpl.hpp index f50975d67..0b7c2a66a 100644 --- a/src/Nazara/Core/Win32/FileImpl.hpp +++ b/src/Nazara/Core/Win32/FileImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp index 8bb80be44..ee19b08ca 100644 --- a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp +++ b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #endif -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/HardwareInfoImpl.hpp b/src/Nazara/Core/Win32/HardwareInfoImpl.hpp index 2364bd63a..131d49869 100644 --- a/src/Nazara/Core/Win32/HardwareInfoImpl.hpp +++ b/src/Nazara/Core/Win32/HardwareInfoImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/ProcessImpl.cpp b/src/Nazara/Core/Win32/ProcessImpl.cpp index 4bb23cc01..6afae71a5 100644 --- a/src/Nazara/Core/Win32/ProcessImpl.cpp +++ b/src/Nazara/Core/Win32/ProcessImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/ProcessImpl.hpp b/src/Nazara/Core/Win32/ProcessImpl.hpp index 1b68fe19e..606e7754d 100644 --- a/src/Nazara/Core/Win32/ProcessImpl.hpp +++ b/src/Nazara/Core/Win32/ProcessImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/ThreadImpl.cpp b/src/Nazara/Core/Win32/ThreadImpl.cpp index 34afcd068..c6d6a65f3 100644 --- a/src/Nazara/Core/Win32/ThreadImpl.cpp +++ b/src/Nazara/Core/Win32/ThreadImpl.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/ThreadImpl.hpp b/src/Nazara/Core/Win32/ThreadImpl.hpp index b293b7248..6452cc690 100644 --- a/src/Nazara/Core/Win32/ThreadImpl.hpp +++ b/src/Nazara/Core/Win32/ThreadImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/TimeImpl.cpp b/src/Nazara/Core/Win32/TimeImpl.cpp index c9de0fc8a..669f5324d 100644 --- a/src/Nazara/Core/Win32/TimeImpl.cpp +++ b/src/Nazara/Core/Win32/TimeImpl.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/TimeImpl.hpp b/src/Nazara/Core/Win32/TimeImpl.hpp index d74770ca5..ed2022fac 100644 --- a/src/Nazara/Core/Win32/TimeImpl.hpp +++ b/src/Nazara/Core/Win32/TimeImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/Win32Utils.cpp b/src/Nazara/Core/Win32/Win32Utils.cpp index d6e9eab24..a471d3c70 100644 --- a/src/Nazara/Core/Win32/Win32Utils.cpp +++ b/src/Nazara/Core/Win32/Win32Utils.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::PlatformImpl { diff --git a/src/Nazara/Core/Win32/Win32Utils.hpp b/src/Nazara/Core/Win32/Win32Utils.hpp index 06d0419fb..45a53db7e 100644 --- a/src/Nazara/Core/Win32/Win32Utils.hpp +++ b/src/Nazara/Core/Win32/Win32Utils.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Core/Win32/Win32Utils.inl b/src/Nazara/Core/Win32/Win32Utils.inl index 273024b5f..2b182895f 100644 --- a/src/Nazara/Core/Win32/Win32Utils.inl +++ b/src/Nazara/Core/Win32/Win32Utils.inl @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp namespace Nz::PlatformImpl { diff --git a/src/Nazara/Graphics/AbstractViewer.cpp b/src/Nazara/Graphics/AbstractViewer.cpp index d4f128177..60c4a32c8 100644 --- a/src/Nazara/Graphics/AbstractViewer.cpp +++ b/src/Nazara/Graphics/AbstractViewer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/AlgorithmGraphics.cpp b/src/Nazara/Graphics/AlgorithmGraphics.cpp index 4b2df8a8e..244218f97 100644 --- a/src/Nazara/Graphics/AlgorithmGraphics.cpp +++ b/src/Nazara/Graphics/AlgorithmGraphics.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/BakedFrameGraph.cpp b/src/Nazara/Graphics/BakedFrameGraph.cpp index 28c27366e..1844e6d13 100644 --- a/src/Nazara/Graphics/BakedFrameGraph.cpp +++ b/src/Nazara/Graphics/BakedFrameGraph.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Billboard.cpp b/src/Nazara/Graphics/Billboard.cpp index b2d3ba023..dd094ccdb 100644 --- a/src/Nazara/Graphics/Billboard.cpp +++ b/src/Nazara/Graphics/Billboard.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Camera.cpp b/src/Nazara/Graphics/Camera.cpp index a0ae56fea..71ce69e47 100644 --- a/src/Nazara/Graphics/Camera.cpp +++ b/src/Nazara/Graphics/Camera.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/DebugDrawPipelinePass.cpp b/src/Nazara/Graphics/DebugDrawPipelinePass.cpp index 693c7d808..f29ef62ed 100644 --- a/src/Nazara/Graphics/DebugDrawPipelinePass.cpp +++ b/src/Nazara/Graphics/DebugDrawPipelinePass.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/DepthPipelinePass.cpp b/src/Nazara/Graphics/DepthPipelinePass.cpp index 5e52e1550..dec7c15a8 100644 --- a/src/Nazara/Graphics/DepthPipelinePass.cpp +++ b/src/Nazara/Graphics/DepthPipelinePass.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/DirectionalLight.cpp b/src/Nazara/Graphics/DirectionalLight.cpp index f10d88995..c135a4847 100644 --- a/src/Nazara/Graphics/DirectionalLight.cpp +++ b/src/Nazara/Graphics/DirectionalLight.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/DirectionalLightShadowData.cpp b/src/Nazara/Graphics/DirectionalLightShadowData.cpp index b9be59e84..0de01d6de 100644 --- a/src/Nazara/Graphics/DirectionalLightShadowData.cpp +++ b/src/Nazara/Graphics/DirectionalLightShadowData.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ElementRenderer.cpp b/src/Nazara/Graphics/ElementRenderer.cpp index 11b07893c..34c6555f7 100644 --- a/src/Nazara/Graphics/ElementRenderer.cpp +++ b/src/Nazara/Graphics/ElementRenderer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ElementRendererRegistry.cpp b/src/Nazara/Graphics/ElementRendererRegistry.cpp index 0d3f08e5a..a15547762 100644 --- a/src/Nazara/Graphics/ElementRendererRegistry.cpp +++ b/src/Nazara/Graphics/ElementRendererRegistry.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Formats/ModelMeshLoader.cpp b/src/Nazara/Graphics/Formats/ModelMeshLoader.cpp index 8ac87d6b2..ee9e6c9c7 100644 --- a/src/Nazara/Graphics/Formats/ModelMeshLoader.cpp +++ b/src/Nazara/Graphics/Formats/ModelMeshLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz::Loaders { diff --git a/src/Nazara/Graphics/Formats/ModelMeshLoader.hpp b/src/Nazara/Graphics/Formats/ModelMeshLoader.hpp index 76433c60f..95d6454d0 100644 --- a/src/Nazara/Graphics/Formats/ModelMeshLoader.hpp +++ b/src/Nazara/Graphics/Formats/ModelMeshLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Graphics/Formats/PipelinePassListLoader.cpp b/src/Nazara/Graphics/Formats/PipelinePassListLoader.cpp index 7205ec753..0f0e80bdc 100644 --- a/src/Nazara/Graphics/Formats/PipelinePassListLoader.cpp +++ b/src/Nazara/Graphics/Formats/PipelinePassListLoader.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz::Loaders { diff --git a/src/Nazara/Graphics/Formats/PipelinePassListLoader.hpp b/src/Nazara/Graphics/Formats/PipelinePassListLoader.hpp index 0d47a3c50..b6eedacb8 100644 --- a/src/Nazara/Graphics/Formats/PipelinePassListLoader.hpp +++ b/src/Nazara/Graphics/Formats/PipelinePassListLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Graphics/Formats/TextureLoader.cpp b/src/Nazara/Graphics/Formats/TextureLoader.cpp index a53d5b0be..abac2325f 100644 --- a/src/Nazara/Graphics/Formats/TextureLoader.cpp +++ b/src/Nazara/Graphics/Formats/TextureLoader.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Formats/TextureLoader.hpp b/src/Nazara/Graphics/Formats/TextureLoader.hpp index bbeb5a475..a289ddbb4 100644 --- a/src/Nazara/Graphics/Formats/TextureLoader.hpp +++ b/src/Nazara/Graphics/Formats/TextureLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Graphics/ForwardFramePipeline.cpp b/src/Nazara/Graphics/ForwardFramePipeline.cpp index 2c263f034..6f407976c 100644 --- a/src/Nazara/Graphics/ForwardFramePipeline.cpp +++ b/src/Nazara/Graphics/ForwardFramePipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ForwardPipelinePass.cpp b/src/Nazara/Graphics/ForwardPipelinePass.cpp index c6ac34e5a..d483460bd 100644 --- a/src/Nazara/Graphics/ForwardPipelinePass.cpp +++ b/src/Nazara/Graphics/ForwardPipelinePass.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -17,7 +17,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/FrameGraph.cpp b/src/Nazara/Graphics/FrameGraph.cpp index a58451782..5032ab303 100644 --- a/src/Nazara/Graphics/FrameGraph.cpp +++ b/src/Nazara/Graphics/FrameGraph.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // This class was written with a lot of help from themaister articles and Granite source code, check them out! // https://themaister.net/blog/2017/08/15/render-graphs-and-vulkan-a-deep-dive/ @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/FramePass.cpp b/src/Nazara/Graphics/FramePass.cpp index 0ac3c02f0..413d882fb 100644 --- a/src/Nazara/Graphics/FramePass.cpp +++ b/src/Nazara/Graphics/FramePass.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/FramePassAttachment.cpp b/src/Nazara/Graphics/FramePassAttachment.cpp index 1a74f163c..0a64b72c8 100644 --- a/src/Nazara/Graphics/FramePassAttachment.cpp +++ b/src/Nazara/Graphics/FramePassAttachment.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/FramePipeline.cpp b/src/Nazara/Graphics/FramePipeline.cpp index ed02eed92..23df9dc07 100644 --- a/src/Nazara/Graphics/FramePipeline.cpp +++ b/src/Nazara/Graphics/FramePipeline.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/FramePipelinePass.cpp b/src/Nazara/Graphics/FramePipelinePass.cpp index 7cf444329..3e418d394 100644 --- a/src/Nazara/Graphics/FramePipelinePass.cpp +++ b/src/Nazara/Graphics/FramePipelinePass.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/GraphicalMesh.cpp b/src/Nazara/Graphics/GraphicalMesh.cpp index 84efe4cf0..2b4d9786c 100644 --- a/src/Nazara/Graphics/GraphicalMesh.cpp +++ b/src/Nazara/Graphics/GraphicalMesh.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Graphics.cpp b/src/Nazara/Graphics/Graphics.cpp index 48ca14ba3..aeaaf5023 100644 --- a/src/Nazara/Graphics/Graphics.cpp +++ b/src/Nazara/Graphics/Graphics.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -23,7 +23,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp index 2a729329f..3e69ffb0b 100644 --- a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp +++ b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/InstancedRenderable.cpp b/src/Nazara/Graphics/InstancedRenderable.cpp index 2a0962310..5d8b941f0 100644 --- a/src/Nazara/Graphics/InstancedRenderable.cpp +++ b/src/Nazara/Graphics/InstancedRenderable.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Light.cpp b/src/Nazara/Graphics/Light.cpp index 58c706eed..ec4bf36bf 100644 --- a/src/Nazara/Graphics/Light.cpp +++ b/src/Nazara/Graphics/Light.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/LightShadowData.cpp b/src/Nazara/Graphics/LightShadowData.cpp index 8fa02edc9..b0a0c38b5 100644 --- a/src/Nazara/Graphics/LightShadowData.cpp +++ b/src/Nazara/Graphics/LightShadowData.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/LinearSlicedSprite.cpp b/src/Nazara/Graphics/LinearSlicedSprite.cpp index df6b3aed4..d9c30cb3d 100644 --- a/src/Nazara/Graphics/LinearSlicedSprite.cpp +++ b/src/Nazara/Graphics/LinearSlicedSprite.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Material.cpp b/src/Nazara/Graphics/Material.cpp index 6f6d6c50f..1b596c1cc 100644 --- a/src/Nazara/Graphics/Material.cpp +++ b/src/Nazara/Graphics/Material.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/MaterialInstance.cpp b/src/Nazara/Graphics/MaterialInstance.cpp index 73eb1ca1a..2727ceae9 100644 --- a/src/Nazara/Graphics/MaterialInstance.cpp +++ b/src/Nazara/Graphics/MaterialInstance.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/MaterialPipeline.cpp b/src/Nazara/Graphics/MaterialPipeline.cpp index 5d54369f9..dcdd25e1a 100644 --- a/src/Nazara/Graphics/MaterialPipeline.cpp +++ b/src/Nazara/Graphics/MaterialPipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/MaterialSettings.cpp b/src/Nazara/Graphics/MaterialSettings.cpp index 31b9431e7..be99c6b4e 100644 --- a/src/Nazara/Graphics/MaterialSettings.cpp +++ b/src/Nazara/Graphics/MaterialSettings.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Model.cpp b/src/Nazara/Graphics/Model.cpp index e7775218e..107e0f887 100644 --- a/src/Nazara/Graphics/Model.cpp +++ b/src/Nazara/Graphics/Model.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PipelinePassList.cpp b/src/Nazara/Graphics/PipelinePassList.cpp index 0019ef593..23de4a993 100644 --- a/src/Nazara/Graphics/PipelinePassList.cpp +++ b/src/Nazara/Graphics/PipelinePassList.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PointLight.cpp b/src/Nazara/Graphics/PointLight.cpp index 9299e7bb0..25019f2f6 100644 --- a/src/Nazara/Graphics/PointLight.cpp +++ b/src/Nazara/Graphics/PointLight.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PointLightShadowData.cpp b/src/Nazara/Graphics/PointLightShadowData.cpp index b66077410..6e88772a9 100644 --- a/src/Nazara/Graphics/PointLightShadowData.cpp +++ b/src/Nazara/Graphics/PointLightShadowData.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PostProcessPipelinePass.cpp b/src/Nazara/Graphics/PostProcessPipelinePass.cpp index d4380eaf9..b32d8eb4b 100644 --- a/src/Nazara/Graphics/PostProcessPipelinePass.cpp +++ b/src/Nazara/Graphics/PostProcessPipelinePass.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PredefinedMaterials.cpp b/src/Nazara/Graphics/PredefinedMaterials.cpp index 356f81d38..2bfd68edb 100644 --- a/src/Nazara/Graphics/PredefinedMaterials.cpp +++ b/src/Nazara/Graphics/PredefinedMaterials.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.cpp b/src/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.cpp index 5476dff56..15deab866 100644 --- a/src/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.cpp +++ b/src/Nazara/Graphics/PropertyHandler/OptionValuePropertyHandler.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PropertyHandler/PropertyHandler.cpp b/src/Nazara/Graphics/PropertyHandler/PropertyHandler.cpp index 0cf9d0bcd..f2768c360 100644 --- a/src/Nazara/Graphics/PropertyHandler/PropertyHandler.cpp +++ b/src/Nazara/Graphics/PropertyHandler/PropertyHandler.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.cpp b/src/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.cpp index 47a951c1c..534faadd6 100644 --- a/src/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.cpp +++ b/src/Nazara/Graphics/PropertyHandler/TexturePropertyHandler.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.cpp b/src/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.cpp index 32512077c..5c8d9bb92 100644 --- a/src/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.cpp +++ b/src/Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderBufferPool.cpp b/src/Nazara/Graphics/RenderBufferPool.cpp index ca0220997..6d27310a1 100644 --- a/src/Nazara/Graphics/RenderBufferPool.cpp +++ b/src/Nazara/Graphics/RenderBufferPool.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderElement.cpp b/src/Nazara/Graphics/RenderElement.cpp index 02bc583bc..bb316fe35 100644 --- a/src/Nazara/Graphics/RenderElement.cpp +++ b/src/Nazara/Graphics/RenderElement.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderElementOwner.cpp b/src/Nazara/Graphics/RenderElementOwner.cpp index 9efeb4e33..603fa7189 100644 --- a/src/Nazara/Graphics/RenderElementOwner.cpp +++ b/src/Nazara/Graphics/RenderElementOwner.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderElementPool.cpp b/src/Nazara/Graphics/RenderElementPool.cpp index f42601b49..2aac35757 100644 --- a/src/Nazara/Graphics/RenderElementPool.cpp +++ b/src/Nazara/Graphics/RenderElementPool.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderTarget.cpp b/src/Nazara/Graphics/RenderTarget.cpp index 8158401b1..6e9aec0b1 100644 --- a/src/Nazara/Graphics/RenderTarget.cpp +++ b/src/Nazara/Graphics/RenderTarget.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderTexture.cpp b/src/Nazara/Graphics/RenderTexture.cpp index 42a52977c..04b35a4df 100644 --- a/src/Nazara/Graphics/RenderTexture.cpp +++ b/src/Nazara/Graphics/RenderTexture.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderTextureBlit.cpp b/src/Nazara/Graphics/RenderTextureBlit.cpp index 57b01165d..7d61581eb 100644 --- a/src/Nazara/Graphics/RenderTextureBlit.cpp +++ b/src/Nazara/Graphics/RenderTextureBlit.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/RenderWindow.cpp b/src/Nazara/Graphics/RenderWindow.cpp index 14bdb79e8..791a39cac 100644 --- a/src/Nazara/Graphics/RenderWindow.cpp +++ b/src/Nazara/Graphics/RenderWindow.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ShaderReflection.cpp b/src/Nazara/Graphics/ShaderReflection.cpp index b562b70c6..dd10e99c3 100644 --- a/src/Nazara/Graphics/ShaderReflection.cpp +++ b/src/Nazara/Graphics/ShaderReflection.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ShadowViewer.cpp b/src/Nazara/Graphics/ShadowViewer.cpp index 8c6abb6bb..bb2d5693e 100644 --- a/src/Nazara/Graphics/ShadowViewer.cpp +++ b/src/Nazara/Graphics/ShadowViewer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SkeletonInstance.cpp b/src/Nazara/Graphics/SkeletonInstance.cpp index b2e10c4c1..cec07994c 100644 --- a/src/Nazara/Graphics/SkeletonInstance.cpp +++ b/src/Nazara/Graphics/SkeletonInstance.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SlicedSprite.cpp b/src/Nazara/Graphics/SlicedSprite.cpp index 7bd77c385..178e60d26 100644 --- a/src/Nazara/Graphics/SlicedSprite.cpp +++ b/src/Nazara/Graphics/SlicedSprite.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SpotLight.cpp b/src/Nazara/Graphics/SpotLight.cpp index 01ea68658..4e6c93303 100644 --- a/src/Nazara/Graphics/SpotLight.cpp +++ b/src/Nazara/Graphics/SpotLight.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SpotLightShadowData.cpp b/src/Nazara/Graphics/SpotLightShadowData.cpp index f7f6e314a..a6c9df6e4 100644 --- a/src/Nazara/Graphics/SpotLightShadowData.cpp +++ b/src/Nazara/Graphics/SpotLightShadowData.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Sprite.cpp b/src/Nazara/Graphics/Sprite.cpp index 3eedd5e0e..bfbe9c107 100644 --- a/src/Nazara/Graphics/Sprite.cpp +++ b/src/Nazara/Graphics/Sprite.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SpriteChainRenderer.cpp b/src/Nazara/Graphics/SpriteChainRenderer.cpp index 227ca826a..870bab78e 100644 --- a/src/Nazara/Graphics/SpriteChainRenderer.cpp +++ b/src/Nazara/Graphics/SpriteChainRenderer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/SubmeshRenderer.cpp b/src/Nazara/Graphics/SubmeshRenderer.cpp index e8400b8ee..120d522ac 100644 --- a/src/Nazara/Graphics/SubmeshRenderer.cpp +++ b/src/Nazara/Graphics/SubmeshRenderer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Systems/RenderSystem.cpp b/src/Nazara/Graphics/Systems/RenderSystem.cpp index c012a11d7..c4486ee18 100644 --- a/src/Nazara/Graphics/Systems/RenderSystem.cpp +++ b/src/Nazara/Graphics/Systems/RenderSystem.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -16,7 +16,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/TextSprite.cpp b/src/Nazara/Graphics/TextSprite.cpp index e6f5fad84..cbfbca7aa 100644 --- a/src/Nazara/Graphics/TextSprite.cpp +++ b/src/Nazara/Graphics/TextSprite.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/TextureSamplerCache.cpp b/src/Nazara/Graphics/TextureSamplerCache.cpp index ccf27fa0d..4efc20c96 100644 --- a/src/Nazara/Graphics/TextureSamplerCache.cpp +++ b/src/Nazara/Graphics/TextureSamplerCache.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/Tilemap.cpp b/src/Nazara/Graphics/Tilemap.cpp index 12fb37153..572cb978a 100644 --- a/src/Nazara/Graphics/Tilemap.cpp +++ b/src/Nazara/Graphics/Tilemap.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/TransferInterface.cpp b/src/Nazara/Graphics/TransferInterface.cpp index 9125bb7ff..17c138e16 100644 --- a/src/Nazara/Graphics/TransferInterface.cpp +++ b/src/Nazara/Graphics/TransferInterface.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/UberShader.cpp b/src/Nazara/Graphics/UberShader.cpp index 7e52602de..d09215d9f 100644 --- a/src/Nazara/Graphics/UberShader.cpp +++ b/src/Nazara/Graphics/UberShader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/ViewerInstance.cpp b/src/Nazara/Graphics/ViewerInstance.cpp index 370bb370c..65ad3a8e7 100644 --- a/src/Nazara/Graphics/ViewerInstance.cpp +++ b/src/Nazara/Graphics/ViewerInstance.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Graphics/WorldInstance.cpp b/src/Nazara/Graphics/WorldInstance.cpp index 0ffd3d734..7907b0bdf 100644 --- a/src/Nazara/Graphics/WorldInstance.cpp +++ b/src/Nazara/Graphics/WorldInstance.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/AbstractSocket.cpp b/src/Nazara/Network/AbstractSocket.cpp index 1c25ad41e..46005e552 100644 --- a/src/Nazara/Network/AbstractSocket.cpp +++ b/src/Nazara/Network/AbstractSocket.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #error Missing implementation: Socket #endif -#include namespace Nz { diff --git a/src/Nazara/Network/AlgorithmNetwork.cpp b/src/Nazara/Network/AlgorithmNetwork.cpp index a3955e8ab..44c147b28 100644 --- a/src/Nazara/Network/AlgorithmNetwork.cpp +++ b/src/Nazara/Network/AlgorithmNetwork.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/CurlLibrary.cpp b/src/Nazara/Network/CurlLibrary.cpp index fc3338053..613a2e851 100644 --- a/src/Nazara/Network/CurlLibrary.cpp +++ b/src/Nazara/Network/CurlLibrary.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/ENetCompressor.cpp b/src/Nazara/Network/ENetCompressor.cpp index 4c5e3f259..67444bc77 100644 --- a/src/Nazara/Network/ENetCompressor.cpp +++ b/src/Nazara/Network/ENetCompressor.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Network/ENetHost.cpp b/src/Nazara/Network/ENetHost.cpp index 3395a578b..2596f765d 100644 --- a/src/Nazara/Network/ENetHost.cpp +++ b/src/Nazara/Network/ENetHost.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright(c) 2002 - 2016 Lee Salzman @@ -18,7 +18,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/ENetPacket.cpp b/src/Nazara/Network/ENetPacket.cpp index 6d87a7e96..37e2cfd69 100644 --- a/src/Nazara/Network/ENetPacket.cpp +++ b/src/Nazara/Network/ENetPacket.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/ENetPeer.cpp b/src/Nazara/Network/ENetPeer.cpp index b135874b6..fa4de992c 100644 --- a/src/Nazara/Network/ENetPeer.cpp +++ b/src/Nazara/Network/ENetPeer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp /* Copyright(c) 2002 - 2016 Lee Salzman @@ -16,7 +16,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/IpAddress.cpp b/src/Nazara/Network/IpAddress.cpp index 59ddd5443..c04277c0a 100644 --- a/src/Nazara/Network/IpAddress.cpp +++ b/src/Nazara/Network/IpAddress.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -18,7 +18,6 @@ #error Missing implementation: Network #endif -#include namespace Nz { diff --git a/src/Nazara/Network/Linux/SocketPollerImpl.cpp b/src/Nazara/Network/Linux/SocketPollerImpl.cpp index cf1277c15..c776b88d2 100644 --- a/src/Nazara/Network/Linux/SocketPollerImpl.cpp +++ b/src/Nazara/Network/Linux/SocketPollerImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Linux/SocketPollerImpl.hpp b/src/Nazara/Network/Linux/SocketPollerImpl.hpp index 091293b37..f1df89ee7 100644 --- a/src/Nazara/Network/Linux/SocketPollerImpl.hpp +++ b/src/Nazara/Network/Linux/SocketPollerImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/NetPacket.cpp b/src/Nazara/Network/NetPacket.cpp index db7028a64..c1d82d779 100644 --- a/src/Nazara/Network/NetPacket.cpp +++ b/src/Nazara/Network/NetPacket.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Network.cpp b/src/Nazara/Network/Network.cpp index a797f963c..1c4c7a9a8 100644 --- a/src/Nazara/Network/Network.cpp +++ b/src/Nazara/Network/Network.cpp @@ -1,12 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include +#include #include #include #include @@ -26,7 +26,6 @@ #include -#include namespace Nz { diff --git a/src/Nazara/Network/Posix/IpAddressImpl.cpp b/src/Nazara/Network/Posix/IpAddressImpl.cpp index 88ebf3c22..ba99e13cd 100644 --- a/src/Nazara/Network/Posix/IpAddressImpl.cpp +++ b/src/Nazara/Network/Posix/IpAddressImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Posix/IpAddressImpl.hpp b/src/Nazara/Network/Posix/IpAddressImpl.hpp index d7f58ee44..19545521c 100644 --- a/src/Nazara/Network/Posix/IpAddressImpl.hpp +++ b/src/Nazara/Network/Posix/IpAddressImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/Posix/SocketImpl.cpp b/src/Nazara/Network/Posix/SocketImpl.cpp index e9b111ab1..d50c915cd 100644 --- a/src/Nazara/Network/Posix/SocketImpl.cpp +++ b/src/Nazara/Network/Posix/SocketImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -18,7 +18,6 @@ #include #include #include -#include #if !defined(TCP_KEEPIDLE) && defined(TCP_KEEPALIVE) #define TCP_KEEPIDLE TCP_KEEPALIVE // see -> https://gitlab.freedesktop.org/spice/usbredir/-/issues/9 diff --git a/src/Nazara/Network/Posix/SocketImpl.hpp b/src/Nazara/Network/Posix/SocketImpl.hpp index 7797c2309..bc6cbbdbc 100644 --- a/src/Nazara/Network/Posix/SocketImpl.hpp +++ b/src/Nazara/Network/Posix/SocketImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/Posix/SocketPollerImpl.cpp b/src/Nazara/Network/Posix/SocketPollerImpl.cpp index 6b75735ea..272f42455 100644 --- a/src/Nazara/Network/Posix/SocketPollerImpl.cpp +++ b/src/Nazara/Network/Posix/SocketPollerImpl.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Posix/SocketPollerImpl.hpp b/src/Nazara/Network/Posix/SocketPollerImpl.hpp index b61916817..ac14e4a5e 100644 --- a/src/Nazara/Network/Posix/SocketPollerImpl.hpp +++ b/src/Nazara/Network/Posix/SocketPollerImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/SocketPoller.cpp b/src/Nazara/Network/SocketPoller.cpp index 997dae9c9..0436fd0e4 100644 --- a/src/Nazara/Network/SocketPoller.cpp +++ b/src/Nazara/Network/SocketPoller.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -18,7 +18,6 @@ #error Missing implementation: SocketPoller #endif -#include namespace Nz { diff --git a/src/Nazara/Network/SystemSocket.hpp b/src/Nazara/Network/SystemSocket.hpp index f9406147b..62d154e2a 100644 --- a/src/Nazara/Network/SystemSocket.hpp +++ b/src/Nazara/Network/SystemSocket.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // no header guards diff --git a/src/Nazara/Network/TcpClient.cpp b/src/Nazara/Network/TcpClient.cpp index 31feef970..0a0d722e7 100644 --- a/src/Nazara/Network/TcpClient.cpp +++ b/src/Nazara/Network/TcpClient.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -17,7 +17,6 @@ #error Missing implementation: Socket #endif -#include namespace Nz { diff --git a/src/Nazara/Network/TcpServer.cpp b/src/Nazara/Network/TcpServer.cpp index 67c652664..d8a95a985 100644 --- a/src/Nazara/Network/TcpServer.cpp +++ b/src/Nazara/Network/TcpServer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include #if defined(NAZARA_PLATFORM_WINDOWS) #include diff --git a/src/Nazara/Network/UdpSocket.cpp b/src/Nazara/Network/UdpSocket.cpp index 0e2b54cfa..c48a83913 100644 --- a/src/Nazara/Network/UdpSocket.cpp +++ b/src/Nazara/Network/UdpSocket.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #error Missing implementation: Socket #endif -#include namespace Nz { diff --git a/src/Nazara/Network/WebRequest.cpp b/src/Nazara/Network/WebRequest.cpp index bd4a1d1cc..e93228d3b 100644 --- a/src/Nazara/Network/WebRequest.cpp +++ b/src/Nazara/Network/WebRequest.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/Network/WebRequestResult.cpp b/src/Nazara/Network/WebRequestResult.cpp index b3bdb2acf..c91bb4179 100644 --- a/src/Nazara/Network/WebRequestResult.cpp +++ b/src/Nazara/Network/WebRequestResult.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/Network/WebService.cpp b/src/Nazara/Network/WebService.cpp index 56192ea88..825467f34 100644 --- a/src/Nazara/Network/WebService.cpp +++ b/src/Nazara/Network/WebService.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #endif #include -#include namespace Nz { diff --git a/src/Nazara/Network/WebServiceAppComponent.cpp b/src/Nazara/Network/WebServiceAppComponent.cpp index 66343cab5..8deaa5a0c 100644 --- a/src/Nazara/Network/WebServiceAppComponent.cpp +++ b/src/Nazara/Network/WebServiceAppComponent.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Win32/IpAddressImpl.cpp b/src/Nazara/Network/Win32/IpAddressImpl.cpp index c3aded829..aafa4d339 100644 --- a/src/Nazara/Network/Win32/IpAddressImpl.cpp +++ b/src/Nazara/Network/Win32/IpAddressImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include // some MinGW distributions seem to lack some defines #ifndef ERROR_NOT_ENOUGH_MEMORY diff --git a/src/Nazara/Network/Win32/IpAddressImpl.hpp b/src/Nazara/Network/Win32/IpAddressImpl.hpp index 356a96a4f..d10110baa 100644 --- a/src/Nazara/Network/Win32/IpAddressImpl.hpp +++ b/src/Nazara/Network/Win32/IpAddressImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/Win32/SocketImpl.cpp b/src/Nazara/Network/Win32/SocketImpl.cpp index e0e2f0983..072b75fcb 100644 --- a/src/Nazara/Network/Win32/SocketImpl.cpp +++ b/src/Nazara/Network/Win32/SocketImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -32,7 +32,6 @@ struct tcp_keepalive #define SIO_KEEPALIVE_VALS _WSAIOW(IOC_VENDOR,4) #endif -#include namespace Nz { diff --git a/src/Nazara/Network/Win32/SocketImpl.hpp b/src/Nazara/Network/Win32/SocketImpl.hpp index 45b4c9c28..acda8379e 100644 --- a/src/Nazara/Network/Win32/SocketImpl.hpp +++ b/src/Nazara/Network/Win32/SocketImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Network/Win32/SocketPollerImpl.cpp b/src/Nazara/Network/Win32/SocketPollerImpl.cpp index e7b458544..b0ee397f9 100644 --- a/src/Nazara/Network/Win32/SocketPollerImpl.cpp +++ b/src/Nazara/Network/Win32/SocketPollerImpl.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Network/Win32/SocketPollerImpl.hpp b/src/Nazara/Network/Win32/SocketPollerImpl.hpp index b23782d03..adf988d8e 100644 --- a/src/Nazara/Network/Win32/SocketPollerImpl.hpp +++ b/src/Nazara/Network/Win32/SocketPollerImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Network module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/OpenGLRenderer/Export.cpp b/src/Nazara/OpenGLRenderer/Export.cpp index 96085f9ca..1d5fac55e 100644 --- a/src/Nazara/OpenGLRenderer/Export.cpp +++ b/src/Nazara/OpenGLRenderer/Export.cpp @@ -1,7 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp +#include #include #include diff --git a/src/Nazara/OpenGLRenderer/OpenGLBuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLBuffer.cpp index d492622e0..7e0027bb0 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLBuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLBuffer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp index 321851eb1..0267e1f72 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp index 1e6c06dd2..407963bd3 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandBufferBuilder.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandPool.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandPool.cpp index 2a3cf81b5..b4d0805b8 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandPool.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandPool.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLComputePipeline.cpp b/src/Nazara/OpenGLRenderer/OpenGLComputePipeline.cpp index 27f8d45ed..ac18e6fd1 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLComputePipeline.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLComputePipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLDevice.cpp b/src/Nazara/OpenGLRenderer/OpenGLDevice.cpp index b60b2ee1b..9b6195d56 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLDevice.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLDevice.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -21,7 +21,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.cpp index c77606489..81fe0f98b 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLFboFramebuffer.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLFramebuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLFramebuffer.cpp index d1a8b0ae9..63078983d 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLFramebuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLFramebuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLRenderImage.cpp b/src/Nazara/OpenGLRenderer/OpenGLRenderImage.cpp index 2e39f0ad8..4444b5e18 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLRenderImage.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLRenderImage.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLRenderPass.cpp b/src/Nazara/OpenGLRenderer/OpenGLRenderPass.cpp index 0292a443e..74064b465 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLRenderPass.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLRenderPass.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLRenderPipeline.cpp b/src/Nazara/OpenGLRenderer/OpenGLRenderPipeline.cpp index ec8607b6e..af9ca9a86 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLRenderPipeline.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLRenderPipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.cpp b/src/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.cpp index 87de2f578..7fd7118c2 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLRenderPipelineLayout.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLRenderer.cpp b/src/Nazara/OpenGLRenderer/OpenGLRenderer.cpp index 94847a6e0..c29202592 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLRenderer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLRenderer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -22,7 +22,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLShaderBinding.cpp b/src/Nazara/OpenGLRenderer/OpenGLShaderBinding.cpp index 33737fe57..a250b2bc8 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLShaderBinding.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLShaderBinding.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLShaderModule.cpp b/src/Nazara/OpenGLRenderer/OpenGLShaderModule.cpp index 374cb8270..993044d57 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLShaderModule.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLShaderModule.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLSwapchain.cpp b/src/Nazara/OpenGLRenderer/OpenGLSwapchain.cpp index 73c136f7d..0f35a3289 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLSwapchain.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLSwapchain.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLTexture.cpp b/src/Nazara/OpenGLRenderer/OpenGLTexture.cpp index 1e82616eb..d653b7ad4 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLTexture.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLTexture.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLTextureSampler.cpp b/src/Nazara/OpenGLRenderer/OpenGLTextureSampler.cpp index 247c01dc1..0dd1c7a40 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLTextureSampler.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLTextureSampler.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLUploadPool.cpp b/src/Nazara/OpenGLRenderer/OpenGLUploadPool.cpp index 600491d4b..04ca5ad0d 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLUploadPool.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLUploadPool.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/OpenGLVaoCache.cpp b/src/Nazara/OpenGLRenderer/OpenGLVaoCache.cpp index 94541432f..195238537 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLVaoCache.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLVaoCache.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.cpp index 7548a9a36..1ea7764f7 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLWindowFramebuffer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/Utils_OpenGLRenderer.cpp b/src/Nazara/OpenGLRenderer/Utils_OpenGLRenderer.cpp index 7ed8f809a..82d1359e7 100644 --- a/src/Nazara/OpenGLRenderer/Utils_OpenGLRenderer.cpp +++ b/src/Nazara/OpenGLRenderer/Utils_OpenGLRenderer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp +#include #include #include -#include -#include namespace Nz { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Context.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Context.cpp index 6b8eedc07..ccb93641a 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Context.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Context.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -14,7 +14,6 @@ #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.cpp b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.cpp index c2fa1e0bf..54a0da926 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp index 94ad58dcc..891cd1a39 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -16,7 +16,6 @@ #include #endif -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.cpp index 81e60a1c7..8a484ad4d 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextWayland.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.cpp index 65c06883b..c8972b5d9 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Linux/EGLContextX11.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Loader.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Loader.cpp index d458ac3ef..0e7e8dc6d 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Loader.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Loader.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.cpp b/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.cpp index 079c4898d..45a09ba2b 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLContext.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.cpp b/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.cpp index 636c80792..779655007 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/WGL/WGLLoader.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.cpp index 1e9ed1050..8c900f59f 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Web/WebContext.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.cpp index 6d4d289af..4f76bc906 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Web/WebLoader.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.cpp b/src/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.cpp index e9fd739d7..e2c4a72c3 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/Win32/EGLContextWin32.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - OpenGL renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz::GL { diff --git a/src/Nazara/Physics2D/ChipmunkHelper.hpp b/src/Nazara/Physics2D/ChipmunkHelper.hpp index 39ef759ac..8a572fa90 100644 --- a/src/Nazara/Physics2D/ChipmunkHelper.hpp +++ b/src/Nazara/Physics2D/ChipmunkHelper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Physics2D/ChipmunkHelper.inl b/src/Nazara/Physics2D/ChipmunkHelper.inl index f1127c186..430960daa 100644 --- a/src/Nazara/Physics2D/ChipmunkHelper.inl +++ b/src/Nazara/Physics2D/ChipmunkHelper.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -17,4 +16,3 @@ namespace Nz } } -#include diff --git a/src/Nazara/Physics2D/Collider2D.cpp b/src/Nazara/Physics2D/Collider2D.cpp index a2f699f88..5444bf376 100644 --- a/src/Nazara/Physics2D/Collider2D.cpp +++ b/src/Nazara/Physics2D/Collider2D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/PhysArbiter2D.cpp b/src/Nazara/Physics2D/PhysArbiter2D.cpp index 5d194de49..483833d32 100644 --- a/src/Nazara/Physics2D/PhysArbiter2D.cpp +++ b/src/Nazara/Physics2D/PhysArbiter2D.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/PhysConstraint2D.cpp b/src/Nazara/Physics2D/PhysConstraint2D.cpp index 10607fb67..1a17d5f84 100644 --- a/src/Nazara/Physics2D/PhysConstraint2D.cpp +++ b/src/Nazara/Physics2D/PhysConstraint2D.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/PhysWorld2D.cpp b/src/Nazara/Physics2D/PhysWorld2D.cpp index abc8e62fb..0e154c495 100644 --- a/src/Nazara/Physics2D/PhysWorld2D.cpp +++ b/src/Nazara/Physics2D/PhysWorld2D.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/Physics2D.cpp b/src/Nazara/Physics2D/Physics2D.cpp index 385a1e757..fe4d0c9d3 100644 --- a/src/Nazara/Physics2D/Physics2D.cpp +++ b/src/Nazara/Physics2D/Physics2D.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/RigidBody2D.cpp b/src/Nazara/Physics2D/RigidBody2D.cpp index dd7ef7e25..cb642c33b 100644 --- a/src/Nazara/Physics2D/RigidBody2D.cpp +++ b/src/Nazara/Physics2D/RigidBody2D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics2D/Systems/Physics2DSystem.cpp b/src/Nazara/Physics2D/Systems/Physics2DSystem.cpp index 3d5d9e0bd..502897335 100644 --- a/src/Nazara/Physics2D/Systems/Physics2DSystem.cpp +++ b/src/Nazara/Physics2D/Systems/Physics2DSystem.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/Collider3D.cpp b/src/Nazara/Physics3D/Collider3D.cpp index 9e84e055a..c6f713723 100644 --- a/src/Nazara/Physics3D/Collider3D.cpp +++ b/src/Nazara/Physics3D/Collider3D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -21,7 +21,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/JoltHelper.hpp b/src/Nazara/Physics3D/JoltHelper.hpp index 1052e4fc0..b51cbcb42 100644 --- a/src/Nazara/Physics3D/JoltHelper.hpp +++ b/src/Nazara/Physics3D/JoltHelper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Physics3D/JoltHelper.inl b/src/Nazara/Physics3D/JoltHelper.inl index 42f23c5b7..de2e8bc99 100644 --- a/src/Nazara/Physics3D/JoltHelper.inl +++ b/src/Nazara/Physics3D/JoltHelper.inl @@ -1,8 +1,7 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include namespace Nz { @@ -57,4 +56,3 @@ namespace Nz } } -#include diff --git a/src/Nazara/Physics3D/PhysBody3D.cpp b/src/Nazara/Physics3D/PhysBody3D.cpp index 5860b8723..c73a40ddf 100644 --- a/src/Nazara/Physics3D/PhysBody3D.cpp +++ b/src/Nazara/Physics3D/PhysBody3D.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/PhysCharacter3D.cpp b/src/Nazara/Physics3D/PhysCharacter3D.cpp index 05dc82ef0..f837a5793 100644 --- a/src/Nazara/Physics3D/PhysCharacter3D.cpp +++ b/src/Nazara/Physics3D/PhysCharacter3D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/PhysConstraint3D.cpp b/src/Nazara/Physics3D/PhysConstraint3D.cpp index 5ab408411..db618f983 100644 --- a/src/Nazara/Physics3D/PhysConstraint3D.cpp +++ b/src/Nazara/Physics3D/PhysConstraint3D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/PhysWorld3D.cpp b/src/Nazara/Physics3D/PhysWorld3D.cpp index 1387aaeb2..88cc660cd 100644 --- a/src/Nazara/Physics3D/PhysWorld3D.cpp +++ b/src/Nazara/Physics3D/PhysWorld3D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -26,7 +26,6 @@ #include #include #include -#include namespace DitchMeAsap { diff --git a/src/Nazara/Physics3D/PhysWorld3DStepListener.cpp b/src/Nazara/Physics3D/PhysWorld3DStepListener.cpp index 85bbf5ade..4dd0c52e7 100644 --- a/src/Nazara/Physics3D/PhysWorld3DStepListener.cpp +++ b/src/Nazara/Physics3D/PhysWorld3DStepListener.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/Physics3D.cpp b/src/Nazara/Physics3D/Physics3D.cpp index cc6d6d42c..51e6c870f 100644 --- a/src/Nazara/Physics3D/Physics3D.cpp +++ b/src/Nazara/Physics3D/Physics3D.cpp @@ -1,19 +1,18 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include +#include #include #include #include #include #include #include -#include // Callback for traces, connect this to your own trace function if you have one static void TraceImpl(const char* inFMT, ...) diff --git a/src/Nazara/Physics3D/RigidBody3D.cpp b/src/Nazara/Physics3D/RigidBody3D.cpp index b75a00570..fcd1be7f7 100644 --- a/src/Nazara/Physics3D/RigidBody3D.cpp +++ b/src/Nazara/Physics3D/RigidBody3D.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Physics3D/Systems/Physics3DSystem.cpp b/src/Nazara/Physics3D/Systems/Physics3DSystem.cpp index 736d436a7..a7d3debba 100644 --- a/src/Nazara/Physics3D/Systems/Physics3DSystem.cpp +++ b/src/Nazara/Physics3D/Systems/Physics3DSystem.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Clipboard.cpp b/src/Nazara/Platform/Clipboard.cpp index 2b5153da2..63ee993c4 100644 --- a/src/Nazara/Platform/Clipboard.cpp +++ b/src/Nazara/Platform/Clipboard.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Cursor.cpp b/src/Nazara/Platform/Cursor.cpp index fd940c144..2b6d5f416 100644 --- a/src/Nazara/Platform/Cursor.cpp +++ b/src/Nazara/Platform/Cursor.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Icon.cpp b/src/Nazara/Platform/Icon.cpp index ab0aeb8fc..274d56766 100644 --- a/src/Nazara/Platform/Icon.cpp +++ b/src/Nazara/Platform/Icon.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Keyboard.cpp b/src/Nazara/Platform/Keyboard.cpp index 98761ea79..fb17dbf5a 100644 --- a/src/Nazara/Platform/Keyboard.cpp +++ b/src/Nazara/Platform/Keyboard.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/MessageBox.cpp b/src/Nazara/Platform/MessageBox.cpp index 3f61b1ad9..8eb0af11e 100644 --- a/src/Nazara/Platform/MessageBox.cpp +++ b/src/Nazara/Platform/MessageBox.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Mouse.cpp b/src/Nazara/Platform/Mouse.cpp index 5c3dcf2e5..fbea0560a 100644 --- a/src/Nazara/Platform/Mouse.cpp +++ b/src/Nazara/Platform/Mouse.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/Platform.cpp b/src/Nazara/Platform/Platform.cpp index b07cb5439..78dc6eb4b 100644 --- a/src/Nazara/Platform/Platform.cpp +++ b/src/Nazara/Platform/Platform.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include #include +#include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/CursorImpl.cpp b/src/Nazara/Platform/SDL2/CursorImpl.cpp index 99b79c71a..b13fee570 100644 --- a/src/Nazara/Platform/SDL2/CursorImpl.cpp +++ b/src/Nazara/Platform/SDL2/CursorImpl.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/CursorImpl.hpp b/src/Nazara/Platform/SDL2/CursorImpl.hpp index d82c84d50..18fc28e87 100644 --- a/src/Nazara/Platform/SDL2/CursorImpl.hpp +++ b/src/Nazara/Platform/SDL2/CursorImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/SDL2/IconImpl.cpp b/src/Nazara/Platform/SDL2/IconImpl.cpp index 30ca36a2e..0ab805e27 100644 --- a/src/Nazara/Platform/SDL2/IconImpl.cpp +++ b/src/Nazara/Platform/SDL2/IconImpl.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/IconImpl.hpp b/src/Nazara/Platform/SDL2/IconImpl.hpp index aa00b5635..cd242a08c 100644 --- a/src/Nazara/Platform/SDL2/IconImpl.hpp +++ b/src/Nazara/Platform/SDL2/IconImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/SDL2/InputImpl.cpp b/src/Nazara/Platform/SDL2/InputImpl.cpp index 863b6b859..a5a716def 100644 --- a/src/Nazara/Platform/SDL2/InputImpl.cpp +++ b/src/Nazara/Platform/SDL2/InputImpl.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -12,7 +12,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/InputImpl.hpp b/src/Nazara/Platform/SDL2/InputImpl.hpp index 1a2be39d0..8fd78c7fb 100644 --- a/src/Nazara/Platform/SDL2/InputImpl.hpp +++ b/src/Nazara/Platform/SDL2/InputImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/SDL2/SDLHelper.cpp b/src/Nazara/Platform/SDL2/SDLHelper.cpp index 1640c7291..e12d7c408 100644 --- a/src/Nazara/Platform/SDL2/SDLHelper.cpp +++ b/src/Nazara/Platform/SDL2/SDLHelper.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/SDLHelper.hpp b/src/Nazara/Platform/SDL2/SDLHelper.hpp index 5c1c94c56..69a837fd4 100644 --- a/src/Nazara/Platform/SDL2/SDLHelper.hpp +++ b/src/Nazara/Platform/SDL2/SDLHelper.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/SDL2/VideoModeImpl.cpp b/src/Nazara/Platform/SDL2/VideoModeImpl.cpp index 930faad3e..d820bc26e 100644 --- a/src/Nazara/Platform/SDL2/VideoModeImpl.cpp +++ b/src/Nazara/Platform/SDL2/VideoModeImpl.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/VideoModeImpl.hpp b/src/Nazara/Platform/SDL2/VideoModeImpl.hpp index 8e5a3f491..78b86d250 100644 --- a/src/Nazara/Platform/SDL2/VideoModeImpl.hpp +++ b/src/Nazara/Platform/SDL2/VideoModeImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/SDL2/WindowImpl.cpp b/src/Nazara/Platform/SDL2/WindowImpl.cpp index 56c2d87a6..fba487bed 100644 --- a/src/Nazara/Platform/SDL2/WindowImpl.cpp +++ b/src/Nazara/Platform/SDL2/WindowImpl.cpp @@ -1,13 +1,13 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include #include +#include #include #include #include @@ -24,7 +24,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/SDL2/WindowImpl.hpp b/src/Nazara/Platform/SDL2/WindowImpl.hpp index 7800a2a04..0d75c3a3c 100644 --- a/src/Nazara/Platform/SDL2/WindowImpl.hpp +++ b/src/Nazara/Platform/SDL2/WindowImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp // Interface inspirée de la SFML par Laurent Gomila @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/Nazara/Platform/VideoMode.cpp b/src/Nazara/Platform/VideoMode.cpp index e0af1b466..d1c984a5b 100644 --- a/src/Nazara/Platform/VideoMode.cpp +++ b/src/Nazara/Platform/VideoMode.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Platform/VideoModeImpl.hpp b/src/Nazara/Platform/VideoModeImpl.hpp index b992caf42..dace8d5ee 100644 --- a/src/Nazara/Platform/VideoModeImpl.hpp +++ b/src/Nazara/Platform/VideoModeImpl.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/Platform/Window.cpp b/src/Nazara/Platform/Window.cpp index 1dd8896d9..b835d5fb3 100644 --- a/src/Nazara/Platform/Window.cpp +++ b/src/Nazara/Platform/Window.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { @@ -168,46 +167,25 @@ NAZARA_WARNING_POP() bool Window::HasFocus() const { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return false; - } - #endif - + NazaraAssert(m_impl, "window not created"); return m_impl->HasFocus(); } bool Window::IsMinimized() const { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return false; - } - #endif - + NazaraAssert(m_impl, "window not created"); return m_impl->IsMinimized(); } bool Window::IsVisible() const { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return false; - } - #endif - + NazaraAssert(m_impl, "window not created"); return m_impl->IsVisible(); } void Window::SetCursor(std::shared_ptr cursor) { - NazaraAssert(m_impl, "Window not created"); + NazaraAssert(m_impl, "window not created"); NazaraAssert(cursor && cursor->IsValid(), "Invalid cursor"); m_cursor = std::move(cursor); @@ -216,13 +194,7 @@ NAZARA_WARNING_POP() void Window::SetFocus() { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->RaiseFocus(); } @@ -238,143 +210,49 @@ NAZARA_WARNING_POP() void Window::SetMaximumSize(const Vector2i& maxSize) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdateMaximumSize(maxSize.x, maxSize.y); } - void Window::SetMaximumSize(int width, int height) - { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif - - m_impl->UpdateMaximumSize(width, height); - } - void Window::SetMinimumSize(const Vector2i& minSize) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdateMinimumSize(minSize.x, minSize.y); } - void Window::SetMinimumSize(int width, int height) - { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif - - m_impl->UpdateMinimumSize(width, height); - } - void Window::SetPosition(const Vector2i& position) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdatePosition(position.x, position.y); } - void Window::SetPosition(int x, int y) - { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif - - m_impl->UpdatePosition(x, y); - } - void Window::SetSize(const Vector2i& size) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdateSize(size.x, size.y); } - void Window::SetSize(unsigned int width, unsigned int height) - { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif - - m_impl->UpdateSize(width, height); - } - void Window::SetStayOnTop(bool stayOnTop) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdateStayOnTop(stayOnTop); } void Window::SetTitle(const std::string& title) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->UpdateTitle(title); } void Window::SetVisible(bool visible) { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->Show(visible); } @@ -423,13 +301,7 @@ NAZARA_WARNING_POP() void Window::IgnoreNextMouseEvent(int mouseX, int mouseY) const { - #if NAZARA_PLATFORM_SAFE - if (!m_impl) - { - NazaraError("window not created"); - return; - } - #endif + NazaraAssert(m_impl, "window not created"); m_impl->IgnoreNextMouseEvent(mouseX, mouseY); } diff --git a/src/Nazara/Platform/WindowingAppComponent.cpp b/src/Nazara/Platform/WindowingAppComponent.cpp index 81f7b4e11..b2dd4353d 100644 --- a/src/Nazara/Platform/WindowingAppComponent.cpp +++ b/src/Nazara/Platform/WindowingAppComponent.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/CommandBuffer.cpp b/src/Nazara/Renderer/CommandBuffer.cpp index a4b6e8ab2..61530d752 100644 --- a/src/Nazara/Renderer/CommandBuffer.cpp +++ b/src/Nazara/Renderer/CommandBuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/CommandBufferBuilder.cpp b/src/Nazara/Renderer/CommandBufferBuilder.cpp index 15920a92c..51533b69d 100644 --- a/src/Nazara/Renderer/CommandBufferBuilder.cpp +++ b/src/Nazara/Renderer/CommandBufferBuilder.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/CommandPool.cpp b/src/Nazara/Renderer/CommandPool.cpp index 4b99aba04..28e533deb 100644 --- a/src/Nazara/Renderer/CommandPool.cpp +++ b/src/Nazara/Renderer/CommandPool.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/ComputePipeline.cpp b/src/Nazara/Renderer/ComputePipeline.cpp index a4231ca42..cb022ef3f 100644 --- a/src/Nazara/Renderer/ComputePipeline.cpp +++ b/src/Nazara/Renderer/ComputePipeline.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/DebugDrawer.cpp b/src/Nazara/Renderer/DebugDrawer.cpp index 51d84c537..5932f7c1c 100644 --- a/src/Nazara/Renderer/DebugDrawer.cpp +++ b/src/Nazara/Renderer/DebugDrawer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -13,7 +13,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/Framebuffer.cpp b/src/Nazara/Renderer/Framebuffer.cpp index c5bf635d1..63003b60b 100644 --- a/src/Nazara/Renderer/Framebuffer.cpp +++ b/src/Nazara/Renderer/Framebuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderBuffer.cpp b/src/Nazara/Renderer/RenderBuffer.cpp index a66a06b28..aa9271424 100644 --- a/src/Nazara/Renderer/RenderBuffer.cpp +++ b/src/Nazara/Renderer/RenderBuffer.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderDevice.cpp b/src/Nazara/Renderer/RenderDevice.cpp index f16ae9e69..94a5c6385 100644 --- a/src/Nazara/Renderer/RenderDevice.cpp +++ b/src/Nazara/Renderer/RenderDevice.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderPass.cpp b/src/Nazara/Renderer/RenderPass.cpp index 98652ca20..0ff601cf8 100644 --- a/src/Nazara/Renderer/RenderPass.cpp +++ b/src/Nazara/Renderer/RenderPass.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderPassCache.cpp b/src/Nazara/Renderer/RenderPassCache.cpp index ed7cf69ee..e5060fa68 100644 --- a/src/Nazara/Renderer/RenderPassCache.cpp +++ b/src/Nazara/Renderer/RenderPassCache.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderPipeline.cpp b/src/Nazara/Renderer/RenderPipeline.cpp index fc9c4be22..2d1536707 100644 --- a/src/Nazara/Renderer/RenderPipeline.cpp +++ b/src/Nazara/Renderer/RenderPipeline.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderPipelineLayout.cpp b/src/Nazara/Renderer/RenderPipelineLayout.cpp index ef25dcfe0..28aa3567a 100644 --- a/src/Nazara/Renderer/RenderPipelineLayout.cpp +++ b/src/Nazara/Renderer/RenderPipelineLayout.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/RenderResources.cpp b/src/Nazara/Renderer/RenderResources.cpp index 0831b5a5d..b4f6c474c 100644 --- a/src/Nazara/Renderer/RenderResources.cpp +++ b/src/Nazara/Renderer/RenderResources.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/Renderer.cpp b/src/Nazara/Renderer/Renderer.cpp index 426817300..8739d14f5 100644 --- a/src/Nazara/Renderer/Renderer.cpp +++ b/src/Nazara/Renderer/Renderer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -25,7 +25,6 @@ #endif -#include #ifdef NAZARA_COMPILER_MSVC #define NazaraRendererPrefix "" diff --git a/src/Nazara/Renderer/RendererImpl.cpp b/src/Nazara/Renderer/RendererImpl.cpp index b9fd12dcc..619e85cd9 100644 --- a/src/Nazara/Renderer/RendererImpl.cpp +++ b/src/Nazara/Renderer/RendererImpl.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/ShaderBinding.cpp b/src/Nazara/Renderer/ShaderBinding.cpp index 2bf96e6d5..3379a2c83 100644 --- a/src/Nazara/Renderer/ShaderBinding.cpp +++ b/src/Nazara/Renderer/ShaderBinding.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/ShaderModule.cpp b/src/Nazara/Renderer/ShaderModule.cpp index c06d25bc4..64056eec4 100644 --- a/src/Nazara/Renderer/ShaderModule.cpp +++ b/src/Nazara/Renderer/ShaderModule.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/Swapchain.cpp b/src/Nazara/Renderer/Swapchain.cpp index 5ec6e5c40..b09ba4060 100644 --- a/src/Nazara/Renderer/Swapchain.cpp +++ b/src/Nazara/Renderer/Swapchain.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/Texture.cpp b/src/Nazara/Renderer/Texture.cpp index 2165821fb..2d1e52138 100644 --- a/src/Nazara/Renderer/Texture.cpp +++ b/src/Nazara/Renderer/Texture.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/TextureSampler.cpp b/src/Nazara/Renderer/TextureSampler.cpp index 890160480..9e2c34146 100644 --- a/src/Nazara/Renderer/TextureSampler.cpp +++ b/src/Nazara/Renderer/TextureSampler.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/UploadPool.cpp b/src/Nazara/Renderer/UploadPool.cpp index 66d6b4389..26e20e92e 100644 --- a/src/Nazara/Renderer/UploadPool.cpp +++ b/src/Nazara/Renderer/UploadPool.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Renderer/WindowSwapchain.cpp b/src/Nazara/Renderer/WindowSwapchain.cpp index 8997b4fa6..9a803fb4f 100644 --- a/src/Nazara/Renderer/WindowSwapchain.cpp +++ b/src/Nazara/Renderer/WindowSwapchain.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/AbstractTextDrawer.cpp b/src/Nazara/TextRenderer/AbstractTextDrawer.cpp index b59b12f97..de60968e5 100644 --- a/src/Nazara/TextRenderer/AbstractTextDrawer.cpp +++ b/src/Nazara/TextRenderer/AbstractTextDrawer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/Font.cpp b/src/Nazara/TextRenderer/Font.cpp index e25e37a7d..04db9e0aa 100644 --- a/src/Nazara/TextRenderer/Font.cpp +++ b/src/Nazara/TextRenderer/Font.cpp @@ -1,15 +1,14 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include +#include #include #include #include #include #include -#include namespace Nz { @@ -106,14 +105,7 @@ namespace Nz bool Font::ExtractGlyph(unsigned int characterSize, char32_t character, TextStyleFlags style, float outlineThickness, FontGlyph* glyph) const { - #if NAZARA_CORE_SAFE - if (!IsValid()) - { - NazaraError("invalid font"); - return false; - } - #endif - + NazaraAssert(IsValid(), "invalid font"); return m_data->ExtractGlyph(characterSize, character, style, outlineThickness, glyph); } @@ -143,26 +135,13 @@ namespace Nz std::string Font::GetFamilyName() const { - #if NAZARA_CORE_SAFE - if (!IsValid()) - { - NazaraError("invalid font"); - return std::string("invalid font"); - } - #endif - + NazaraAssert(IsValid(), "invalid font"); return m_data->GetFamilyName(); } int Font::GetKerning(unsigned int characterSize, char32_t first, char32_t second) const { - #if NAZARA_CORE_SAFE - if (!IsValid()) - { - NazaraError("invalid font"); - return 0; - } - #endif + NazaraAssert(IsValid(), "invalid font"); // Use a cache as QueryKerning may be costly (may induce an internal size change) auto& map = m_kerningCache[characterSize]; @@ -199,15 +178,7 @@ namespace Nz const Font::SizeInfo& Font::GetSizeInfo(unsigned int characterSize) const { - #if NAZARA_CORE_SAFE - if (!IsValid()) - { - NazaraError("invalid font"); - - static SizeInfo dummy; - return dummy; - } - #endif + NazaraAssert(IsValid(), "invalid font"); auto it = m_sizeInfoCache.find(characterSize); if (it == m_sizeInfoCache.end()) @@ -234,14 +205,7 @@ namespace Nz std::string Font::GetStyleName() const { - #if NAZARA_CORE_SAFE - if (!IsValid()) - { - NazaraError("invalid font"); - return std::string("invalid font"); - } - #endif - + NazaraAssert(IsValid(), "invalid font"); return m_data->GetStyleName(); } @@ -452,13 +416,7 @@ namespace Nz Glyph& glyph = glyphMap[character]; //< Insert a new glyph glyph.valid = false; - #if NAZARA_CORE_SAFE - if (!m_atlas) - { - NazaraError("font has no atlas"); - return glyph; - } - #endif + NazaraAssert(m_atlas, "font has no atlas"); // Check if requested style is supported by our font (otherwise it will need to be simulated) glyph.fauxOutlineThickness = 0.f; diff --git a/src/Nazara/TextRenderer/FontData.cpp b/src/Nazara/TextRenderer/FontData.cpp index 266a4978b..e2973a3ca 100644 --- a/src/Nazara/TextRenderer/FontData.cpp +++ b/src/Nazara/TextRenderer/FontData.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/Formats/FreeTypeLoader.cpp b/src/Nazara/TextRenderer/Formats/FreeTypeLoader.cpp index 4acce879c..b00ad9d77 100644 --- a/src/Nazara/TextRenderer/Formats/FreeTypeLoader.cpp +++ b/src/Nazara/TextRenderer/Formats/FreeTypeLoader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) - 2009 Cruden BV // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -19,7 +19,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/Formats/FreeTypeLoader.hpp b/src/Nazara/TextRenderer/Formats/FreeTypeLoader.hpp index 8de799912..466ab5db3 100644 --- a/src/Nazara/TextRenderer/Formats/FreeTypeLoader.hpp +++ b/src/Nazara/TextRenderer/Formats/FreeTypeLoader.hpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #pragma once diff --git a/src/Nazara/TextRenderer/RichTextDrawer.cpp b/src/Nazara/TextRenderer/RichTextDrawer.cpp index 1c5cea80b..9fdd8aa3c 100644 --- a/src/Nazara/TextRenderer/RichTextDrawer.cpp +++ b/src/Nazara/TextRenderer/RichTextDrawer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/SimpleTextDrawer.cpp b/src/Nazara/TextRenderer/SimpleTextDrawer.cpp index 4769a5fd3..3da046912 100644 --- a/src/Nazara/TextRenderer/SimpleTextDrawer.cpp +++ b/src/Nazara/TextRenderer/SimpleTextDrawer.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/TextRenderer/TextRenderer.cpp b/src/Nazara/TextRenderer/TextRenderer.cpp index 8cb8a392e..46c1acfe1 100644 --- a/src/Nazara/TextRenderer/TextRenderer.cpp +++ b/src/Nazara/TextRenderer/TextRenderer.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Text renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Export.cpp b/src/Nazara/VulkanRenderer/Export.cpp index ebdab6750..a2294b915 100644 --- a/src/Nazara/VulkanRenderer/Export.cpp +++ b/src/Nazara/VulkanRenderer/Export.cpp @@ -1,7 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp +#include #include #include diff --git a/src/Nazara/VulkanRenderer/Utils_VulkanRenderer.cpp b/src/Nazara/VulkanRenderer/Utils_VulkanRenderer.cpp index be06a09ab..9520e4138 100644 --- a/src/Nazara/VulkanRenderer/Utils_VulkanRenderer.cpp +++ b/src/Nazara/VulkanRenderer/Utils_VulkanRenderer.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp -#include #include -#include #include -#include +#include +#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Vulkan.cpp b/src/Nazara/VulkanRenderer/Vulkan.cpp index 1e755bb09..ff8dbbad2 100644 --- a/src/Nazara/VulkanRenderer/Vulkan.cpp +++ b/src/Nazara/VulkanRenderer/Vulkan.cpp @@ -1,20 +1,19 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include +#include #include #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanBuffer.cpp b/src/Nazara/VulkanRenderer/VulkanBuffer.cpp index 7eed6aac7..2382262a2 100644 --- a/src/Nazara/VulkanRenderer/VulkanBuffer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanBuffer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanCommandBuffer.cpp b/src/Nazara/VulkanRenderer/VulkanCommandBuffer.cpp index f75562ecd..e3aa70bbf 100644 --- a/src/Nazara/VulkanRenderer/VulkanCommandBuffer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanCommandBuffer.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.cpp b/src/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.cpp index aaae04976..aeec3e51d 100644 --- a/src/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.cpp +++ b/src/Nazara/VulkanRenderer/VulkanCommandBufferBuilder.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -17,7 +17,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanCommandPool.cpp b/src/Nazara/VulkanRenderer/VulkanCommandPool.cpp index 6139c4bbd..9a20626bd 100644 --- a/src/Nazara/VulkanRenderer/VulkanCommandPool.cpp +++ b/src/Nazara/VulkanRenderer/VulkanCommandPool.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanComputePipeline.cpp b/src/Nazara/VulkanRenderer/VulkanComputePipeline.cpp index 4182d959e..ab1f20a04 100644 --- a/src/Nazara/VulkanRenderer/VulkanComputePipeline.cpp +++ b/src/Nazara/VulkanRenderer/VulkanComputePipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanDevice.cpp b/src/Nazara/VulkanRenderer/VulkanDevice.cpp index 38f545f89..3c59ed09c 100644 --- a/src/Nazara/VulkanRenderer/VulkanDevice.cpp +++ b/src/Nazara/VulkanRenderer/VulkanDevice.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -16,7 +16,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanFramebuffer.cpp b/src/Nazara/VulkanRenderer/VulkanFramebuffer.cpp index 61d11c928..405cae4ab 100644 --- a/src/Nazara/VulkanRenderer/VulkanFramebuffer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanFramebuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanRenderImage.cpp b/src/Nazara/VulkanRenderer/VulkanRenderImage.cpp index 698fa513f..49585b2dd 100644 --- a/src/Nazara/VulkanRenderer/VulkanRenderImage.cpp +++ b/src/Nazara/VulkanRenderer/VulkanRenderImage.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanRenderPass.cpp b/src/Nazara/VulkanRenderer/VulkanRenderPass.cpp index 70094e20d..83737125e 100644 --- a/src/Nazara/VulkanRenderer/VulkanRenderPass.cpp +++ b/src/Nazara/VulkanRenderer/VulkanRenderPass.cpp @@ -1,12 +1,11 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanRenderPipeline.cpp b/src/Nazara/VulkanRenderer/VulkanRenderPipeline.cpp index b4d006e07..0ec655029 100644 --- a/src/Nazara/VulkanRenderer/VulkanRenderPipeline.cpp +++ b/src/Nazara/VulkanRenderer/VulkanRenderPipeline.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.cpp b/src/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.cpp index afcb28030..d478e2fac 100644 --- a/src/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.cpp +++ b/src/Nazara/VulkanRenderer/VulkanRenderPipelineLayout.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanRenderer.cpp b/src/Nazara/VulkanRenderer/VulkanRenderer.cpp index 62846b083..21426e2b2 100644 --- a/src/Nazara/VulkanRenderer/VulkanRenderer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanRenderer.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanShaderBinding.cpp b/src/Nazara/VulkanRenderer/VulkanShaderBinding.cpp index 7a3e9efd1..9f43c4cb3 100644 --- a/src/Nazara/VulkanRenderer/VulkanShaderBinding.cpp +++ b/src/Nazara/VulkanRenderer/VulkanShaderBinding.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanShaderModule.cpp b/src/Nazara/VulkanRenderer/VulkanShaderModule.cpp index 5c21cce8e..65876e39d 100644 --- a/src/Nazara/VulkanRenderer/VulkanShaderModule.cpp +++ b/src/Nazara/VulkanRenderer/VulkanShaderModule.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanSwapchain.cpp b/src/Nazara/VulkanRenderer/VulkanSwapchain.cpp index a7b953cf8..14ef3c056 100644 --- a/src/Nazara/VulkanRenderer/VulkanSwapchain.cpp +++ b/src/Nazara/VulkanRenderer/VulkanSwapchain.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -26,7 +26,6 @@ #include #endif -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanTexture.cpp b/src/Nazara/VulkanRenderer/VulkanTexture.cpp index 28d49da44..0f0fd7c3a 100644 --- a/src/Nazara/VulkanRenderer/VulkanTexture.cpp +++ b/src/Nazara/VulkanRenderer/VulkanTexture.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanTextureFramebuffer.cpp b/src/Nazara/VulkanRenderer/VulkanTextureFramebuffer.cpp index eef5367e0..ac903fe6b 100644 --- a/src/Nazara/VulkanRenderer/VulkanTextureFramebuffer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanTextureFramebuffer.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanTextureSampler.cpp b/src/Nazara/VulkanRenderer/VulkanTextureSampler.cpp index b41c5f5a9..42ea04e1a 100644 --- a/src/Nazara/VulkanRenderer/VulkanTextureSampler.cpp +++ b/src/Nazara/VulkanRenderer/VulkanTextureSampler.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanUploadPool.cpp b/src/Nazara/VulkanRenderer/VulkanUploadPool.cpp index 2e1eac454..b88030ab8 100644 --- a/src/Nazara/VulkanRenderer/VulkanUploadPool.cpp +++ b/src/Nazara/VulkanRenderer/VulkanUploadPool.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/VulkanWindowFramebuffer.cpp b/src/Nazara/VulkanRenderer/VulkanWindowFramebuffer.cpp index d0d6f6809..aeca62292 100644 --- a/src/Nazara/VulkanRenderer/VulkanWindowFramebuffer.cpp +++ b/src/Nazara/VulkanRenderer/VulkanWindowFramebuffer.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Wrapper/CommandPool.cpp b/src/Nazara/VulkanRenderer/Wrapper/CommandPool.cpp index 7cad814c4..23bfe5f95 100644 --- a/src/Nazara/VulkanRenderer/Wrapper/CommandPool.cpp +++ b/src/Nazara/VulkanRenderer/Wrapper/CommandPool.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Wrapper/DescriptorPool.cpp b/src/Nazara/VulkanRenderer/Wrapper/DescriptorPool.cpp index 52d153871..756bb132f 100644 --- a/src/Nazara/VulkanRenderer/Wrapper/DescriptorPool.cpp +++ b/src/Nazara/VulkanRenderer/Wrapper/DescriptorPool.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Wrapper/Device.cpp b/src/Nazara/VulkanRenderer/Wrapper/Device.cpp index 8df62b68a..fe7335cf3 100644 --- a/src/Nazara/VulkanRenderer/Wrapper/Device.cpp +++ b/src/Nazara/VulkanRenderer/Wrapper/Device.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #define VMA_STATIC_VULKAN_FUNCTIONS 0 #include -#include namespace Nz { diff --git a/src/Nazara/VulkanRenderer/Wrapper/Instance.cpp b/src/Nazara/VulkanRenderer/Wrapper/Instance.cpp index 610a7ee25..af64826a3 100644 --- a/src/Nazara/VulkanRenderer/Wrapper/Instance.cpp +++ b/src/Nazara/VulkanRenderer/Wrapper/Instance.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz::Vk { diff --git a/src/Nazara/VulkanRenderer/Wrapper/Loader.cpp b/src/Nazara/VulkanRenderer/Wrapper/Loader.cpp index da3107c08..f2b21485b 100644 --- a/src/Nazara/VulkanRenderer/Wrapper/Loader.cpp +++ b/src/Nazara/VulkanRenderer/Wrapper/Loader.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/AbstractLabelWidget.cpp b/src/Nazara/Widgets/AbstractLabelWidget.cpp index b79adbe60..786de3ddb 100644 --- a/src/Nazara/Widgets/AbstractLabelWidget.cpp +++ b/src/Nazara/Widgets/AbstractLabelWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/AbstractTextAreaWidget.cpp b/src/Nazara/Widgets/AbstractTextAreaWidget.cpp index b255e1ff7..fc8e2164e 100644 --- a/src/Nazara/Widgets/AbstractTextAreaWidget.cpp +++ b/src/Nazara/Widgets/AbstractTextAreaWidget.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -10,7 +10,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/BaseWidget.cpp b/src/Nazara/Widgets/BaseWidget.cpp index 6f3f78c51..8c7132e27 100644 --- a/src/Nazara/Widgets/BaseWidget.cpp +++ b/src/Nazara/Widgets/BaseWidget.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -9,7 +9,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/BoxLayout.cpp b/src/Nazara/Widgets/BoxLayout.cpp index 799b99a2c..39a7df8c9 100644 --- a/src/Nazara/Widgets/BoxLayout.cpp +++ b/src/Nazara/Widgets/BoxLayout.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ButtonWidget.cpp b/src/Nazara/Widgets/ButtonWidget.cpp index 7337bd84e..6b0a7c820 100644 --- a/src/Nazara/Widgets/ButtonWidget.cpp +++ b/src/Nazara/Widgets/ButtonWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/Canvas.cpp b/src/Nazara/Widgets/Canvas.cpp index 1a65f0a99..065467e0c 100644 --- a/src/Nazara/Widgets/Canvas.cpp +++ b/src/Nazara/Widgets/Canvas.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/CheckboxWidget.cpp b/src/Nazara/Widgets/CheckboxWidget.cpp index 338a439c5..9a2ef4885 100644 --- a/src/Nazara/Widgets/CheckboxWidget.cpp +++ b/src/Nazara/Widgets/CheckboxWidget.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -11,7 +11,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/DefaultWidgetTheme.cpp b/src/Nazara/Widgets/DefaultWidgetTheme.cpp index 2fbc986cb..f86db837d 100644 --- a/src/Nazara/Widgets/DefaultWidgetTheme.cpp +++ b/src/Nazara/Widgets/DefaultWidgetTheme.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ImageButtonWidget.cpp b/src/Nazara/Widgets/ImageButtonWidget.cpp index f96fc1ed2..41a67ace2 100644 --- a/src/Nazara/Widgets/ImageButtonWidget.cpp +++ b/src/Nazara/Widgets/ImageButtonWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ImageWidget.cpp b/src/Nazara/Widgets/ImageWidget.cpp index fa518621a..9e4576de9 100644 --- a/src/Nazara/Widgets/ImageWidget.cpp +++ b/src/Nazara/Widgets/ImageWidget.cpp @@ -1,13 +1,12 @@ // Copyright (C) 2024 Samy Bensaid // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/LabelWidget.cpp b/src/Nazara/Widgets/LabelWidget.cpp index 80b0be060..ce8d41dff 100644 --- a/src/Nazara/Widgets/LabelWidget.cpp +++ b/src/Nazara/Widgets/LabelWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ProgressBarWidget.cpp b/src/Nazara/Widgets/ProgressBarWidget.cpp index a94ddf230..9505e6c97 100644 --- a/src/Nazara/Widgets/ProgressBarWidget.cpp +++ b/src/Nazara/Widgets/ProgressBarWidget.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/RichTextAreaWidget.cpp b/src/Nazara/Widgets/RichTextAreaWidget.cpp index e34666169..f8c6ddbac 100644 --- a/src/Nazara/Widgets/RichTextAreaWidget.cpp +++ b/src/Nazara/Widgets/RichTextAreaWidget.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ScrollAreaWidget.cpp b/src/Nazara/Widgets/ScrollAreaWidget.cpp index a5eae2e41..7dfe53d6e 100644 --- a/src/Nazara/Widgets/ScrollAreaWidget.cpp +++ b/src/Nazara/Widgets/ScrollAreaWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ScrollbarButtonWidget.cpp b/src/Nazara/Widgets/ScrollbarButtonWidget.cpp index 3ff9aef3e..f8ee2271d 100644 --- a/src/Nazara/Widgets/ScrollbarButtonWidget.cpp +++ b/src/Nazara/Widgets/ScrollbarButtonWidget.cpp @@ -1,9 +1,8 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/ScrollbarWidget.cpp b/src/Nazara/Widgets/ScrollbarWidget.cpp index c2be8aaab..707bb8500 100644 --- a/src/Nazara/Widgets/ScrollbarWidget.cpp +++ b/src/Nazara/Widgets/ScrollbarWidget.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/SimpleLabelWidget.cpp b/src/Nazara/Widgets/SimpleLabelWidget.cpp index dd599020f..835105146 100644 --- a/src/Nazara/Widgets/SimpleLabelWidget.cpp +++ b/src/Nazara/Widgets/SimpleLabelWidget.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/SimpleWidgetStyles.cpp b/src/Nazara/Widgets/SimpleWidgetStyles.cpp index 633a67129..2d0a67f52 100644 --- a/src/Nazara/Widgets/SimpleWidgetStyles.cpp +++ b/src/Nazara/Widgets/SimpleWidgetStyles.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -15,7 +15,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/TextAreaWidget.cpp b/src/Nazara/Widgets/TextAreaWidget.cpp index b7563d310..a694dfd6b 100644 --- a/src/Nazara/Widgets/TextAreaWidget.cpp +++ b/src/Nazara/Widgets/TextAreaWidget.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include @@ -8,7 +8,6 @@ #include #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/WidgetTheme.cpp b/src/Nazara/Widgets/WidgetTheme.cpp index 699aa751d..46437e3ab 100644 --- a/src/Nazara/Widgets/WidgetTheme.cpp +++ b/src/Nazara/Widgets/WidgetTheme.cpp @@ -1,10 +1,9 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include -#include namespace Nz { diff --git a/src/Nazara/Widgets/Widgets.cpp b/src/Nazara/Widgets/Widgets.cpp index bc6a9e564..7d5b1afa6 100644 --- a/src/Nazara/Widgets/Widgets.cpp +++ b/src/Nazara/Widgets/Widgets.cpp @@ -1,11 +1,10 @@ // Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Widgets module" -// For conditions of distribution and use, see copyright notice in Config.hpp +// For conditions of distribution and use, see copyright notice in Export.hpp #include #include #include -#include namespace Nz { diff --git a/xmake.lua b/xmake.lua index bd02a53d7..d055cbe06 100644 --- a/xmake.lua +++ b/xmake.lua @@ -81,6 +81,10 @@ local modules = { add_defines("NAZARA_PLUGINS_STATIC", { public = true }) end + if has_config("embed_unicodetable") then + add_defines("NAZARA_CORE_EMBED_UNICODEDATA") + end + if is_plat("windows", "mingw") then add_syslinks("Ole32") elseif is_plat("linux") then @@ -236,6 +240,7 @@ option("compile_shaders", { description = "Compile nzsl shaders into an includab option("embed_rendererbackends", { description = "Embed renderer backend code into NazaraRenderer instead of loading them dynamically", default = is_plat("wasm") or false }) option("embed_resources", { description = "Turn builtin resources into includable headers", default = true }) option("embed_plugins", { description = "Embed enabled plugins code as static libraries", default = is_plat("wasm") or false }) +option("embed_unicodetable", { description = "Embed Unicode characters table", default = true }) option("link_curl", { description = "Link libcurl in the executable instead of dynamically loading it", default = false }) option("link_openal", { description = "Link OpenAL in the executable instead of dynamically loading it", default = is_plat("wasm") or false }) option("static", { description = "Build the engine statically (implies embed_rendererbackends and embed_plugins)", default = is_plat("wasm") or false }) diff --git a/xmake/actions/checkfiles.lua b/xmake/actions/checkfiles.lua index 6a0df443f..3c927b4a4 100644 --- a/xmake/actions/checkfiles.lua +++ b/xmake/actions/checkfiles.lua @@ -354,37 +354,6 @@ on_run(function () end end - -- Check debug headers - local debugIncludeModule = moduleName ~= "Math" and moduleName or "Core" - - local debugInclude - local debugIncludeOff - for i = 1, #inclusions do - local module, off = inclusions[i].path:match("^Nazara/(.+)/Debug(O?f?f?).hpp$") - if module then - if off == "Off" then - debugIncludeOff = i - elseif off == "" then - debugInclude = i - else - print(filePath .. ": unrecognized debug include at line " .. inclusions[i].line) - end - - if module ~= debugIncludeModule then - print(filePath .. ": has wrong Debug" .. off .. " include") - - local currentInclusion = inclusions[i] - table.insert(fixes, { - File = filePath, - Func = function (lines) - lines[currentInclusion.line] = "#include " - return lines - end - }) - end - end - end - -- Add header inclusion if it's missing local isInl = path.extension(filePath) == ".inl" if not headerInclude and not isInl then @@ -414,18 +383,6 @@ on_run(function () }) end - if not debugInclude then - print(filePath .. ": has missing Debug include") - local lastIncludeLine = inclusions[debugIncludeOff and #inclusions - 1 or #inclusions].line - table.insert(fixes, { - File = filePath, - Func = function (lines) - table.insert(lines, lastIncludeLine + increment + 1, "#include ") - return lines - end - }) - end - if isInl then if not debugIncludeOff then print(filePath .. ": has missing DebugOff include") @@ -498,8 +455,6 @@ on_run(function () if inclusions[i].path == headerPath then order = 0 -- own include comes first elseif inclusions[i].path == "NazaraUtils/Prerequisites.hpp" then - order = 1 -- top engine includes - elseif inclusions[i].path == "Nazara/" .. debugIncludeModule .. "/Debug.hpp" then order = 6 -- debug include elseif inclusions[i].path:match("^NazaraUtils/") then order = 2.1 -- NazaraUtils @@ -612,7 +567,7 @@ on_run(function () Name = "copyright", Check = function (moduleName) local files = table.join( - os.files("include/Nazara/" .. moduleName .. "/**.hpp|Config.hpp"), + os.files("include/Nazara/" .. moduleName .. "/**.hpp|Export.hpp"), os.files("include/Nazara/" .. moduleName .. "/**.inl"), os.files("src/Nazara/" .. moduleName .. "/**.hpp"), os.files("src/Nazara/" .. moduleName .. "/**.inl"), @@ -631,10 +586,10 @@ on_run(function () moduleDesc = moduleName .. " module" end - -- Config + -- Export do - local configFilePath = path.translate("include/Nazara/" .. moduleName .. "/Config.hpp") - local lines = GetFile(configFilePath) + local exportFilePath = path.translate("include/Nazara/" .. moduleName .. "/Export.hpp") + local lines = GetFile(exportFilePath) local pragmaLine for i = 1, #lines do if lines[i] == "#pragma once" then @@ -647,7 +602,7 @@ on_run(function () repeat if not pragmaLine then - print(configFilePath .. ": pragma once not found") + print(exportFilePath .. ": pragma once not found") canFix = false break end @@ -680,13 +635,13 @@ on_run(function () -- Try to retrieve year and authors if lines[1] ~= "/*" then - print(configFilePath .. ": file doesn't begin with block comment") + print(exportFilePath .. ": file doesn't begin with block comment") break end if lines[2]:match("\tNazara Engine - " .. moduleDesc) then - print(configFilePath .. ": module description doesn't match") + print(exportFilePath .. ": module description doesn't match") shouldFix = true end @@ -695,19 +650,19 @@ on_run(function () if lines[3]:match("^%s*$") then shouldFix = true else - print(configFilePath .. ": expected space after project name") + print(exportFilePath .. ": expected space after project name") break end end local year, moduleAuthor = lines[4]:match("^\tCopyright %(C%) (Y?E?A?R?%d*) (.+)$") if not year then - print(configFilePath .. ": couldn't parse copyright date and author") + print(exportFilePath .. ": couldn't parse copyright date and author") break end if year ~= currentYear then - print(configFilePath .. ": incorrect copyright year") + print(exportFilePath .. ": incorrect copyright year") shouldFix = true end @@ -723,7 +678,7 @@ on_run(function () end if lines[i]:match("%s*Permission is hereby granted") then - print(configFilePath .. ": missing empty line before licence text") + print(exportFilePath .. ": missing empty line before licence text") shouldFix = true break end @@ -733,7 +688,7 @@ on_run(function () if shouldFix then table.insert(fixes, { - File = configFilePath, + File = exportFilePath, Func = function (lines) local newLines = { "/*", @@ -763,7 +718,7 @@ on_run(function () until true if not canFix then - print(configFilePath .. ": header couldn't be parsed, no automated fix will be done") + print(exportFilePath .. ": header couldn't be parsed, no automated fix will be done") end end @@ -803,7 +758,7 @@ on_run(function () shouldFix = true end - if lines[3] ~= "// For conditions of distribution and use, see copyright notice in Config.hpp" then + if lines[3] ~= "// For conditions of distribution and use, see copyright notice in Export.hpp" then print(filePath .. ": copyright file reference error") shouldFix = true end @@ -819,7 +774,7 @@ on_run(function () local copyrightLines = { "// Copyright (C) " .. currentYear .. " " .. (authors or engineAuthor), "// This file is part of the \"Nazara Engine - " .. moduleDesc .. "\"", - "// For conditions of distribution and use, see copyright notice in Config.hpp" + "// For conditions of distribution and use, see copyright notice in Export.hpp" } if hasCopyright then diff --git a/xmake/actions/createclass.lua b/xmake/actions/createclass.lua index 32a9f7cb3..648d4e45b 100644 --- a/xmake/actions/createclass.lua +++ b/xmake/actions/createclass.lua @@ -82,7 +82,7 @@ headerTemplate = [[ #define %HEADER_GUARD% #include -#include +#include namespace Nz { @@ -111,13 +111,11 @@ inlineTemplate = [[ // This file is part of the "Nazara Engine - %MODULE_NAME% module" // For conditions of distribution and use, see copyright notice in Config.hpp -#include namespace Nz { } -#include ]] sourceTemplate = [[ @@ -126,7 +124,6 @@ sourceTemplate = [[ // For conditions of distribution and use, see copyright notice in Config.hpp #include -#include namespace Nz { diff --git a/xmake/actions/generateheaders.lua b/xmake/actions/generateheaders.lua index 913223674..e91b63ede 100644 --- a/xmake/actions/generateheaders.lua +++ b/xmake/actions/generateheaders.lua @@ -13,8 +13,6 @@ on_run(function () local excludedFiles = { ["Components.hpp"] = { Define = "NAZARA_ENTT" }, ["ConfigCheck.hpp"] = true, - ["Debug.hpp"] = true, - ["DebugOff.hpp"] = true, ["Systems.hpp"] = { Define = "NAZARA_ENTT" }, ["ThreadSafety.hpp"] = true, ["ThreadSafetyOff.hpp"] = true