0ad/source/graphics
phosit 891908b801 Remove UNUSED
The `UNUSED` macro is used to mark a variable as unused but with a name.
Those usages are replaced with comments so that `UNUSED` can be removed.

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-unused
2025-06-26 17:25:05 +02:00
..
scripting Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
tests Load map scripts as modules 2025-06-14 09:10:47 +02:00
Camera.cpp Fix size mismatch in shift operation for Win64 2025-06-01 20:51:38 +02:00
Camera.h Return by value from CCamera::GetScreenCoordinates 2024-11-17 20:27:58 +01:00
CameraController.cpp Fix msvc truncation warning 2025-06-21 08:27:45 +02:00
CameraController.h Add support for bird's eye camera view 2025-06-16 20:01:07 +02:00
Canvas2D.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Canvas2D.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
CinemaManager.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
CinemaManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ColladaManager.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ColladaManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Color.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Color.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Decal.cpp Fix incorrect shadow behavior in VisualActors 2025-06-03 19:30:10 -05:00
Decal.h Fix incorrect shadow behavior in VisualActors 2025-06-03 19:30:10 -05:00
Entity.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Font.cpp Align font height, capHeight to FreeType metrics 2025-06-11 08:10:18 -05:00
Font.h Align font height, capHeight to FreeType metrics 2025-06-11 08:10:18 -05:00
FontManager.cpp Preload common glyphs after font load to reduce rendering delay 2025-06-15 08:05:12 -05:00
FontManager.h Use freetype for font rendering 2025-05-16 14:57:59 -05:00
FontMetrics.cpp Align font height, capHeight to FreeType metrics 2025-06-11 08:10:18 -05:00
FontMetrics.h Align font height, capHeight to FreeType metrics 2025-06-11 08:10:18 -05:00
GameView.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
GameView.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
HeightMipmap.cpp Remove ignore_result 2025-06-19 19:05:56 +02:00
HeightMipmap.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
HFTracer.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
HFTracer.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ICameraController.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ICameraController.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
LightEnv.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
LightEnv.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
LOSTexture.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
LOSTexture.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MapGenerator.cpp Load map scripts as modules 2025-06-14 09:10:47 +02:00
MapGenerator.h Load map scripts as modules 2025-06-14 09:10:47 +02:00
MapIO.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MapIO.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MapReader.cpp Remove UNUSED 2025-06-26 17:25:05 +02:00
MapReader.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MapWriter.cpp Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00
MapWriter.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Material.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Material.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MaterialManager.cpp Get config values without using return parameters 2025-04-09 12:51:21 +02:00
MaterialManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MeshManager.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MeshManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MiniMapTexture.cpp Remove UNUSED 2025-06-26 17:25:05 +02:00
MiniMapTexture.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MiniPatch.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
MiniPatch.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Model.cpp Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
Model.h Fix incorrect shadow behavior in VisualActors 2025-06-03 19:30:10 -05:00
ModelAbstract.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ModelAbstract.h Remove UNUSED 2025-06-26 17:25:05 +02:00
ModelDef.cpp Update trac links with gitea links 2024-12-10 11:29:48 +01:00
ModelDef.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ModelDummy.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ObjectBase.cpp Allow actors to override the entity's anchor type 2025-06-10 23:01:09 +02:00
ObjectBase.h Allow actors to override the entity's anchor type 2025-06-10 23:01:09 +02:00
ObjectEntry.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ObjectEntry.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ObjectManager.cpp Get config values without using return parameters 2025-04-09 12:51:21 +02:00
ObjectManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Overlay.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Overlay.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ParticleEmitter.cpp Adds proper IBuffer usage instead of dynamic flag. 2024-06-10 19:31:41 +00:00
ParticleEmitter.h Remove UNUSED 2025-06-26 17:25:05 +02:00
ParticleEmitterType.cpp Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00
ParticleEmitterType.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ParticleManager.cpp Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00
ParticleManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Patch.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Patch.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
PreprocessorWrapper.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
PreprocessorWrapper.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
RenderableObject.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SColor.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ShaderDefines.cpp Reduces allocations for ShaderDefines. 2025-04-24 01:05:34 +02:00
ShaderDefines.h Reduces allocations for ShaderDefines. 2025-04-24 01:05:34 +02:00
ShaderManager.cpp Add CXeromycesEngine 2024-11-17 18:03:49 +01:00
ShaderManager.h Update trac links with gitea links 2024-12-10 11:29:48 +01:00
ShaderProgram.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ShaderProgram.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ShaderProgramPtr.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
ShaderTechnique.cpp Adds compute shaders support and scaling with FSR. 2024-01-17 19:40:27 +00:00
ShaderTechnique.h Adds compute shaders support and scaling with FSR. 2024-01-17 19:40:27 +00:00
ShaderTechniquePtr.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SkeletonAnim.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SkeletonAnimDef.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SkeletonAnimDef.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SkeletonAnimManager.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SkeletonAnimManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SmoothedValue.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
SmoothedValue.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Terrain.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Terrain.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TerrainProperties.cpp Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00
TerrainProperties.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TerrainTextureEntry.cpp Fix hard crash when terrain is missing from map 2025-06-02 00:29:03 -05:00
TerrainTextureEntry.h Fix hard crash when terrain is missing from map 2025-06-02 00:29:03 -05:00
TerrainTextureManager.cpp Remove the name of some unused arguments 2025-06-18 12:49:59 +02:00
TerrainTextureManager.h Fix hard crash when terrain is missing from map 2025-06-02 00:29:03 -05:00
TerritoryBoundary.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TerritoryBoundary.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TerritoryTexture.cpp Mod Interface: Enable setting territory visibility 2024-12-30 22:23:05 +01:00
TerritoryTexture.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TextRenderer.cpp Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
TextRenderer.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Texture.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
TextureConverter.cpp Remove UNUSED 2025-06-26 17:25:05 +02:00
TextureConverter.h Use the threadpool for texture conversion 2023-12-17 09:43:54 +00:00
TextureManager.cpp Cleanup use of boost::filesystem 2025-06-17 21:56:04 +02:00
TextureManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Unit.cpp Update trac links with gitea links 2024-12-10 11:29:48 +01:00
Unit.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
UnitAnimation.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
UnitAnimation.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
UnitManager.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
UnitManager.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00