+Build/work/core/Version.cpp:28:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if] +Build/work/core/Version.cpp:32:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Build/work/core/Version.cpp:35:7: warning: no header providing "u64" is directly included [misc-include-cleaner] +Build/work/ui_ErrorReportDialog.h:664:9: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Build/work/ui_ErrorReportDialog.h:665:9: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Build/work/ui_ErrorReportDialog.h:666:9: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Build/work/ui_ErrorReportDialog.h:667:9: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Build/work/ui_ErrorReportDialog.h:668:9: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/src/ai/Anchors.cpp:85:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/ai/Anchors.cpp:88:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/ai/Anchors.cpp:90:4: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:50:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:56:1: warning: included header Mesh.h is not used directly [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:101:15: warning: no header providing "std::vector" is directly included [misc-include-cleaner] -Arx/src/ai/PathFinder.cpp:129:28: warning: narrowing conversion from 'PathFinder::NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:129:28: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:136:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:158:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:164:17: warning: variable 'entry' of type 'NodeList::value_type &' (aka 'pair &') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:180:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] -Arx/src/ai/PathFinder.cpp:208:25: warning: narrowing conversion from 'PathFinder::NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:208:25: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:215:3: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:227:17: warning: variable 'cid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:246:4: warning: variable 'remaining' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/ai/PathFinder.cpp:269:25: warning: narrowing conversion from 'PathFinder::NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:258:42: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinder.cpp:269:25: warning: narrowing conversion from 'NodeId' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:279:3: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:291:17: warning: variable 'cid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:332:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:336:2: warning: variable 'step_c' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:342:3: warning: variable 'nb' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:346:5: warning: variable 'r' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/ai/PathFinder.cpp:346:31: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:346:31: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:351:5: warning: variable 'nid' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:379:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:397:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:399:2: warning: variable 'to' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:403:2: warning: variable 'step_c' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:406:3: warning: variable 'nextPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:408:3: warning: variable 'next' of type 'NodeId' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinder.cpp:427:2: warning: variable 's' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/ai/PathFinder.cpp:434:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:434:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinder.cpp:451:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/ai/PathFinder.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/ai/PathFinderManager.cpp:72:14: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinderManager.cpp:72:60: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinderManager.cpp:90:3: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:97:3: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:110:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinderManager.cpp:112:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:136:24: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/ai/PathFinderManager.cpp:141:3: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:149:3: warning: variable 'request' of type 'PATHFINDER_REQUEST' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:177:3: warning: variable 'stealth' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:190:4: warning: variable 'safeDistance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/PathFinderManager.cpp:195:4: warning: variable 'radius' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/ai/PathFinderManager.cpp:206:47: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinderManager.cpp:206:47: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/PathFinderManager.cpp:212:27: warning: variable 'g_pathFinderThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:55:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/ai/Paths.cpp:66:1: warning: included header Random.h is not used directly [misc-include-cleaner] +Arx/src/ai/Paths.cpp:75:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:78:13: warning: function 'ARX_PATH_ComputeBB' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:130:15: warning: function 'ARX_PATH_CheckInZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:141:15: warning: function 'ARX_PATH_CheckInZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:146:15: warning: function 'ARX_PATH_CheckPlayerInZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:150:13: warning: function 'EntityEnteringCurrentZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:157:3: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:157:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:168:13: warning: function 'EntityLeavingLastZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/ai/Paths.cpp:173:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:192:2: warning: variable 'f' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:192:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:205:25: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:205:34: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:206:22: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:341:2: warning: variable 'p0' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:350:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:373:3: warning: variable 'bezier' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:379:3: warning: variable 'delta' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] -Arx/src/ai/Paths.cpp:394:10: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/ai/Paths.cpp:386:3: warning: variable 'rel' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/ai/Paths.cpp:391:26: warning: no header providing "glm::mix" is directly included [misc-include-cleaner] +Arx/src/ai/Paths.cpp:394:10: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/ai/Paths.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/ai/Paths.h:65:6: warning: enum 'ZoneFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/ai/Paths.h:99:6: warning: enum 'PathwayType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/ai/Paths.h:131:6: warning: enum 'UsePathFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/animation/Animation.cpp:54:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/animation/Animation.cpp:71:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/animation/Animation.cpp:72:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/animation/Animation.cpp:82:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/animation/Animation.cpp:86:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:106:4: warning: variable 'r' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:106:13: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:168:13: warning: function 'ReleaseAnim' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:174:16: warning: variable 'frame' of type 'EERIE_FRAME &' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:182:13: warning: function 'EERIE_ANIMMANAGER_Clear' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:207:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/Animation.cpp:212:22: warning: function 'EERIE_ANIMMANAGER_GetHandle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:223:14: warning: function 'GetTimeBetweenKeyFrames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:236:9: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:239:21: warning: function 'TheaToEerie' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:261:2: warning: variable 'keyFrames' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:262:2: warning: variable 'groupCount' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:302:27: warning: no header providing "AnimationDurationUs" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:356:3: warning: variable 'num_sample' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:393:5: warning: variable 'tot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:416:5: warning: variable 'tot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:440:4: warning: variable 'group' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:456:24: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:467:13: warning: function 'EERIE_ANIMMANAGER_AddAltAnim' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/Animation.cpp:473:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:548:2: warning: variable 'idx' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:565:26: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:577:2: warning: variable 'animTime' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:586:46: warning: no header providing "ANIM_WALK" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:587:49: warning: no header providing "ANIM_WALK2" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:588:49: warning: no header providing "ANIM_WALK3" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:589:49: warning: no header providing "ANIM_RUN" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:590:49: warning: no header providing "ANIM_RUN2" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:591:49: warning: no header providing "ANIM_RUN3" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:614:3: warning: variable 'tcf' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:615:3: warning: variable 'tnf' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:623:4: warning: variable 'pour' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/Animation.cpp:709:58: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:715:19: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:732:30: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/animation/Animation.cpp:771:32: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] -Arx/src/animation/Animation.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/animation/Animation.h:131:6: warning: enum 'AnimUseTypeFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/animation/AnimationRender.cpp:53:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:100:25: warning: variable 'TexSpecialColor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:102:25: warning: function 'PushVertexInTable' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:102:48: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:107:13: warning: function 'PopOneTriangleList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:118:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:119:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:133:3: warning: variable 'biasResetVal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:139:13: warning: function 'PopOneTriangleListTransparency' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:151:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:157:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:164:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:171:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:178:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:232:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:232:60: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:236:25: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:257:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:259:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:263:19: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:265:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:269:19: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:297:18: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:301:19: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:302:17: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:308:10: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:311:18: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:312:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:317:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:327:7: warning: variable 'rgb' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:332:8: warning: variable 'splatSphere' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:332:47: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:350:24: warning: no header providing "SFX_TYPE_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:353:64: warning: no header providing "SPELL_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:356:53: warning: no header providing "SPELL_MASS_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:381:13: warning: function 'Cedric_PrepareHalo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:381:52: warning: no header providing "Skeleton" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:383:2: warning: variable 'cam_vector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:383:35: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:387:9: warning: no header providing "Bone" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:389:3: warning: variable 'qt1' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:389:8: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:390:3: warning: variable 't_vector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:390:25: warning: no header providing "glm::inverse" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:395:4: warning: variable 'vertIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:406:25: warning: function 'GetNewVertexList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:445:2: warning: no header providing "g_renderBatcher" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:464:13: warning: function 'Cedric_IO_Visible' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:474:3: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:474:3: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:492:13: warning: function 'Cedric_ApplyLighting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:504:4: warning: variable 'vertexIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:505:4: warning: variable 'position' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:506:4: warning: variable 'normal' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:513:22: warning: function 'UpdateBbox3d' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:530:9: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:536:3: warning: variable 'p' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:563:13: warning: function 'CullFace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:566:3: warning: variable 'normV10' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:567:3: warning: variable 'normV20' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:572:3: warning: variable 'nrm' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:573:11: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:582:13: warning: function 'AddFixedObjectHalo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:583:38: warning: no header providing "IO_HALO" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:586:2: warning: variable 'mdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:589:15: warning: no header providing "glm::pow" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:596:3: warning: variable 'temporary3D' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:597:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:597:39: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:635:4: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:635:17: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:635:47: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:636:4: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:644:4: warning: variable 'a' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:645:4: warning: variable 'b' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:646:4: warning: variable 'c' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:649:25: warning: no header providing "arx::length2" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:668:35: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:689:2: warning: variable 'useFaceNormal' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:689:44: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:717:4: warning: variable 'normal' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:718:4: warning: variable 'diffuse' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:743:5: warning: variable 'lr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:743:16: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:749:5: warning: variable 'norm' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:751:5: warning: variable 'fb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:770:30: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:771:4: warning: variable 'halo' of type 'IO_HALO &' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:846:13: warning: function 'pushSlotHalo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:860:13: warning: function 'PrepareAnimatedObjectHalo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:863:2: warning: variable 'ftrPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:888:13: warning: function 'AddAnimatedObjectHalo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:910:3: warning: variable 'tttz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:911:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:949:4: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:961:4: warning: variable 'a' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:962:4: warning: variable 'b' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:963:4: warning: variable 'c' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1003:13: warning: function 'Cedric_RenderObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1039:4: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1090:13: warning: function 'Cedric_AnimateDrawEntityRender' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1133:19: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1142:14: warning: function 'CalcTranslation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1180:13: warning: function 'StoreEntityMovement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1196:2: warning: variable 'ftr2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1207:29: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1219:13: warning: function 'Cedric_AnimateObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1223:19: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1245:29: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1248:3: warning: variable 'l' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1266:23: warning: no header providing "glm::mix" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1280:13: warning: function 'Cedric_BlendAnimation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1280:51: warning: no header providing "AnimationBlendStatus" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1286:15: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1310:13: warning: function 'Cedric_ConcatenateTM' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1317:4: warning: variable 'parentIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1318:4: warning: variable 'parent' of type 'Bone &' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1349:13: warning: function 'Cedric_TransformVerts' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1359:8: warning: no header providing "glm::mat4x4" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1359:29: warning: no header providing "glm::mat4_cast" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1374:3: warning: variable 'vector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1378:4: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1380:4: warning: variable 'inVert' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1391:13: warning: function 'animateSkeleton' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/animation/AnimationRender.cpp:1396:2: warning: variable 'isNpc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1427:4: warning: variable 'i' of type 'ObjVertGroup' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1429:5: warning: variable 'boneIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1439:3: warning: variable 'boneIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1462:2: warning: variable 'ftr' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1473:30: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/animation/AnimationRender.cpp:1483:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/animation/AnimationRender.cpp:1486:3: warning: variable 'tim' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1504:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/animation/AnimationRender.cpp:1538:2: warning: variable 'isFightingNpc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:47:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:66:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:72:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:84:7: warning: enum 'KeyFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/Ambiance.cpp:93:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:117:38: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:170:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:213:13: warning: no header providing "PlatformDurationUs" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:213:44: warning: no header providing "toUs" is directly included [misc-include-cleaner] -Arx/src/audio/Ambiance.cpp:228:18: warning: destructor of 'Track' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/audio/Ambiance.cpp:230:7: warning: enum 'Flag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/Ambiance.cpp:243:4: warning: no header providing "audio::SampleHandle" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:243:4: warning: variable 'sid' of type 'SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:257:15: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:288:2: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:299:3: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:300:19: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:300:33: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:300:46: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:311:21: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:316:52: warning: no header providing "audio::FLAG_REVERBERATION" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:318:21: warning: no header providing "audio::FLAG_PAN" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:322:3: warning: variable 'sourceHandle' of type 'SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:337:4: warning: variable 'toqueue' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:516:17: warning: function 'loadString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/Ambiance.cpp:516:55: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:520:17: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:522:39: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:535:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:539:2: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:544:37: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Ambiance.cpp:557:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:596:13: warning: no header providing "audio::Idle" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:606:11: warning: no header providing "audio::PLAYING_AMBIANCE_MENU" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:616:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:621:2: warning: variable 'file' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:634:10: warning: no header providing "audio::AAL_ERROR_FORMAT" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:646:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Ambiance.cpp:660:26: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:715:49: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:723:13: warning: no header providing "audio::Playing" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:728:14: warning: no header providing "audio::Paused" is directly included [misc-include-cleaner] +Arx/src/audio/Ambiance.cpp:801:2: warning: variable 'interval' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] -Arx/src/audio/Ambiance.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/Ambiance.h:58:7: warning: class 'Ambiance' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Ambiance.h:91:7: warning: enum 'Fade' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/Audio.cpp:69:15: warning: variable 'mutex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/Audio.cpp:69:23: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:71:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:71:26: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:71:80: warning: no header providing "audio::HRTFAttribute" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:78:2: warning: variable 'autoBackend' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:79:19: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:82:3: warning: variable 'first' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:127:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:169:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:171:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:178:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:185:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:192:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:199:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:206:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:211:1: warning: no header providing "audio::HRTFStatus" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:213:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:213:14: warning: no header providing "audio::HRTFUnavailable" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:220:1: warning: no header providing "audio::MixerId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:222:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:227:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:235:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:252:1: warning: no header providing "audio::SampleHandle" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:254:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:259:37: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:270:1: warning: no header providing "audio::AmbianceId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:270:51: warning: no header providing "audio::PlayingAmbianceType" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:272:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:276:31: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:288:1: warning: no header providing "audio::EnvId" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:290:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:294:26: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/audio/Audio.cpp:306:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:317:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:327:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:335:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:337:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:349:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:365:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:374:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:381:32: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:383:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:391:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:406:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:421:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:434:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:447:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:460:22: warning: no header providing "audio::SourcedSample" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:462:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:474:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:486:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:502:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:505:10: warning: no header providing "audio::AAL_ERROR_HANDLE" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:517:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:524:8: warning: no header providing "audio::PCMFormat" is directly included [misc-include-cleaner] -Arx/src/audio/Audio.cpp:526:53: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'unsigned int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/audio/Audio.cpp:526:18: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:526:53: warning: performing an implicit widening conversion to type 'u64' (aka 'unsigned long') of a multiplication performed in type 'u32' (aka 'unsigned int') [bugprone-implicit-widening-of-multiplication-result] +Arx/src/audio/Audio.cpp:533:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:545:59: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:547:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:564:21: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:573:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:586:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:606:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:621:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:629:38: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:632:19: warning: no header providing "audio::DEFAULT_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:643:78: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:647:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:661:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:672:59: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/audio/Audio.cpp:697:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Audio.cpp:738:28: warning: variable 'updateThread' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/audio/Audio.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/AudioEnvironment.cpp:65:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:67:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:72:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/AudioEnvironment.cpp:90:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:46:1: warning: included header Mixer.h is not used directly [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:47:1: warning: included header Sample.h is not used directly [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:48:1: warning: included header Ambiance.h is not used directly [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:49:1: warning: included header AudioEnvironment.h is not used directly [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:56:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/AudioGlobal.cpp:61:1: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] -Arx/src/audio/AudioGlobal.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/AudioResource.cpp:44:1: warning: included header AudioResource.h is not used directly [misc-include-cleaner] +Arx/src/audio/AudioResource.cpp:46:1: warning: included header PakReader.h is not used directly [misc-include-cleaner] -Arx/src/audio/AudioResource.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/audio/AudioResource.h:68:3: warning: 'reference_count_' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/src/audio/AudioResource.h:68:3: warning: 'reference_count_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] -Arx/src/audio/AudioResource.h:97:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/AudioResource.h:160:2: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioResource.h:191:2: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioSource.cpp:32:11: warning: no header providing "audio::Idle" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:43:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:45:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/audio/AudioSource.cpp:56:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator *, std::vector>>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/AudioSource.cpp:56:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/AudioSource.cpp:56:47: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:60:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:62:15: warning: no header providing "audio::Playing" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:63:10: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:66:2: warning: variable 'ret' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/AudioSource.cpp:102:25: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:103:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/AudioSource.cpp:106:26: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] -Arx/src/audio/AudioSource.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/AudioSource.h:37:7: warning: class 'Source' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/AudioTypes.h:57:6: warning: enum 'ChannelFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/AudioTypes.h:72:6: warning: enum 'aalError' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/AudioTypes.h:83:6: warning: enum 'HRTFAttribute' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/AudioTypes.h:89:6: warning: enum 'HRTFStatus' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/AudioTypes.h:97:6: warning: enum 'PlayingAmbianceType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/AudioTypes.h:192:6: warning: enum 'SourceStatus' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/Mixer.cpp:60:13: warning: no header providing "audio::DEFAULT_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:89:48: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:114:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/audio/Mixer.cpp:125:2: warning: variable 'volume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/Mixer.h:51:7: warning: class 'Mixer' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Sample.cpp:72:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:75:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:80:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/Sample.cpp:87:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] -Arx/src/audio/Sample.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/Sample.h:55:7: warning: class 'Sample' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/Stream.cpp:59:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] -Arx/src/audio/Stream.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/codec/ADPCM.cpp:61:13: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:86:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:90:22: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:90:32: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:93:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:102:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] -Arx/src/audio/codec/ADPCM.cpp:119:29: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/ADPCM.cpp:119:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/audio/codec/ADPCM.cpp:126:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:136:3: warning: variable 'to_read' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:137:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:146:44: warning: no header providing "s8" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:151:2: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/audio/codec/ADPCM.cpp:151:2: warning: variable 'old_delta' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:154:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/audio/codec/ADPCM.cpp:164:2: warning: variable 'predict' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/ADPCM.cpp:199:7: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] -Arx/src/audio/codec/ADPCM.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/codec/ADPCM.h:74:2: warning: enum '(unnamed enum at Arx/src/audio/codec/ADPCM.h:74:2)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/audio/codec/Codec.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/codec/RAW.cpp:51:33: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:53:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:55:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:62:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/codec/RAW.cpp:65:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] -Arx/src/audio/codec/RAW.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/codec/WAV.cpp:168:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:171:10: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:189:10: warning: no header providing "audio::AAL_ERROR_FORMAT" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:243:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/WAV.cpp:247:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:270:31: warning: no header providing "audio::PCMFormat" is directly included [misc-include-cleaner] +Arx/src/audio/codec/WAV.cpp:277:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/audio/codec/WAV.cpp:301:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/codec/WAV.cpp:303:5: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] -Arx/src/audio/codec/WAV.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/codec/WAV.h:59:7: warning: class 'StreamWAV' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/codec/WAVFormat.h:27:6: warning: enum 'WavFormatTag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/openal/OpenALBackend.cpp:28:5: warning: no header providing "ARX_HAVE_SETENV" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:28:24: warning: no header providing "ARX_HAVE_UNSETENV" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:32:1: warning: included header static_assert.hpp is not used directly [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:35:1: warning: included header size.hpp is not used directly [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:62:6: warning: no header providing "ARX_HAVE_OPENAL_EFX" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:72:11: warning: no header providing "AL_EFFECT_NULL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:73:15: warning: no header providing "AL_EFFECTSLOT_NULL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:75:6: warning: no header providing "ARX_HAVE_OPENAL_HRTF" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:78:20: warning: no header providing "audio::HRTFDefault" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:89:3: warning: no header providing "alcDestroyContext" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:91:3: warning: no header providing "ALenum" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:91:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:91:18: warning: no header providing "alcGetError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:92:15: warning: no header providing "AL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:98:6: warning: no header providing "alcCloseDevice" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:98:32: warning: no header providing "ALC_FALSE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:167:42: warning: no header providing "ALCint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:173:16: warning: no header providing "ALC_HRTF_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:175:9: warning: no header providing "audio::HRTFDisable" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:176:9: warning: no header providing "audio::HRTFEnable" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:176:35: warning: no header providing "ALC_TRUE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:177:35: warning: no header providing "ALC_DONT_CARE_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:189:21: warning: function 'getHRTFStatusString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALBackend.cpp:189:41: warning: no header providing "audio::HRTFStatus" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:191:8: warning: no header providing "audio::HRTFDisabled" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:192:8: warning: no header providing "audio::HRTFEnabled" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:193:8: warning: no header providing "audio::HRTFForbidden" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:194:8: warning: no header providing "audio::HRTFRequired" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:195:8: warning: no header providing "audio::HRTFUnavailable" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:200:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:200:64: warning: no header providing "audio::HRTFAttribute" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:203:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:207:2: warning: variable 'lock' of type 'platform::EnvironmentLock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:211:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:211:18: warning: no header providing "alGetError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:216:11: warning: no header providing "alcOpenDevice" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:223:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:224:15: warning: no header providing "ALC_INVALID_VALUE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:227:10: warning: no header providing "audio::AAL_ERROR_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:231:15: warning: no header providing "alcIsExtensionPresent" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:234:27: warning: no header providing "alGetProcAddress" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:246:12: warning: no header providing "alcCreateContext" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:248:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:252:2: warning: no header providing "alcMakeContextCurrent" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:271:2: warning: no header providing "alDistanceModel" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:271:18: warning: no header providing "AL_INVERSE_DISTANCE_CLAMPED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:273:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:275:8: warning: no header providing "ALchar" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:275:27: warning: no header providing "alGetString" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:275:39: warning: no header providing "AL_VERSION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:279:3: warning: no header providing "alcGetIntegerv" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:279:26: warning: no header providing "ALC_EFX_MAJOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:280:26: warning: no header providing "ALC_EFX_MINOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:320:36: warning: no header providing "AL_VENDOR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:324:38: warning: no header providing "AL_RENDERER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:328:28: warning: no header providing "alcGetString" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:328:49: warning: no header providing "ALC_DEVICE_SPECIFIER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:330:2: warning: no header providing "ALCboolean" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:330:2: warning: variable 'hasDetailedDevices' of type 'ALCboolean' (aka 'char') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:343:37: warning: no header providing "ALC_ALL_DEVICES_SPECIFIER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:355:44: warning: no header providing "AL_EXTENSIONS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:356:54: warning: no header providing "ALC_EXTENSIONS" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:358:9: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:361:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:368:2: warning: variable 'hasDetailedDevices' of type 'ALCboolean' (aka 'char') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:387:38: warning: no header providing "audio::SampleHandle" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:387:67: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:406:2: warning: no header providing "audio::SourceHandle" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:406:2: warning: variable 'index' of type 'SourceHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:408:2: warning: no header providing "audio::SourcedSample" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:408:2: warning: variable 'id' of type 'SourcedSample' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:427:2: warning: variable 'index' of type 'SourceHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:434:2: warning: variable 'sample' of type 'SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:457:51: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:462:10: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:465:2: warning: no header providing "alListener3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:465:15: warning: no header providing "AL_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:466:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:479:2: warning: no header providing "ALfloat" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:480:2: warning: no header providing "alListenerfv" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:480:15: warning: no header providing "AL_ORIENTATION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:481:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:496:2: warning: no header providing "audio::ResourceList" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:504:3: warning: no header providing "alListenerf" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:504:15: warning: no header providing "AL_METERS_PER_UNIT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:505:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:511:2: warning: variable 'speedOfSoundInUnits' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:517:2: warning: no header providing "alSpeedOfSound" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:518:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:538:21: warning: no header providing "AL_EFFECT_TYPE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:538:37: warning: no header providing "AL_EFFECT_REVERB" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:540:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:556:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:578:2: warning: no header providing "ALuint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:606:31: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:615:2: warning: variable 'alROOM_ROLLOFF_FACTOR' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:615:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:615:2: warning: variable 'rawROOM_ROLLOFF_FACTOR' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:616:2: warning: variable 'alDENSITY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:616:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:616:2: warning: variable 'rawDENSITY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:617:2: warning: variable 'alGAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:617:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:617:2: warning: variable 'rawGAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:618:2: warning: variable 'alGAINHF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:618:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:618:2: warning: variable 'rawGAINHF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:619:2: warning: variable 'alDIFFUSION' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:619:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:619:2: warning: variable 'rawDIFFUSION' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:620:2: warning: variable 'alAIR_ABSORPTION_GAINHF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:620:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:620:2: warning: variable 'rawAIR_ABSORPTION_GAINHF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:621:2: warning: variable 'alREFLECTIONS_GAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:621:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:621:2: warning: variable 'rawREFLECTIONS_GAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:622:2: warning: variable 'alREFLECTIONS_DELAY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:622:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:622:2: warning: variable 'rawREFLECTIONS_DELAY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:623:2: warning: variable 'alLATE_REVERB_GAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:623:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:623:2: warning: variable 'rawLATE_REVERB_GAIN' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:624:2: warning: variable 'alLATE_REVERB_DELAY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:624:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:624:2: warning: variable 'rawLATE_REVERB_DELAY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:625:2: warning: variable 'alDECAY_TIME' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:625:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:625:2: warning: variable 'rawDECAY_TIME' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:626:2: warning: variable 'alDECAY_HFRATIO' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:626:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:626:2: warning: variable 'rawDECAY_HFRATIO' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:634:37: warning: no header providing "AL_EFFECTSLOT_EFFECT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:674:2: warning: variable 'lock' of type 'platform::EnvironmentLock' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:678:2: warning: variable 'result' of type 'ALCboolean' (aka 'char') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALBackend.cpp:692:25: warning: no header providing "ALC_HRTF_STATUS_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:694:8: warning: no header providing "ALC_HRTF_DISABLED_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:695:8: warning: no header providing "ALC_HRTF_ENABLED_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:696:8: warning: no header providing "ALC_HRTF_DENIED_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:697:8: warning: no header providing "ALC_HRTF_REQUIRED_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.cpp:698:8: warning: no header providing "ALC_HRTF_HEADPHONES_DETECTED_SOFT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALBackend.h:46:7: warning: class 'OpenALBackend' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/openal/OpenALSource.cpp:25:5: warning: no header providing "ARX_HAVE_OPENAL_EFX" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:43:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:56:15: warning: variable 'nbsources' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:57:15: warning: variable 'nbbuffers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:62:1: warning: no header providing "audio::aalError" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:64:2: warning: no header providing "ALint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:65:2: warning: no header providing "alGetSourcei" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:65:25: warning: no header providing "AL_SOURCE_STATE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:66:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:68:12: warning: no header providing "AL_STOPPED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:70:19: warning: no header providing "AL_INITIAL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:70:40: warning: no header providing "AL_PAUSED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:71:3: warning: no header providing "alSourcePlay" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:72:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:73:10: warning: no header providing "audio::AAL_OK" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:74:19: warning: no header providing "AL_PLAYING" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:78:10: warning: no header providing "audio::AAL_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:85:2: warning: no header providing "alSourcePause" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:86:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:90:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:100:2: warning: no header providing "audio::Source" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:102:61: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:116:5: warning: no header providing "alIsSource" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:118:3: warning: no header providing "alSourceStop" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:119:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:121:3: warning: no header providing "alDeleteSources" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:123:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:132:23: warning: no header providing "alIsBuffer" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:134:5: warning: no header providing "alDeleteBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:136:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:149:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/audio/openal/OpenALSource.cpp:297:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/audio/openal/OpenALSource.cpp:297:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/audio/openal/OpenALSource.cpp:297:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/audio/openal/OpenALSource.cpp:177:23: warning: no header providing "audio::FLAG_PAN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:196:2: warning: no header providing "alGenSources" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:198:2: warning: no header providing "alSourcei" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:198:22: warning: no header providing "AL_LOOPING" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:198:34: warning: no header providing "AL_FALSE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:199:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:210:11: warning: no header providing "audio::AAL_ERROR_FILEIO" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:212:3: warning: no header providing "alGenBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:214:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:217:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:226:25: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:226:62: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:227:23: warning: no header providing "AL_SOURCE_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:227:43: warning: no header providing "AL_TRUE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:228:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:267:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:270:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:275:3: warning: no header providing "alSourceQueueBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:276:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:289:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:289:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:289:15: warning: function 'stereoToMono' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/audio/openal/OpenALSource.cpp:293:2: warning: variable 'nbsamples' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:307:2: warning: variable 'left' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:321:10: warning: no header providing "audio::AAL_ERROR_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:349:2: warning: no header providing "ALenum" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:351:33: warning: no header providing "AL_FORMAT_MONO8" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:351:51: warning: no header providing "AL_FORMAT_MONO16" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:353:33: warning: no header providing "AL_FORMAT_STEREO8" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:353:53: warning: no header providing "AL_FORMAT_STEREO16" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:361:2: warning: no header providing "alBufferData" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:362:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:372:10: warning: no header providing "audio::AAL_ERROR_INIT" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:378:40: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:383:2: warning: no header providing "alSourcef" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:383:22: warning: no header providing "AL_GAIN" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:384:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:391:50: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:395:25: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:397:22: warning: no header providing "AL_PITCH" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:398:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:417:2: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:418:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:418:2: warning: variable 'position' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:419:2: warning: no header providing "alSource3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:419:23: warning: no header providing "AL_POSITION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:420:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:440:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:447:50: warning: no header providing "audio::FLAG_VELOCITY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:459:23: warning: no header providing "AL_VELOCITY" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:460:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:465:41: warning: no header providing "audio::SourceFalloff" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:467:50: warning: no header providing "audio::FLAG_FALLOFF" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:473:22: warning: no header providing "AL_MAX_DISTANCE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:474:22: warning: no header providing "AL_REFERENCE_DISTANCE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:475:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:482:15: warning: no header providing "audio::Playing" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:491:23: warning: no header providing "AL_SEC_OFFSET" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:492:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:505:6: warning: variable 'error' of type 'aalError' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:510:26: warning: no header providing "AL_BUFFERS_QUEUED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:511:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:512:3: warning: variable 'nbuffers' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:516:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:526:15: warning: no header providing "audio::Idle" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:533:2: warning: no header providing "alSourceRewind" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:534:22: warning: no header providing "AL_BUFFER" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:535:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:543:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:556:33: warning: no header providing "audio::Paused" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:597:3: warning: no header providing "alGetListener3f" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:598:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:601:17: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:622:3: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:639:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:643:25: warning: no header providing "AL_BUFFERS_PROCESSED" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:644:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:647:2: warning: variable 'maxbuffers' of type 'ALint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:653:2: warning: variable 'oldLoadCount' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:655:2: warning: variable 'oldTime' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:659:3: warning: no header providing "ALuint" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:660:3: warning: no header providing "alSourceUnqueueBuffers" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:661:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:683:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:689:5: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:694:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:707:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:720:4: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:731:25: warning: no header providing "AL_BYTE_OFFSET" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:732:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:751:3: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:771:41: warning: decrementing and referencing a variable in a complex condition can cause unintended side-effects due to C++'s order of evaluation, consider moving the modification outside of the condition to avoid misunderstandings [bugprone-inc-dec-in-conditions] +Arx/src/audio/openal/OpenALSource.cpp:776:22: warning: no header providing "AL_ROLLOFF_FACTOR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:777:2: warning: variable 'error' of type 'ALenum' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/audio/openal/OpenALSource.cpp:784:23: warning: no header providing "audio::FLAG_REVERBERATION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALSource.cpp:785:3: warning: no header providing "alSource3i" is directly included [misc-include-cleaner] -Arx/src/audio/openal/OpenALSource.h:25:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/audio/openal/OpenALSource.h:39:7: warning: class 'OpenALSource' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/audio/openal/OpenALSource.h:114:2: warning: enum '(unnamed enum at Arx/src/audio/openal/OpenALSource.h:114:2)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/audio/openal/OpenALUtils.cpp:24:32: warning: no header providing "ALenum" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:40:8: warning: no header providing "AL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:41:8: warning: no header providing "AL_INVALID_NAME" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:42:8: warning: no header providing "AL_INVALID_ENUM" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:43:8: warning: no header providing "AL_INVALID_VALUE" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:44:8: warning: no header providing "AL_INVALID_OPERATION" is directly included [misc-include-cleaner] +Arx/src/audio/openal/OpenALUtils.cpp:45:8: warning: no header providing "AL_OUT_OF_MEMORY" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:51:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:61:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:69:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:77:13: warning: variable 'FlashBlancEnCours' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:78:14: warning: variable 'OldSpeedFlashBlanc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:79:14: warning: variable 'OldColorFlashBlanc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:83:22: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:94:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:144:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:151:14: warning: variable 'LightRND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:153:14: warning: function 'CalculLight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:153:50: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:155:2: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:155:24: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:169:14: warning: function 'TransformLocalVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/Cinematic.cpp:181:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:185:2: warning: variable 'LocalSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:185:24: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:185:33: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:186:2: warning: variable 'LocalCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:186:24: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:195:4: warning: variable 'vtemp' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:207:4: warning: variable 'vtemp' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:220:2: warning: variable 'fadeEdges' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:224:3: warning: variable 'fade_witdh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:236:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:246:5: warning: variable 'p' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:249:5: warning: variable 'f' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:249:28: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:253:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:284:2: warning: variable 'resized' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:301:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:301:3: warning: variable 'w' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:305:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:306:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:347:2: warning: no header providing "PrepareCamera" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:359:2: warning: variable 'FDIFF' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:359:16: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/cinematic/Cinematic.cpp:386:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/cinematic/Cinematic.cpp:472:3: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/Cinematic.cpp:473:3: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/cinematic/Cinematic.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/cinematic/Cinematic.h:94:7: warning: class 'Cinematic' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/cinematic/Cinematic.h:157:1: warning: modification of 'std' namespace can result in undefined behavior [cert-dcl58-cpp] +Arx/src/cinematic/CinematicController.cpp:34:1: warning: included header Player.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:38:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:39:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:43:6: warning: enum 'CinematicState' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/cinematic/CinematicController.cpp:48:23: warning: variable 'PLAY_LOADED_CINEMATIC' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicController.cpp:50:13: warning: variable 'CINE_PRELOAD' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicController.cpp:51:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:51:20: warning: variable 'WILL_LAUNCH_CINE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicController.cpp:52:20: warning: variable 'LAST_LAUNCHED_CINE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicController.cpp:54:34: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:57:8: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:86:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:86:14: warning: variable 'g_originalCameraPosition' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicController.cpp:103:2: warning: variable 'cinematic' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicController.cpp:145:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:150:2: warning: no header providing "SendMsgToAllIO" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:150:23: warning: no header providing "SM_CINE_END" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicController.cpp:157:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:56:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:58:1: warning: included header TextureContainer.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:59:1: warning: included header TextureStage.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:65:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:65:14: warning: variable 'OldPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicEffects.cpp:66:14: warning: variable 'OldAz' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicEffects.cpp:68:14: warning: variable 'LastTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicEffects.cpp:77:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:89:2: warning: variable 'dalpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicEffects.cpp:101:3: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:102:11: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:114:20: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:122:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:122:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicEffects.cpp:122:23: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:123:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:125:2: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:125:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicEffects.cpp:127:2: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:156:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:156:26: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:161:26: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:163:35: warning: no header providing "hypotf" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:164:22: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicEffects.cpp:177:61: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicFormat.h:92:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:92:9: warning: macro 'FX_DREAM' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:95:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:95:9: warning: macro 'FX_FLASH' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:96:9: warning: macro 'FX_APPEAR' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:97:9: warning: macro 'FX_APPEAR2' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:100:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/cinematic/CinematicFormat.h:100:9: warning: macro 'FX_LIGHT' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/cinematic/CinematicKeyframer.cpp:59:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:84:13: warning: function 'UpDateKeyLight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:190:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:202:28: warning: function 'GetKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:218:14: warning: function 'GetAngleInterpolation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:221:10: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:232:25: warning: function 'getFadeOut' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:254:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:256:2: warning: variable 'fFOV' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicKeyframer.cpp:256:20: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:257:2: warning: variable 'k' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicKeyframer.cpp:257:17: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:257:38: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:277:13: warning: function 'updateFadeOut' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:335:13: warning: function 'interpolateLight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicKeyframer.cpp:337:2: warning: variable 'unmoinsalight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicKeyframer.cpp:367:31: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:413:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/cinematic/CinematicKeyframer.cpp:433:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/cinematic/CinematicKeyframer.cpp:461:20: warning: no header providing "arx::catmullRom" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:495:23: warning: no header providing "toS" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:498:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicKeyframer.cpp:526:3: warning: variable 'k' of type 'CinematicKeyframe &' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicKeyframer.cpp:527:3: warning: variable 'next' of type 'CinematicKeyframe &' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:49:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:61:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:69:18: warning: function 'fixTexturePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicLoad.cpp:69:44: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:71:2: warning: variable 'copy' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:73:2: warning: variable 'abs_dir' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:82:35: warning: function 'fixSoundPath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicLoad.cpp:92:2: warning: variable 'sfx_pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:100:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:122:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:143:2: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:186:3: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:207:4: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:220:3: warning: variable 'path' of type 'std::pair' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:255:30: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:272:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:313:4: warning: variable 'f' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:313:19: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:315:4: warning: variable 'd0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:315:20: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:315:29: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:316:4: warning: variable 'd1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:317:4: warning: variable 'd2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:318:4: warning: variable 'd3' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicLoad.cpp:320:16: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicLoad.cpp:321:45: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicSound.cpp:46:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicSound.cpp:51:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/cinematic/CinematicSound.cpp:78:25: warning: function 'GetFreeSound' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/cinematic/CinematicSound.cpp:80:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicSound.cpp:86:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicSound.cpp:89:13: warning: function 'DeleteFreeSound' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/cinematic/CinematicSound.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/cinematic/CinematicTexture.cpp:60:14: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicTexture.cpp:69:2: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:92:2: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:104:36: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicTexture.cpp:121:4: warning: variable 'w2' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:130:4: warning: variable 'depc' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:131:4: warning: variable 'tc' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:132:4: warning: variable 'bitmappos' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:133:4: warning: variable 'bitmapw' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:159:2: warning: variable 'oldd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:223:16: warning: variable 'mat' of type 'C_INDEXED &' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:231:2: warning: variable 'matIdx' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:237:2: warning: variable 'du' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:238:2: warning: variable 'dv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:289:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/cinematic/CinematicTexture.cpp:296:3: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:299:4: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:300:4: warning: variable 'dy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:324:2: warning: variable 'matIdx' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/cinematic/CinematicTexture.cpp:327:2: warning: variable 'deb' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/cinematic/CinematicTexture.h:49:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/cinematic/CinematicTexture.h:127:7: warning: class 'CinematicBitmap' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/Application.cpp:51:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/core/Application.cpp:53:1: warning: included header RenderWindow.h is not used directly [misc-include-cleaner] +Arx/src/core/Application.cpp:57:43: warning: no header providing "NULL" is directly included [misc-include-cleaner] -Arx/src/core/Application.cpp:58:2: warning: 'm_bReady' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/src/core/Application.cpp:59:2: warning: 'm_RunLoop' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/Application.cpp:58:2: warning: 'm_bReady' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/Application.cpp:59:2: warning: 'm_RunLoop' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/core/Application.cpp:63:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/core/Application.h:53:7: warning: class 'Application' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/ArxGame.cpp:62:1: warning: included header Cinematic.h is not used directly [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:105:1: warning: included header Font.h is not used directly [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:136:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:137:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:183:17: warning: variable 'g_saveToLoad' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:185:14: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:185:55: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:258:13: warning: function 'migrateFilenames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:260:2: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:260:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:261:2: warning: variable 'lowercase' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:267:3: warning: variable 'dst' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:287:13: warning: function 'migrateFilenames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:295:7: warning: no header providing "std::set" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:303:3: warning: variable 'file' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:319:2: warning: variable 'configFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:331:3: warning: variable 'oldConfigFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:377:40: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:439:5: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:481:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:492:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:502:2: warning: variable 'init' of type 'bool' can be declared 'const' [misc-const-correctness] -Arx/src/core/ArxGame.cpp:568:20: warning: variable 's_currentTransition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/core/ArxGame.cpp:571:32: warning: variable 's_currentTransition' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/core/ArxGame.cpp:522:13: warning: function 'LoadSysTextures' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:526:2: warning: no header providing "spellDataInit" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:552:7: warning: enum 'Transition' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/ArxGame.cpp:573:6: warning: enum 'LevelNumber' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/ArxGame.cpp:611:13: warning: function 'loadLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:621:13: warning: function 'loadSlot' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:627:13: warning: function 'loadSave' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:633:13: warning: function 'skipLogo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:638:13: warning: function 'HandleGameFlowTransitions' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:668:3: warning: variable 'elapsed' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:694:3: warning: variable 'elapsed' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:750:2: warning: no header providing "ARX_SPELLS_Precast_Reset" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:764:2: warning: no header providing "ARX_SCRIPT_EventStackInit" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:769:2: warning: no header providing "ARX_SCRIPT_Timer_ClearAll" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:822:2: warning: no header providing "ARX_SPELLS_ClearAllSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:830:2: warning: no header providing "InitBkg" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:837:29: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:844:2: warning: variable 'release' of type 'PakReader::ReleaseFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:847:3: warning: no header providing "CrashHandler" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:863:2: warning: variable 'old' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:866:7: warning: no header providing "gui::NecklaceInit" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:872:2: warning: no header providing "LoadSpellModels" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:906:2: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:914:13: warning: function 'runDataFilesInstaller' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:935:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:960:13: warning: function 'ReleaseSystemObjects' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/ArxGame.cpp:971:2: warning: no header providing "ReleaseSpellModels" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:991:2: warning: no header providing "Application" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1000:2: warning: no header providing "mainApp" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1015:2: warning: no header providing "spellDataRelease" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1025:2: warning: no header providing "ClearBackground" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1029:2: warning: no header providing "g_renderBatcher" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1031:2: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1038:7: warning: no header providing "gui::ReleaseNecklace" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1151:3: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1153:3: warning: variable 'lastDuration' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1167:3: warning: variable 'targetDuration' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1167:37: warning: no header providing "PlatformDurationUs" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1169:3: warning: variable 'min' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1170:23: warning: no header providing "arx::clamp" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1248:9: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1276:2: warning: variable 'layer1' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1280:33: warning: no header providing "ANIM_MISSILE_STRIKE_PART_1" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1281:33: warning: no header providing "ANIM_MISSILE_STRIKE_PART_2" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1282:33: warning: no header providing "ANIM_MISSILE_STRIKE_CYCLE" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1283:47: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1284:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/ArxGame.cpp:1318:3: warning: variable 'id' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1321:53: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1323:4: warning: variable 'viewGroup' of type 'ObjVertGroup' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1325:25: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1336:5: warning: no header providing "Skeleton" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1338:11: warning: no header providing "Bone" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1347:4: warning: variable 'len' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1347:28: warning: no header providing "arx::length2" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1382:9: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1385:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1387:3: warning: variable 'itime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1407:6: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1408:6: warning: variable 'beta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1409:6: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1410:6: warning: variable 'targetpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1413:36: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1434:7: warning: variable 'vect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1434:25: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1437:7: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1439:7: warning: variable '_dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1439:26: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1440:7: warning: variable 'tfrom' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1441:7: warning: variable 'tto' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1442:7: warning: variable 'targetpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1472:7: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1476:7: warning: variable 'vect3' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1509:3: warning: variable 'mdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1509:22: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1511:3: warning: variable 'startDistance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1513:3: warning: variable 'startTime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1513:28: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1514:3: warning: variable 'endTime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1516:3: warning: variable 'DeadCameraDistance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1518:3: warning: variable 'id' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1519:3: warning: variable 'targetpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1521:3: warning: variable 'id2' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1522:3: warning: variable 'chest' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1566:17: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1577:46: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1697:51: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1701:52: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1718:77: warning: no header providing "SPELL_SPEED" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1719:77: warning: no header providing "SPELL_SLOW_DOWN" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1737:4: warning: variable 'framedelay' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1737:35: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1758:2: warning: no header providing "ARX_SCRIPT_Timer_Check" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1774:3: warning: variable 'frontUp' of type 'std::pair' (aka 'pair, vec<3, float, glm::highp>>') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1774:8: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1809:7: warning: no header providing "ARX_SPELLS_AddPoint" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1818:5: warning: no header providing "spellRecognitionPointsReset" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1826:2: warning: no header providing "ARX_SPELLS_Precast_Check" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1832:2: warning: no header providing "ARX_SPELLS_UpdateSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1840:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1840:47: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1840:68: warning: no header providing "SPELL_MAGIC_SIGHT" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1842:4: warning: variable 'duration' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1895:3: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1895:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1895:24: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1923:3: warning: no header providing "UseTextureState" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1923:3: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1951:3: warning: variable 'SHOWLEVEL' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:1979:12: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:1979:42: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2019:5: warning: no header providing "g_debugTriggers" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2073:3: warning: no header providing "ARX_SCRIPT_AllowInterScriptExec" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2074:3: warning: no header providing "ARX_SCRIPT_EventStackExecute" is directly included [misc-include-cleaner] +Arx/src/core/ArxGame.cpp:2105:2: warning: variable 'fogEnd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2106:2: warning: variable 'fogStart' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.cpp:2114:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/ArxGame.h:55:7: warning: class 'ArxGame' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/core/ArxGame.h:123:6: warning: enum 'InfoPanels' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Benchmark.cpp:43:2: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/core/Benchmark.cpp:54:13: warning: variable 'g_enabled' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:55:25: warning: variable 'g_timeLimit' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:56:15: warning: variable 'g_currentStatus' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:57:24: warning: variable 'g_startTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:58:12: warning: variable 'g_startCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:95:15: warning: variable 'g_current' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:97:15: warning: variable 'g_results' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:99:13: warning: function 'display' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:115:2: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:116:2: warning: variable 'tmin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:117:2: warning: variable 'tmax' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:118:2: warning: variable 'average' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:119:2: warning: variable 'framerate' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:120:2: warning: variable 'minrate' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:121:2: warning: variable 'maxrate' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:128:20: warning: no header providing "std::fixed" is directly included [misc-include-cleaner] +Arx/src/core/Benchmark.cpp:128:34: warning: no header providing "std::setprecision" is directly included [misc-include-cleaner] +Arx/src/core/Benchmark.cpp:160:13: warning: function 'isNormalFrame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:171:13: warning: function 'isFrame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:183:13: warning: function 'endFrame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:185:2: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:194:13: warning: function 'end' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:262:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] -Arx/src/core/Benchmark.cpp:278:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Benchmark.cpp:289:13: warning: function 'enable' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Benchmark.cpp:289:49: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Benchmark.cpp:292:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.cpp:295:4: warning: variable 'unit' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Benchmark.h:25:6: warning: enum 'Status' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.cpp:37:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/core/Config.cpp:51:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:76:16: warning: no header providing "audio::HRTFDefault" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:328:74: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:338:29: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:346:2: warning: variable 'v1' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:349:2: warning: variable 'v2' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:358:3: warning: variable 'id' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/core/Config.cpp:408:8: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:399:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:452:30: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] -Arx/src/core/Config.cpp:535:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:548:14: warning: function 'parseResolution' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Config.cpp:565:14: warning: function 'parseThumbnailSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/core/Config.cpp:636:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/Config.cpp:651:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:586:2: warning: variable 'loaded' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:602:2: warning: variable 'resolution' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:613:2: warning: variable 'vsync' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:614:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:615:2: warning: variable 'fpsLimit' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:617:2: warning: variable 'fov' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:622:2: warning: variable 'anisoFiltering' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:625:2: warning: variable 'alphaCutoutAA' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:632:2: warning: variable 'oldCrosshair' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:635:2: warning: variable 'cinematicMode' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:637:2: warning: variable 'hudScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:638:28: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:640:2: warning: variable 'bookScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:643:2: warning: variable 'cursorScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:646:2: warning: variable 'fontSize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:648:2: warning: variable 'fontWeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:650:2: warning: variable 'hudScaleFilter' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:652:2: warning: variable 'thumbnailSize' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:656:2: warning: variable 'windowSize' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:669:2: warning: variable 'hrtf' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/core/Config.cpp:670:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/Config.cpp:676:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/Config.cpp:686:31: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/Config.cpp:691:50: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/Config.cpp:696:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/core/Config.cpp:670:22: warning: no header providing "audio::HRTFAttribute" is directly included [misc-include-cleaner] +Arx/src/core/Config.cpp:675:2: warning: variable 'autoReadyWeapon' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.cpp:685:2: warning: variable 'quickLevelTransition' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/core/Config.h:37:6: warning: enum 'ControlAction' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.h:85:6: warning: enum 'CinematicWidescreenMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.h:91:6: warning: enum 'UIScaleFilter' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.h:96:6: warning: enum 'QuickLevelTransition' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.h:102:6: warning: enum 'AutoReadyWeapon' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/core/Config.h:128:2: warning: accessing fields in struct '' is inefficient due to padding; only needs 149 bytes but is using 160 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:128:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:128:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:128:2)' is inefficient due to padding; only needs 149 bytes but is using 160 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:128:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:128:2)' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:157:2: warning: accessing fields in struct '' is inefficient due to padding; only needs 73 bytes but is using 88 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:157:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:157:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:157:2)' is inefficient due to padding; only needs 73 bytes but is using 88 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:157:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:157:2)' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:182:2: warning: accessing fields in struct '' is inefficient due to padding; only needs 9 bytes but is using 12 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:182:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:182:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:182:2)' is inefficient due to padding; only needs 9 bytes but is using 12 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:182:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:182:2)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 16 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:191:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:191:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:191:2)' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:210:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:210:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:210:2)' is inefficient due to poor alignment; currently aligned to 4 bytes, but recommended alignment is 32 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:236:2: warning: accessing fields in struct '' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] -Arx/src/core/Config.h:236:2: warning: accessing fields in struct '' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:230:7: warning: enum 'MigrationStatus' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Config.h:236:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:236:2)' is inefficient due to padding; only needs 41 bytes but is using 48 bytes [altera-struct-pack-align] +Arx/src/core/Config.h:236:2: warning: accessing fields in struct '(unnamed struct at Arx/src/core/Config.h:236:2)' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/core/Core.cpp:53:1: warning: included header deque is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:54:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:55:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:58:1: warning: included header version.hpp is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:62:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:70:1: warning: included header Cinematic.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:72:1: warning: included header CinematicKeyframer.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:78:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:80:1: warning: included header Version.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:87:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:98:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:99:1: warning: included header DrawDebug.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:100:1: warning: included header Font.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:106:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:117:1: warning: included header TextureStage.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:129:1: warning: included header TextManager.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:130:1: warning: included header DebugKeys.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:135:1: warning: included header Keyboard.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:136:1: warning: included header Mouse.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:145:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:146:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:153:1: warning: included header ProgramOptions.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:156:1: warning: included header CinematicSound.h is not used directly [misc-include-cleaner] +Arx/src/core/Core.cpp:177:1: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:178:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:192:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:202:1: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:203:1: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:218:13: warning: variable 'LAST_WEAPON_TYPE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:311:2: warning: no header providing "g_renderBatcher" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:331:2: warning: no header providing "ARX_SPELLS_ClearAllSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:342:2: warning: no header providing "ARX_SPELLS_ResetRecognition" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:384:30: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:422:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:422:2: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:424:27: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:435:6: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:475:13: warning: function 'StrikeAimtime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:479:33: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:484:13: warning: function 'strikeSpeak' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/core/Core.cpp:491:2: warning: variable 'equiped' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:516:2: warning: variable 'weapontype' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:566:24: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:571:41: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:572:9: warning: variable 'dmgs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:582:10: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:583:29: warning: no header providing "toPlatformDuration" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:584:60: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:753:49: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:755:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/core/Core.cpp:795:7: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:795:25: warning: no header providing "arx::distance2" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:807:7: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:825:6: warning: variable 'leftAttach' of type 'ObjVertGroup' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:828:12: warning: no header providing "Bone" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:833:17: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:837:6: warning: variable 'ignored' of type 'PolyType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:838:6: warning: variable 'flags' of type 'RaycastFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:840:9: warning: variable 'result' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:843:9: warning: variable 'result' of type 'EntityRaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:847:6: warning: variable 'desired' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:848:6: warning: variable 'actual' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:850:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:850:53: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:851:6: warning: variable 'dpitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:852:6: warning: variable 'dyaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:890:5: warning: variable 'aimratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:901:5: warning: variable 'group' of type 'ObjVertGroup' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:906:18: warning: no header providing "glm::inverse" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:909:6: warning: variable 'pos0' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:910:6: warning: variable 'orientation' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:914:5: warning: variable 'velocity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:916:5: warning: variable 'vect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:919:5: warning: variable 'gravity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:921:5: warning: variable 'wd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:921:41: warning: no header providing "IO_EQUIPITEM_ELEMENT_Damages" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:924:5: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:932:8: warning: variable 'vect2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:943:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/core/Core.cpp:985:3: warning: variable 'weapontype' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1150:3: warning: variable 'mod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1151:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/core/Core.cpp:1152:19: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/core/Core.cpp:1152:54: warning: no header providing "Color" is directly included [misc-include-cleaner] -Arx/src/core/Core.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/Core.h:110:6: warning: enum 'ChangeLevelIcon' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/FpsCounter.cpp:34:3: warning: variable 'fTime' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/core/FpsCounter.cpp:37:3: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/core/FpsCounter.cpp:37:15: warning: no header providing "toS" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:57:2: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:57:2: warning: variable 'currentTime' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/core/GameTime.cpp:62:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:67:29: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:67:54: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:85:23: warning: no header providing "GameDurationUs" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:85:38: warning: no header providing "toUs" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:90:12: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.cpp:90:28: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/core/GameTime.h:89:7: warning: enum 'PauseFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/Localisation.cpp:26:1: warning: included header iterator is not used directly [misc-include-cleaner] +Arx/src/core/Localisation.cpp:50:37: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:66:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:69:16: warning: variable 'locale' of type 'std::string &' (aka 'basic_string &') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:98:5: warning: variable 'it' of type 'Languages::const_iterator' (aka '_Rb_tree_const_iterator, Language>>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:144:2: warning: variable 'english' of type 'Languages::iterator' (aka '_Rb_tree_iterator, Language>>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:203:2: warning: variable 'text' of type 'Languages::iterator' (aka '_Rb_tree_iterator, Language>>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:210:2: warning: variable 'english' of type 'Languages::iterator' (aka '_Rb_tree_iterator, Language>>') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:220:23: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:222:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/core/Localisation.cpp:309:3: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:310:3: warning: variable 'id' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:355:3: warning: variable 'filename' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/Localisation.cpp:372:3: warning: variable 'dirname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:39:12: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:41:6: warning: enum 'SaveGameChange' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/core/SaveGame.cpp:59:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:59:2: warning: variable 'old_count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:60:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:66:2: warning: variable 'savedir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:74:3: warning: variable 'dirname' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:75:3: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:77:3: warning: variable 'stime' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:77:8: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:121:3: warning: variable 'thumbnail' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:127:9: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:141:3: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/core/SaveGame.cpp:154:39: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.cpp:154:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/core/SaveGame.cpp:160:22: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.cpp:160:22: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/core/SaveGame.cpp:172:15: warning: no header providing "std::tm" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:172:25: warning: no header providing "localtime" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:191:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/SaveGame.cpp:207:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/SaveGame.cpp:208:2: warning: variable 'savedir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/core/SaveGame.cpp:209:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/SaveGame.cpp:210:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/core/SaveGame.cpp:215:83: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/core/SaveGame.cpp:251:26: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] -Arx/src/core/SaveGame.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/core/Startup.cpp:23:1: warning: included header vector is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:24:1: warning: included header list is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:25:1: warning: included header set is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:27:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:37:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:45:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/core/Startup.cpp:153:4: warning: variable 'logFile' of type 'fs::path' can be declared 'const' [misc-const-correctness] -Arx/src/core/TimeTypes.h:129:43: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/TimeTypes.h:134:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/TimeTypes.h:134:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/TimeTypes.h:140:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/core/TimeTypes.h:140:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Camera.cpp:22:1: warning: included header matrix_transform.hpp is not used directly [misc-include-cleaner] +Arx/src/game/Camera.cpp:28:1: warning: no header providing "Entity" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:30:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:32:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:34:1: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:39:3: warning: variable 'targetz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:39:35: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:40:18: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:40:34: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:40:42: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:48:13: warning: no header providing "glm::mat4x4" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:48:20: warning: function 'createProjectionMatrix' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Camera.cpp:50:2: warning: variable 'fov' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:56:2: warning: variable 'aspectw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:57:2: warning: variable 'aspecth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:58:2: warning: variable 'w' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:58:28: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:58:48: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:59:2: warning: variable 'h' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:60:2: warning: variable 'Q' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:71:21: warning: no header providing "glm::translate" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:78:40: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:78:63: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:82:2: warning: variable 'rotation' of type 'glm::mat4x4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:92:21: warning: no header providing "glm::scale" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:102:87: warning: no header providing "glm::transpose" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:106:2: warning: variable 'defov' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.cpp:121:2: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/game/Camera.cpp:121:2: warning: variable 'view' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Camera.h:134:1: warning: modification of 'std' namespace can result in undefined behavior [cert-dcl58-cpp] +Arx/src/game/Damage.cpp:85:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Damage.cpp:89:1: warning: included header ResourcePath.h is not used directly [misc-include-cleaner] +Arx/src/game/Damage.cpp:108:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:120:20: warning: variable 'g_damages' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:122:1: warning: no header providing "DamageHandle" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:143:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:145:13: warning: function 'ARX_DAMAGES_IgnitIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:147:27: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:155:19: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:157:26: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:159:26: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:167:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:185:28: warning: variable 'g_screenFxBloodSplash' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:195:20: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:214:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:215:19: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:223:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:234:51: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:254:25: warning: function 'getOuchEventParameter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:257:16: warning: no header providing "std::ios_base" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:265:60: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:283:2: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:287:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:344:29: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:363:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:374:13: warning: function 'ARX_DAMAGES_HealPlayer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:383:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:402:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:407:13: warning: function 'ARX_DAMAGES_HealManaPlayer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:415:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:420:13: warning: function 'ARX_DAMAGES_HealManaInter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:434:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:439:14: warning: function 'ARX_DAMAGES_DrainMana' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:453:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:463:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:483:2: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:567:5: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:568:32: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:620:5: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Damage.cpp:621:17: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:622:21: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:631:13: warning: function 'ARX_DAMAGES_PushIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:638:15: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:640:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:757:2: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:775:35: warning: no header providing "SPELL_CONFUSE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:873:5: warning: variable 'xp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:891:32: warning: no header providing "boost::size" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:896:13: warning: function 'ARX_DAMAGES_AddVisual' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Damage.cpp:904:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] -Arx/src/game/Damage.cpp:914:28: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:914:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:914:28: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:916:2: warning: variable 'vertPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:926:18: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:944:13: warning: function 'ARX_DAMAGES_UpdateDamage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/game/Damage.cpp:963:55: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:963:55: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:977:2: warning: variable 'validsource' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:978:2: warning: variable 'divradius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:986:26: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1004:6: warning: variable 'sub' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1006:6: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1009:7: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] -Arx/src/game/Damage.cpp:1154:3: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:1154:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Damage.cpp:1167:13: warning: function 'SphereInIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/game/Damage.cpp:1173:13: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1173:2: warning: variable 'nbv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1173:13: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/Damage.cpp:1220:7: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1272:25: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1275:33: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1296:2: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1297:2: warning: variable 'validsource' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1314:22: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1314:52: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1325:7: warning: variable 'posi' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1327:7: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1330:8: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1338:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1343:5: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1349:22: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/game/Damage.cpp:1351:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1427:3: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1428:3: warning: variable 'to_restore' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1432:4: warning: variable 'mloss' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1441:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1446:4: warning: variable 'mloss' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1456:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1490:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Damage.cpp:1513:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Damage.cpp:1531:3: warning: variable 'd' of type 'DAMAGE_INFO &' can be declared 'const' [misc-const-correctness] -Arx/src/game/Damage.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Damage.h:85:6: warning: enum 'DamageArea' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Damage.h:91:6: warning: enum 'DamageFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.cpp:46:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/game/Entity.cpp:47:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/game/Entity.cpp:61:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/game/Entity.cpp:82:45: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:103:14: warning: no header providing "SM_MAIN" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:118:13: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:154:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:178:24: warning: no header providing "MAX_SCRIPTTIMERS" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:199:2: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:204:2: warning: no header providing "ReleaseScript" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:242:6: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Entity.cpp:244:5: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/Entity.cpp:294:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Entity.cpp:296:2: warning: no header providing "ARX_SCRIPT_Timer_Clear_For_IO" is directly included [misc-include-cleaner] -Arx/src/game/Entity.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Entity.h:101:6: warning: enum 'IOCollisionFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:108:6: warning: enum 'ItemTypeFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:123:6: warning: enum 'HaloFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:211:6: warning: enum 'EntitySfxFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:219:6: warning: enum 'GameFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:240:6: warning: enum 'EntityVisilibity' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Entity.h:258:7: warning: class 'Entity' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/game/Entity.h:297:2: warning: member variable '' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:297:2: warning: member variable 'Entity::(anonymous union at Arx/src/game/Entity.h:297:2)' has public visibility [misc-non-private-member-variables-in-classes] +Arx/src/game/Entity.h:455:17: warning: member 'm_id' of type 'const EntityId' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Entity.h:456:18: warning: member 'm_classPath' of type 'const res::path' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/EntityId.cpp:23:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/game/EntityId.cpp:27:1: warning: included header Entity.h is not used directly [misc-include-cleaner] +Arx/src/game/EntityId.cpp:37:31: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:46:3: warning: variable 'sep' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:67:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:74:4: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:75:4: warning: variable 'f' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:75:9: warning: no header providing "std::ios_base" is directly included [misc-include-cleaner] +Arx/src/game/EntityId.cpp:76:4: warning: variable 'w' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityId.cpp:76:9: warning: no header providing "std::streamsize" is directly included [misc-include-cleaner] -Arx/src/game/EntityManager.cpp:57:23: warning: accessing fields in struct 'Impl' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 64 bytes [altera-struct-pack-align] +Arx/src/game/EntityManager.cpp:47:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:50:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:57:23: warning: accessing fields in struct 'Impl' is inefficient due to poor alignment; currently aligned to 8 bytes, but recommended alignment is 128 bytes [altera-struct-pack-align] +Arx/src/game/EntityManager.cpp:61:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:61:36: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:66:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:67:3: warning: variable 'i' of type 'Impl::Index::const_iterator' (aka 'c_iterator, Entity *>, void *>, boost::unordered::detail::bucket, Entity *>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:114:10: warning: no header providing "EntityHandle_Self" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:117:10: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:123:43: warning: no header providing "EntityId" is directly included [misc-include-cleaner] +Arx/src/game/EntityManager.cpp:142:2: warning: variable 'handle' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:154:2: warning: variable 'check' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:159:4: warning: variable 'id' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:182:2: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/EntityManager.cpp:195:2: warning: use `std::min` instead of `<` [readability-use-std-min-max] -Arx/src/game/EntityManager.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/EntityManager.h:32:7: warning: class 'EntityManager' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/Equipment.cpp:76:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/game/Equipment.cpp:77:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Equipment.cpp:88:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/game/Equipment.cpp:109:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:117:1: warning: no header providing "ItemType" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:117:53: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:123:2: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:128:20: warning: no header providing "OBJECT_TYPE_WEAPON" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:129:20: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:130:20: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:131:20: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:132:20: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:133:20: warning: no header providing "OBJECT_TYPE_SHIELD" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:134:20: warning: no header providing "OBJECT_TYPE_RING" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:135:20: warning: no header providing "OBJECT_TYPE_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:136:20: warning: no header providing "OBJECT_TYPE_HELMET" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:137:20: warning: no header providing "OBJECT_TYPE_LEGGINGS" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:144:13: warning: function 'ARX_EQUIPMENT_Release' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Equipment.cpp:144:35: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:157:28: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:169:13: warning: function 'applyTweak' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Equipment.cpp:179:8: warning: no header providing "IO_TWEAKER_INFO" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:182:3: warning: variable 'mesh' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:190:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:193:2: warning: variable 'mapidx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:427:2: warning: variable 'type' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:459:28: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:460:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:462:65: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:475:2: warning: variable '_wmat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:478:2: warning: variable '_amat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:530:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:530:67: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:558:4: warning: variable 'modif' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:580:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:581:2: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:585:2: warning: variable 'chance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:602:16: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:626:14: warning: function 'ARX_EQUIPMENT_GetSpecialValue' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Equipment.cpp:649:2: warning: variable 'source' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:650:2: warning: variable 'weapon' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:654:2: warning: variable 'drain_life' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:655:2: warning: variable 'paralyse' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:659:3: warning: variable 'rad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:665:19: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:675:62: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:696:7: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:696:22: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:705:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:706:6: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:731:9: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:731:9: warning: variable 'ptime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:731:30: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:732:27: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:734:27: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:734:51: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:752:8: warning: variable 'vertPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:754:8: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:825:8: warning: variable '_weapon_material' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:832:31: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:849:6: warning: variable '_weapon_material' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:877:2: warning: variable 'type' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:927:2: warning: variable 'validid' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:929:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Equipment.cpp:930:18: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/Equipment.cpp:963:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/game/Equipment.cpp:1017:2: warning: variable 'flag' of type 'ItemType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1083:5: warning: variable 'isRelative' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1100:2: warning: variable 'modabs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1101:2: warning: variable 'modrel' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Equipment.cpp:1168:5: warning: empty catch statements hide issues; to handle exceptions appropriately, consider re-throwing, handling, or avoiding catch altogether [bugprone-empty-catch] -Arx/src/game/Equipment.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Equipment.h:59:6: warning: enum 'WeaponType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Equipment.h:67:6: warning: enum 'EquipmentSlot' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/GameTypes.h:50:6: warning: enum 'Material' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Inventory.cpp:57:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/Inventory.cpp:58:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/Inventory.cpp:70:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/game/Inventory.cpp:74:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/game/Inventory.cpp:75:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/game/Inventory.cpp:89:39: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:107:13: warning: function 'ARX_INVENTORY_Declare_InventoryIn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Inventory.cpp:107:60: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:122:18: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:136:20: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:153:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Inventory.cpp:156:13: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:158:2: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:158:2: warning: variable 'limit' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:159:2: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:160:2: warning: variable 'result' of type 'EntityDragResult' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:170:3: warning: variable 'vector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:178:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:189:19: warning: member 'm_bags' of type 'const index_type' (aka 'const unsigned short') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:228:39: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:242:25: warning: member 'm_data' of type 'INVENTORY_DATA *const' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:243:21: warning: member 'm_entity' of type 'const EntityHandle' (aka 'const HandleType') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/game/Inventory.cpp:244:14: warning: member 'm_size' of type 'const Vec2s' (aka 'const vec<2, short, glm::highp>') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] -Arx/src/game/Inventory.cpp:252:25: warning: 2 adjacent parameters of 'index' of similar type ('(anonymous namespace)::EntityInventoryAccess::index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:252:25: warning: 2 adjacent parameters of 'index' of similar type ('index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] -Arx/src/game/Inventory.cpp:257:31: warning: 2 adjacent parameters of 'index' of similar type ('(anonymous namespace)::EntityInventoryAccess::index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:257:31: warning: 2 adjacent parameters of 'index' of similar type ('index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.cpp:296:3: warning: variable 'sizea' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:297:3: warning: variable 'sizeb' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:301:3: warning: variable 'locname' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:305:3: warning: variable 'name' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:392:50: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:410:16: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:411:3: warning: variable 'end' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:411:28: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:425:3: warning: variable 'diff' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:425:19: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:429:4: warning: variable 'xfirst' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:429:23: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:430:4: warning: variable 'x' of type 'Pos::index_type' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:430:25: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/game/Inventory.cpp:431:4: warning: variable 'y' of type 'Pos::index_type' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:431:25: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/game/Inventory.cpp:471:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Inventory.cpp:487:16: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:553:26: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:612:61: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:613:7: warning: variable 'newPos' of type 'Pos' (aka 'InventoryPos') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:643:7: warning: variable 'newPos' of type 'Pos' (aka 'InventoryPos') can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:678:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/Inventory.cpp:681:6: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:721:7: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:754:3: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:807:3: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:946:3: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:978:3: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1008:3: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1045:3: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1076:2: warning: variable 'remainingSpace' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/game/Inventory.cpp:1077:2: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] -Arx/src/game/Inventory.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Inventory.h:70:8: warning: class 'INVENTORY_DATA' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/game/Inventory.h:115:33: warning: 2 adjacent parameters of 'InventoryPos' of similar type ('InventoryPos::index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Inventory.h:115:33: warning: 2 adjacent parameters of 'InventoryPos' of similar type ('index_type') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/game/Item.cpp:20:1: warning: included header Item.h is not used directly [misc-include-cleaner] +Arx/src/game/Item.h:50:6: warning: enum 'EquipmentModifierType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Item.h:86:6: warning: enum 'EquipmentModifierFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Item.h:92:6: warning: enum 'EquipmentModifiedSpecialType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Levels.cpp:95:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:78:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:81:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:83:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:85:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:100:20: warning: variable 'missiles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Missile.cpp:103:13: warning: function 'ARX_MISSILES_GetFree' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Missile.cpp:115:13: warning: function 'ARX_MISSILES_Kill' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Missile.cpp:123:23: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:146:2: warning: variable 'i' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:193:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:199:3: warning: variable 'framediff3' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:210:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:210:69: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/Missile.cpp:217:5: warning: variable 'orgn' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:228:6: warning: variable 'ray' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:235:7: warning: variable 'tro' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.cpp:236:7: warning: variable 'ici' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Missile.h:52:6: warning: enum 'ARX_SPELLS_MISSILE_TYPE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.cpp:69:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/NPC.cpp:76:1: warning: included header Item.h is not used directly [misc-include-cleaner] +Arx/src/game/NPC.cpp:88:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/game/NPC.cpp:128:13: warning: function 'isCurrentAnimation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:135:13: warning: function 'changeAnimation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:140:13: warning: function 'changeAnimation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:145:13: warning: function 'setAnimation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:150:13: warning: function 'CheckHit' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:155:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:155:2: warning: variable 'from' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:156:2: warning: variable 'to' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:157:2: warning: variable 'ppos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:158:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:162:23: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:167:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:167:2: warning: variable 'i' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:177:24: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:177:36: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:180:25: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:181:21: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:186:3: warning: variable 'dist_limit' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:191:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:193:34: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:196:5: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:201:3: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:224:36: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:228:13: warning: function 'ARX_NPC_ReleasePathFindInfo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:242:13: warning: function 'ARX_NPC_CreateExRotateData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:272:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:400:27: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:411:13: warning: function 'ARX_NPC_GetNextAttainableNodeIncrement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:417:2: warning: variable 'dists' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:417:21: warning: no header providing "arx::distance2" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:437:4: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:444:3: warning: variable 'average' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:450:3: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:474:13: warning: function 'AnchorData_GetNearest' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:486:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:499:13: warning: function 'AnchorData_GetNearest_2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:501:2: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:501:17: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:503:14: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:513:13: warning: function 'ARX_NPC_LaunchPathfind_Cleanup' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:531:13: warning: function 'ARX_NPC_LaunchPathfind_End' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:603:2: warning: variable 'old_target' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:605:21: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:640:3: warning: variable 'pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:714:26: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:720:62: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:775:13: warning: function 'ARX_NPC_ManagePoison' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:777:2: warning: variable 'cp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:779:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:784:3: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:786:4: warning: variable 'xp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:809:13: warning: function 'CheckUnderWaterIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:811:2: warning: variable 'ppos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:814:18: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:838:13: warning: function 'ManageNPCMovement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:861:28: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:861:37: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:873:24: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:874:26: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:875:57: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] -Arx/src/game/NPC.cpp:880:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:880:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/NPC.cpp:882:15: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:885:5: warning: variable 'it' of type 'std::vector::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:900:5: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:908:22: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1019:2: warning: variable 'tv' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1025:2: warning: variable 'tangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1025:40: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1026:2: warning: variable 'cangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1028:2: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1035:2: warning: use `std::min` instead of `<` [readability-use-std-min-max] -Arx/src/game/NPC.cpp:1041:3: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1041:3: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1077:2: warning: variable 'tv' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1079:10: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1086:2: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1087:2: warning: variable 'beta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1088:2: warning: variable 'pouet' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1089:2: warning: variable 'A' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1090:2: warning: variable 'B' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1095:24: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1095:24: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1096:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] -Arx/src/game/NPC.cpp:1098:32: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1098:32: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1104:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1138:14: warning: function 'GetTRUETargetDist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1168:13: warning: function 'IsPlayerStriking' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1173:2: warning: variable 'layer1' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1174:2: warning: variable 'weapontype' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1227:13: warning: function 'ARX_NPC_Manage_NON_Fight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1241:13: warning: function 'ARX_NPC_Manage_Fight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1256:2: warning: variable 'layer1' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1280:39: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1303:39: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1326:39: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1352:13: warning: function 'ARX_NPC_Manage_Anims_End' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1354:2: warning: variable 'layer0' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1358:4: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1372:13: warning: function 'TryIOAnimMove' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1377:2: warning: variable 'trans' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1378:2: warning: variable 'trans2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1385:2: warning: variable 'res' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1390:13: warning: function 'TryAndCheckAnim' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/game/NPC.cpp:1399:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1396:2: warning: variable 'layer' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1410:13: warning: function 'ARX_NPC_Manage_Anims' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1412:2: warning: variable 'layer0' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1436:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1452:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1466:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1515:4: warning: variable 'j' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1516:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/game/NPC.cpp:1521:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1521:4: warning: variable 'start' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1522:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1522:4: warning: variable 'cycle' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1523:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1523:4: warning: variable 'strike' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1527:21: warning: no header providing "IO_HIT" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1533:5: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1534:5: warning: variable 'aimtime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1550:6: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1550:6: warning: variable 'ctime' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1551:6: warning: variable 'animtime' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1574:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1574:3: warning: variable 'ready' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1579:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1579:4: warning: variable 'part1' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1580:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1580:4: warning: variable 'part2' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1594:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1594:4: warning: variable 'part1' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1595:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1595:4: warning: variable 'part2' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1615:5: warning: variable 'j' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1616:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/game/NPC.cpp:1621:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1621:5: warning: variable 'start' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1622:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1622:5: warning: variable 'cycle' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:1623:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/NPC.cpp:1623:5: warning: variable 'strike' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1632:6: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1633:6: warning: variable 'aimtime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1654:7: warning: variable 'ctime' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1655:7: warning: variable 'animtime' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1672:39: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1684:2: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1706:13: warning: function 'ManageNPCMovement_check_target_reached' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1707:13: warning: function 'ManageNPCMovement_REFACTOR_end' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1710:14: warning: function 'ComputeTolerance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1735:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:1746:24: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:1769:13: warning: function 'ManageNPCMovement_End' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:1835:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1865:4: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1883:4: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1894:21: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] -Arx/src/game/NPC.cpp:1905:56: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1905:56: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:1914:3: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:1973:4: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2003:3: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2055:3: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2055:61: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2069:42: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2074:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2146:4: warning: variable 'p' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2147:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2149:5: warning: variable 'anchor' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2150:5: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2169:7: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/game/NPC.cpp:2231:6: warning: variable 'startAtBeginning' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2267:13: warning: function 'ManageNPCMovement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:2298:19: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2352:5: warning: return statement within a void function should not have a specified return value [readability-avoid-return-with-void-value] +Arx/src/game/NPC.cpp:2369:13: warning: function 'ManageNPCMovement_check_target_reached' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:2371:2: warning: variable 'lMax' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2393:5: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2414:13: warning: function 'ManageNPCMovement_REFACTOR_end' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:2443:14: warning: function 'AngularDifference' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/NPC.cpp:2495:3: warning: variable 'dist_io' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2509:3: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2513:4: warning: variable 'grp' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2523:4: warning: variable 'grp' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] -Arx/src/game/NPC.cpp:2547:39: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:2543:4: warning: variable 'grnd_color' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2547:39: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/NPC.cpp:2589:2: warning: variable 'ds' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2602:3: warning: variable 'playerRoom' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2604:3: warning: variable 'fdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2615:4: warning: variable 'grp' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2616:4: warning: variable 'orgn' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2617:4: warning: variable 'dest' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2622:4: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2656:2: warning: variable '_step_material' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2704:2: warning: variable 'Source_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2714:64: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2726:6: warning: variable 'fdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2752:2: warning: variable 'addParticles' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2752:22: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/game/NPC.cpp:2760:19: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2780:16: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2787:4: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2788:4: warning: variable 'positions' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2802:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/NPC.cpp:2808:44: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2820:4: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2824:51: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/game/NPC.cpp:2865:5: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2876:5: warning: variable 'pos' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.cpp:2896:3: warning: variable 'wp' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/NPC.h:60:6: warning: enum 'MoveMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.h:67:6: warning: enum 'BehaviourFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.h:105:6: warning: enum 'PathfindFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.h:149:6: warning: enum 'NPCFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.h:155:6: warning: enum 'DismembermentFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/NPC.h:167:8: warning: class 'IO_NPCDATA' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/Player.cpp:53:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:55:1: warning: included header flat_set.hpp is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:66:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:67:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:86:1: warning: included header Text.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:100:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:112:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:115:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/game/Player.cpp:145:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:154:1: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:160:8: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:160:20: warning: variable 'LastHungerSample' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:161:20: warning: variable 'ROTATE_START' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:167:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:167:18: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:169:22: warning: variable 'FALLING_TIME' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:279:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/game/Player.cpp:280:14: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:291:13: warning: function 'ARX_PLAYER_ManageTorch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:315:2: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:324:24: warning: no header providing "SPELL_TYPES_COUNT" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:325:7: warning: no header providing "spellicons" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:378:2: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:378:21: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:378:42: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:381:20: warning: function 'getAttributeSkillModifiers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:398:19: warning: function 'getMiscStats' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:402:28: warning: no header providing "std::floor" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:414:13: warning: function 'ARX_PLAYER_ComputePlayerStats' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:438:2: warning: variable 'fFullAimTime' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:439:2: warning: variable 'fCalcHandicap' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:441:24: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:443:25: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:457:3: warning: variable 'armor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:457:78: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:458:80: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:462:3: warning: variable 'bless' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:462:78: warning: no header providing "SPELL_BLESS" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:463:80: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:583:2: warning: variable 'attributeBase' of type 'PlayerAttribute' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:658:2: warning: variable 'miscBase' of type 'PlayerMisc' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:815:2: warning: variable 'old_skin' of type 'unsigned char' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:820:3: warning: variable 'rn' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:838:3: warning: variable 'rn' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:901:26: warning: no header providing "boost::size" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:911:13: warning: function 'ARX_PLAYER_LEVEL_UP' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:959:3: warning: variable 'Framedelay' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:959:22: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:963:3: warning: variable 'inc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:966:4: warning: variable 'inc_hunger' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:970:73: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:982:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:995:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:999:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1006:5: warning: variable 'cp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1008:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1012:6: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1037:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/Player.cpp:1118:68: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1135:16: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1163:13: warning: function 'ARX_PLAYER_StartFall' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1167:19: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1196:13: warning: function 'ARX_PLAYER_Manage_Visual_End' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1248:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1255:3: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1265:21: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1294:3: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1297:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1308:19: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1311:2: warning: variable 'layer1' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1334:19: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] -Arx/src/game/Player.cpp:1439:4: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:1439:4: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/game/Player.cpp:1588:86: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:1541:42: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1546:42: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1588:86: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:1592:23: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1594:33: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1636:2: warning: variable 'id' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1637:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1637:38: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1639:2: warning: variable 'targetId' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1657:50: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1717:50: warning: no header providing "SPELL_DETECT_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:1726:13: warning: function 'ARX_PLAYER_MakeStepNoise' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1737:4: warning: variable 'skill_stealth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1742:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1754:13: warning: variable 'LAST_FIRM_GROUND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1755:13: warning: variable 'TRUE_FIRM_GROUND' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1761:13: warning: function 'Valid_Jump_Pos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1769:2: warning: variable 'tmp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1781:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1799:13: warning: function 'setPlayerPositionColor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1801:2: warning: variable 'grnd_color' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1812:13: warning: function 'PlayerMovementIterate' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Player.cpp:1821:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1824:5: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1841:5: warning: variable 't' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1867:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1870:5: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1921:3: warning: variable 'cyl' of type 'Cylinder' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1923:3: warning: variable 'anything2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1951:5: warning: variable 'fh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1953:6: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/game/Player.cpp:1995:68: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:1973:3: warning: variable 'diff' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:1978:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:1995:68: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2005:6: warning: variable 'mv' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2006:6: warning: variable 'time' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2007:19: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2007:32: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2049:6: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2052:16: warning: no header providing "ARX_SPELLS_ApplyFireProtection" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2055:6: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] -Arx/src/game/Player.cpp:2108:18: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2108:18: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/Player.cpp:2145:4: warning: variable 'position' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2145:26: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2147:4: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2154:3: warning: variable 'PLAYER_CYLINDER_STEP' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2169:6: warning: variable 'fh' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2171:7: warning: variable 'dmg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2224:12: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2229:4: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2265:5: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2271:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Player.cpp:2312:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2319:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/Player.cpp:2320:18: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2400:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/Player.cpp:2459:35: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2479:51: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2519:2: warning: no header providing "ARX_SPELLS_Precast_Reset" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2520:2: warning: no header providing "ARX_SPELLS_CancelSpellTarget" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2523:2: warning: no header providing "ARX_SPELLS_ClearAllSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2524:2: warning: no header providing "ARX_SPELLS_ResetRecognition" is directly included [misc-include-cleaner] +Arx/src/game/Player.cpp:2612:2: warning: no header providing "g_cameraEntity" is directly included [misc-include-cleaner] -Arx/src/game/Player.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/Player.h:84:6: warning: enum 'PlayerInterfaceFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Player.h:99:6: warning: enum 'PlayerMovementFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Player.h:114:6: warning: enum 'PlayerFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/Player.h:146:6: warning: enum 'JumpPhase' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/game/Player.h:324:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/Spells.cpp:53:1: warning: included header map is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:55:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:56:1: warning: included header utility is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:58:1: warning: included header flat_set.hpp is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:59:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:60:1: warning: included header lexical_cast.hpp is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:64:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:68:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:76:1: warning: included header FlyingEye.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:78:1: warning: included header Quake.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:92:1: warning: included header Menu.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:94:1: warning: included header MiniMap.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:97:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:98:1: warning: included header Color.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:99:1: warning: included header Draw.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:102:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:103:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:105:1: warning: included header TextureContainer.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:106:1: warning: included header SpellEffects.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:108:1: warning: included header ParticleSystem.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:111:1: warning: included header Spells05.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:116:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:118:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:121:1: warning: included header Collisions.h is not used directly [misc-include-cleaner] +Arx/src/game/Spells.cpp:139:8: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:139:14: warning: variable 'g_LastFlarePosition' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:140:8: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:140:24: warning: variable 'g_LastFlareTime' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:150:2: warning: no header providing "spellRecognitionInit" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:152:2: warning: no header providing "RuneInfosFill" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:153:2: warning: no header providing "ARX_SPELLS_Init_Rects" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:163:1: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:163:44: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:167:13: warning: function 'SPELLEND_Notify' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:175:32: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:186:53: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:343:21: warning: function 'MakeSpellName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:347:8: warning: no header providing "SPELL_MAGIC_SIGHT" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:348:8: warning: no header providing "SPELL_MAGIC_MISSILE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:349:8: warning: no header providing "SPELL_IGNIT" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:350:8: warning: no header providing "SPELL_DOUSE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:351:8: warning: no header providing "SPELL_ACTIVATE_PORTAL" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:353:8: warning: no header providing "SPELL_HEAL" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:354:8: warning: no header providing "SPELL_DETECT_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:355:8: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:356:8: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:357:8: warning: no header providing "SPELL_HARM" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:359:8: warning: no header providing "SPELL_SPEED" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:360:8: warning: no header providing "SPELL_DISPELL_ILLUSION" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:361:8: warning: no header providing "SPELL_FIREBALL" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:362:8: warning: no header providing "SPELL_CREATE_FOOD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:363:8: warning: no header providing "SPELL_ICE_PROJECTILE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:365:8: warning: no header providing "SPELL_BLESS" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:366:8: warning: no header providing "SPELL_DISPELL_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:367:8: warning: no header providing "SPELL_FIRE_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:368:8: warning: no header providing "SPELL_TELEKINESIS" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:369:8: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:370:8: warning: no header providing "SPELL_COLD_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:372:8: warning: no header providing "SPELL_RUNE_OF_GUARDING" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:373:8: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:374:8: warning: no header providing "SPELL_CURE_POISON" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:375:8: warning: no header providing "SPELL_REPEL_UNDEAD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:376:8: warning: no header providing "SPELL_POISON_PROJECTILE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:378:8: warning: no header providing "SPELL_RISE_DEAD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:379:8: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:380:8: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:381:8: warning: no header providing "SPELL_DISARM_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:382:8: warning: no header providing "SPELL_SLOW_DOWN" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:384:8: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:385:8: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:386:8: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:387:8: warning: no header providing "SPELL_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:388:8: warning: no header providing "SPELL_CONFUSE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:390:8: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:391:8: warning: no header providing "SPELL_MANA_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:392:8: warning: no header providing "SPELL_EXPLOSION" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:393:8: warning: no header providing "SPELL_ENCHANT_WEAPON" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:394:8: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:396:8: warning: no header providing "SPELL_SUMMON_CREATURE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:397:8: warning: no header providing "SPELL_FAKE_SUMMON" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:398:8: warning: no header providing "SPELL_NEGATE_MAGIC" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:399:8: warning: no header providing "SPELL_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:400:8: warning: no header providing "SPELL_MASS_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:402:8: warning: no header providing "SPELL_MASS_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:403:8: warning: no header providing "SPELL_CONTROL_TARGET" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:404:8: warning: no header providing "SPELL_FREEZE_TIME" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:405:8: warning: no header providing "SPELL_MASS_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:411:13: warning: function 'SPELLCAST_Notify' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:413:2: warning: variable 'source' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:433:13: warning: function 'SPELLCAST_NotifyOnlyTarget' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:438:2: warning: variable 'source' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:450:13: warning: function 'SPELLEND_Notify' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:452:2: warning: variable 'source' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:555:5: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:557:11: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:557:39: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:566:14: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:571:9: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:608:6: warning: no header providing "CurrSpellSymbol" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:609:7: warning: no header providing "ARX_SPELLS_AnalyseSPELL" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:635:3: warning: no header providing "ARX_SPELLS_ResetRecognition" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:639:4: warning: no header providing "ARX_SPELLS_Analyse" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:640:8: warning: no header providing "SpellMoves" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:641:5: warning: no header providing "ARX_SPELLS_AnalyseSYMBOL" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:643:4: warning: no header providing "ARX_SPELLS_Analyse_Alt" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:650:13: warning: function 'CanPayMana' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:652:22: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:655:24: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:665:43: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:677:21: warning: function 'TemporaryGetSpellTarget' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:677:51: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:686:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:686:22: warning: no header providing "arx::distance2" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:699:2: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:705:24: warning: variable 't_spell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:708:1: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:711:16: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:728:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:733:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/Spells.cpp:817:20: warning: function 'createSpellInstance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/Spells.cpp:890:12: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:900:25: warning: no header providing "MAX_SPELL_SYMBOLS" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:901:7: warning: no header providing "SpellSymbol" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:901:25: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:935:13: warning: no header providing "SPELLCAST_FLAG_PRECAST" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:944:3: warning: no header providing "ARX_SPELLS_Precast_Add" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:982:5: warning: variable 'cpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/Spells.cpp:989:23: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1028:27: warning: no header providing "spellicons" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1048:27: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1051:13: warning: no header providing "SPELLCAST_FLAG_LAUNCHPRECAST" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1098:13: warning: no header providing "SPELLCAST_FLAG_ORPHAN" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1122:89: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1153:12: warning: no header providing "SPELL_TYPES_COUNT" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1164:16: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1179:20: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/Spells.cpp:1182:44: warning: no header providing "SPELLCAST_FLAG_NODRAW" is directly included [misc-include-cleaner] -Arx/src/game/Spells.h:48:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/game/effect/ParticleSystems.cpp:22:1: warning: no header providing "ParticleParams" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.cpp:33:20: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.cpp:45:36: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.cpp:50:19: warning: no header providing "RenderMaterial" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.cpp:112:20: warning: no header providing "PARTICLE_CIRCULAR" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.cpp:112:40: warning: no header providing "PARTICLE_BORDER" is directly included [misc-include-cleaner] +Arx/src/game/effect/ParticleSystems.h:25:6: warning: enum 'ParticleParam' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/effect/Quake.cpp:26:1: warning: included header GameSound.h is not used directly [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:31:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:32:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:58:25: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:61:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/effect/Quake.cpp:72:3: warning: variable 'tim' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/effect/Quake.cpp:83:3: warning: variable 'itmod' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/effect/Quake.cpp:87:18: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:87:48: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/effect/Quake.cpp:90:3: warning: variable 'truepower' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/effect/Quake.cpp:91:3: warning: variable 'halfpower' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/effect/Quake.cpp:94:47: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:25:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:36:1: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:38:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:45:29: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:45:57: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:45:79: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:51:12: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:64:32: warning: no header providing "PrecastHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:69:2: warning: variable 'idx' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/Precast.cpp:75:2: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/Precast.cpp:76:15: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:88:26: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:90:2: warning: variable 'cost' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/Precast.cpp:92:25: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:105:62: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] -Arx/src/game/magic/Precast.cpp:131:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/magic/Precast.cpp:112:4: warning: no header providing "AnimLayer" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:117:5: warning: no header providing "ResetAnim" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:118:22: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:121:70: warning: no header providing "ANIM_CAST" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:122:23: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:125:24: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:126:43: warning: no header providing "SPELLCAST_FLAG_LAUNCHPRECAST" is directly included [misc-include-cleaner] +Arx/src/game/magic/Precast.cpp:131:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/magic/Precast.cpp:134:5: warning: no header providing "changeAnimation" is directly included [misc-include-cleaner] +Arx/src/game/magic/Rune.cpp:23:1: warning: included header vector is not used directly [misc-include-cleaner] +Arx/src/game/magic/Rune.cpp:25:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/game/magic/Rune.cpp:27:1: warning: included header Entity.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/Rune.cpp:30:8: warning: no header providing "boost::array" is directly included [misc-include-cleaner] +Arx/src/game/magic/Rune.h:33:6: warning: enum 'Rune' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/magic/RuneDraw.cpp:35:14: warning: function 'GetSymbVector' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/RuneDraw.cpp:49:13: warning: function 'ReCenterSequence' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/RuneDraw.cpp:49:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] -Arx/src/game/magic/RuneDraw.cpp:55:2: warning: use range-based for loop instead [modernize-loop-convert] +Arx/src/game/magic/RuneDraw.cpp:55:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:59:15: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:60:15: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:64:14: warning: variable 'lMaxSymbolDrawSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/RuneDraw.cpp:69:30: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:69:45: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:72:16: warning: no header providing "RuneInfo" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:72:16: warning: variable 'info' of type 'RuneInfo &' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:72:33: warning: no header providing "runeInfos" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:78:3: warning: variable 'iSize' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:83:13: warning: function 'updateIOLight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/RuneDraw.cpp:86:3: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:86:25: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:89:18: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:91:4: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:91:15: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:98:3: warning: no header providing "lightHandleDestroy" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:109:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:109:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:112:2: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:112:2: warning: variable 'elapsed' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:112:30: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:125:22: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:133:2: warning: variable 'rectToSymbolsRatio' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:134:2: warning: variable 'scale' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:134:27: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:140:2: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:142:2: warning: variable 'scaledMin' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:153:4: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:168:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:171:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:176:41: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:180:43: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:181:6: warning: no header providing "AnimLayer" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:183:38: warning: no header providing "ANIM_CAST_START" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:183:75: warning: no header providing "EA_ANIMEND" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:185:7: warning: no header providing "FinishAnim" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:186:7: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:186:34: warning: no header providing "ANIM_CAST_CYCLE" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:198:39: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:199:7: warning: no header providing "Rune" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:199:7: warning: variable 'symb' of type 'Rune' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:206:7: warning: variable 'speedFactor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:206:32: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:207:7: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:208:47: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:212:7: warning: no header providing "ARX_SPELLS_Launch" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:216:8: warning: no header providing "changeAnimation" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:216:41: warning: no header providing "ANIM_CAST" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:228:4: warning: variable 'elapsed' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:231:5: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:231:35: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:235:22: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:246:15: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:262:4: warning: variable 'div_ti' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:272:19: warning: no header providing "AnimationDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/RuneDraw.cpp:273:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:287:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/RuneDraw.cpp:311:13: warning: function 'ARX_SPELLS_RequestSymbolDrawCommon' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/RuneDraw.cpp:324:42: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:25:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:68:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:75:16: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:100:34: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:101:23: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.cpp:101:32: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/magic/Spell.h:35:6: warning: enum 'SpellType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/magic/Spell.h:113:6: warning: enum 'SpellcastFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/game/magic/SpellData.cpp:22:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:24:23: warning: no header providing "SPELL_TYPES_COUNT" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:28:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:33:31: warning: no header providing "SPELL_MAGIC_SIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:38:10: warning: no header providing "TextureContainer" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:39:18: warning: no header providing "RUNE_MEGA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:40:18: warning: no header providing "RUNE_VISTA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:44:31: warning: no header providing "SPELL_MAGIC_MISSILE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:52:18: warning: no header providing "RUNE_AAM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:53:18: warning: no header providing "RUNE_TAAR" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:57:31: warning: no header providing "SPELL_IGNIT" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:65:18: warning: no header providing "RUNE_YOK" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:69:31: warning: no header providing "SPELL_DOUSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:76:18: warning: no header providing "RUNE_NHI" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:81:31: warning: no header providing "SPELL_ACTIVATE_PORTAL" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:88:18: warning: no header providing "RUNE_SPACIUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:93:31: warning: no header providing "SPELL_HEAL" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:100:18: warning: no header providing "RUNE_VITAE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:104:31: warning: no header providing "SPELL_DETECT_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:110:18: warning: no header providing "RUNE_MORTE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:111:18: warning: no header providing "RUNE_COSUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:116:31: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:123:18: warning: no header providing "RUNE_KAOM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:127:31: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:133:18: warning: no header providing "RUNE_RHAA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:138:31: warning: no header providing "SPELL_HARM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:151:31: warning: no header providing "SPELL_SPEED" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:158:18: warning: no header providing "RUNE_MOVIS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:162:31: warning: no header providing "SPELL_DISPELL_ILLUSION" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:169:18: warning: no header providing "RUNE_STREGUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:174:31: warning: no header providing "SPELL_FIREBALL" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:188:31: warning: no header providing "SPELL_CREATE_FOOD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:200:31: warning: no header providing "SPELL_ICE_PROJECTILE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:209:18: warning: no header providing "RUNE_FRIDD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:215:31: warning: no header providing "SPELL_BLESS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:227:31: warning: no header providing "SPELL_DISPELL_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:238:31: warning: no header providing "SPELL_COLD_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:250:31: warning: no header providing "SPELL_FIRE_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:261:31: warning: no header providing "SPELL_TELEKINESIS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:268:18: warning: no header providing "RUNE_COMUNICATUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:272:31: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:285:31: warning: no header providing "SPELL_RUNE_OF_GUARDING" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:297:31: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:309:31: warning: no header providing "SPELL_CURE_POISON" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:316:18: warning: no header providing "RUNE_CETRIUS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:320:31: warning: no header providing "SPELL_REPEL_UNDEAD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:331:31: warning: no header providing "SPELL_POISON_PROJECTILE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:345:31: warning: no header providing "SPELL_RISE_DEAD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:358:31: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:369:31: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:381:31: warning: no header providing "SPELL_DISARM_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:393:31: warning: no header providing "SPELL_SLOW_DOWN" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:405:31: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:416:31: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:428:31: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:441:31: warning: no header providing "SPELL_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:450:18: warning: no header providing "RUNE_FOLGORA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:455:31: warning: no header providing "SPELL_CONFUSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:466:31: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:477:31: warning: no header providing "SPELL_MANA_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:489:31: warning: no header providing "SPELL_EXPLOSION" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:503:31: warning: no header providing "SPELL_ENCHANT_WEAPON" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:515:31: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:528:31: warning: no header providing "SPELL_SUMMON_CREATURE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:537:18: warning: no header providing "RUNE_TERA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:541:31: warning: no header providing "SPELL_FAKE_SUMMON" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:555:31: warning: no header providing "SPELL_NEGATE_MAGIC" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:567:31: warning: no header providing "SPELL_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:581:31: warning: no header providing "SPELL_MASS_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:593:31: warning: no header providing "SPELL_MASS_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:607:31: warning: no header providing "SPELL_CONTROL_TARGET" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:618:31: warning: no header providing "SPELL_FREEZE_TIME" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:625:18: warning: no header providing "RUNE_TEMPUS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellData.cpp:629:31: warning: no header providing "SPELL_MASS_INCINERATE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:29:1: warning: included header Equipment.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:33:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:34:1: warning: included header ParticleEffects.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:40:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:40:20: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:40:27: warning: variable 'plist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:43:13: warning: function 'handleRuneDetection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:43:33: warning: no header providing "Rune" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:52:3: warning: no header providing "RUNE_AAM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:53:3: warning: no header providing "RUNE_CETRIUS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:54:3: warning: no header providing "RUNE_COMUNICATUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:55:3: warning: no header providing "RUNE_COSUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:56:3: warning: no header providing "RUNE_FOLGORA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:57:3: warning: no header providing "RUNE_FRIDD" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:58:3: warning: no header providing "RUNE_KAOM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:60:3: warning: no header providing "RUNE_MEGA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:61:3: warning: no header providing "RUNE_MORTE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:62:3: warning: no header providing "RUNE_MOVIS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:63:3: warning: no header providing "RUNE_NHI" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:64:3: warning: no header providing "RUNE_RHAA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:65:3: warning: no header providing "RUNE_SPACIUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:66:3: warning: no header providing "RUNE_STREGUM" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:67:3: warning: no header providing "RUNE_TAAR" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:68:3: warning: no header providing "RUNE_TEMPUS" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:69:3: warning: no header providing "RUNE_TERA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:70:3: warning: no header providing "RUNE_VISTA" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:71:3: warning: no header providing "RUNE_VITAE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:72:3: warning: no header providing "RUNE_YOK" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:74:3: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:92:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:94:39: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:123:19: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:148:20: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:153:2: warning: variable 'segmentCount' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:165:3: warning: variable 'pointsToAddFloat' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:166:30: warning: no header providing "glm::round" is directly included [misc-include-cleaner] -Arx/src/game/magic/SpellRecognition.cpp:172:18: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/magic/SpellRecognition.cpp:172:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/magic/SpellRecognition.cpp:179:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:181:3: warning: variable 'interval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:189:3: warning: variable 'endIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:209:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:210:4: warning: variable 'coeff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:212:5: warning: variable 'p' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:236:38: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:244:40: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:257:3: warning: variable 'dir' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:270:2: warning: variable 'inputSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:276:14: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:277:14: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:279:2: warning: variable 'currTolerance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:284:2: warning: variable 'minAngle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:287:3: warning: variable 'thisPoint' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:288:3: warning: variable 'nextPoint' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:290:3: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:290:25: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:293:4: warning: variable 'angle2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:316:12: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:353:17: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:358:3: warning: variable 'patternSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:366:4: warning: variable 'diff' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:424:2: warning: variable 'index' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:455:25: warning: no header providing "RUNE_COUNT" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:459:14: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:469:24: warning: variable 'definedSpells' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:472:19: warning: variable 'spellNames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:482:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:483:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:484:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:485:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:486:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:487:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:488:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:489:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:490:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:491:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:492:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:493:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:494:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:495:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:496:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:497:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:498:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:499:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:500:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:501:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:502:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:503:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:504:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:505:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:506:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:507:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:508:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:509:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:510:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:511:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:512:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:513:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:514:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:515:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:516:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:517:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:518:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:519:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:520:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:521:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:522:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:523:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:524:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:525:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:526:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:527:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:528:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:529:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:530:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:531:2: warning: use designated initializer list to initialize 'RawSpellDefinition' [modernize-use-designated-initializers] +Arx/src/game/magic/SpellRecognition.cpp:534:13: warning: function 'addSpell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:536:15: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:537:2: warning: variable 'res' of type 'Res' (aka 'pair<_Rb_tree_const_iterator, SpellType>>, bool>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:537:35: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:594:32: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:612:2: warning: variable 'it' of type 'SpellNames::const_iterator' (aka '_Rb_tree_const_iterator, SpellType>>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:617:6: warning: enum 'ARX_SPELLS_RuneDirection' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/magic/SpellRecognition.cpp:633:18: warning: function 'getSpell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:661:3: warning: variable 'd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:665:4: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:665:19: warning: no header providing "std::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:666:4: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/SpellRecognition.cpp:725:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/game/magic/SpellRecognition.cpp:763:13: warning: function 'handleRuneDetection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:773:13: warning: function 'unrecognizedRune' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/SpellRecognition.cpp:1159:9: warning: no header providing "ARX_SPELLS_Launch" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:1160:27: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/SpellRecognition.cpp:1164:27: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:24:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:25:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:58:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:82:3: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:82:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:87:13: warning: function 'LaunchMagicMissileExplosion' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/spells/SpellsLvl01.cpp:89:2: warning: no header providing "ParticleParams" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:100:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:100:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:113:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:129:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:144:3: warning: variable 'group' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:154:28: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:164:14: warning: no header providing "angleToVector" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:171:19: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:171:27: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:171:66: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:187:17: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:194:3: warning: no header providing "LightHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:195:22: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:215:3: warning: no header providing "CMagicMissile" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:215:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:219:18: warning: no header providing "MrMagicMissileFx" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:227:40: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:235:16: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:251:3: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:272:3: warning: variable 'sphere' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:294:4: warning: variable 'rgb' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:309:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:312:25: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:363:2: warning: variable 'fPerimeter' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:369:26: warning: no header providing "g_staticLightsMax" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:370:25: warning: no header providing "g_staticLights" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:372:34: warning: no header providing "EXTRAS_EXTINGUISHABLE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:376:58: warning: no header providing "EXTRAS_NO_IGNIT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:380:24: warning: no header providing "EXTRAS_SEMIDYNAMIC" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:381:26: warning: no header providing "EXTRAS_SPAWNFIRE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:382:26: warning: no header providing "EXTRAS_SPAWNSMOKE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:390:7: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:410:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:410:30: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:415:23: warning: no header providing "SPELL_FIREBALL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:416:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:418:4: warning: variable 'radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:418:24: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:419:7: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:428:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:433:3: warning: no header providing "lightHandleDestroy" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:443:2: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl01.cpp:453:22: warning: no header providing "glm::mix" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:464:2: warning: variable 'target' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:466:2: warning: variable 'fPerimeter' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:506:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:507:5: warning: variable 'radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:517:9: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl01.cpp:518:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.cpp:535:16: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl01.h:39:7: warning: class 'MagicMissileSpell' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/magic/spells/SpellsLvl02.cpp:31:1: warning: included header RenderBatcher.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:32:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:35:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:50:17: warning: no header providing "SPELLCAST_FLAG_NOSOUND" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:56:60: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:58:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:68:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:68:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:103:2: warning: variable 'ff' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl02.cpp:109:8: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:128:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:139:12: warning: no header providing "fdist" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:143:5: warning: variable 'gain' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl02.cpp:143:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:146:38: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:161:31: warning: no header providing "SPELL_DETECT_TRAP" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:189:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl02.cpp:197:31: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:198:31: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:199:31: warning: no header providing "SPELL_FIRE_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:200:31: warning: no header providing "SPELL_COLD_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:350:31: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:351:31: warning: no header providing "SPELL_MANA_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:394:17: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl02.cpp:406:2: warning: variable 'cabalPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:45:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:56:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:70:61: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:74:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:74:14: warning: no header providing "VertexGroup" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:85:3: warning: variable 'col' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:85:15: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:86:3: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:87:3: warning: variable 'taille' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:91:21: warning: no header providing "Trail" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:91:35: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:123:3: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:123:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:147:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:147:30: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:157:23: warning: no header providing "SPELL_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:161:8: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:197:15: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:217:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:217:19: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:218:18: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:218:26: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:228:10: warning: no header providing "angleToVector" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:239:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:252:4: warning: no header providing "ObjVertHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:252:4: warning: variable 'idx' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:290:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:290:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:296:72: warning: no header providing "randomColor3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:299:2: warning: variable 'sphere' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:299:39: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:305:4: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:305:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:361:2: warning: variable 'timeRemaining' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:367:8: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:391:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:416:2: warning: variable 'iMax' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:418:2: warning: variable 'fspelldist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:420:2: warning: variable 's' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:423:2: warning: variable 'ray' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:428:2: warning: variable 'fd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:428:13: warning: no header providing "fdist" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:430:2: warning: variable 'fCalc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:430:16: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:431:15: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:433:2: warning: variable 'fDist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:435:12: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:437:2: warning: variable 'end' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:443:2: warning: no header providing "Split" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:448:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:465:25: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:497:2: warning: no header providing "RenderMaterial" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:498:17: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:502:13: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/magic/spells/SpellsLvl03.cpp:504:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl03.cpp:512:22: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:515:26: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:515:35: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:519:3: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:521:16: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:523:45: warning: no header providing "smotte" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:523:54: warning: no header providing "stite" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:525:3: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:528:26: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:529:3: warning: variable 'icicle' of type 'Icicle &' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:531:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:539:5: warning: variable 'tolive' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.cpp:539:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:541:37: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl03.cpp:555:5: warning: variable 'tolive' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl03.h:30:7: warning: class 'SpeedSpell' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/magic/spells/SpellsLvl03.h:62:7: warning: class 'FireballSpell' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/magic/spells/SpellsLvl04.cpp:23:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:44:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:56:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:60:31: warning: no header providing "SPELL_BLESS" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:66:15: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:103:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl04.cpp:106:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:112:2: warning: variable 'fBetaRadCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl04.cpp:112:27: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:112:36: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:112:44: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:113:2: warning: variable 'fBetaRadSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl04.cpp:113:27: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:115:2: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:115:2: warning: variable 'color' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl04.cpp:115:20: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:156:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:175:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:176:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:176:30: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:187:9: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:195:9: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:201:9: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:211:16: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:223:24: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:236:31: warning: no header providing "SPELL_FIRE_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:237:31: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:238:31: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:239:31: warning: no header providing "SPELL_COLD_PROTECTION" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:401:31: warning: no header providing "SPELL_CURSE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:445:17: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:449:2: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl04.cpp:449:15: warning: no header providing "svoodoo" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:44:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:49:31: warning: no header providing "SPELL_RUNE_OF_GUARDING" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:60:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:60:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:68:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:74:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:79:24: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:81:3: warning: variable 'fa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:81:14: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:90:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:92:2: warning: no header providing "RenderMaterial" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:96:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:99:2: warning: variable 'stiteangleb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:105:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:105:21: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:105:37: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:108:2: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:108:15: warning: no header providing "slight" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:114:15: warning: no header providing "ssol" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:119:15: warning: no header providing "srune" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:139:2: warning: variable 'sphere' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:139:37: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:163:31: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:165:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:187:2: warning: variable 'rhaut' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:188:2: warning: variable 'hauteur' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:262:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:262:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:265:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:265:12: warning: no header providing "fdist" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:266:2: warning: variable 'moveFactor' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:270:22: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:285:2: warning: variable 'cure' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:287:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:325:2: warning: variable 'ff' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:328:43: warning: no header providing "PARTICLE_CIRCULAR" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:331:8: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:372:31: warning: no header providing "SPELL_REPEL_UNDEAD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:402:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:424:2: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:424:15: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:440:3: warning: variable 'd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:469:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:491:3: warning: variable 'group' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:514:12: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:516:2: warning: variable 'uiNumber' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:516:25: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:533:3: warning: variable 'lTime' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:535:15: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:609:2: warning: variable 'iDiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:611:2: warning: variable 'flDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:613:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:613:28: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl05.cpp:625:3: warning: variable 'speed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.cpp:626:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl05.h:108:7: warning: class 'PoisonProjectileSpell' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/magic/spells/SpellsLvl06.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:23:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:33:1: warning: included header Spells05.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:39:38: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:43:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:52:13: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:64:31: warning: no header providing "SPELL_RISE_DEAD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:71:45: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:97:24: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:102:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:102:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:128:26: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:130:24: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:142:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:158:24: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:168:2: warning: variable 'tim' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:173:3: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:173:3: warning: variable 'phys' of type 'Cylinder' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:175:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:177:11: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:193:5: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:195:5: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:195:51: warning: no header providing "SM_SUMMONED" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:232:3: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:232:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:233:16: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:233:32: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:264:15: warning: no header providing "SPELLCAST_FLAG_RESTORE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:268:17: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:285:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:299:2: warning: variable 'cls' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:371:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:372:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:372:30: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:374:33: warning: no header providing "SPELL_RUNE_OF_GUARDING" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl06.cpp:378:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl06.cpp:393:56: warning: no header providing "SPELL_SLOW_DOWN" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:23:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:46:8: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:63:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:85:17: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:100:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:144:2: warning: no header providing "lightHandleDestroy" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:148:13: warning: function 'FlyingEyeSpellUpdateHand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/spells/SpellsLvl07.cpp:148:57: warning: no header providing "LightHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:150:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:150:21: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:175:66: warning: no header providing "randomColor3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:185:26: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:185:63: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:189:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/magic/spells/SpellsLvl07.cpp:191:49: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:201:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:206:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:221:31: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:239:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:302:3: warning: variable 'fDiff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:303:3: warning: variable 'nTime' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:303:15: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:312:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:312:37: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:313:4: warning: variable 'ts' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:314:4: warning: variable 'tc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:314:20: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:342:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:348:31: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:392:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:403:3: warning: variable 'minPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:405:22: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:455:19: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:457:3: warning: variable 'stiteangle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:457:31: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:457:40: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:458:3: warning: variable 'stitepos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:459:3: warning: variable 'stitescale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:462:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl07.cpp:466:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl07.cpp:470:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl07.cpp:474:41: warning: no header providing "smotte" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:474:50: warning: no header providing "stite" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:476:3: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:481:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:523:2: warning: variable 'target' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:525:26: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:547:14: warning: function 'GetChestPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/magic/spells/SpellsLvl07.cpp:559:2: warning: no header providing "ObjVertHandle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:559:2: warning: variable 'idx' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:575:3: warning: variable 'idx' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:590:4: warning: variable 'p2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:591:13: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:591:28: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:591:36: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:591:75: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:594:4: warning: variable 'p2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:638:29: warning: no header providing "EERIE_ANIMMANAGER_Load" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:643:13: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:655:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:670:2: warning: variable 'idx' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:683:2: warning: variable 'rot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:683:14: warning: no header providing "timeWaveSaw" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:685:2: warning: variable 'stiteangle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:688:3: warning: variable 'delta' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:688:29: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:689:27: warning: no header providing "spapi" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl07.cpp:700:3: warning: variable 'p' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:710:3: warning: variable 'baseColor' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:711:3: warning: variable 'randomFactor' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl07.cpp:713:14: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:23:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:24:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:25:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:32:1: warning: included header RenderBatcher.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:33:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:38:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:49:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:84:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:96:31: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:97:31: warning: no header providing "SPELL_HARM" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:109:20: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:146:17: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:154:2: warning: variable 'cabalPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:189:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:189:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:194:81: warning: no header providing "randomColor3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:203:16: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:207:4: warning: variable 'posi' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:223:3: warning: variable 'choice' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:223:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:225:4: warning: variable 'lvl' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:226:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:228:53: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:230:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:233:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl08.cpp:259:31: warning: no header providing "SPELL_MANA_DRAIN" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl08.cpp:316:2: warning: variable 'cabalPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:24:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:26:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:34:1: warning: included header Quake.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:43:44: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:46:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:56:13: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:72:45: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:96:27: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:97:24: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:102:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:102:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:114:2: warning: no header providing "lightHandleDestroy" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:128:26: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:130:24: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:153:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:169:3: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:169:3: warning: variable 'phys' of type 'Cylinder' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:171:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:173:11: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] -Arx/src/game/magic/spells/SpellsLvl09.cpp:190:50: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/magic/spells/SpellsLvl09.cpp:190:50: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/magic/spells/SpellsLvl09.cpp:223:5: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:232:5: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:232:51: warning: no header providing "SM_SUMMONED" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:300:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:352:2: warning: variable 'stitepos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:361:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:379:2: warning: variable 'rot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:379:14: warning: no header providing "timeWaveSaw" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:381:2: warning: variable 'stiteangle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:382:2: warning: variable 'scalediff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:382:20: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:382:50: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:385:2: warning: variable 'stitecolor' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:386:2: warning: variable 'stitescale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:387:2: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:387:15: warning: no header providing "ssol" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:391:2: warning: variable 'stitecolor' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:392:2: warning: variable 'stitescale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:403:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:404:3: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:404:30: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] -Arx/src/game/magic/spells/SpellsLvl09.cpp:412:44: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/game/magic/spells/SpellsLvl09.cpp:410:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl09.cpp:411:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:412:24: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:412:44: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/game/magic/spells/SpellsLvl09.cpp:482:9: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl09.cpp:496:16: warning: variable 'handle' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:24:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:32:1: warning: included header Quake.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:33:1: warning: included header Cheat.h is not used directly [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:51:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:51:18: warning: no header providing "CLightning" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:58:19: warning: no header providing "SPELL_MASS_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:61:15: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:65:17: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:73:11: warning: no header providing "angleToVectorXZ" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:75:2: warning: variable 'minDuration' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:75:29: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:78:2: warning: variable 'number' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:78:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:79:2: warning: variable 'ft' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:82:3: warning: variable 'target' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:83:3: warning: variable 'duration' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:83:56: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:84:22: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:96:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:96:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:109:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:110:18: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:110:43: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:115:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:130:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:163:24: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:200:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:228:4: warning: no header providing "ScriptParameters" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:231:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:248:2: warning: variable 'fBetaRad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:248:24: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:249:2: warning: variable 'fBetaRadCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:249:27: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:250:2: warning: variable 'fBetaRadSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:250:27: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:265:2: warning: no header providing "Split" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:268:3: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/game/magic/spells/SpellsLvl10.cpp:287:2: warning: variable 'n' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:287:10: warning: no header providing "BEZIERPrecision" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:288:2: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:296:34: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:299:34: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:305:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:307:4: warning: variable 'newpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:307:24: warning: no header providing "arx::catmullRom" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:310:5: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:353:2: warning: variable 'max_slowdown' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/magic/spells/SpellsLvl10.cpp:353:28: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:354:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.cpp:389:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/game/magic/spells/SpellsLvl10.h:28:7: warning: class 'MassLightningStrikeSpell' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/game/npc/Dismemberment.cpp:23:1: warning: included header string.hpp is not used directly [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:38:13: warning: function 'IsNearSelection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:45:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:46:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:46:18: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:58:13: warning: function 'ARX_NPC_SpawnMember' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:80:16: warning: no header providing "boost::contains" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:105:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] -Arx/src/game/npc/Dismemberment.cpp:113:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__alloc_traits, long>::value_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/npc/Dismemberment.cpp:109:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:113:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'value_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/game/npc/Dismemberment.cpp:131:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__alloc_traits, long>::value_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/npc/Dismemberment.cpp:131:42: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'value_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/game/npc/Dismemberment.cpp:161:2: warning: variable 'point0' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:166:16: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:219:37: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:246:21: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:252:21: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:252:30: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:254:20: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:255:16: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] -Arx/src/game/npc/Dismemberment.cpp:291:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/npc/Dismemberment.cpp:270:26: warning: function 'GetCutFlag' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:294:21: warning: function 'GetCutSelection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:326:13: warning: function 'ReComputeCutFlags' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:338:13: warning: function 'IsAlreadyCut' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/npc/Dismemberment.cpp:357:13: warning: function 'ARX_NPC_ApplyCuts' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/game/npc/Dismemberment.cpp:384:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/game/npc/Dismemberment.cpp:384:3: warning: variable 'flg' of type 'DismembermentFlag' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:385:3: warning: variable 'numsel' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:419:26: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:433:3: warning: variable 'sel' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:438:4: warning: variable 'fll' of type 'DismembermentFlag' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:446:5: warning: variable 'face' of type 'EERIE_FACE &' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:461:5: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:461:23: warning: no header providing "arx::distance2" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:475:18: warning: no header providing "square" is directly included [misc-include-cleaner] +Arx/src/game/npc/Dismemberment.cpp:476:3: warning: variable 'fl' of type 'DismembermentFlag' can be declared 'const' [misc-const-correctness] +Arx/src/game/npc/Dismemberment.cpp:477:6: warning: conversion of 'DismembermentFlag' into 'bool' will always return 'true', enum doesn't have a zero-value enumerator [bugprone-non-zero-enum-to-bool-conversion] +Arx/src/game/spell/Cheat.cpp:40:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:49:13: warning: variable 'cur_pnux' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:53:13: warning: variable 'cur_sm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:54:13: warning: variable 'cur_bh' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:57:13: warning: variable 'cur_arm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:58:13: warning: variable 'cur_sos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:59:13: warning: variable 'cur_console' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:62:8: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:62:24: warning: variable 'sp_max_start' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:66:14: warning: variable 'uw_mode_pos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:70:14: warning: variable 'sp_max_y' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:71:14: warning: variable 'sp_max_col' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:72:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:72:20: warning: variable 'sp_max_ch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:80:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:80:2: warning: variable 'elapsed' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:82:15: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:84:3: warning: variable 'modi' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:85:3: warning: variable 'sizX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:87:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] -Arx/src/game/spell/Cheat.cpp:88:10: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/game/spell/Cheat.cpp:88:10: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/game/spell/Cheat.cpp:91:4: warning: variable 'd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:93:23: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:94:4: warning: variable 'tex' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:96:4: warning: no header providing "UNICODE_ARXDrawTextCenter" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:96:30: warning: no header providing "hFontInGame" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:105:13: warning: function 'DisplayCheatText' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:110:13: warning: function 'MakeSpCol' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:193:13: warning: function 'EERIE_OBJECT_SetBHMode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:204:13: warning: function 'ApplySPWep' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:210:3: warning: variable 'cls' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:217:4: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:229:13: warning: function 'ApplyCurSOS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:235:13: warning: function 'ApplySPBow' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:256:13: warning: function 'ApplySPArm' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:294:13: warning: function 'ApplyCurPNux' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:306:13: warning: function 'ApplyPasswall' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:312:13: warning: function 'ApplySPRf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:319:13: warning: function 'ApplyCurMr' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:326:13: warning: function 'ApplySPuw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:337:13: warning: function 'ApplySPMax' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:354:23: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:369:13: warning: function 'ApplyConsole' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:375:27: warning: variable 'Mr_tc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/Cheat.cpp:380:6: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:381:4: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:382:4: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:383:4: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:383:4: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:384:4: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:384:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/Cheat.cpp:384:25: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.cpp:610:27: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/game/spell/Cheat.h:23:6: warning: enum 'CheatRune' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/game/spell/FlyingEye.cpp:36:27: warning: variable 'Flying_Eye' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/FlyingEye.cpp:36:40: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:37:22: warning: variable 'eyeballobj' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/game/spell/FlyingEye.cpp:53:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/FlyingEye.cpp:57:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/game/spell/FlyingEye.cpp:67:18: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:67:54: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:74:59: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:76:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/game/spell/FlyingEye.cpp:100:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:101:15: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:106:2: warning: variable 'scale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/game/spell/FlyingEye.cpp:107:2: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/game/spell/FlyingEye.cpp:107:2: warning: variable 'rgb' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/Color.h:72:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:72:55: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:72:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:85:58: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:117:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:117:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:117:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:159:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] -Arx/src/graphics/Color.h:159:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:160:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:161:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:166:10: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] -Arx/src/graphics/Color.h:166:20: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:167:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:168:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:182:17: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/graphics/Color.h:182:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:182:32: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/graphics/Color.h:182:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:182:47: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/graphics/Color.h:182:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Color.h:245:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Draw.cpp:47:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:48:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:51:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:55:22: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:57:20: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:57:84: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:66:13: warning: function 'SetTextureDrawPrim' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Draw.cpp:68:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:72:13: warning: function 'EERIECreateSprite' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Draw.cpp:72:31: warning: no header providing "TexturedQuad" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:72:60: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:73:31: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:75:2: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:81:23: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:85:45: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:102:2: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:102:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:104:55: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:110:3: warning: variable 'maxs' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:111:3: warning: variable 'mins' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:118:4: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:118:20: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:118:28: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:119:36: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:119:54: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:130:3: warning: no header providing "g_renderBatcher" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:143:13: warning: function 'CreateBitmap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Draw.cpp:143:44: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/graphics/Draw.cpp:148:2: warning: variable 'uv' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:149:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:175:2: warning: variable 'uv' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:178:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:192:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:207:2: warning: variable 'uv' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:208:2: warning: variable 'sv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:209:2: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:211:2: warning: variable 'uv1' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:212:2: warning: variable 'uv2' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:213:2: warning: variable 'uv3' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Draw.cpp:214:2: warning: variable 'uv4' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:48:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:73:27: warning: variable 'g_lightSourceTexture' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:73:50: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:74:22: warning: variable 'g_fogObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:75:22: warning: variable 'g_nodeObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:93:6: warning: enum 'DebugViewType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/DrawDebug.cpp:109:22: warning: variable 'g_debugView' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:118:13: warning: function 'drawDebugBoundingBox' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:118:40: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:118:53: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:124:13: warning: function 'drawDebugLights' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:126:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:126:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:128:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:135:3: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:135:3: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:135:13: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:140:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:140:3: warning: variable 'center' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:141:9: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:141:28: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:142:29: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:143:4: warning: variable 'depthTestState' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:147:36: warning: no header providing "Color3" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:147:43: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:170:13: warning: function 'drawDebugPortals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:172:24: warning: no header providing "portals" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:174:3: warning: no header providing "EERIE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:174:3: warning: variable 'po' of type 'EERIE_PORTALS &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:181:3: warning: no header providing "PortalPoly" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:181:3: warning: variable 'epp' of type 'PortalPoly &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:192:13: warning: function 'drawDebugZones' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:197:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:208:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:215:4: warning: variable 'offset' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:256:13: warning: function 'drawDebugPaths' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:260:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:280:13: warning: function 'drawDebugPathFinding' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:282:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:284:6: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:294:3: warning: variable 'color1' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:295:17: warning: variable 'k' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:298:5: warning: variable 'color2' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:304:4: warning: variable 'toppos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:312:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:325:4: warning: variable 'k0' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:326:4: warning: variable 'k1' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:330:5: warning: variable 'color0' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:331:5: warning: variable 'color1' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:337:3: warning: variable 'k0' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:339:4: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:339:4: warning: variable 'angle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:340:4: warning: variable 'scale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:345:4: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:350:4: warning: variable 'k1' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:362:13: warning: function 'drawDebugFogs' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:364:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:411:13: warning: function 'drawColorChart' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:424:13: warning: function 'drawDebugCollisionShape' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:443:9: warning: no header providing "boost::array" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:472:13: warning: function 'drawDebugEntityPhysicsCylinder' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:480:5: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:480:42: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:499:13: warning: function 'drawDebugEntityPhysicsCylinders' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:513:13: warning: function 'drawDebugEntities' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:548:5: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:549:5: warning: variable 'y' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:557:6: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:585:24: warning: no header providing "EERIE_ACTIONLIST" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:595:13: warning: function 'drawDebugMaterialTexture' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:609:2: warning: variable 'format' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:611:2: warning: variable 'type_s' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:612:2: warning: variable 'name_s' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:613:2: warning: variable 'format_s' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:637:13: warning: function 'drawDebugMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:643:2: warning: no header providing "PolyType" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:643:18: warning: no header providing "POLY_NODRAW" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:643:32: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:644:26: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:645:11: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:645:24: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:648:2: warning: variable 'start' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:657:2: warning: variable 'sceneHit' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:660:25: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:670:2: warning: variable 'entityHit' of type 'EntityRaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:673:9: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:684:42: warning: no header providing "POLY_LAVA" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:691:4: warning: variable 'clip' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:705:21: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:709:16: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:710:16: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:743:15: warning: no header providing "POLY_FALL" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:752:18: warning: no header providing "std::ios_base" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:755:4: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:779:2: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:790:30: warning: variable 'debugRays' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:792:58: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:793:2: warning: variable 'ray' of type 'DebugRay' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:797:13: warning: function 'updateAndRenderDebugDrawables' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/DrawDebug.cpp:803:2: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:807:9: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:825:2: warning: variable 'nullState' of type 'RenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:826:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawDebug.cpp:884:4: warning: no header providing "ARX_DAMAGES_DrawDebug" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:889:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawDebug.cpp:894:2: warning: variable 'width' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:24:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:31:21: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:31:62: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:42:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:43:2: warning: no header providing "EERIEDRAWPRIM" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:46:30: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:78:27: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:86:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/DrawLine.cpp:89:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:94:3: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/DrawLine.cpp:94:37: warning: narrowing conversion from 'unsigned long' to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/DrawLine.cpp:94:23: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:94:37: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/graphics/DrawLine.cpp:96:4: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:98:19: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:98:33: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:126:29: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:130:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/DrawLine.cpp:134:3: warning: variable 'current' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:135:3: warning: variable 'next' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:137:3: warning: variable 'from' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:138:3: warning: variable 'to' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/DrawLine.cpp:170:2: warning: variable 'halfSize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GlobalFog.cpp:49:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/graphics/GlobalFog.cpp:52:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/graphics/GlobalFog.cpp:53:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/graphics/GlobalFog.cpp:54:1: warning: included header Mesh.h is not used directly [misc-include-cleaner] +Arx/src/graphics/GlobalFog.cpp:64:1: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/GlobalFog.cpp:78:14: warning: function 'Approach' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/GlobalFog.cpp:93:2: warning: variable 'baseinc' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GlobalFog.cpp:94:2: warning: variable 'incdiv1000' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/GlobalFog.cpp:117:14: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/graphics/GlobalFog.h:53:6: warning: enum 'GMODFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/GraphicsTypes.h:210:8: warning: class 'EERIE_3DOBJ' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Math.cpp:50:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/graphics/Math.cpp:140:12: warning: function 'coplanar_tri_tri' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Math.cpp:148:14: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:197:12: warning: function 'tri_tri_intersect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/graphics/Math.cpp:289:2: warning: repeated branch in conditional chain [bugprone-branch-clone] -Arx/src/graphics/Math.cpp:292:2: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:289:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:292:2: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/graphics/Math.cpp:319:8: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:319:22: warning: function 'Triangle_ComputeBoundingBox' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Math.cpp:321:16: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:322:16: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:328:2: warning: variable 'bb1' of type 'EERIE_3D_BBOX' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:329:2: warning: variable 'bb2' of type 'EERIE_3D_BBOX' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:348:31: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:362:10: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:366:52: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:381:6: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:398:3: warning: variable 'fTheta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:398:23: warning: no header providing "glm::acos" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:399:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:399:22: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:412:32: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:415:11: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:418:2: warning: variable 'fSinYaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:418:25: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:419:2: warning: variable 'fCosYaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:419:25: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:420:2: warning: variable 'fSinPitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:421:2: warning: variable 'fCosPitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:423:2: warning: variable 'fSinRoll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:424:2: warning: variable 'fCosRoll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:436:6: warning: no header providing "glm::mat4" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:437:2: warning: variable 'pitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:438:2: warning: variable 'yaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:439:2: warning: variable 'roll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:440:2: warning: variable 'rotateX' of type 'glm::mat4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:440:27: warning: no header providing "arx::eulerAngleX" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:441:2: warning: variable 'rotateY' of type 'glm::mat4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:441:27: warning: no header providing "arx::eulerAngleY" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:442:2: warning: variable 'rotateZ' of type 'glm::mat4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:442:27: warning: no header providing "arx::eulerAngleZ" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:453:2: warning: variable 'q' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:454:22: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:454:35: warning: no header providing "arx::yaw" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:454:62: warning: no header providing "arx::pitch" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:454:98: warning: no header providing "arx::roll" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:466:6: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:468:2: warning: variable 'front' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:469:2: warning: variable 'up' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:471:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:477:14: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:483:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:483:17: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:491:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:499:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:505:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:510:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:517:2: warning: variable 'pitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:529:2: warning: variable 'pitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:529:21: warning: no header providing "std::asin" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:535:2: warning: variable 'yaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:535:19: warning: no header providing "std::atan2" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:541:32: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:545:2: warning: variable 'A' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:546:2: warning: variable 'B' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:550:30: warning: no header providing "glm::mat4x4" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:552:2: warning: variable 'D' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:553:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:556:2: warning: variable 'R' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:556:17: warning: no header providing "glm::cross" is directly included [misc-include-cleaner] +Arx/src/graphics/Math.cpp:574:2: warning: variable 'zAxis' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.cpp:585:2: warning: variable 'xAxis' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:115:2: warning: variable 'half' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:219:2: warning: variable 'pos1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Math.h:234:2: warning: variable 'pos1' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/Math.h:252:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Raycast.cpp:30:1: warning: included header Profiler.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:33:17: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:34:18: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:35:18: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:35:47: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:42:13: warning: function 'WalkTiles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Raycast.cpp:42:13: warning: function 'WalkTiles<(anonymous namespace)::ClosestHitRaycast &>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Raycast.cpp:44:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:45:2: warning: variable 'p2' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:49:25: warning: no header providing "g_backgroundTileSize" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:52:2: warning: variable 'd' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:55:26: warning: no header providing "glm::floor" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:70:3: warning: variable 'tilesToSkip' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:84:3: warning: variable 'tilesToSkip' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:93:19: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:101:2: warning: variable 'min' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:102:2: warning: variable 'max' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:104:70: warning: no header providing "std::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:110:2: warning: variable 'delta' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:110:32: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:116:3: warning: variable 'abort' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:141:14: warning: function 'linePolyIntersection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/Raycast.cpp:144:10: warning: no header providing "arx::intersectLineTriangle" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:150:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:167:17: warning: member 'ignoredTypes' of type 'const PolyType' (aka 'const Flags') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/Raycast.cpp:168:13: warning: member 'anyHit' of type 'const bool' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/Raycast.cpp:172:13: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:179:3: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:181:3: warning: variable 'previouslyHadHit' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:183:9: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:190:4: warning: variable 'relDist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:212:3: warning: variable 'hitPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:213:3: warning: variable 'hitTile' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:232:3: warning: variable 'hitPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:244:2: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:245:2: warning: variable 'invdir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:248:2: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:251:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:252:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:276:9: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:278:3: warning: variable 'min' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:279:3: warning: variable 'max' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:281:3: warning: variable 'zmax' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:281:21: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:282:3: warning: variable 'tmax' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:282:21: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:287:3: warning: variable 'zmin' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:287:21: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:288:3: warning: variable 'tmin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:288:21: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/graphics/Raycast.cpp:299:4: warning: variable 'v0' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:300:4: warning: variable 'v1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:301:4: warning: variable 'v2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:310:7: warning: variable 'hitPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.cpp:321:3: warning: variable 'hitPos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/Raycast.h:28:6: warning: enum 'RaycastFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/RenderBatcher.cpp:22:1: warning: included header list is not used directly [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:38:59: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:66:4: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:66:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/RenderBatcher.cpp:67:4: warning: no header providing "UseTextureState" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:67:4: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/RenderBatcher.cpp:67:33: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:68:18: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:69:4: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:100:18: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:143:1: warning: no header providing "RenderState" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:151:22: warning: no header providing "render3D" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:169:19: warning: no header providing "BlendOne" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:173:19: warning: no header providing "BlendSrcAlpha" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:177:29: warning: no header providing "BlendInvSrcColor" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:181:19: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.cpp:186:19: warning: no header providing "BlendInvSrcAlpha" is directly included [misc-include-cleaner] +Arx/src/graphics/RenderBatcher.h:37:7: warning: enum 'BlendType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/RenderBatcher.h:46:7: warning: enum 'Layer' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/RenderBatcher.h:94:7: warning: class 'RenderBatcher' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Renderer.cpp:29:1: warning: included header CrashHandler.h is not used directly [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:33:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/Renderer.cpp:34:83: warning: no header providing "NULL" is directly included [misc-include-cleaner] -Arx/src/graphics/Renderer.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/Renderer.h:40:6: warning: enum 'BlendingFactor' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:54:6: warning: enum 'CullingMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:62:7: warning: enum 'Sizes' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:68:7: warning: enum 'Offsets' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/graphics/Renderer.h:117:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Renderer.h:236:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/graphics/Renderer.h:240:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/Renderer.h:249:7: warning: class 'Renderer' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/Renderer.h:265:7: warning: enum 'PixelCompareFunc' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:276:7: warning: enum 'FillMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:282:7: warning: enum 'BufferType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:288:7: warning: enum 'Primitive' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:296:7: warning: enum 'BufferUsage' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/Renderer.h:302:7: warning: enum 'AlphaCutoutAntialising' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/VertexBuffer.h:31:6: warning: enum 'BufferFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/VertexBuffer.h:57:15: warning: member 'm_capacity' of type 'const size_t' (aka 'const unsigned long') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/VertexBuffer.h:82:15: warning: member 'm_capacity' of type 'const size_t' (aka 'const unsigned long') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/VertexBuffer.h:91:31: warning: member 'vb' of type 'VertexBuffer *const' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/VertexBuffer.h:115:3: warning: variable 'dst_offset' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:76:2: warning: variable 'filename' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:79:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:170:4: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:181:40: warning: no header providing "IOPOLYVERT" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:206:5: warning: variable 'name' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/FTL.cpp:234:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FTL.cpp:260:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/FastSceneFormat.h:113:6: warning: enum 'FastAnchorFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/data/Mesh.cpp:53:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:56:1: warning: included header scoped_array.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:57:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:66:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:68:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:71:1: warning: included header NPC.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:85:1: warning: included header FileStream.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:87:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:91:1: warning: included header Profiler.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:99:13: warning: function 'IntersectLinePlane' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:99:38: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:101:2: warning: variable 'v' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:103:17: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:106:3: warning: variable 'v1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:117:13: warning: function 'RayIn3DPolyNoCull' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:119:2: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:122:10: warning: no header providing "arx::intersectLineTriangle" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:128:17: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:149:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:155:2: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:168:11: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:174:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:178:18: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:179:22: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:179:47: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:190:5: warning: the 'empty' method should be used to check for emptiness instead of 'length' [readability-container-size-empty] +Arx/src/graphics/data/Mesh.cpp:199:2: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:199:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:205:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:205:38: warning: no header providing "g_backgroundTileSize" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:253:9: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:258:24: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:258:37: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:258:50: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:278:29: warning: no header providing "getFastBackgroundData" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:405:2: warning: variable 'n' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:405:17: warning: no header providing "glm::cross" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:410:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:413:14: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:419:25: warning: no header providing "PortalPoly" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:421:2: warning: variable 'n' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:426:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:437:15: warning: no header providing "g_preparedCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:445:2: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:452:33: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:452:56: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:474:12: warning: function 'PointIn2DPolyXZ' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:498:2: warning: variable 'p' of type 'Vec3f[4]' (aka 'vec<3, float, glm::highp>[4]') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:511:2: warning: variable 'roo' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:525:13: warning: function 'SetRoomDistance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:528:2: warning: variable 'index' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:528:25: warning: no header providing "portals" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:529:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:539:2: warning: variable 'dst' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:564:13: warning: function 'EERIE_PORTAL_Blend_Portals_And_Rooms' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:570:3: warning: no header providing "EERIE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:579:19: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:580:19: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:586:5: warning: no header providing "EERIE_ROOM_DATA" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:609:45: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:610:46: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:618:2: warning: variable 'rotation' of type 'glm::mat4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:618:7: warning: no header providing "glm::mat4" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:621:3: warning: variable 'scaled' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:631:3: warning: variable 'face' of type 'EERIE_FACE &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:651:22: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:652:19: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:654:19: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:656:3: warning: no header providing "g_renderBatcher" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:665:2: warning: variable 'toread' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:680:13: warning: function 'loadFastScene' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:685:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:714:3: warning: no header providing "InitBkg" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:746:13: warning: function 'loadFastScene' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/Mesh.cpp:762:19: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:767:3: warning: variable 'texture' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:808:6: warning: variable 'cit' of type 'TextureContainerMap::const_iterator' (aka '_Rb_tree_const_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:818:25: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:825:5: warning: variable 'to' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:826:5: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:844:6: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:844:21: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:845:18: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:881:9: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:921:28: warning: no header providing "glm::mix" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:945:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:971:2: warning: no header providing "EERIEPOLY_Compute_PolyIn" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1059:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1076:23: warning: no header providing "EP_DATA" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1080:19: warning: no header providing "POLY_IGNORE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1085:19: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1099:4: warning: variable 'nvertices' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1100:4: warning: variable 'nindices' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1145:25: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.cpp:1156:3: warning: variable 'ntextures' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/Mesh.cpp:1258:8: warning: no header providing "std::partition" is directly included [misc-include-cleaner] +Arx/src/graphics/data/Mesh.h:131:2: warning: variable 'n' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:60:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:65:1: warning: included header PolyBoom.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:71:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:77:58: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:88:2: warning: variable 'skintochange' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:90:2: warning: variable 'skinname' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:143:13: warning: function 'GetEquivalentVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:157:15: warning: function 'ObjectAddVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:172:20: warning: function 'GetActionPoint' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:186:13: warning: function 'ObjectAddFace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:204:2: warning: variable 'f0' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:205:2: warning: variable 'f1' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:206:2: warning: variable 'f2' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/data/MeshManipulation.cpp:223:9: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:223:9: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:226:13: warning: function 'ObjectAddAction' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:228:2: warning: variable 'newvert' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/data/MeshManipulation.cpp:257:9: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:257:9: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/data/MeshManipulation.cpp:260:13: warning: function 'AddVertexToGroup' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:283:13: warning: function 'ObjectAddSelection' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:293:22: warning: function 'CreateIntermediaryMesh' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/MeshManipulation.cpp:308:3: warning: variable 'sel' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:320:3: warning: variable 'sel' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:369:3: warning: variable 'idx_head1' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:373:3: warning: variable 'idx_head2' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:377:3: warning: variable 'idx_torso1' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:381:3: warning: variable 'idx_torso2' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:493:9: warning: no header providing "VertexGroup" is directly included [misc-include-cleaner] +Arx/src/graphics/data/MeshManipulation.cpp:496:3: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:512:3: warning: variable 'v' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:535:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:547:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:562:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:574:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:589:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:601:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:613:4: warning: variable 'num' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:620:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:628:4: warning: variable 'ii' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:636:6: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:648:4: warning: variable 'num' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:655:5: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.cpp:686:2: warning: variable 'ftl_file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/MeshManipulation.h:55:6: warning: enum 'TweakFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/data/TextureContainer.cpp:53:1: warning: included header utility is not used directly [misc-include-cleaner] +Arx/src/graphics/data/TextureContainer.cpp:55:1: warning: included header case_conv.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/data/TextureContainer.cpp:63:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/TextureContainer.cpp:64:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/graphics/data/TextureContainer.cpp:76:27: warning: variable 'g_ptcTextureList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/data/TextureContainer.cpp:165:2: warning: variable 'storedSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:224:2: warning: variable 'width' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:225:2: warning: variable 'height' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/data/TextureContainer.cpp:246:2: warning: variable 'storedSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/data/TextureContainer.h:60:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/data/TextureContainer.h:75:6: warning: enum 'BatchBucket' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/data/TextureContainer.h:95:7: warning: class 'TextureContainer' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/data/TextureContainer.h:99:7: warning: enum 'TCFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/data/TextureContainer.h:144:40: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/graphics/effects/BlobShadow.cpp:33:36: warning: variable 'g_shadowBatch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/BlobShadow.cpp:35:13: warning: function 'AddToShadowBatch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/BlobShadow.cpp:35:30: warning: no header providing "TexturedVertexUntransformed" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:39:2: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:60:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:72:7: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:85:22: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:92:27: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:99:5: warning: variable 's1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:100:5: warning: variable 's2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:104:5: warning: variable 'rgba' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:104:22: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/BlobShadow.cpp:121:5: warning: variable 'origin' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:122:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:138:5: warning: variable 's1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:139:5: warning: variable 's2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:143:5: warning: variable 'rgba' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/BlobShadow.cpp:160:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Cabal.cpp:20:1: warning: included header Entity.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:21:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:22:1: warning: included header Player.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:26:1: warning: included header GameSound.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:28:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:39:37: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:74:13: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:92:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:94:26: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:95:19: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:98:2: warning: variable 'refpos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Cabal.cpp:100:2: warning: variable 'Es' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Cabal.cpp:100:54: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:102:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:102:24: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:112:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:116:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:120:2: warning: variable 'cabalscale' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Cabal.cpp:125:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:132:3: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:132:16: warning: no header providing "cabal" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:154:24: warning: no header providing "dynLightCreate" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:161:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Cabal.cpp:166:2: warning: no header providing "endLightDelayed" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:28:8: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:28:25: warning: variable 'FADEDURATION' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/Fade.cpp:30:8: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:30:24: warning: variable 'FADESTART' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/Fade.cpp:32:8: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:32:16: warning: variable 'FADECOLOR' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/Fade.cpp:62:2: warning: variable 'elapsed' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fade.cpp:71:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/Fade.cpp:81:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fade.cpp:83:18: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:83:42: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.cpp:83:48: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fade.h:29:6: warning: enum 'FadeType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/effects/Field.cpp:48:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:50:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:53:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:56:1: warning: included header Spells05.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:58:1: warning: included header ParticleManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:59:1: warning: included header ParticleParams.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:60:1: warning: included header TextureStage.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:64:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:102:3: warning: variable 'patchsize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Field.cpp:103:18: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:103:27: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:124:3: warning: variable 'zab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Field.cpp:137:56: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:151:14: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:155:27: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:181:2: warning: variable 'ysize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Field.cpp:181:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:181:43: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:185:15: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:196:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Field.cpp:198:2: warning: variable 'smul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:25:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:26:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:29:1: warning: included header ParticleParams.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:37:20: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:49:26: warning: no header providing "arx::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:94:2: warning: variable 'fBetaRad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:94:24: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:95:21: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:96:21: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:104:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:142:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:158:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:168:27: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:176:3: warning: variable 'fTempCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:177:3: warning: variable 'fTempSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:197:2: warning: no header providing "TexturedVertexUntransformed" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:198:58: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:257:2: warning: variable 'target' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:268:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:276:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:279:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:290:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:293:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:298:3: warning: variable 't2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:306:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:309:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:320:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:323:4: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/effects/Fissure.cpp:389:3: warning: variable 'fOneOnDurationIntro' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:389:37: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:390:18: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fissure.cpp:391:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/Fissure.cpp:430:2: warning: variable 'fBetaRad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:462:4: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:468:4: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:492:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:527:3: warning: variable 'fTempCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:528:3: warning: variable 'fTempSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:608:2: warning: variable 'target' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:678:3: warning: variable 'fOneOnDurationIntro' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fissure.cpp:680:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/effects/Fissure.h:50:7: warning: class 'CRiseDead' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/effects/FloatingStones.cpp:42:53: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:48:17: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:98:4: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:98:4: warning: variable 'col' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/FloatingStones.cpp:98:26: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:99:44: warning: no header providing "stone0" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:99:53: warning: no header providing "stone1" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:100:4: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/FloatingStones.cpp:108:25: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:49:1: warning: included header AnimationRender.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:56:1: warning: included header Draw.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:66:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Fog.cpp:87:2: warning: variable 'iDiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:89:2: warning: variable 'flDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Fog.cpp:97:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:25:1: warning: included header Animation.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:27:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:29:15: warning: variable 'HALOCUR' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/Halo.cpp:30:23: warning: variable 'LATERDRAWHALO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/Halo.cpp:33:2: warning: variable 'blendType' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Halo.cpp:33:38: warning: no header providing "ColorRGBA_ZERO" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:54:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:56:2: warning: no header providing "RenderState" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:56:2: warning: variable 'baseState' of type 'RenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Halo.cpp:56:26: warning: no header providing "render3D" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:59:3: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:59:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Halo.cpp:59:40: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:59:51: warning: no header providing "BlendInvSrcColor" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:65:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Halo.cpp:65:40: warning: no header providing "BlendSrcColor" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Halo.cpp:65:55: warning: no header providing "BlendOne" is directly included [misc-include-cleaner] -Arx/src/graphics/effects/Halo.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/effects/LightFlare.cpp:35:27: warning: variable 'tflare' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/LightFlare.cpp:35:36: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:47:2: warning: variable 'temp_increase' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:47:24: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:49:2: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:49:2: warning: variable 'zFar' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:49:15: warning: no header providing "g_preparedCamera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:49:65: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:50:2: warning: variable 'fZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:52:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:55:7: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:64:3: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:64:13: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:65:3: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:65:3: warning: variable 'pos2d' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:73:4: warning: variable 'lightpos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:73:36: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:74:4: warning: no header providing "PolyType" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:74:4: warning: variable 'ignored' of type 'PolyType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:74:23: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:74:35: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:74:48: warning: no header providing "POLY_NODRAW" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:75:4: warning: variable 'flags' of type 'RaycastFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:85:27: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:95:5: warning: no header providing "g_debugToggles" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/LightFlare.cpp:100:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/LightFlare.cpp:122:60: warning: no header providing "EE_RT" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:46:1: warning: included header Animation.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:49:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:52:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:53:1: warning: included header Player.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:54:1: warning: included header Spells.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:57:1: warning: included header TextureContainer.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:60:1: warning: included header ParticleParams.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:61:1: warning: included header Spells05.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:65:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:66:1: warning: included header Light.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:67:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:72:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:114:14: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:125:3: warning: variable 'moi' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:128:17: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:131:3: warning: variable 'fAngle' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:131:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:138:17: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:138:26: warning: no header providing "glm::acos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:138:47: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:139:17: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:139:26: warning: no header providing "glm::asin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:140:17: warning: no header providing "glm::tan" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:140:26: warning: no header providing "glm::atan" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:144:3: warning: variable 'ts' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:154:3: warning: variable 'anb' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:155:3: warning: variable 'anbrec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:157:3: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:160:4: warning: variable 'm' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:297:2: warning: variable 'f' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:301:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:305:2: warning: variable 'fbeta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:307:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:311:3: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:312:3: warning: variable 'z_z' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:314:3: warning: variable 'xx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:319:4: warning: variable 'vv1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:320:35: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:321:4: warning: variable 'vv2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Lightning.cpp:330:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Lightning.cpp:348:18: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:48:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:50:1: warning: included header Damage.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:51:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:52:1: warning: included header NPC.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:58:1: warning: included header ParticleParams.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:59:1: warning: included header ParticleManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:61:1: warning: included header Spells05.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:64:1: warning: included header Collisions.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:66:1: warning: included header Light.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:68:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:82:14: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:88:58: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:94:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:97:19: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:97:28: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:97:36: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:104:3: warning: use `std::min` instead of `>=` [readability-use-std-min-max] +Arx/src/graphics/effects/MagicMissile.cpp:119:2: warning: variable 't' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:120:19: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:136:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:152:34: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:155:34: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:161:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:163:18: warning: no header providing "arx::catmullRom" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:167:71: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:168:5: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:168:24: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:169:5: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:169:5: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:169:38: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:169:52: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:177:5: warning: variable 'fs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:178:5: warning: variable 'fe' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:182:4: warning: variable 'temp_vector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:188:2: warning: variable 'av' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:190:2: warning: variable 'bubu' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:190:15: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:191:2: warning: variable 'bubu1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/MagicMissile.cpp:196:26: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:209:2: warning: no header providing "Draw3DObject" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.cpp:216:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/MagicMissile.h:51:7: warning: class 'CMagicMissile' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/effects/PolyBoom.cpp:53:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:72:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:74:6: warning: enum 'DecalType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/effects/PolyBoom.cpp:84:2: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:89:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:90:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:93:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:94:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:94:30: warning: variable 'polyboom' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/effects/PolyBoom.cpp:108:30: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:111:2: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:111:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:112:2: warning: variable 'radius' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:114:2: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:114:18: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:115:2: warning: variable 'maxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:115:18: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:116:2: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:117:2: warning: variable 'maxz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:121:3: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:124:18: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:124:45: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:128:4: warning: variable 'nbvert' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:128:31: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:134:5: warning: variable 'ddd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:156:16: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:171:2: warning: variable 'poss' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:182:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/graphics/effects/PolyBoom.cpp:251:2: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:253:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:260:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:261:2: warning: variable 'radius' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:263:2: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:264:2: warning: variable 'maxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:265:2: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:266:2: warning: variable 'maxz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:280:4: warning: variable 'nbvert' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:287:16: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:311:7: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:311:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:318:7: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:321:19: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:333:7: warning: variable 'vdiff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:367:2: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:368:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:383:3: warning: variable 't' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:385:9: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:400:3: warning: variable 'pb' of type 'POLYBOOM &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:402:3: warning: variable 't' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:408:5: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:409:5: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:409:5: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:411:5: warning: no header providing "TexturedVertexUntransformed" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:437:5: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:438:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:438:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:439:5: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:439:47: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/PolyBoom.cpp:462:5: warning: variable 'tt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:463:5: warning: variable 'tr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:464:5: warning: variable 'ttt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/PolyBoom.cpp:465:5: warning: variable 'col' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/RotatingCone.cpp:32:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:41:2: warning: variable 'da' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/RotatingCone.cpp:48:34: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:48:43: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:48:79: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:54:15: warning: no header providing "TextureContainer" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:64:30: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:75:2: warning: variable 'du' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/RotatingCone.cpp:78:2: warning: no header providing "TexturedVertexUntransformed" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:88:18: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:116:18: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:118:17: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.cpp:127:17: warning: no header providing "CullCCW" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/RotatingCone.h:37:7: warning: enum 'Constants' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/effects/SpellEffects.cpp:49:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:57:14: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:60:28: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:69:51: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:69:81: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:71:2: warning: variable 'fBeta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:71:16: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:71:26: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:72:2: warning: variable 'xxs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:72:31: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:72:40: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:73:2: warning: variable 'xxe' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:95:14: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:122:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:124:46: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/SpellEffects.cpp:137:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/SpellEffects.cpp:147:23: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:28:29: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:39:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:39:2: warning: variable 'segments' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:39:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:40:21: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:62:2: warning: variable 'moving' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:72:26: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:75:26: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:99:17: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:112:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:114:2: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:115:2: warning: no header providing "arx_assume" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:122:11: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:127:18: warning: no header providing "glm::mix" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:127:83: warning: no header providing "glm::fract" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:161:20: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:165:18: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:167:2: warning: variable 'costheta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:167:24: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:172:2: warning: variable 'side' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:172:35: warning: no header providing "glm::cross" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:180:2: warning: variable 'front' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:182:2: warning: variable 'colorDelta' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:183:2: warning: variable 'sizeDelta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:185:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/effects/Trail.cpp:198:2: warning: variable 'frontAlpha' of type 'Color::type' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:199:2: warning: variable 'sideColor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/effects/Trail.cpp:256:36: warning: no header providing "std::ceil" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:22:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:23:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:24:1: warning: included header iterator is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:27:1: warning: included header ft2build.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:28:10: warning: no header providing "FT_FREETYPE_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:29:10: warning: no header providing "FT_SIZES_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:30:10: warning: no header providing "FT_OUTLINE_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:34:1: warning: included header Texture.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:39:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:51:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:100:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:117:53: warning: no header providing "std::hex" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:134:2: warning: no header providing "FT_UInt" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:134:2: warning: variable 'glyphIndex' of type 'FT_UInt' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:140:2: warning: no header providing "FT_Int32" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:151:46: warning: no header providing "FT_GLYPH_FORMAT_OUTLINE" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:152:3: warning: no header providing "FT_Pos" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:152:3: warning: variable 'strength' of type 'FT_Pos' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:180:19: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:182:3: warning: variable 'srcBitmap' of type 'FT_Bitmap &' (aka 'FT_Bitmap_ &') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:189:3: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:228:2: warning: variable 'chr' of type 'Char' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:256:13: warning: function 'addGlyphVertices' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/font/Font.cpp:256:35: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:257:76: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:259:2: warning: variable 'w' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:260:2: warning: variable 'h' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:261:2: warning: variable 'uStart' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:262:2: warning: variable 'vStart' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:263:2: warning: variable 'uEnd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:264:2: warning: variable 'vEnd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:266:2: warning: variable 'p' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:321:3: warning: variable 'itGlyph' of type 'glyph_iterator' (aka '_Rb_tree_const_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:330:5: warning: no header providing "FT_Vector" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:352:4: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:359:10: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/font/Font.cpp:369:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:370:3: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:405:2: warning: variable 'last' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.cpp:411:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/Font.h:33:7: warning: class 'Font' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/font/FontCache.cpp:28:1: warning: included header ft2build.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:29:10: warning: no header providing "FT_FREETYPE_H" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:31:1: warning: included header noncopyable.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:35:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:48:40: warning: no header providing "boost::noncopyable" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:52:20: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:103:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:112:8: warning: no header providing "FT_Byte" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:113:36: warning: no header providing "FT_Long" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:155:2: warning: variable 'key' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/FontCache.cpp:157:2: warning: variable 'it' of type 'FontMap::iterator' (aka '_Rb_tree_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/font/FontCache.cpp:188:2: warning: no header providing "FT_Int" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:201:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/font/FontCache.cpp:240:2: warning: variable 'it' of type 'FontFiles::iterator' (aka '_Rb_tree_iterator>') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/font/FontCache.cpp:251:30: warning: variable 'instance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/graphics/font/FontCache.cpp:251:30: warning: variable 'instance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/graphics/font/FontCache.h:27:7: warning: class 'FontCache' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/font/FontCache.h:27:7: warning: class 'FontCache' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/graphics/font/FontCache.h:46:16: warning: variable 'instance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/graphics/font/FontCache.h:46:16: warning: variable 'instance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/graphics/image/Image.cpp:25:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:29:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:30:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:33:1: warning: included header CrashHandler.h is not used directly [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:84:20: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:92:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:106:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:112:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:137:12: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:157:2: warning: variable 'oldSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:158:2: warning: variable 'newSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:185:2: warning: variable 'numComponents' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:186:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:213:2: warning: variable 'src_span' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:214:2: warning: variable 'dest_span' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:218:2: warning: variable 'src_pixel' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:219:2: warning: variable 'dest_pixel' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:231:3: warning: variable 'src_y' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:240:4: warning: variable 'src_x' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:243:4: warning: variable 'src_offset' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:270:2: warning: variable 'bpp' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:325:2: warning: variable 'numComponents' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:326:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:356:4: warning: variable 'reciprocal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:378:2: warning: variable 'numComponents' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:379:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:394:13: warning: function 'extendImageRight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:394:13: warning: function 'extendImageRight<2UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:394:13: warning: function 'extendImageRight<3UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:394:13: warning: function 'extendImageRight<4UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:394:30: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:413:13: warning: function 'extendImageBottomRight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:413:13: warning: function 'extendImageBottomRight<2UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:413:13: warning: function 'extendImageBottomRight<3UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:413:13: warning: function 'extendImageBottomRight<4UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/Image.cpp:436:2: warning: variable 'pixsize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:437:2: warning: variable 'insize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:461:3: warning: variable 'h' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:474:2: warning: variable 'srcNumChannels' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:475:2: warning: variable 'dstNumChannels' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:481:2: warning: variable 'newSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:488:3: warning: variable 'grayVal' of type 'unsigned char' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:507:2: warning: variable 'kernelSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:516:3: warning: variable 'szi' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:530:2: warning: variable 'numChannels' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:547:4: warning: no header providing "ptrdiff_t" is directly included [misc-include-cleaner] +Arx/src/graphics/image/Image.cpp:569:3: warning: variable 'ym' of type 'ptrdiff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:570:3: warning: variable 'riw' of type 'ptrdiff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:605:2: warning: variable 'imageSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:606:2: warning: variable 'lineSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/Image.cpp:628:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] -Arx/src/graphics/image/Image.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/image/Image.h:35:7: warning: enum 'Format' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/image/ImageColorKey.cpp:44:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageColorKey.cpp:50:27: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageColorKey.cpp:57:3: warning: variable 'sy' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:69:3: warning: variable 'nx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:70:3: warning: variable 'ny' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:76:3: warning: variable 'sy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:85:6: warning: variable 'offset' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:85:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/image/ImageColorKey.cpp:103:3: warning: variable 'sy' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:109:5: warning: variable 'alpha' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:121:3: warning: variable 'ix' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:123:3: warning: variable 'x0' of type 'bool' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:123:30: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:123:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:124:3: warning: variable 'y0' of type 'bool' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:124:33: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:124:33: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:136:3: warning: variable 'x1' of type 'bool' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:136:30: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:136:38: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:136:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:136:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:137:3: warning: variable 'y1' of type 'bool' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:137:30: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:137:38: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:137:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:137:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:153:4: warning: variable 'area' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:172:3: warning: variable 'dx' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:174:16: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:174:34: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:174:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:174:34: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:190:5: warning: variable 'remaining' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:213:3: warning: variable 'sy' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:225:7: warning: variable 'alpha' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:251:6: warning: variable 'filled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageColorKey.cpp:253:6: warning: variable 'area' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/image/ImageColorKey.cpp:259:29: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:259:36: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:261:24: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:259:29: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:259:36: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:261:24: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/graphics/image/ImageColorKey.cpp:262:27: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:262:27: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageColorKey.cpp:287:13: warning: function 'sampleColorKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/image/ImageColorKey.cpp:287:88: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageColorKey.cpp:301:3: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageColorKey.cpp:328:2: warning: variable 'dataSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageSave.cpp:44:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageSave.cpp:49:3: warning: variable 'n' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/image/ImageSave.cpp:49:19: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/image/ImageSave.cpp:50:25: warning: no header providing "std::streamsize" is directly included [misc-include-cleaner] -Arx/src/graphics/image/ImageSave.cpp:201:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/ImageSave.cpp:201:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/image/stb_image.h:207:1: warning: enum '(unnamed enum at Arx/src/graphics/image/stb_image.h:207:1)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/image/stb_image.h:217:1: warning: enum '(unnamed enum at Arx/src/graphics/image/stb_image.h:217:1)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/opengl/GLDebug.cpp:30:1: warning: included header Benchmark.h is not used directly [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:39:21: warning: function 'sourceToString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:39:36: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:42:8: warning: no header providing "GL_DEBUG_SOURCE_API" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:43:8: warning: no header providing "GL_DEBUG_SOURCE_WINDOW_SYSTEM" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:44:8: warning: no header providing "GL_DEBUG_SOURCE_SHADER_COMPILER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:45:8: warning: no header providing "GL_DEBUG_SOURCE_THIRD_PARTY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:46:8: warning: no header providing "GL_DEBUG_SOURCE_APPLICATION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:47:8: warning: no header providing "GL_DEBUG_SOURCE_OTHER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:52:21: warning: function 'typeToString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:55:8: warning: no header providing "GL_DEBUG_TYPE_ERROR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:56:8: warning: no header providing "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:57:8: warning: no header providing "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:58:8: warning: no header providing "GL_DEBUG_TYPE_PORTABILITY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:59:8: warning: no header providing "GL_DEBUG_TYPE_PERFORMANCE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:60:8: warning: no header providing "GL_DEBUG_TYPE_OTHER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:67:25: warning: no header providing "GLAPIENTRY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:74:28: warning: function 'callback' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:74:65: warning: no header providing "GLuint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:75:54: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:76:43: warning: no header providing "GLchar" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:78:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:81:7: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:92:7: warning: no header providing "GL_DEBUG_SEVERITY_HIGH" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:95:7: warning: no header providing "GL_DEBUG_SEVERITY_MEDIUM" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:98:7: warning: no header providing "GL_DEBUG_SEVERITY_LOW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:108:23: warning: no header providing "OpenGLInfo" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:125:2: warning: no header providing "glEnable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:125:11: warning: no header providing "GL_DEBUG_OUTPUT_SYNCHRONOUS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:129:2: warning: no header providing "glDebugMessageCallback" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:135:2: warning: no header providing "glDebugMessageControl" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:135:24: warning: no header providing "GL_DONT_CARE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:140:24: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:159:2: warning: variable 'strInitialized' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLDebug.cpp:159:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:160:2: warning: no header providing "glDebugMessageInsert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:198:13: warning: variable 'g_mode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:209:13: warning: function 'setMode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:226:21: warning: function 'getGLErrorString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLDebug.cpp:229:8: warning: no header providing "GL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:230:8: warning: no header providing "GL_INVALID_ENUM" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:231:8: warning: no header providing "GL_INVALID_VALUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:232:8: warning: no header providing "GL_INVALID_OPERATION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:233:8: warning: no header providing "GL_STACK_OVERFLOW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:234:8: warning: no header providing "GL_STACK_UNDERFLOW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:235:8: warning: no header providing "GL_OUT_OF_MEMORY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.cpp:246:5: warning: variable 'error' of type 'GLenum' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLDebug.cpp:246:20: warning: no header providing "glGetError" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLDebug.h:27:6: warning: enum 'Mode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/opengl/GLTexture.cpp:25:1: warning: included header OpenGLUtil.h is not used directly [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:26:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:31:8: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:32:13: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:44:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:46:2: warning: no header providing "glGenTextures" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:53:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:53:2: warning: variable 'nextPowerOfTwo' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:62:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:64:2: warning: no header providing "glBindTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:64:16: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:70:3: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:71:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:81:15: warning: no header providing "Texture::Intensity" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:86:3: warning: variable 'rgbFormat' of type 'Image::Format' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:91:2: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:92:2: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:94:21: warning: no header providing "GL_INTENSITY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:94:51: warning: no header providing "GL_INTENSITY8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:94:75: warning: no header providing "GL_RED" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:96:21: warning: no header providing "GL_LUMINANCE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:96:51: warning: no header providing "GL_LUMINANCE8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:98:21: warning: no header providing "GL_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:98:47: warning: no header providing "GL_ALPHA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:100:21: warning: no header providing "GL_LUMINANCE_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:100:57: warning: no header providing "GL_LUMINANCE8_ALPHA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:102:21: warning: no header providing "GL_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:102:45: warning: no header providing "GL_RGB8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:104:63: warning: no header providing "GL_BGR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:106:21: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:106:46: warning: no header providing "GL_RGBA8" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:108:65: warning: no header providing "GL_BGRA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:113:2: warning: variable 'internal' of type 'GLint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:116:15: warning: no header providing "Texture::HasMipmaps" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:120:3: warning: no header providing "glTexParameteri" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:120:34: warning: no header providing "GL_GENERATE_MIPMAP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:120:54: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:122:4: warning: no header providing "glTexParameterf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:122:35: warning: no header providing "GL_TEXTURE_MAX_ANISOTROPY_EXT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:125:34: warning: no header providing "GL_TEXTURE_MAX_LEVEL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:134:3: warning: no header providing "glTexImage2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:135:16: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:146:3: warning: no header providing "glDeleteTextures" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:152:17: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:162:2: warning: no header providing "GL_REPEAT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:163:2: warning: no header providing "GL_MIRRORED_REPEAT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:164:2: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:170:3: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:171:3: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:175:3: warning: no header providing "GL_NEAREST_MIPMAP_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:176:3: warning: no header providing "GL_LINEAR_MIPMAP_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:186:2: warning: variable 'newWrapMode' of type 'TextureStage::WrapMode' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:190:3: warning: variable 'glwrap' of type 'GLint' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:191:34: warning: no header providing "GL_TEXTURE_WRAP_T" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:192:34: warning: no header providing "GL_TEXTURE_WRAP_S" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:197:3: warning: variable 'mipFilter' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTexture.cpp:198:34: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.cpp:203:34: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTexture.h:35:7: warning: class 'GLTexture' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLTextureStage.cpp:24:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:26:78: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:26:124: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:31:18: warning: no header providing "TextureStage::OpModulate" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:32:18: warning: no header providing "TextureStage::OpSelectArg1" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:33:3: warning: no header providing "glActiveTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:33:19: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:34:13: warning: no header providing "GL_TEXTURE_ENV" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:34:29: warning: no header providing "GL_TEXTURE_ENV_MODE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:34:50: warning: no header providing "GL_COMBINE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:35:29: warning: no header providing "GL_COMBINE_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:35:47: warning: no header providing "GL_REPLACE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:36:3: warning: no header providing "glEnable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:36:12: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:38:18: warning: no header providing "TextureStage::OpDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:48:1: warning: no header providing "Texture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:54:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:65:2: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:74:2: warning: use designated initializer list to initialize 'GLTexEnvParam' [modernize-use-designated-initializers] +Arx/src/graphics/opengl/GLTextureStage.cpp:75:3: warning: no header providing "GL_COMBINE_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:76:3: warning: no header providing "GL_SOURCE0_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:77:3: warning: no header providing "GL_RGB_SCALE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:78:5: warning: use designated initializer list to initialize 'GLTexEnvParam' [modernize-use-designated-initializers] +Arx/src/graphics/opengl/GLTextureStage.cpp:80:3: warning: no header providing "GL_SOURCE0_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:81:3: warning: no header providing "GL_ALPHA_SCALE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:85:43: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:102:2: warning: variable 'wasEnabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:106:2: warning: variable 'enabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:111:37: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:111:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:113:4: warning: no header providing "glDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:130:18: warning: no header providing "GL_PREVIOUS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:136:18: warning: no header providing "GL_TEXTURE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:141:17: warning: no header providing "GL_MODULATE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:146:8: warning: no header providing "TextureStage::OpModulate2X" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:152:8: warning: no header providing "TextureStage::OpModulate4X" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:167:2: warning: variable 'it' of type 'IntegerStateCache::iterator' (aka '_Rb_tree_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLTextureStage.cpp:169:3: warning: no header providing "glTexEnvi" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:188:2: warning: no header providing "glTexEnvf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:188:12: warning: no header providing "GL_TEXTURE_FILTER_CONTROL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:188:39: warning: no header providing "GL_TEXTURE_LOD_BIAS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:206:3: warning: no header providing "glBindTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.cpp:206:49: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLTextureStage.h:32:7: warning: class 'GLTextureStage' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/GLTextureStage.h:56:7: warning: enum 'OpType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:22:27: warning: variable 'glArrayClientState' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:23:21: warning: variable 'glArrayClientStateRef' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:23:45: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:24:12: warning: variable 'glArrayClientStateTexCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:25:8: warning: no header providing "GLuint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:25:15: warning: variable 'glBoundBuffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:25:31: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:27:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:27:13: warning: no header providing "GLushort" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:30:60: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:32:2: warning: no header providing "glClientActiveTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:32:24: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:34:3: warning: no header providing "glEnableClientState" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:34:23: warning: no header providing "GL_TEXTURE_COORD_ARRAY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:36:2: warning: no header providing "glTexCoordPointer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:36:23: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:47:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:50:4: warning: no header providing "glDisableClientState" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:70:3: warning: no header providing "glBindBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.cpp:70:16: warning: no header providing "GL_ARRAY_BUFFER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/GLVertexBuffer.h:40:6: warning: enum 'GLArrayClientState' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/opengl/GLVertexBuffer.h:169:3: warning: variable 'mode' of type 'GLenum' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:193:68: warning: redundant explicit casting to the same type 'size_t' (aka 'unsigned long') as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/opengl/GLVertexBuffer.h:200:64: warning: redundant explicit casting to the same type 'size_t' (aka 'unsigned long') as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/graphics/opengl/GLVertexBuffer.h:266:4: warning: variable 'obytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:267:4: warning: variable 'nbytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:393:3: warning: variable 'ret' of type 'GLboolean' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:445:3: warning: variable 'obytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/GLVertexBuffer.h:446:3: warning: variable 'nbytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/opengl/GLVertexBuffer.h:468:7: warning: destructor of 'BaseGLPersistentVertexBuffer' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/graphics/opengl/GLVertexBuffer.h:553:4: warning: variable 'ret' of type 'GLboolean' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:53:13: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:108:2: warning: no header providing "OpenGLInfo" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:121:3: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:122:3: warning: no header providing "glGetIntegerv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:122:17: warning: no header providing "GL_CONTEXT_FLAGS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:142:18: warning: no header providing "GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:144:18: warning: no header providing "GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:155:18: warning: no header providing "GL_VBO_FREE_MEMORY_ATI" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:157:18: warning: no header providing "GL_TEXTURE_FREE_MEMORY_ATI" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:248:3: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:249:3: warning: no header providing "glGetFloatv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:249:15: warning: no header providing "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:370:17: warning: no header providing "GL_SAMPLE_BUFFERS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:373:18: warning: no header providing "GL_SAMPLES" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:378:3: warning: no header providing "glDisable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:378:13: warning: no header providing "GL_MULTISAMPLE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:382:13: warning: no header providing "GL_BACK" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:383:20: warning: no header providing "CullNone" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:387:3: warning: no header providing "glFogx" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:387:10: warning: no header providing "GL_FOG_MODE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:387:23: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:390:3: warning: no header providing "glFogi" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:393:11: warning: no header providing "GL_FOG_DISTANCE_MODE_NV" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:393:36: warning: no header providing "GL_EYE_PLANE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:398:2: warning: no header providing "glAlphaFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:398:14: warning: no header providing "GL_GREATER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:404:3: warning: no header providing "glMinSampleShading" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:410:2: warning: no header providing "glEnable" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:410:11: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:411:2: warning: no header providing "glDepthFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:411:14: warning: no header providing "GL_ALWAYS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:416:11: warning: no header providing "GL_POLYGON_OFFSET_FILL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:419:11: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:420:21: warning: no header providing "BlendOne" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:420:31: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:422:2: warning: no header providing "glPixelStorei" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:422:16: warning: no header providing "GL_UNPACK_ALIGNMENT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:423:16: warning: no header providing "GL_PACK_ALIGNMENT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:427:16: warning: no header providing "GL_MAX_TEXTURE_UNITS" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:434:8: warning: no header providing "Renderer::ColorBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:434:22: warning: no header providing "Renderer::DepthBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:436:2: warning: no header providing "glEnableClientState" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:436:22: warning: no header providing "GL_VERTEX_ARRAY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:437:22: warning: no header providing "GL_COLOR_ARRAY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:438:2: warning: no header providing "glClientActiveTexture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:438:24: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:439:22: warning: no header providing "GL_TEXTURE_COORD_ARRAY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:470:2: warning: no header providing "glMatrixMode" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:470:15: warning: no header providing "GL_MODELVIEW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:471:2: warning: no header providing "glLoadMatrixf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:473:15: warning: no header providing "GL_PROJECTION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:477:10: warning: no header providing "GL_FOG_COORDINATE_SOURCE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:477:36: warning: no header providing "GL_FRAGMENT_DEPTH" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:493:2: warning: no header providing "glLoadIdentity" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:499:2: warning: no header providing "glTranslatef" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:500:2: warning: no header providing "glScalef" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:506:36: warning: no header providing "GL_FOG_COORDINATE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:558:1: warning: no header providing "Texture" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:574:2: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:576:2: warning: no header providing "glViewport" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:591:13: warning: no header providing "GL_SCISSOR_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:593:3: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:594:3: warning: no header providing "glScissor" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:605:53: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:607:2: warning: no header providing "GLbitfield" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:610:3: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:610:3: warning: variable 'colorf' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:611:3: warning: no header providing "glClearColor" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:612:14: warning: no header providing "GL_COLOR_BUFFER_BIT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:618:4: warning: no header providing "glDepthMask" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:618:16: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:623:4: warning: no header providing "glClearDepthf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:629:4: warning: no header providing "glClearDepth" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:629:17: warning: no header providing "GLclampd" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:631:14: warning: no header providing "GL_DEPTH_BUFFER_BIT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:636:3: warning: variable 'scissor' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:642:4: warning: no header providing "glClear" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:664:2: warning: variable 'colorf' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:666:2: warning: no header providing "glFogfv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:666:10: warning: no header providing "GL_FOG_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:670:2: warning: no header providing "glFogf" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:670:9: warning: no header providing "GL_FOG_START" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:671:9: warning: no header providing "GL_FOG_END" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:691:3: warning: variable 'alphaCutout' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:706:14: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:707:2: warning: no header providing "GL_LINE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:708:2: warning: no header providing "GL_FILL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:712:2: warning: no header providing "glPolygonMode" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:712:16: warning: no header providing "GL_FRONT_AND_BACK" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:717:2: warning: variable 'maxAnisotropy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:717:29: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:733:10: warning: no header providing "Renderer::CrispAlphaCutoutAA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:737:9: warning: no header providing "Renderer::FuzzyAlphaCutoutAA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:741:8: warning: no header providing "VertexBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:741:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:741:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:741:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:741:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:810:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:810:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:810:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:810:31: warning: function 'createVertexBufferImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:817:1: warning: no header providing "VertexBuffer" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:817:14: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:821:14: warning: no header providing "SMY_VERTEX" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:825:14: warning: no header providing "SMY_VERTEX3" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:830:2: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:831:2: warning: no header providing "GL_TRIANGLE_STRIP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:832:2: warning: no header providing "GL_TRIANGLE_FAN" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:833:2: warning: no header providing "GL_LINES" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:834:2: warning: no header providing "GL_LINE_STRIP" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:846:3: warning: no header providing "glDrawRangeElements" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:846:84: warning: no header providing "GL_UNSIGNED_SHORT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:848:3: warning: no header providing "glDrawElements" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:853:34: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:855:2: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:859:2: warning: no header providing "glReadPixels" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:859:37: warning: no header providing "GL_RGB" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:859:45: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:879:2: warning: no header providing "GL_ZERO" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:880:2: warning: no header providing "GL_ONE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:881:2: warning: no header providing "GL_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:882:2: warning: no header providing "GL_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:883:2: warning: no header providing "GL_ONE_MINUS_SRC_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:884:2: warning: no header providing "GL_ONE_MINUS_SRC_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:885:2: warning: no header providing "GL_SRC_ALPHA_SATURATE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:886:2: warning: no header providing "GL_DST_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:887:2: warning: no header providing "GL_DST_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:888:2: warning: no header providing "GL_ONE_MINUS_DST_COLOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:889:2: warning: no header providing "GL_ONE_MINUS_DST_ALPHA" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:898:15: warning: no header providing "GL_CULL_FACE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:903:5: warning: variable 'glcull' of type 'GLenum' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:903:42: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:903:61: warning: no header providing "GL_FRONT" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:905:6: warning: no header providing "glCullFace" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:913:14: warning: no header providing "GL_FOG" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:919:3: warning: variable 'useA2C' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:929:4: warning: variable 'disableA2C' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:931:4: warning: variable 'enableA2C' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:935:16: warning: no header providing "GL_SAMPLE_ALPHA_TO_COVERAGE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:940:17: warning: no header providing "GL_SAMPLE_SHADING" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:943:16: warning: no header providing "GL_ALPHA_TEST" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:962:41: warning: no header providing "GL_LEQUAL" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:966:52: warning: no header providing "GL_FALSE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:970:4: warning: variable 'depthOffset' of type 'GLfloat' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:971:4: warning: no header providing "glPolygonOffset" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:976:4: warning: variable 'blendSrc' of type 'GLenum' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:977:4: warning: variable 'blendDst' of type 'GLenum' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLRenderer.cpp:978:4: warning: no header providing "glBlendFunc" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLRenderer.h:33:7: warning: class 'OpenGLRenderer' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/opengl/OpenGLRenderer.h:160:7: warning: enum 'GLTransformMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/opengl/OpenGLUtil.cpp:34:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:34:20: warning: variable 'g_glExtensionOverride' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLUtil.cpp:36:13: warning: function 'setGlOverride' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/opengl/OpenGLUtil.cpp:48:27: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:48:42: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:50:6: warning: no header providing "ARX_HAVE_EPOXY" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:81:51: warning: no header providing "glGetString" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:81:63: warning: no header providing "GL_VERSION" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:86:56: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:87:58: warning: no header providing "GL_RENDERER" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:91:3: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:92:3: warning: no header providing "glGetIntegerv" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:92:17: warning: no header providing "GL_MAX_TEXTURE_SIZE" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:109:6: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:109:22: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:124:2: warning: variable 'separator' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:124:9: warning: no header providing "boost::char_separator" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:133:5: warning: variable 'offset' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:134:5: warning: variable 'dot' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:140:6: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:140:6: warning: variable 'major' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:141:6: warning: variable 'minor' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:142:36: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/graphics/opengl/OpenGLUtil.cpp:167:3: warning: variable 'supported' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/opengl/OpenGLUtil.cpp:177:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:25:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:36:1: warning: included header Vertex.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:48:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:49:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:50:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:51:2: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:59:19: warning: variable 'g_magicFlares' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:60:13: warning: variable 'g_magicFlaresCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:70:16: warning: variable 'g_magicFlareTextures' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:74:2: warning: variable 'flags' of type 'TextureContainer::TCFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:89:14: warning: variable 'shinum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:120:13: warning: function 'removeFlare' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:146:14: warning: variable 'g_magicFlareCurrentColor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:186:24: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:191:4: warning: variable 'vx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:192:4: warning: variable 'vy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:195:22: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:195:31: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:195:39: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:197:14: warning: no header providing "screenToWorldSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:216:12: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:222:3: warning: variable 'zz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:222:43: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/graphics/particle/MagicFlare.cpp:226:19: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:285:13: warning: function 'AddLFlare' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/MagicFlare.cpp:294:2: warning: variable 'd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:295:2: warning: variable 'ad' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:295:18: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:300:9: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:303:3: warning: variable 'm' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:323:3: warning: variable 'm' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:351:2: warning: variable 'diff' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:353:2: warning: variable 'key' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:355:2: warning: no header providing "RenderMaterial" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:387:29: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:406:4: warning: variable 'color' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:408:17: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:419:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/MagicFlare.cpp:420:48: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/MagicFlare.cpp:428:15: warning: no header providing "componentwise_min" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:46:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:47:1: warning: included header SpellEffects.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:63:17: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:63:32: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:81:15: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:85:23: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:103:14: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Particle.cpp:104:2: warning: variable 'fTimeSec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Particle.cpp:108:3: warning: variable 'ft' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Particle.h:51:7: warning: class 'Particle' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/ParticleEffects.cpp:51:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:53:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:77:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:92:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:93:13: warning: variable 'ParticleCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:94:21: warning: variable 'g_particles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:102:26: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:132:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:136:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:163:12: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:188:13: warning: function 'ARX_PARTICLES_Spawn_Rogue_Blood' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:188:76: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:202:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:208:13: warning: function 'ARX_PARTICLES_Spawn_Blood3' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/ParticleEffects.cpp:213:3: warning: variable 'sinW' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:213:16: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:213:46: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:214:3: warning: variable 'cosW' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:214:16: warning: no header providing "timeWaveCos" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:215:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:236:2: warning: variable 'isNpc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:236:36: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:244:3: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:247:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:247:21: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:248:15: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:262:4: warning: variable 'posi' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:287:63: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:294:28: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] -Arx/src/graphics/particle/ParticleEffects.cpp:296:15: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:296:2: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:296:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/graphics/particle/ParticleEffects.cpp:298:3: warning: variable 'vertex' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:299:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:310:37: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:357:3: warning: variable 'vertex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:360:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/graphics/particle/ParticleEffects.cpp:376:2: warning: variable 'mod' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:410:3: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:433:3: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:436:4: warning: variable 'rr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:451:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:451:3: warning: variable 'vertex' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:458:2: warning: variable 'poss' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:462:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:464:4: warning: variable 'vect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:473:58: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:482:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:486:5: warning: variable 'vect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:507:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:520:21: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:559:2: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:582:2: warning: variable 'nbParticles' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:597:3: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:705:32: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:729:6: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:737:8: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:749:3: warning: variable 'framediff2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:778:20: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:781:24: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:796:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:805:3: warning: variable 'fd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:808:4: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:821:4: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:821:4: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:821:14: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:822:4: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:828:5: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:830:34: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:832:7: warning: variable 'rgb' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:842:5: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:846:7: warning: variable 'rgb' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:866:4: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:881:4: warning: variable 'animrange' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:887:3: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:904:5: warning: variable 'rott' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:904:18: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:904:28: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/graphics/particle/ParticleEffects.cpp:906:5: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:907:5: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:913:4: warning: variable 'siz2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:918:4: warning: variable 'temp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:943:2: warning: variable 'fZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:952:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:965:22: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:995:3: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1002:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1002:38: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1003:6: warning: variable 's' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1003:27: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1003:53: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleEffects.cpp:1027:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1028:6: warning: variable 's' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1030:6: warning: variable 'vect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleEffects.cpp:1031:6: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/graphics/particle/ParticleEffects.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/particle/ParticleManager.cpp:75:30: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleManager.cpp:82:7: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleManager.h:53:7: warning: class 'ParticleManager' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/ParticleParams.h:50:6: warning: enum 'ParticleSpawnFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/particle/ParticleSystem.cpp:126:34: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:127:2: warning: variable 'eVect' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:131:3: warning: variable 'texInfo' of type 'ParticleParams::TextureInfo &' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:143:18: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:166:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:166:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:181:2: warning: variable 'fTTL' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:182:27: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:184:2: warning: variable 'fAngleX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:186:51: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:190:2: warning: variable 'fSpeed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:194:3: warning: variable 'rndColor' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:200:3: warning: variable 'rndColor' of type 'Color4f' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:239:2: warning: variable 'fTimeSec' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:239:27: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:243:7: warning: no header providing "std::list" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:272:13: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:309:6: warning: variable 'fNbTex' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:333:4: warning: variable 'p3pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:340:41: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.cpp:344:5: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleSystem.cpp:344:23: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleSystem.h:64:7: warning: class 'ParticleSystem' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/particle/ParticleSystem.h:110:1: warning: modification of 'std' namespace can result in undefined behavior [cert-dcl58-cpp] +Arx/src/graphics/particle/ParticleTextures.cpp:22:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/ParticleTextures.cpp:59:3: warning: variable 'texturePath' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/ParticleTextures.cpp:59:8: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleTextures.cpp:59:36: warning: no header providing "boost::str" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/ParticleTextures.cpp:61:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:24:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:29:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:35:2: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:36:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:52:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:53:22: warning: variable 'g_sparkParticles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/Spark.cpp:54:13: warning: variable 'g_sparkParticlesCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/graphics/particle/Spark.cpp:57:7: warning: no header providing "std::fill" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:67:2: warning: variable 'amount' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:67:69: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:70:5: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:83:2: warning: variable 'len' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:83:17: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:103:23: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:132:8: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:144:3: warning: variable 'framediff' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:145:3: warning: variable 'framediff2' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:157:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:159:3: warning: variable 'in' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:161:3: warning: variable 'tailDirection' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:161:30: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:163:3: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:168:3: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/graphics/particle/Spark.cpp:174:3: warning: variable 'temp1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.cpp:175:3: warning: variable 'temp2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/particle/Spark.h:25:6: warning: enum 'SpawnSparkType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/spells/Spells05.cpp:49:1: warning: included header AnimationRender.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:51:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:52:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:53:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:55:1: warning: included header Damage.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:56:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:57:1: warning: included header Player.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:58:1: warning: included header Spells.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:59:1: warning: included header ParticleSystems.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:61:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:63:1: warning: included header TextureContainer.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:65:1: warning: included header Fog.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:66:1: warning: included header ParticleEffects.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:67:1: warning: included header Particle.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:68:1: warning: included header ParticleManager.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:69:1: warning: included header ParticleParams.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:70:1: warning: included header TextureStage.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:72:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:73:1: warning: included header Light.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:74:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:76:1: warning: included header list is not used directly [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:86:14: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:94:2: warning: variable 'fBetaRad' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:94:24: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:95:2: warning: variable 'fBetaRadCos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:95:27: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:96:2: warning: variable 'fBetaRadSin' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:96:27: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:102:2: warning: variable 'rayEnd' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:104:2: warning: variable 'ray' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:105:2: warning: variable 'dest' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:137:2: warning: variable 'n' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:138:2: warning: variable 'delta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:145:3: warning: variable 'kpprec' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:145:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/graphics/spells/Spells05.cpp:146:3: warning: variable 'kpsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:147:3: warning: variable 'kpsuivsuiv' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:155:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/graphics/spells/Spells05.cpp:162:19: warning: no header providing "arx::catmullRom" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:28:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:53:25: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:59:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:83:77: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/PackedTexture.cpp:115:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] -Arx/src/graphics/texture/PackedTexture.cpp:136:2: warning: 'used' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/texture/PackedTexture.cpp:136:2: warning: 'used' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/graphics/texture/PackedTexture.cpp:164:2: warning: variable 'diffW' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/graphics/texture/PackedTexture.cpp:165:2: warning: variable 'diffH' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/graphics/texture/PackedTexture.h:24:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/texture/PackedTexture.h:32:7: warning: class 'PackedTexture' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/PackedTexture.h:54:8: warning: class 'TextureTree' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/PackedTexture.h:58:10: warning: class 'Node' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/graphics/texture/PackedTexture.h:89:15: warning: member 'm_textureSize' of type 'const size_t' (aka 'const unsigned long') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/texture/PackedTexture.h:90:22: warning: member 'm_textureFormat' of type 'const Image::Format' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/graphics/texture/Texture.cpp:24:33: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/Texture.cpp:32:28: warning: no header providing "Image" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/Texture.cpp:41:22: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/graphics/texture/Texture.cpp:47:17: warning: no header providing "s32" is directly included [misc-include-cleaner] -Arx/src/graphics/texture/Texture.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/graphics/texture/Texture.h:34:7: warning: enum 'TextureFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/texture/TextureStage.h:30:7: warning: enum 'TextureOp' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/texture/TextureStage.h:39:7: warning: enum 'WrapMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/graphics/texture/TextureStage.h:46:7: warning: enum 'FilterMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/CharacterCreation.cpp:44:13: warning: variable 'SP_HEAD' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/CharacterCreation.cpp:48:13: warning: function 'ARX_MENU_NEW_QUEST_Clicked_QUIT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/CharacterCreation.cpp:55:19: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/CharacterCreation.cpp:82:13: warning: function 'characterCreationAddDescription' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/CharacterCreation.cpp:93:3: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/CharacterCreation.cpp:100:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/CharacterCreation.cpp:109:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:115:2: warning: variable 'DONE' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:119:2: warning: variable 'book' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:121:2: warning: variable 'spacing' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:123:2: warning: variable 'quickGenerateButtonSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:127:2: warning: variable 'doneButtonSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:131:2: warning: variable 'skinButtonSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:132:2: warning: variable 'skinButton' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:154:4: warning: variable 'skin' of type 'unsigned char' can be declared 'const' [misc-const-correctness] +Arx/src/gui/CharacterCreation.cpp:245:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/gui/CharacterCreation.cpp:245:24: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/gui/CharacterCreation.cpp:245:39: warning: no header providing "torchLightHandle" is directly included [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:26:1: warning: included header Interface.h is not used directly [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:41:1: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:87:56: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:106:3: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:110:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/CinematicBorder.cpp:110:3: warning: variable 'lMulResult' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/CinematicBorder.cpp:110:20: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:41:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/gui/Console.cpp:49:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:52:2: warning: variable 'end' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:77:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:92:38: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:103:32: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:103:51: warning: no header providing "KeyModifiers" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:213:9: warning: no header providing "BasicTextInput" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:216:13: warning: function 'isScriptContextChar' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Console.cpp:267:4: warning: variable 'context' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:270:26: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:279:4: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:283:4: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:305:5: warning: variable 'max' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:321:30: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:322:4: warning: variable 'selected' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:350:3: warning: variable 'newline' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:388:2: warning: variable 'id' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:414:2: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:420:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:439:23: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] -Arx/src/gui/Console.cpp:443:23: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/gui/Console.cpp:441:3: warning: variable 'prefix' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:443:23: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Console.cpp:463:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:465:3: warning: variable 'newCursorPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/gui/Console.cpp:522:38: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/gui/Console.cpp:522:38: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Console.cpp:559:2: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:559:2: warning: variable 'lineHeight' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:560:2: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:567:2: warning: variable 'entity' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:581:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:581:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:581:23: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:583:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:585:2: warning: variable 'line' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:590:3: warning: no header providing "Rectf" is directly included [misc-include-cleaner] -Arx/src/gui/Console.cpp:620:53: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:621:54: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:621:68: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:595:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:613:2: warning: variable 'displayCursorPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:615:2: warning: variable 'begin' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:616:2: warning: variable 'end' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:620:3: warning: variable 'left' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:620:53: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:621:3: warning: variable 'right' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:621:54: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:621:68: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:622:3: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:623:3: warning: variable 'box' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:628:2: warning: variable 'x' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/gui/Console.cpp:633:51: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:644:60: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:648:62: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:648:81: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:664:74: warning: narrowing conversion from 'unsigned long' to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:633:51: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:639:11: warning: no header providing "timeWaveSquare" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:639:55: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Console.cpp:644:60: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:648:4: warning: variable 'endX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:648:62: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:648:81: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:664:74: warning: narrowing conversion from 'unsigned long' to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Console.cpp:685:88: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:685:88: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Console.cpp:693:5: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:694:5: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Console.cpp:695:5: warning: variable 'highlight' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] -Arx/src/gui/Console.h:27:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/gui/Console.h:81:7: warning: destructor of 'ScriptConsole' is public and non-virtual [cppcoreguidelines-virtual-class-destructor] +Arx/src/gui/Credits.cpp:54:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/gui/Credits.cpp:75:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/gui/Credits.cpp:93:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:125:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:164:2: warning: variable 'creditsFile' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:164:56: warning: no header providing "config" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:194:3: warning: variable 'compiler' of type 'Libraries::const_iterator' (aka 'c_iterator, std::basic_string>, void *>, boost::unordered::detail::bucket, std::basic_string>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:200:3: warning: variable 'stdlib' of type 'Libraries::const_iterator' (aka 'c_iterator, std::basic_string>, void *>, boost::unordered::detail::bucket, std::basic_string>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:208:5: warning: variable 'sep' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:208:12: warning: no header providing "boost::char_separator" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:209:5: warning: variable 'tokens' of type 'boost::tokenizer>' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:255:3: warning: variable 'it' of type 'Iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] -Arx/src/gui/Credits.cpp:255:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:255:35: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:269:3: warning: variable 'pos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:276:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:293:4: warning: variable 'pos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:323:2: warning: variable 'linerect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:332:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:342:3: warning: variable 'linesize' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/gui/Credits.cpp:388:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/Credits.cpp:388:87: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/gui/Credits.cpp:388:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:388:87: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Credits.cpp:398:5: warning: variable 'firstsize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:408:5: warning: variable 'prefixsize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:437:37: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:465:3: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:465:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:465:14: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:466:3: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:466:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:466:24: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:471:2: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:472:2: warning: variable 'elapsed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:472:18: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:478:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:478:2: warning: variable 'keyRepeatDelay' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:478:37: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Credits.cpp:479:2: warning: variable 'autoScrollDelay' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:483:26: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] -Arx/src/gui/Credits.cpp:523:66: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:523:66: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Credits.cpp:526:3: warning: variable 'yy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Credits.cpp:535:3: warning: variable 'yy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:26:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:37:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:38:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:40:1: warning: included header BaseGraphicsTypes.h is not used directly [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:56:6: warning: enum 'ARX_INTERFACE_CURSOR_MODE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Cursor.cpp:68:13: warning: variable 'lCursorRedistValue' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:84:27: warning: variable 'cursorTargetOn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:84:44: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:85:27: warning: variable 'cursorTargetOff' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:86:27: warning: variable 'cursorInteractionOn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:87:27: warning: variable 'cursorInteractionOff' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:88:27: warning: variable 'cursorMagic' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:89:27: warning: variable 'cursorThrowObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:90:27: warning: variable 'cursorRedist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:91:27: warning: variable 'cursorCrossHair' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:92:27: warning: variable 'cursorReadyWeapon' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:110:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:120:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:133:8: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:138:13: warning: function 'SelectSpellTargetCursorRender' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Cursor.cpp:142:3: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:142:3: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:143:16: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:145:4: warning: no header providing "ARX_SPELLS_CancelSpellTarget" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:151:68: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:152:68: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:157:5: warning: no header providing "ARX_SPELLS_LaunchSpellTarget" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:168:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:174:3: warning: variable 'texSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:188:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:196:13: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:248:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:249:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:255:5: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Cursor.cpp:271:20: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:273:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Cursor.cpp:276:3: warning: variable 'fHLight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:276:32: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:276:41: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:284:2: warning: variable 'iconScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:285:2: warning: variable 'cursorScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:289:76: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:317:6: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:327:50: warning: no header providing "IO_BLACKSMITH" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:328:7: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:328:17: warning: no header providing "ARX_DAMAGES_ComputeRepairPrice" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:330:8: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:331:8: warning: variable 'nuberOffset' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:366:32: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:389:5: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:402:7: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:436:6: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:444:19: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:447:7: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:448:7: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:455:39: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:478:8: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:488:7: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:500:18: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/Cursor.cpp:511:4: warning: variable 'additeState' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:513:4: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Cursor.cpp:514:4: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:36:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:39:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:48:28: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:50:1: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:51:14: warning: variable 'g_draggedObjectOffset' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Dragging.cpp:52:14: warning: variable 'g_dragStartAngle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Dragging.cpp:53:17: warning: variable 'g_dragStartCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Dragging.cpp:66:4: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:67:8: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:70:4: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:75:4: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:75:4: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:75:14: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:77:5: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:99:85: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:111:23: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:115:9: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:116:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:116:21: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:121:3: warning: variable 'tmpVert' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:124:4: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:129:2: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:129:58: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:137:13: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:146:3: warning: variable 'offsetY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:201:2: warning: variable 'drop' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:203:2: warning: variable 'mouse' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:208:41: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:222:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:222:49: warning: no header providing "SM_INVENTORYUSE" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:233:3: warning: variable 'deltaYaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:236:24: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:236:49: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:252:2: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:252:19: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:255:2: warning: variable 'limit' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:257:2: warning: variable 'result' of type 'EntityDragResult' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:267:2: warning: variable 'threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:267:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:279:17: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:305:3: warning: variable 'delta' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:305:46: warning: no header providing "std::pow" is directly included [misc-include-cleaner] +Arx/src/gui/Dragging.cpp:315:5: warning: variable 'start' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:316:5: warning: variable 'direction' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:329:3: warning: variable 'start' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.cpp:330:3: warning: variable 'direction' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Dragging.h:29:6: warning: enum 'EntityDragStatus' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Hud.cpp:24:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/gui/Hud.cpp:29:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/Hud.cpp:30:1: warning: included header ArxGame.h is not used directly [misc-include-cleaner] +Arx/src/gui/Hud.cpp:34:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/gui/Hud.cpp:40:1: warning: included header Item.h is not used directly [misc-include-cleaner] +Arx/src/gui/Hud.cpp:72:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:88:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:117:22: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:122:21: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:132:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:133:47: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:140:3: warning: variable 'j' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:141:3: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:143:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:166:3: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:171:16: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:351:6: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:351:52: warning: no header providing "SM_STEAL" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:462:3: warning: variable 'numberPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:504:5: warning: no header providing "lightHandleGet" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:504:20: warning: no header providing "torchLightHandle" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:546:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:576:2: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:576:15: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:576:45: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:598:15: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:626:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:629:2: warning: variable 'step' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:630:2: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:630:72: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:635:2: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:649:49: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:652:6: warning: no header providing "SpellSymbol" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:665:7: warning: no header providing "CurrSpellSymbol" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:685:4: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:686:4: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:688:33: warning: no header providing "gui::necklace" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:697:5: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:737:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:749:11: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:842:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:866:22: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:871:2: warning: variable 'fMove' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:871:21: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:871:30: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:871:39: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:887:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:889:2: warning: variable 'lcolor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:898:109: warning: no header providing "PrecastHandle" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:910:7: warning: no header providing "Precast" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:911:22: warning: no header providing "spellicons" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:916:4: warning: no header providing "ARX_SPELLS_Precast_Launch" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:935:2: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:954:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:956:3: warning: no header providing "PRECAST_STRUCT" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:956:3: warning: variable 'precastSlot' of type 'PRECAST_STRUCT &' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:963:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Hud.cpp:969:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:974:3: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:974:3: warning: variable 'typ' of type 'SpellType' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:991:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:993:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1037:20: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1064:2: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1069:3: warning: variable 'slotRect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1070:3: warning: variable 'slotSpacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1086:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1088:16: warning: variable 'slot' of type 'ActiveSpellIconSlot &' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1098:28: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1125:2: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1139:49: warning: no header providing "SPELL_TYPES_COUNT" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1188:5: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1207:13: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1212:4: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1223:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1267:4: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1288:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1348:5: warning: variable 't' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1434:3: warning: variable 'offset' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1443:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1444:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1444:60: warning: no header providing "TextureStage" is directly included [misc-include-cleaner] +Arx/src/gui/Hud.cpp:1510:4: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1515:4: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1520:4: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.cpp:1525:4: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Hud.h:370:6: warning: enum 'FadeDirection' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Interface.cpp:55:1: warning: included header set is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:56:1: warning: included header utility is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:60:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:79:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:93:1: warning: included header PolyBoom.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:97:1: warning: included header Texture.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:111:1: warning: included header Keyboard.h is not used directly [misc-include-cleaner] +Arx/src/gui/Interface.cpp:137:8: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:149:1: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:157:1: warning: no header providing "Note" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:159:8: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:163:13: warning: variable 'MEMO_PLAYER_MOUSELOOK_ON' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:170:24: warning: variable 'COMBAT_MODE_ON_START_TIME' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:171:13: warning: variable 'SPECIAL_DRAW_WEAPON' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:185:27: warning: variable 'inventory_font' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:191:37: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:198:24: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:207:2: warning: variable 'divideX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:208:2: warning: variable 'divideY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:214:3: warning: variable 'digit' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:224:3: warning: variable 'ttx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:283:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:333:2: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:333:15: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:333:45: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:339:18: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:343:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:345:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:346:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:347:2: warning: variable 'width' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:348:2: warning: variable 'height' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:356:28: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:359:22: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:410:57: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:414:2: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:495:21: warning: function 'combineEntities' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:507:4: warning: variable 'ret' of type 'ScriptResult' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:526:22: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:533:13: warning: function 'updateCombineFlags' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:538:13: warning: function 'isPlayerLookingAtEnemy' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Interface.cpp:547:36: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:550:41: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:555:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:558:37: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:562:3: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:562:25: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:568:3: warning: variable 'dir' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:568:20: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:570:3: warning: variable 'cangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:570:23: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:572:20: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:616:3: warning: variable 'weapontype' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:736:4: warning: variable 'old' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:766:4: warning: no header providing "IO_PHYSICS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:773:4: warning: variable 'npc' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:774:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:781:62: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:782:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/Interface.cpp:824:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:850:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:867:4: warning: variable 'multi' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:883:4: warning: variable 'multi' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/gui/Interface.cpp:970:59: warning: repeated branch in conditional chain [bugprone-branch-clone] -Arx/src/gui/Interface.cpp:984:59: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:970:59: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:984:59: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/gui/Interface.cpp:994:25: warning: no header providing "BOOKMODE_STATS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:998:25: warning: no header providing "BOOKMODE_SPELLS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1002:25: warning: no header providing "BOOKMODE_MINIMAP" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1006:25: warning: no header providing "BOOKMODE_QUESTS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1010:16: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1011:4: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1011:24: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1011:31: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1013:35: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1014:8: warning: no header providing "spellicons" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1024:4: warning: no header providing "ARX_SPELLS_Precast_Launch" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1024:30: warning: no header providing "PrecastHandle" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1243:45: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1254:2: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1271:5: warning: variable 'poss' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1300:27: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1315:45: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1322:7: warning: variable 'type' of type 'WeaponType' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1350:11: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:1371:39: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/Interface.cpp:1395:2: warning: variable 'mouselook' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1399:24: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1436:30: warning: use designated initializer list to initialize 'PushTime' [modernize-use-designated-initializers] +Arx/src/gui/Interface.cpp:1492:16: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1498:4: warning: variable 'dragging' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1508:5: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1514:5: warning: variable 'distLeft' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1515:5: warning: variable 'distRight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1516:5: warning: variable 'distTop' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1517:5: warning: variable 'distBottom' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1590:5: warning: variable 'iangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1603:13: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1609:23: warning: no header providing "AnimationDurationUs" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1609:43: warning: no header providing "s64" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1635:22: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1642:4: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1649:4: warning: variable 'Text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1651:37: warning: no header providing "std::fixed" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1661:4: warning: variable 'x' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1662:4: warning: variable 'y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1663:4: warning: variable 'w' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1664:4: warning: variable 'h' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/gui/Interface.cpp:1668:52: warning: narrowing conversion from 'unsigned long' to signed type 's64' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1665:4: warning: variable 'rDraw' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1668:5: warning: variable 'duration' of type 'PlatformDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1668:52: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's64' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Interface.cpp:1699:33: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1719:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1724:28: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1758:35: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1785:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1804:5: warning: variable 'fMaxdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1849:4: warning: variable 'fMaxdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1903:48: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1913:7: warning: no header providing "EntityVisilibity" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1913:7: warning: variable 'show' of type 'EntityVisilibity' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1914:18: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1930:50: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1933:24: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1963:2: warning: variable 'maxScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Interface.cpp:1964:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.cpp:1984:2: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/gui/Interface.h:130:6: warning: enum 'E_ARX_STATE_MOUSE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Interface.h:141:6: warning: enum 'ARX_INTERFACE_MOVE_MODE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Interface.h:149:6: warning: enum 'ARX_INTERFACE_COMBAT_MODE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/LoadLevelScreen.cpp:34:14: warning: variable 'PROGRESS_BAR_TOTAL' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:35:14: warning: variable 'PROGRESS_BAR_COUNT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:36:14: warning: variable 'OLD_PROGRESS_BAR_COUNT' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:38:13: warning: variable 'lastloadednum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:39:27: warning: variable 'g_loadingScreenImage' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:40:27: warning: variable 'pbar' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:41:13: warning: variable 'lastnum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/LoadLevelScreen.cpp:75:9: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/gui/LoadLevelScreen.cpp:79:2: warning: variable 'now' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:80:38: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/LoadLevelScreen.cpp:82:3: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:86:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/LoadLevelScreen.cpp:90:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:101:4: warning: variable 'tx' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:101:9: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/LoadLevelScreen.cpp:102:4: warning: variable 'image' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:106:3: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/LoadLevelScreen.cpp:110:4: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/LoadLevelScreen.cpp:124:4: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Logo.cpp:46:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/gui/Logo.cpp:49:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/Logo.cpp:52:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/gui/Logo.cpp:62:1: warning: included header Time.h is not used directly [misc-include-cleaner] +Arx/src/gui/Logo.cpp:68:27: warning: variable 'FISHTANK_img' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Logo.cpp:69:27: warning: variable 'ARKANE_img' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Logo.cpp:96:13: warning: function 'ARX_INTERFACE_ShowLogo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Logo.cpp:104:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Logo.cpp:105:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Logo.cpp:107:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Logo.cpp:107:2: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Logo.cpp:109:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:23:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:63:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:77:1: warning: included header Unicode.h is not used directly [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:96:14: warning: no header providing "Page_NewQuestConfirm" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:125:23: warning: no header providing "Page_None" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:139:14: warning: no header providing "Page_SaveConfirm" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:140:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:158:4: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:161:83: warning: no header providing "boost::placeholders::_1" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:170:23: warning: no header providing "Page_Save" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:225:28: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:244:14: warning: no header providing "Page_Load" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:268:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:269:17: warning: variable 'save' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:279:17: warning: variable 'save' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:306:17: warning: no header providing "Page_LoadOrSave" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:401:17: warning: variable 'save' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:412:17: warning: variable 'save' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:436:3: warning: variable 'savegame' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:465:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:472:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:495:14: warning: no header providing "Page_Options" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:506:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:508:23: warning: no header providing "Page_Localization" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:513:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:515:23: warning: no header providing "Page_OptionsVideo" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:520:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:522:23: warning: no header providing "Page_OptionsRender" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:527:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:529:23: warning: no header providing "Page_OptionsInterface" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:534:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:536:23: warning: no header providing "Page_OptionsAudio" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:541:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:543:23: warning: no header providing "Page_OptionsInput" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:589:119: warning: no header providing "boost::placeholders::_2" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:672:2: warning: no header providing "DisplayMode" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:697:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:706:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:719:6: warning: variable 't' of type 'unsigned int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:724:10: warning: no header providing "std::stringstream" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:750:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:759:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:770:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:786:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:817:19: warning: variable 'refresh' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:834:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:837:23: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:842:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:851:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:888:4: warning: variable 'minimize' of type 'Window::MinimizeSetting' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:889:4: warning: variable 'checked' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:890:4: warning: variable 'enabled' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:902:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1021:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1036:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1047:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1055:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1063:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1071:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1076:4: warning: variable 'maxAA' of type 'Renderer::AlphaCutoutAntialising' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1089:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1093:4: warning: variable 'maxAnisotropy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1097:10: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1099:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/MainMenu.cpp:1141:3: warning: variable 'maxAA' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1234:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1242:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1255:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1263:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1271:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1279:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1287:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1295:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1303:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1313:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1316:27: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1321:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -Arx/src/gui/MainMenu.cpp:1351:46: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/gui/MainMenu.cpp:1382:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MainMenu.cpp:1415:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1432:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1440:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1448:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1456:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1464:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1474:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1485:3: warning: variable 'hrtf' of type 'audio::HRTFStatus' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1485:10: warning: no header providing "audio::HRTFStatus" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1486:21: warning: no header providing "audio::HRTFUnavailable" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1487:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1491:35: warning: no header providing "audio::HRTFDisable" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1491:65: warning: no header providing "audio::HRTFForbidden" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1495:35: warning: no header providing "audio::HRTFDefault" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1499:35: warning: no header providing "audio::HRTFEnable" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1499:64: warning: no header providing "audio::HRTFRequired" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1578:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1580:23: warning: no header providing "Page_OptionsInputCustomizeKeys1" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1587:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1595:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1606:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1614:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1622:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1630:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1638:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1646:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1655:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1663:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1671:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1679:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -Arx/src/gui/MainMenu.cpp:1702:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/gui/MainMenu.cpp:1746:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/MainMenu.cpp:1755:30: warning: no header providing "MENUSTATE" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1792:25: warning: no header providing "WidgetType_Panel" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1795:26: warning: no header providing "WidgetType_Keybind" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1812:74: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1875:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1883:22: warning: no header providing "Page_OptionsInputCustomizeKeys2" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:1945:4: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:1968:14: warning: no header providing "Page_QuitConfirm" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:2062:2: warning: variable 'yOffset' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:2116:2: warning: variable 'verPosX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.cpp:2170:34: warning: no header providing "NOP" is directly included [misc-include-cleaner] +Arx/src/gui/MainMenu.cpp:2197:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MainMenu.h:32:7: warning: class 'MainMenu' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/Menu.cpp:50:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:51:1: warning: included header iterator is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:52:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:54:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:56:1: warning: included header Animation.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:60:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:64:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:71:1: warning: included header MainMenu.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:74:1: warning: included header Text.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:75:1: warning: included header TextManager.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:76:1: warning: included header Cursor.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:81:1: warning: included header Draw.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:82:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:83:1: warning: included header TextureContainer.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:89:1: warning: included header Screenshot.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:90:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:91:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:95:1: warning: included header Light.h is not used directly [misc-include-cleaner] +Arx/src/gui/Menu.cpp:116:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:167:40: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:170:15: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:172:54: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:173:10: warning: no header providing "SendMsgToAllIO" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:173:31: warning: no header providing "SM_KEY_PRESSED" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:173:50: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:181:6: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.cpp:231:21: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/gui/Menu.h:54:6: warning: enum 'MenuMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/MenuPublic.cpp:47:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:49:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:55:1: warning: included header AnimationRender.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:60:1: warning: included header ArxGame.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:62:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:64:1: warning: included header SaveGame.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:68:1: warning: included header Interface.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:70:1: warning: included header MenuWidgets.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:73:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:74:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:78:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:80:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:82:1: warning: included header Types.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:83:1: warning: included header Vector.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:94:34: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:99:36: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:101:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/MenuPublic.cpp:139:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:147:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:155:2: warning: variable 'fVolume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:175:2: warning: variable 'volume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:190:2: warning: variable 'animationSamples' of type 'std::vector>' (aka 'vector>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:190:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:190:20: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:207:3: warning: variable 'loop' of type 'SoundLoopMode' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuPublic.cpp:209:16: warning: no header providing "audio::PLAYING_AMBIANCE_MENU" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:213:16: warning: no header providing "audio::PLAYING_AMBIANCE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/gui/MenuPublic.cpp:217:16: warning: no header providing "audio::PLAYING_AMBIANCE_ZONE" is directly included [misc-include-cleaner] -Arx/src/gui/MenuPublic.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/gui/MenuWidgets.cpp:52:1: warning: included header iosfwd is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:53:1: warning: included header limits is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:55:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:62:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:65:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:67:1: warning: included header Version.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:69:1: warning: included header Hud.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:73:1: warning: included header MenuPublic.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:74:1: warning: included header Text.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:76:1: warning: included header Credits.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:77:1: warning: included header TextManager.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:80:1: warning: included header CycleTextWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:81:1: warning: included header KeybindWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:82:1: warning: included header PanelWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:83:1: warning: included header TextInputWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:84:1: warning: included header TextWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:87:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:88:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:91:1: warning: included header Font.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:94:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:100:1: warning: included header RenderWindow.h is not used directly [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:137:2: warning: variable 'save' of type 'SavegameHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:147:91: warning: no header providing "Page_None" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:152:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:153:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.cpp:157:3: warning: no header providing "MENUSTATE" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:204:5: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:228:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:240:53: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:240:62: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:242:66: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/MenuWidgets.cpp:258:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MenuWidgets.h:68:7: warning: class 'MenuWindow' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/MiniMap.cpp:85:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:85:8: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:87:3: warning: variable 'levelMap' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:101:12: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:103:19: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:104:19: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:124:2: warning: variable 'showLevel' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:142:77: warning: no header providing "ARX_INTERFACE_BOOK_MODE" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:150:110: warning: no header providing "BOOKMODE_MINIMAP" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:156:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:164:27: warning: no header providing "PakReader" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:166:2: warning: variable 'iniMiniOffsets' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:168:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:183:39: warning: no header providing "std::streamsize" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:213:18: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:214:18: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:239:3: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:259:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:259:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:259:23: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:263:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:267:8: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:267:46: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:300:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:309:3: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:330:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:341:2: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:343:2: warning: variable 'start' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:359:2: warning: no header providing "TexturedVertex" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:361:20: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:366:2: warning: variable 'casePos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:374:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:375:3: warning: variable 'size' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:403:5: warning: variable 'bRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:405:5: warning: variable 'lLengthDraw' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:420:3: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:428:2: warning: variable 'zoom' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:429:2: warning: variable 'maxDistance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:430:2: warning: variable 'start' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:431:2: warning: variable 'cas' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:434:2: warning: variable 'playerCell' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:446:48: warning: no header providing "glm::ceil" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:449:2: warning: variable 'maxCell' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:451:19: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:457:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:459:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:465:24: warning: no header providing "arx::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:467:3: warning: variable 'r' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:469:3: warning: variable 'ucLevel' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:469:22: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:477:2: warning: variable 'cas' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:479:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:496:2: warning: variable 'cas' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:500:2: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:502:2: warning: variable 'd' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:504:2: warning: variable 'v2' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:516:2: warning: no header providing "RenderState" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:518:25: warning: no header providing "BlendOne" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:518:35: warning: no header providing "BlendInvSrcColor" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:520:25: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:522:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:523:2: warning: no header providing "UseTextureState" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:523:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:528:3: warning: variable 'v3' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:528:28: warning: no header providing "g_backgroundTileSize" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:530:3: warning: variable 'v4' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:532:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:573:5: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:573:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:574:5: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:648:2: warning: variable 'r1' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:649:2: warning: variable 'r2' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:650:2: warning: variable 'r3' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:652:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:652:21: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:653:2: warning: variable 'ca' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:653:18: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:654:2: warning: variable 'sa' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:654:18: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:665:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:675:2: warning: variable 'cas' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:677:2: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:687:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:691:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:694:31: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:702:24: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:702:56: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:721:3: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:722:22: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:732:3: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:732:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:747:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:751:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/gui/MiniMap.cpp:774:2: warning: variable 'num' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:796:2: warning: variable 'num' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/MiniMap.cpp:811:2: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:38:42: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:57:17: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:115:2: warning: variable 'scale' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:115:22: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:155:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:196:2: warning: variable 'txtend' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:232:2: warning: variable 'bookScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:235:29: warning: no header providing "config" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:267:38: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/Note.cpp:277:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:278:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:280:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:293:2: warning: variable 'prevRect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:300:2: warning: variable 'nextRect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Note.cpp:341:50: warning: no header providing "Random" is directly included [misc-include-cleaner] -Arx/src/gui/Note.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/gui/Note.h:34:7: warning: enum 'Type' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Notification.cpp:31:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/gui/Notification.cpp:35:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:36:2: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:37:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:47:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:48:21: warning: variable 'g_notification' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Notification.cpp:58:13: warning: function 'ARX_SPEECH_MoveUp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Notification.cpp:89:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Notification.cpp:89:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:89:47: warning: no header providing "GameInstantMs" is directly included [misc-include-cleaner] -Arx/src/gui/Notification.cpp:103:47: warning: narrowing conversion from 'unsigned long' to signed type 's64' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Notification.cpp:103:32: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:103:47: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's64' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/Notification.cpp:111:13: warning: function 'isLastSpeech' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Notification.cpp:126:13: warning: function 'ARX_SPEECH_Render' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Notification.cpp:130:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:133:2: warning: variable 'iEnd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Notification.cpp:135:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Notification.cpp:143:3: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:143:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Notification.cpp:152:88: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Notification.cpp:173:3: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:70:1: warning: included header Draw.h is not used directly [misc-include-cleaner] +Arx/src/gui/Speech.cpp:110:51: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:112:2: warning: variable 'mood' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:112:14: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:113:2: warning: variable 'speechnum' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:127:13: warning: function 'ARX_CONVERSATION_CheckAcceleratedSpeech' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Speech.cpp:145:13: warning: function 'ARX_SPEECH_GetFree' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Speech.cpp:157:13: warning: function 'ARX_SPEECH_Release' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Speech.cpp:202:3: warning: variable 'scrpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:221:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:229:28: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:245:3: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:254:15: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:277:53: warning: no header providing "s64" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:288:21: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:289:3: warning: variable 'fDiv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:289:16: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:290:29: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:301:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:303:5: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:326:6: warning: variable 'layer2' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:338:4: warning: variable 'scrpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:359:3: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:359:3: warning: variable 'sSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:361:3: warning: variable 'fZoneClippHeight' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:362:3: warning: variable 'fStartYY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:363:3: warning: variable 'fStartY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:364:3: warning: variable 'fDepY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:365:3: warning: variable 'fZoneClippY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:367:3: warning: variable 'fAdd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:369:3: warning: variable 'y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:370:3: warning: variable 'h' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:373:4: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:373:4: warning: variable 'w' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:378:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/Speech.cpp:383:3: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:383:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:383:24: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:383:41: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:383:52: warning: no header providing "BlendInvSrcColor" is directly included [misc-include-cleaner] +Arx/src/gui/Speech.cpp:404:5: warning: variable 'fTimeOneLine' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:407:6: warning: variable 'fResteLine' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.cpp:408:6: warning: variable 'fTimePlus' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Speech.h:60:6: warning: enum 'CinematicSpeechMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Speech.h:113:6: warning: enum 'SpeechFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/Text.cpp:47:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/gui/Text.cpp:55:1: warning: included header Interface.h is not used directly [misc-include-cleaner] +Arx/src/gui/Text.cpp:69:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:81:13: warning: function 'ARX_UNICODE_FormattingInRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:81:60: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:82:48: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:82:61: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:93:23: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:97:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:113:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:140:4: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:140:4: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:169:5: warning: variable 'itTextStart' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:170:5: warning: variable 'itTextEnd' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:215:52: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:223:18: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:242:51: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:245:2: warning: variable '_x' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:246:2: warning: variable '_y' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:247:2: warning: variable 'w' of type 'Rect::Num' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:249:2: warning: variable 'rRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:257:15: warning: function 'createFont' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:266:3: warning: variable 'szFontSize' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:267:3: warning: variable 'configSize' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:269:23: warning: no header providing "boost::bad_lexical_cast" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:283:14: warning: variable 'g_currentFontScale' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:284:14: warning: variable 'g_currentFontSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:285:12: warning: variable 'g_currentFontWeight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:287:13: warning: function 'getFontFile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:320:14: warning: function 'smallTextScale' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/Text.cpp:363:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:363:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:363:30: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:373:2: warning: variable 'smallScale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:374:2: warning: variable 'smallWeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:402:2: warning: variable 'iconFontFile' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:496:2: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:497:2: warning: variable 'corner' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:501:36: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:504:2: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:504:2: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/Text.cpp:504:12: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/gui/Text.cpp:510:2: warning: variable 'pos2d' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/TextManager.cpp:47:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:54:2: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:56:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:59:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:60:2: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:90:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:103:3: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:124:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:139:51: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:159:22: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:166:16: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/TextManager.cpp:171:3: warning: variable 'height' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/TextManager.h:56:7: warning: class 'TextManager' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/book/Book.cpp:25:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:56:1: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:73:13: warning: function 'MouseInBookRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/book/Book.cpp:75:2: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:88:13: warning: function 'DrawBookInterfaceItem' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/book/Book.cpp:88:69: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:89:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:90:2: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:117:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:118:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:119:24: warning: no header providing "g_bookResouces" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:123:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:124:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:130:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:131:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:134:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:139:50: warning: no header providing "Random" is directly included [misc-include-cleaner] -Arx/src/gui/book/Book.cpp:165:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/book/Book.cpp:155:13: warning: function 'DrawBookTextCenter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/book/Book.cpp:155:75: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:157:2: warning: no header providing "UNICODE_ARXDrawTextCenter" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:165:17: warning: no header providing "MenuMode" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:191:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:198:3: warning: no header providing "ARX_INTERFACE_NoteClose" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:200:24: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:213:2: warning: no header providing "pTextManage" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:215:2: warning: no header providing "TRUE_PLAYER_MOUSELOOK_ON" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:222:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:223:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:223:31: warning: no header providing "getInterfaceTextureFilter" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:342:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:347:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:356:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:373:4: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:388:5: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:404:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:410:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:425:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:431:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:450:28: warning: no header providing "config" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:452:24: warning: no header providing "ARXmenu" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:465:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:465:16: warning: no header providing "getInterfaceScale" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:469:3: warning: no header providing "ARX_Text_scaleBookFont" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:477:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:485:23: warning: no header providing "Mode_CharacterCreation" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:486:3: warning: variable 'availableArea' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:507:6: warning: enum 'ARX_INTERFACE_BOOK_ITEM' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/book/Book.cpp:576:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:588:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:589:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:592:8: warning: no header providing "std::stringstream" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:594:22: warning: no header providing "hFontInBook" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:607:3: warning: variable 'attribAreaSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:623:5: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/book/Book.cpp:646:5: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/book/Book.cpp:732:3: warning: variable 't' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:745:3: warning: no header providing "UNICODE_ARXDrawTextCenteredScroll" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:745:37: warning: no header providing "hFontInGame" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:751:4: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:760:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:763:54: warning: no header providing "std::fixed" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:776:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:792:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:808:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:825:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:841:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:857:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:873:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:889:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:905:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:921:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:937:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:953:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:970:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:971:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:971:30: warning: no header providing "boost::lexical_cast" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:971:61: warning: no header providing "std::ceil" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:972:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:977:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:978:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:979:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:984:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:985:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:986:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:991:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:992:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:993:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:998:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:999:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1000:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1005:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1006:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1007:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1021:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1022:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1031:3: warning: variable 'vp' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1040:16: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1044:2: warning: no header providing "EERIE_LIGHT" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1051:2: warning: no header providing "RecalcLight" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1063:15: warning: no header providing "g_culledDynamicLights" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1065:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1065:2: warning: variable 'iSavePDL' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1065:20: warning: no header providing "g_culledDynamicLightsCount" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1071:2: warning: no header providing "Camera" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1077:20: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1078:2: warning: no header providing "PrepareCamera" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1086:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/gui/book/Book.cpp:1112:2: warning: variable 'ti' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1118:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/book/Book.cpp:1122:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1122:14: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1128:3: warning: no header providing "AnimationDuration" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1128:3: warning: variable 'time' of type 'AnimationDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1128:28: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1156:2: warning: no header providing "PrepareCamera" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1161:27: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1178:19: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1198:6: warning: no header providing "NeedHalo" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1205:5: warning: no header providing "ARX_INTERFACE_HALO_Render" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1208:4: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1232:4: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1251:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1297:2: warning: variable 'ot' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1299:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1359:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1361:2: warning: variable 'runeDrawRect' of type 'Rect' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1365:7: warning: no header providing "gui::ARX_INTERFACE_ManageOpenedBook_Finish" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1372:24: warning: no header providing "SPELL_TYPES_COUNT" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1373:7: warning: no header providing "spellicons" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1376:57: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1411:3: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1412:3: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1413:3: warning: variable 'fPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1444:6: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1445:33: warning: no header providing "gui::necklace" is directly included [misc-include-cleaner] +Arx/src/gui/book/Book.cpp:1453:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1504:2: warning: variable 'bookPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1505:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1523:2: warning: variable 'max_onglet' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.cpp:1537:4: warning: variable 'quest' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Book.h:27:6: warning: enum 'ARX_INTERFACE_BOOK_MODE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/book/Necklace.cpp:23:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:48:17: warning: no header providing "RUNE_AAM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:49:17: warning: no header providing "RUNE_CETRIUS" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:50:17: warning: no header providing "RUNE_COMUNICATUM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:51:17: warning: no header providing "RUNE_COSUM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:52:17: warning: no header providing "RUNE_FOLGORA" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:53:17: warning: no header providing "RUNE_FRIDD" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:54:17: warning: no header providing "RUNE_KAOM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:55:17: warning: no header providing "RUNE_MEGA" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:56:17: warning: no header providing "RUNE_MORTE" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:57:17: warning: no header providing "RUNE_MOVIS" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:58:17: warning: no header providing "RUNE_NHI" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:59:17: warning: no header providing "RUNE_RHAA" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:60:17: warning: no header providing "RUNE_SPACIUM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:61:17: warning: no header providing "RUNE_STREGUM" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:62:17: warning: no header providing "RUNE_TAAR" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:63:17: warning: no header providing "RUNE_TEMPUS" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:64:17: warning: no header providing "RUNE_TERA" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:65:17: warning: no header providing "RUNE_VISTA" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:66:17: warning: no header providing "RUNE_VITAE" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:67:17: warning: no header providing "RUNE_YOK" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:90:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:90:24: warning: no header providing "RUNE_COUNT" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:99:42: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:108:13: warning: function 'PlayerBookDrawRune' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/book/Necklace.cpp:108:32: warning: no header providing "Rune" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:110:2: warning: no header providing "ARX_SPELLS_RequestSymbolDraw2" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:116:50: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:116:68: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:119:2: warning: variable 'baseState' of type 'RenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:121:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:121:2: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:125:2: warning: variable 'tl' of type 'EERIE_LIGHT' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:140:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:144:2: warning: variable 'wave' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:144:15: warning: no header providing "timeWaveSin" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:144:56: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:145:2: warning: variable 'ptDelta' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:145:18: warning: no header providing "toMs" is directly included [misc-include-cleaner] -Arx/src/gui/book/Necklace.cpp:157:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/book/Necklace.cpp:163:3: warning: variable 'projectionCenter' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:165:27: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:181:4: warning: variable 't2' of type 'TransformInfo' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:181:26: warning: no header providing "toQuaternion" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:184:4: warning: variable 'runeBox' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:196:4: warning: variable 'mousePosInViewport' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:203:6: warning: variable 'n' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:203:16: warning: no header providing "PtIn2DPolyProj" is directly included [misc-include-cleaner] +Arx/src/gui/book/Necklace.cpp:212:6: warning: variable 't' of type 'TransformInfo' can be declared 'const' [misc-const-correctness] -Arx/src/gui/book/Necklace.cpp:222:26: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/book/Necklace.cpp:227:4: warning: variable 't1' of type 'TransformInfo' can be declared 'const' [misc-const-correctness] +Arx/src/gui/book/Necklace.cpp:227:18: warning: 't1' is confusable with 'tl' [misc-confusable-identifiers] +Arx/src/gui/book/Necklace.cpp:227:26: warning: no header providing "quat_identity" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:26:1: warning: included header deque is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:29:1: warning: included header circular_buffer.hpp is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:30:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:62:1: warning: included header Profiler.h is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:65:16: warning: no header providing "EntityFlags" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:66:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:66:3: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:67:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:67:3: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:68:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:68:3: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:69:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:69:3: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:70:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:70:3: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:71:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:71:3: warning: no header providing "IO_NOSHADOW" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:72:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:72:3: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:73:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:73:3: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:74:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:74:3: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:75:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:75:3: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:76:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:76:3: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:77:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:77:3: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:78:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:78:3: warning: no header providing "IO_NO_PHYSICS_INTERPOL" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:79:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:79:3: warning: no header providing "IO_HIT" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:80:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:80:3: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:81:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:81:3: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:82:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:82:3: warning: no header providing "IO_UNIQUE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:83:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:83:3: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:84:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:84:3: warning: no header providing "IO_BLACKSMITH" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:85:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:85:3: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:86:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:86:3: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:87:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:87:3: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:88:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:88:3: warning: no header providing "IO_BUMP" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:89:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:89:3: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:90:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:90:3: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:91:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:91:3: warning: no header providing "IO_ZMAP" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:92:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:92:3: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:93:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:93:3: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:94:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:94:3: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:95:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:95:3: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:96:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:96:3: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:99:16: warning: no header providing "GameFlags" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:100:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:100:3: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:101:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:101:3: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:102:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:102:3: warning: no header providing "GFLAG_WASINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:103:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:103:3: warning: no header providing "GFLAG_NEEDINIT" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:104:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:104:3: warning: no header providing "GFLAG_INTERACTIVITYHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:105:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:105:3: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:106:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:106:3: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:107:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:107:3: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:108:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:108:3: warning: no header providing "GFLAG_VIEW_BLOCKER" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:109:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:109:3: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:110:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:110:3: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:111:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:111:3: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:112:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:112:3: warning: no header providing "GFLAG_HIDEWEAPON" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:113:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:113:3: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:114:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:114:3: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:115:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:115:3: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:119:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:120:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:121:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:122:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:123:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:124:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:125:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:126:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:127:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:128:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:129:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:130:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:131:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:132:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:133:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:136:16: warning: no header providing "AnimUseType" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:137:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:137:3: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:138:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:138:3: warning: no header providing "EA_REVERSE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:139:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:139:3: warning: no header providing "EA_PAUSED" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:140:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:140:3: warning: no header providing "EA_ANIMEND" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:141:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:141:3: warning: no header providing "EA_STATICANIM" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:142:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:142:3: warning: no header providing "EA_STOPEND" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:143:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:143:3: warning: no header providing "EA_FORCEPLAY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:144:2: warning: use designated initializer list to initialize 'FlagName>' [modernize-use-designated-initializers] +Arx/src/gui/debug/DebugHud.cpp:144:3: warning: no header providing "EA_EXCONTROL" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:147:21: warning: function 'entityVisilibityToString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/debug/DebugHud.cpp:147:46: warning: no header providing "EntityVisilibity" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:149:8: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:150:8: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:151:8: warning: no header providing "SHOW_FLAG_LINKED" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:152:8: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:153:8: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:154:8: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:155:8: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:156:8: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:157:8: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:158:8: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:163:20: warning: function 'prettyUs' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/debug/DebugHud.cpp:163:29: warning: no header providing "s64" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:164:7: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:178:42: warning: no header providing "toUs" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:179:38: warning: no header providing "toUs" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:180:25: warning: no header providing "EERIEDrawnPolys" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:187:25: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:197:19: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:201:6: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:211:2: warning: variable 'zap' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:211:13: warning: no header providing "IsAnyPolyThere" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:233:24: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:254:16: warning: no header providing "ARX_SCRIPT_Get_IO_Max_Events" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:261:7: warning: no header providing "ARX_SCRIPT_Get_IO_Max_Events_Sent" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:269:26: warning: no header providing "ARX_SCRIPT_CountTimers" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:306:5: warning: variable 'pflag' of type 'PathfindFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:328:26: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:329:5: warning: no header providing "AnimLayer" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:329:5: warning: variable 'layer' of type 'AnimLayer &' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:331:60: warning: no header providing "boost::str" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:347:2: warning: no header providing "ARX_SCRIPT_Init_Event_Stats" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:352:14: warning: no header providing "std::fixed" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:353:45: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:357:15: warning: no header providing "boost::circular_buffer" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:357:38: warning: variable 'frameDurationPlotValues' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/debug/DebugHud.cpp:358:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:358:36: warning: variable 'frameDurationPlotVertices' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/debug/DebugHud.cpp:362:2: warning: variable 'windowSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:363:2: warning: variable 'maxSamples' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/gui/debug/DebugHud.cpp:376:101: warning: narrowing conversion from 'boost::circular_buffer::size_type' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugHud.cpp:374:37: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:376:2: warning: variable 'avg' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:376:101: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to 'float' [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugHud.cpp:377:2: warning: variable 'worst' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:384:3: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:392:2: warning: no header providing "EERIEDRAWPRIM" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugHud.cpp:394:2: warning: variable 'avgColor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:395:2: warning: variable 'avgPos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:398:2: warning: variable 'worstColor' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:399:2: warning: variable 'worstPos' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:403:2: warning: variable 'lineOffset' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:405:2: warning: variable 'labels' of type 'std::string[3]' (aka 'basic_string[3]') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:406:2: warning: variable 'colors' of type 'Color[3]' (aka 'Color4[3]') can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:407:2: warning: variable 'values' of type 'float[3]' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:424:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHud.cpp:426:2: warning: variable 'xend' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugHudAudio.cpp:29:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugKeys.cpp:29:14: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugKeys.cpp:29:62: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugKeys.cpp:33:1: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugKeys.cpp:36:13: warning: variable 'g_debugTogglesEnabled' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/debug/DebugKeys.cpp:40:36: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugKeys.cpp:48:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] -Arx/src/gui/debug/DebugKeys.cpp:52:31: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/debug/DebugKeys.cpp:59:38: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/debug/DebugKeys.cpp:64:41: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugKeys.cpp:52:31: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugKeys.cpp:59:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugKeys.cpp:64:41: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/debug/DebugKeys.cpp:81:3: warning: variable 'trigg' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugPanel.cpp:25:1: warning: included header format.hpp is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:30:1: warning: included header Angle.h is not used directly [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:36:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:36:46: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:41:46: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:46:46: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:51:46: warning: no header providing "ResourcePool" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:56:52: warning: no header providing "audio::SourceStatus" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:58:15: warning: no header providing "audio::Idle" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:61:15: warning: no header providing "audio::Playing" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:64:15: warning: no header providing "audio::Paused" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:76:50: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:96:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:97:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/gui/debug/DebugPanel.cpp:120:2: warning: variable 'lineHeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugPanel.cpp:121:2: warning: variable 'maxAdvance' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugPanel.cpp:139:2: warning: variable 'lineHeight' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/debug/DebugPanel.cpp:142:7: warning: no header providing "std::stringstream" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:148:42: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:156:17: warning: no header providing "std::right" is directly included [misc-include-cleaner] +Arx/src/gui/debug/DebugPanel.cpp:158:17: warning: no header providing "std::left" is directly included [misc-include-cleaner] +Arx/src/gui/hud/HudCommon.cpp:29:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/hud/HudCommon.cpp:36:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/hud/HudCommon.cpp:39:91: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/hud/HudCommon.cpp:45:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/HudCommon.cpp:69:2: warning: variable 'parentPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/HudCommon.cpp:72:2: warning: variable 'childPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/HudCommon.h:63:6: warning: enum 'Anchor' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/hud/PlayerInventory.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:33:1: warning: included header Hud.h is not used directly [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:49:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:72:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:85:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:92:28: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:101:3: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:102:12: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:119:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:120:24: warning: no header providing "INVENTORY_Y" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:121:24: warning: no header providing "INVENTORY_X" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:122:6: warning: no header providing "g_inventory" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:131:27: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:135:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:140:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/gui/hud/PlayerInventory.cpp:155:47: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:165:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/hud/PlayerInventory.cpp:173:3: warning: variable 'fSpeed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:174:3: warning: variable 't' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:191:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/gui/hud/PlayerInventory.cpp:203:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:214:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:219:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:232:28: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:244:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:246:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:258:25: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:259:36: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:259:45: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:259:54: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:263:4: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:263:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:263:25: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:267:21: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:283:5: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:291:6: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:304:5: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:310:6: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:324:3: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:331:3: warning: variable 'posx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:332:3: warning: variable 'posy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:336:4: warning: variable 'linkPosY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:337:4: warning: variable 'pos1' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:338:4: warning: variable 'pos2' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:339:4: warning: variable 'pos3' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:342:4: warning: variable 'texSize' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:380:53: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:383:3: warning: variable 't' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:383:11: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:396:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:398:2: warning: variable 'iPos' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:401:3: warning: variable 't' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:407:3: warning: variable 'fBag' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:426:4: warning: variable 'fRatio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:437:2: warning: variable 'anchorPos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:439:2: warning: variable 'iPos' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:450:39: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:459:3: warning: variable 'fBag' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:496:2: warning: variable 'mouse' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:507:2: warning: variable 'anchor' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:508:2: warning: variable 'itemPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:513:3: warning: variable 'bagPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:514:3: warning: variable 'topAnchor' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:515:14: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:519:2: warning: no header providing "insertIntoInventoryAt" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:527:2: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:527:21: warning: no header providing "locateInInventories" is directly included [misc-include-cleaner] +Arx/src/gui/hud/PlayerInventory.cpp:530:2: warning: variable 'itemPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:532:3: warning: variable 'bagPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:535:2: warning: variable 'offset' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/PlayerInventory.cpp:548:3: warning: no header providing "ARX_INVENTORY_IdentifyIO" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:22:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:34:1: warning: included header Hud.h is not used directly [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:48:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:53:53: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:55:2: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:86:2: warning: variable 'spacer' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:101:43: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:123:17: warning: function 'getSecondaryOrStealInvEntity' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/hud/SecondaryInventory.cpp:124:5: warning: no header providing "SecondaryInventory" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:128:10: warning: no header providing "ioSteal" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:130:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:136:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:136:16: warning: no header providing "fdist" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:138:3: warning: variable 'maxDist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:144:5: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:144:46: warning: no header providing "SM_INVENTORY2_CLOSE" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:145:5: warning: no header providing "TSecondaryInventory" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:181:2: warning: variable '_bSteal' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:187:3: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:221:5: warning: variable 'p' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:224:5: warning: variable 'size' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:226:5: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:232:5: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:239:45: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:240:38: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:240:47: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:240:56: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:244:6: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:244:6: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:244:27: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:248:23: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:260:33: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:301:3: warning: variable 't' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:301:26: warning: no header providing "checked_range_cast" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:302:15: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:314:3: warning: variable 't' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:318:32: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:333:2: warning: variable 'mouse' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:349:3: warning: variable 'price' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:354:6: warning: no header providing "insertIntoInventory" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:363:2: warning: variable 'itemPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:364:2: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:366:2: warning: no header providing "insertIntoInventoryAt" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:375:2: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:375:21: warning: no header providing "locateInInventories" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:377:2: warning: variable 'anchor' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:378:2: warning: variable 'itemPitch' of type 's16' (aka 'short') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:379:2: warning: variable 'offset' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:408:3: warning: no header providing "ARX_INVENTORY_IdentifyIO" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:440:68: warning: no header providing "SM_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:440:91: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:457:5: warning: no header providing "optimizeInventory" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:511:3: warning: variable 'frameDelay' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:511:59: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:526:51: warning: no header providing "SM_STEAL" is directly included [misc-include-cleaner] +Arx/src/gui/hud/SecondaryInventory.cpp:550:4: warning: variable 'slot' of type 'INVENTORY_SLOT &' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:576:4: warning: variable 'famount' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:580:4: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.cpp:584:4: warning: variable 'amount' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/gui/hud/SecondaryInventory.h:112:7: warning: enum 'Fade' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/gui/menu/MenuCursor.cpp:51:59: warning: performing an implicit widening conversion to type 'long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/gui/menu/MenuCursor.cpp:46:52: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:50:8: warning: no header providing "s64" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:51:39: warning: no header providing "PlatformDurationUs" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:51:59: warning: performing an implicit widening conversion to type 's64' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/gui/menu/MenuCursor.cpp:55:23: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:61:4: warning: no header providing "memmove" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:72:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:72:2: warning: variable 'p1f' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:75:2: warning: variable 'fTemp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:78:20: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:79:17: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:101:2: warning: variable 'incSize' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:104:2: warning: variable 'incColor' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:108:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] -Arx/src/gui/menu/MenuCursor.cpp:148:2: warning: 'exited' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/src/gui/menu/MenuCursor.cpp:150:2: warning: 'bMouseOver' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/src/gui/menu/MenuCursor.cpp:152:2: warning: 'm_currentFrame' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/menu/MenuCursor.cpp:148:2: warning: 'exited' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/menu/MenuCursor.cpp:150:2: warning: 'bMouseOver' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/menu/MenuCursor.cpp:152:2: warning: 'm_currentFrame' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/src/gui/menu/MenuCursor.cpp:168:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:170:2: warning: variable 'scale' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:170:34: warning: no header providing "config" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:182:2: warning: variable 'inWindow' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:189:2: warning: variable 'iDiff' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:203:18: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:226:28: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuCursor.cpp:241:3: warning: variable 'pos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.cpp:243:3: warning: variable 'rect' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuCursor.h:51:7: warning: class 'MenuCursor' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/menu/MenuFader.cpp:26:1: warning: included header MenuWidgets.h is not used directly [misc-include-cleaner] +Arx/src/gui/menu/MenuFader.cpp:32:8: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuFader.cpp:32:25: warning: variable 'menuFadeElapsed' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/menu/MenuFader.cpp:40:13: warning: function 'FadeInOut' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/gui/menu/MenuFader.cpp:44:2: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuFader.cpp:44:2: warning: variable 'iColor' of type 'ColorRGBA' (aka 'IntegerColorType') can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuFader.cpp:44:21: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuFader.cpp:62:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuFader.cpp:70:40: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuFader.cpp:72:2: warning: variable 'alpha' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/menu/MenuFader.h:23:6: warning: enum 'Fade' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/menu/MenuPage.cpp:59:20: warning: no header providing "MENUSTATE" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:63:15: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:70:26: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:72:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:121:40: warning: no header providing "WidgetType_Spacer" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:156:18: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:182:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:183:29: warning: no header providing "ActionKey" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.cpp:218:68: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/gui/menu/MenuPage.h:54:7: warning: class 'MenuPage' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/menu/MenuPage.h:77:7: warning: enum 'Anchor' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/widget/ButtonWidget.cpp:23:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:26:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:28:34: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:32:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:42:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:42:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/ButtonWidget.cpp:42:23: warning: no header providing "render2D" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:44:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.cpp:44:2: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/ButtonWidget.cpp:46:2: warning: no header providing "EERIEDrawBitmap" is directly included [misc-include-cleaner] +Arx/src/gui/widget/ButtonWidget.h:31:7: warning: class 'ButtonWidget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/CheckboxWidget.cpp:24:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:26:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:29:1: warning: included header Hud.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:30:1: warning: included header MenuPublic.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:34:38: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:34:76: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:44:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:49:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CheckboxWidget.cpp:50:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CheckboxWidget.cpp:51:29: warning: no header providing "std::floor" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:60:2: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:67:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CheckboxWidget.cpp:79:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.cpp:79:2: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CheckboxWidget.cpp:81:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CheckboxWidget.cpp:83:2: warning: no header providing "EERIEDrawBitmap" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CheckboxWidget.h:34:7: warning: class 'CheckboxWidget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/CycleTextWidget.cpp:26:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:28:1: warning: included header Renderer.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:29:1: warning: included header MenuPublic.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:30:1: warning: included header MenuCursor.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:35:40: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:35:78: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:36:28: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:48:2: warning: variable 'minWidth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CycleTextWidget.cpp:70:16: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:142:36: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.cpp:152:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CycleTextWidget.cpp:190:2: warning: variable 'cursor' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/CycleTextWidget.cpp:197:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/widget/CycleTextWidget.h:35:7: warning: class 'CycleTextWidget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/KeybindWidget.cpp:23:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:31:30: warning: no header providing "ControlAction" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:31:59: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:35:10: warning: no header providing "ActionKey" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:44:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/KeybindWidget.cpp:44:16: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:65:2: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:67:5: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:110:12: warning: no header providing "timeWaveSquare" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:110:56: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:119:84: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:146:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/widget/KeybindWidget.cpp:146:2: warning: variable 'textSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/PanelWidget.cpp:29:16: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/PanelWidget.cpp:34:30: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/PanelWidget.cpp:65:23: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/widget/PanelWidget.cpp:88:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/PanelWidget.h:28:7: warning: class 'PanelWidget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/SaveSlotWidget.cpp:36:32: warning: no header providing "SavegameHandle" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:36:86: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:54:9: warning: no header providing "SaveGame" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:54:27: warning: no header providing "savegames" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:56:33: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/gui/widget/SaveSlotWidget.cpp:78:3: warning: variable 'now' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SaveSlotWidget.cpp:79:3: warning: variable 'n' of type 'std::tm' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SaveSlotWidget.cpp:80:3: warning: variable 't' of type 'std::tm' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SaveSlotWidget.cpp:95:14: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:135:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:145:3: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SaveSlotWidget.cpp:145:3: warning: variable 'datePos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SaveSlotWidget.cpp:150:3: warning: variable 'timePos' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SaveSlotWidget.cpp:158:13: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:25:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:28:1: warning: included header MenuPublic.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:34:34: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:34:72: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:47:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:50:2: warning: variable 'minWidth' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SliderWidget.cpp:74:2: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:83:36: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:93:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SliderWidget.cpp:103:22: warning: no header providing "glm::round" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:130:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SliderWidget.cpp:136:3: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:136:3: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/SliderWidget.cpp:137:3: warning: no header providing "EERIEDrawBitmap" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.cpp:148:15: warning: no header providing "arx::clamp" is directly included [misc-include-cleaner] +Arx/src/gui/widget/SliderWidget.h:36:7: warning: class 'SliderWidget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/TextInputWidget.cpp:23:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:34:58: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:34:79: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:37:21: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:37:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:44:34: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:44:53: warning: no header providing "KeyModifiers" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:66:9: warning: no header providing "BasicTextInput" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:84:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:84:16: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:92:26: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:101:2: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/gui/widget/TextInputWidget.cpp:107:80: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:107:4: warning: variable 'cursor' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:107:80: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:108:36: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:120:2: warning: variable 'result' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:139:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:150:2: warning: variable 'displayCursorPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:152:2: warning: variable 'begin' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:153:2: warning: variable 'end' of type 'std::string::const_iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:155:2: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:156:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] -Arx/src/gui/widget/TextInputWidget.cpp:161:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:161:4: warning: variable 'cursor' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:161:52: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:163:21: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:170:19: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:171:20: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:174:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] -Arx/src/gui/widget/TextInputWidget.cpp:179:49: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/widget/TextInputWidget.cpp:180:50: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/widget/TextInputWidget.cpp:180:64: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:179:3: warning: variable 'left' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:179:49: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:180:3: warning: variable 'right' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:180:50: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:180:64: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:181:3: warning: variable 'height' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:182:3: warning: variable 'box' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:190:2: warning: variable 'x' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/gui/widget/TextInputWidget.cpp:202:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/widget/TextInputWidget.cpp:206:59: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/gui/widget/TextInputWidget.cpp:206:78: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:197:12: warning: no header providing "timeWaveSquare" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:197:56: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextInputWidget.cpp:202:57: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:206:5: warning: variable 'endX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextInputWidget.cpp:206:59: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextInputWidget.cpp:206:78: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/gui/widget/TextWidget.cpp:22:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/TextWidget.cpp:27:48: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextWidget.cpp:36:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextWidget.cpp:36:2: warning: variable 'textSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextWidget.cpp:43:2: warning: variable 'hasAction' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextWidget.cpp:43:35: warning: no header providing "NOP" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextWidget.cpp:44:2: warning: variable 'dynamic' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/gui/widget/TextWidget.cpp:51:84: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/TextWidget.h:35:7: warning: enum 'ForceDisplay' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/widget/Widget.cpp:23:1: warning: included header MenuWidgets.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:24:1: warning: included header CheckboxWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:25:1: warning: included header CycleTextWidget.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:26:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:33:15: warning: no header providing "ActionKey" is directly included [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:76:25: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/Widget.cpp:81:44: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/Widget.h:31:6: warning: enum 'MENUSTATE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/widget/Widget.h:51:6: warning: enum 'WidgetType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/gui/widget/Widget.h:64:7: warning: class 'Widget' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/gui/widget/WidgetContainer.cpp:30:16: warning: no header providing "Widget" is directly included [misc-include-cleaner] +Arx/src/gui/widget/WidgetContainer.cpp:51:45: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/gui/widget/WidgetContainer.cpp:65:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/gui/widget/WidgetContainer.h:27:7: warning: class 'WidgetContainer' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/input/Input.cpp:60:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/input/Input.cpp:66:18: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:72:2: warning: no header providing "InputKeyId" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:79:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:79:4: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:80:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:81:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:82:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:83:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:84:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:85:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:86:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:87:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:88:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:89:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:90:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:91:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:92:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:93:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:94:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:95:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:96:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:97:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:98:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:99:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:100:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:101:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:102:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:103:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:104:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:105:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:106:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:107:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:108:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:109:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:110:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:111:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:112:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:113:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:114:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:115:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:116:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:117:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:118:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:119:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:120:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:121:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:122:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:123:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:124:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:125:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:126:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:127:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:128:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:129:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:130:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:131:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:132:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:133:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:134:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:135:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:136:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:137:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:138:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:139:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:140:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:141:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:142:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:143:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:144:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:145:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:146:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:147:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:148:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:149:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:150:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:151:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:152:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:153:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:154:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:155:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:156:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:157:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:158:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:159:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:160:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:161:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:162:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:163:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:164:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:165:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:166:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:167:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:168:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:169:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:170:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:171:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:172:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:173:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:174:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:175:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:176:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:177:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:178:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:179:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:180:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:181:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:182:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:183:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:184:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:185:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:186:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:187:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:188:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:189:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:190:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:191:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:192:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:193:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:194:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:195:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:196:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:197:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:198:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:199:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:200:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:201:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:202:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:203:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:204:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:205:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:206:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:207:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:208:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:209:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:210:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:211:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:212:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:213:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:214:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:215:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:216:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:217:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:218:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:219:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:220:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:221:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:222:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:223:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:224:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:225:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:226:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:227:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:228:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:229:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:230:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:231:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:232:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:233:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:234:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:235:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:236:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:237:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:238:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:239:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:240:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:241:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:242:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:243:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:244:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:245:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:246:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:247:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:248:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:249:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:250:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:251:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:252:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:253:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:254:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:255:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:256:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:257:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:258:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:259:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:260:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:261:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:262:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:263:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:264:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:265:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:266:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:267:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:268:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:269:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:270:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:271:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:272:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:273:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:274:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:275:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:276:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:277:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:278:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:279:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:280:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:281:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:282:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:283:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:284:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:285:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:286:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:287:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:288:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:289:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:290:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:291:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:292:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:293:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:294:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:295:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:296:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:297:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:298:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:299:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:300:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:301:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:302:2: warning: use designated initializer list to initialize 'KeyDescription' [modernize-use-designated-initializers] +Arx/src/input/Input.cpp:313:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:330:16: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:346:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:364:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:419:57: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:481:3: warning: variable 'i' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:509:81: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:516:4: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/Input.cpp:532:2: warning: variable 'newMousePosition' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:534:2: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:534:2: warning: variable 'wndSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:569:4: warning: variable 'sign' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:570:4: warning: variable 'exponent' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:595:42: warning: variable 'keyNames' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/Input.cpp:606:11: warning: no header providing "INPUT_COMBINATION_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:609:10: warning: no header providing "INPUT_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:613:8: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:614:27: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] +Arx/src/input/Input.cpp:621:23: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:626:3: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:660:22: warning: redundant explicit casting to the same type 'int' as the sub-expression, remove this casting [readability-redundant-casting] -Arx/src/input/Input.cpp:667:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/Input.cpp:693:2: warning: variable 'sep' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:695:3: warning: variable 'modifier' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:696:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:702:4: warning: variable 'key' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:704:5: warning: empty catch statements hide issues; to handle exceptions appropriately, consider re-throwing, handling, or avoiding catch altogether [bugprone-empty-catch] +Arx/src/input/Input.cpp:704:24: warning: no header providing "boost::bad_lexical_cast" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:709:4: warning: variable 'key' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:713:5: warning: empty catch statements hide issues; to handle exceptions appropriately, consider re-throwing, handling, or avoiding catch altogether [bugprone-empty-catch] +Arx/src/input/Input.cpp:725:2: warning: variable 'it' of type 'std::map::const_iterator' (aka '_Rb_tree_const_iterator, int>>') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:736:2: warning: variable 'exponent' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:766:34: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:777:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:784:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:791:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:798:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:805:8: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:807:2: warning: variable 'buttonIdx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:833:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:854:35: warning: no header providing "INPUT_KEYBOARD_MASK" is directly included [misc-include-cleaner] +Arx/src/input/Input.cpp:868:21: warning: variable 'uiOneHandedMagicMode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/Input.cpp:869:21: warning: variable 'uiOneHandedStealth' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/Input.cpp:879:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/input/Input.cpp:974:3: warning: variable 'key' of type 'InputKeyId' (aka 'int') can be declared 'const' [misc-const-correctness] -Arx/src/input/Input.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/input/InputKey.h:27:1: warning: replace macro with enum [modernize-macro-to-enum] +Arx/src/input/InputKey.h:27:9: warning: macro 'INPUT_KEYBOARD_MASK' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/input/InputKey.h:28:9: warning: macro 'INPUT_MOUSE_MASK' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/input/InputKey.h:29:9: warning: macro 'INPUT_MOUSEWHEEL_MASK' defines an integral constant; prefer an enum instead [modernize-macro-to-enum] +Arx/src/input/Keyboard.h:28:7: warning: enum 'Key' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/input/Keyboard.h:53:3: warning: 'Key_I' is confusable with 'Key_1' [misc-confusable-identifiers] +Arx/src/input/Keyboard.h:59:3: warning: 'Key_O' is confusable with 'Key_0' [misc-confusable-identifiers] +Arx/src/input/Keyboard.h:284:2: warning: function 'isModifier' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier] +Arx/src/input/Mouse.h:54:7: warning: enum 'Mode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/input/SDL2InputBackend.cpp:24:1: warning: included header glm.hpp is not used directly [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:27:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:28:1: warning: included header PlatformConfig.h is not used directly [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:30:8: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:30:22: warning: variable 'sdlToArxKey' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/SDL2InputBackend.cpp:30:34: warning: no header providing "SDL_NUM_SCANCODES" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:32:8: warning: no header providing "Mouse" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:32:22: warning: variable 'sdlToArxButton' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/input/SDL2InputBackend.cpp:34:36: warning: no header providing "SDL2Window" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:36:18: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:47:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:49:2: warning: no header providing "SDL_EventState" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:49:17: warning: no header providing "SDL_WINDOWEVENT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:49:34: warning: no header providing "SDL_ENABLE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:50:17: warning: no header providing "SDL_KEYDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:51:17: warning: no header providing "SDL_KEYUP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:52:17: warning: no header providing "SDL_TEXTINPUT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:53:17: warning: no header providing "SDL_TEXTEDITING" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:54:6: warning: no header providing "SDL_VERSION_ATLEAST" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:55:17: warning: no header providing "SDL_DROPTEXT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:57:17: warning: no header providing "SDL_MOUSEMOTION" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:58:17: warning: no header providing "SDL_MOUSEBUTTONDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:59:17: warning: no header providing "SDL_MOUSEBUTTONUP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:61:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:63:14: warning: no header providing "SDL_SCANCODE_BACKSPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:64:14: warning: no header providing "SDL_SCANCODE_TAB" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:65:14: warning: no header providing "SDL_SCANCODE_RETURN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:66:14: warning: no header providing "SDL_SCANCODE_PAUSE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:67:14: warning: no header providing "SDL_SCANCODE_ESCAPE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:68:14: warning: no header providing "SDL_SCANCODE_SPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:69:14: warning: no header providing "SDL_SCANCODE_COMMA" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:70:14: warning: no header providing "SDL_SCANCODE_MINUS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:71:14: warning: no header providing "SDL_SCANCODE_PERIOD" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:72:14: warning: no header providing "SDL_SCANCODE_SLASH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:73:14: warning: no header providing "SDL_SCANCODE_APOSTROPHE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:74:14: warning: no header providing "SDL_SCANCODE_GRAVE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:75:14: warning: no header providing "SDL_SCANCODE_0" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:76:14: warning: no header providing "SDL_SCANCODE_1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:77:14: warning: no header providing "SDL_SCANCODE_2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:78:14: warning: no header providing "SDL_SCANCODE_3" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:79:14: warning: no header providing "SDL_SCANCODE_4" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:80:14: warning: no header providing "SDL_SCANCODE_5" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:81:14: warning: no header providing "SDL_SCANCODE_6" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:82:14: warning: no header providing "SDL_SCANCODE_7" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:83:14: warning: no header providing "SDL_SCANCODE_8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:84:14: warning: no header providing "SDL_SCANCODE_9" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:85:14: warning: no header providing "SDL_SCANCODE_SEMICOLON" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:86:14: warning: no header providing "SDL_SCANCODE_EQUALS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:87:14: warning: no header providing "SDL_SCANCODE_LEFTBRACKET" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:88:14: warning: no header providing "SDL_SCANCODE_BACKSLASH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:89:14: warning: no header providing "SDL_SCANCODE_NONUSHASH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:90:14: warning: no header providing "SDL_SCANCODE_NONUSBACKSLASH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:91:14: warning: no header providing "SDL_SCANCODE_RIGHTBRACKET" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:92:14: warning: no header providing "SDL_SCANCODE_A" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:93:14: warning: no header providing "SDL_SCANCODE_B" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:94:14: warning: no header providing "SDL_SCANCODE_C" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:95:14: warning: no header providing "SDL_SCANCODE_D" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:96:14: warning: no header providing "SDL_SCANCODE_E" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:97:14: warning: no header providing "SDL_SCANCODE_F" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:98:14: warning: no header providing "SDL_SCANCODE_G" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:99:14: warning: no header providing "SDL_SCANCODE_H" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:100:14: warning: no header providing "SDL_SCANCODE_I" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:101:14: warning: no header providing "SDL_SCANCODE_J" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:102:14: warning: no header providing "SDL_SCANCODE_K" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:103:14: warning: no header providing "SDL_SCANCODE_L" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:104:14: warning: no header providing "SDL_SCANCODE_M" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:105:14: warning: no header providing "SDL_SCANCODE_N" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:106:14: warning: no header providing "SDL_SCANCODE_O" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:107:14: warning: no header providing "SDL_SCANCODE_P" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:108:14: warning: no header providing "SDL_SCANCODE_Q" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:109:14: warning: no header providing "SDL_SCANCODE_R" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:110:14: warning: no header providing "SDL_SCANCODE_S" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:111:14: warning: no header providing "SDL_SCANCODE_T" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:112:14: warning: no header providing "SDL_SCANCODE_U" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:113:14: warning: no header providing "SDL_SCANCODE_V" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:114:14: warning: no header providing "SDL_SCANCODE_W" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:115:14: warning: no header providing "SDL_SCANCODE_X" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:116:14: warning: no header providing "SDL_SCANCODE_Y" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:117:14: warning: no header providing "SDL_SCANCODE_Z" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:118:14: warning: no header providing "SDL_SCANCODE_DELETE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:119:14: warning: no header providing "SDL_SCANCODE_KP_0" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:120:14: warning: no header providing "SDL_SCANCODE_KP_1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:121:14: warning: no header providing "SDL_SCANCODE_KP_2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:122:14: warning: no header providing "SDL_SCANCODE_KP_3" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:123:14: warning: no header providing "SDL_SCANCODE_KP_4" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:124:14: warning: no header providing "SDL_SCANCODE_KP_5" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:125:14: warning: no header providing "SDL_SCANCODE_KP_6" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:126:14: warning: no header providing "SDL_SCANCODE_KP_7" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:127:14: warning: no header providing "SDL_SCANCODE_KP_8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:128:14: warning: no header providing "SDL_SCANCODE_KP_9" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:129:14: warning: no header providing "SDL_SCANCODE_KP_PERIOD" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:130:14: warning: no header providing "SDL_SCANCODE_KP_DIVIDE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:131:14: warning: no header providing "SDL_SCANCODE_KP_MULTIPLY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:132:14: warning: no header providing "SDL_SCANCODE_KP_MINUS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:133:14: warning: no header providing "SDL_SCANCODE_KP_PLUS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:134:14: warning: no header providing "SDL_SCANCODE_KP_ENTER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:135:14: warning: no header providing "SDL_SCANCODE_KP_EQUALS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:136:14: warning: no header providing "SDL_SCANCODE_KP_COMMA" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:137:14: warning: no header providing "SDL_SCANCODE_KP_00" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:138:14: warning: no header providing "SDL_SCANCODE_KP_000" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:139:14: warning: no header providing "SDL_SCANCODE_KP_LEFTPAREN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:140:14: warning: no header providing "SDL_SCANCODE_KP_RIGHTPAREN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:141:14: warning: no header providing "SDL_SCANCODE_KP_LEFTBRACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:142:14: warning: no header providing "SDL_SCANCODE_KP_RIGHTBRACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:143:14: warning: no header providing "SDL_SCANCODE_KP_TAB" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:144:14: warning: no header providing "SDL_SCANCODE_KP_BACKSPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:145:14: warning: no header providing "SDL_SCANCODE_KP_A" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:146:14: warning: no header providing "SDL_SCANCODE_KP_B" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:147:14: warning: no header providing "SDL_SCANCODE_KP_C" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:148:14: warning: no header providing "SDL_SCANCODE_KP_D" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:149:14: warning: no header providing "SDL_SCANCODE_KP_E" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:150:14: warning: no header providing "SDL_SCANCODE_KP_F" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:151:14: warning: no header providing "SDL_SCANCODE_KP_XOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:152:14: warning: no header providing "SDL_SCANCODE_KP_POWER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:153:14: warning: no header providing "SDL_SCANCODE_KP_PERCENT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:154:14: warning: no header providing "SDL_SCANCODE_KP_LESS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:155:14: warning: no header providing "SDL_SCANCODE_KP_GREATER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:156:14: warning: no header providing "SDL_SCANCODE_KP_AMPERSAND" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:157:14: warning: no header providing "SDL_SCANCODE_KP_DBLAMPERSAND" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:158:14: warning: no header providing "SDL_SCANCODE_KP_VERTICALBAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:159:14: warning: no header providing "SDL_SCANCODE_KP_DBLVERTICALBAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:160:14: warning: no header providing "SDL_SCANCODE_KP_COLON" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:161:14: warning: no header providing "SDL_SCANCODE_KP_HASH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:162:14: warning: no header providing "SDL_SCANCODE_KP_SPACE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:163:14: warning: no header providing "SDL_SCANCODE_KP_AT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:164:14: warning: no header providing "SDL_SCANCODE_KP_EXCLAM" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:165:14: warning: no header providing "SDL_SCANCODE_KP_MEMSTORE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:166:14: warning: no header providing "SDL_SCANCODE_KP_MEMRECALL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:167:14: warning: no header providing "SDL_SCANCODE_KP_MEMCLEAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:168:14: warning: no header providing "SDL_SCANCODE_KP_MEMADD" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:169:14: warning: no header providing "SDL_SCANCODE_KP_MEMSUBTRACT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:170:14: warning: no header providing "SDL_SCANCODE_KP_MEMMULTIPLY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:171:14: warning: no header providing "SDL_SCANCODE_KP_MEMDIVIDE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:172:14: warning: no header providing "SDL_SCANCODE_KP_PLUSMINUS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:173:14: warning: no header providing "SDL_SCANCODE_KP_CLEAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:174:14: warning: no header providing "SDL_SCANCODE_KP_CLEARENTRY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:175:14: warning: no header providing "SDL_SCANCODE_KP_BINARY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:176:14: warning: no header providing "SDL_SCANCODE_KP_OCTAL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:177:14: warning: no header providing "SDL_SCANCODE_KP_DECIMAL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:178:14: warning: no header providing "SDL_SCANCODE_KP_HEXADECIMAL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:179:14: warning: no header providing "SDL_SCANCODE_UP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:180:14: warning: no header providing "SDL_SCANCODE_DOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:181:14: warning: no header providing "SDL_SCANCODE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:182:14: warning: no header providing "SDL_SCANCODE_LEFT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:183:14: warning: no header providing "SDL_SCANCODE_INSERT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:184:14: warning: no header providing "SDL_SCANCODE_HOME" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:185:14: warning: no header providing "SDL_SCANCODE_AC_HOME" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:186:14: warning: no header providing "SDL_SCANCODE_END" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:187:14: warning: no header providing "SDL_SCANCODE_PAGEUP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:188:14: warning: no header providing "SDL_SCANCODE_PAGEDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:189:14: warning: no header providing "SDL_SCANCODE_F1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:190:14: warning: no header providing "SDL_SCANCODE_F2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:191:14: warning: no header providing "SDL_SCANCODE_F3" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:192:14: warning: no header providing "SDL_SCANCODE_F4" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:193:14: warning: no header providing "SDL_SCANCODE_F5" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:194:14: warning: no header providing "SDL_SCANCODE_F6" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:195:14: warning: no header providing "SDL_SCANCODE_F7" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:196:14: warning: no header providing "SDL_SCANCODE_F8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:197:14: warning: no header providing "SDL_SCANCODE_F9" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:198:14: warning: no header providing "SDL_SCANCODE_F10" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:199:14: warning: no header providing "SDL_SCANCODE_F11" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:200:14: warning: no header providing "SDL_SCANCODE_F12" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:201:14: warning: no header providing "SDL_SCANCODE_F13" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:202:14: warning: no header providing "SDL_SCANCODE_F14" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:203:14: warning: no header providing "SDL_SCANCODE_F15" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:204:14: warning: no header providing "SDL_SCANCODE_F16" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:205:14: warning: no header providing "SDL_SCANCODE_F17" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:206:14: warning: no header providing "SDL_SCANCODE_F18" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:207:14: warning: no header providing "SDL_SCANCODE_F19" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:208:14: warning: no header providing "SDL_SCANCODE_F20" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:209:14: warning: no header providing "SDL_SCANCODE_F21" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:210:14: warning: no header providing "SDL_SCANCODE_F22" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:211:14: warning: no header providing "SDL_SCANCODE_F23" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:212:14: warning: no header providing "SDL_SCANCODE_F24" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:213:14: warning: no header providing "SDL_SCANCODE_NUMLOCKCLEAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:214:14: warning: no header providing "SDL_SCANCODE_CAPSLOCK" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:215:14: warning: no header providing "SDL_SCANCODE_SCROLLLOCK" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:216:14: warning: no header providing "SDL_SCANCODE_RSHIFT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:217:14: warning: no header providing "SDL_SCANCODE_LSHIFT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:218:14: warning: no header providing "SDL_SCANCODE_RCTRL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:219:14: warning: no header providing "SDL_SCANCODE_LCTRL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:220:14: warning: no header providing "SDL_SCANCODE_RALT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:221:14: warning: no header providing "SDL_SCANCODE_LALT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:222:14: warning: no header providing "SDL_SCANCODE_RGUI" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:223:14: warning: no header providing "SDL_SCANCODE_LGUI" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:224:14: warning: no header providing "SDL_SCANCODE_MODE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:225:14: warning: no header providing "SDL_SCANCODE_APPLICATION" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:226:14: warning: no header providing "SDL_SCANCODE_PRINTSCREEN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:227:14: warning: no header providing "SDL_SCANCODE_EXECUTE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:228:14: warning: no header providing "SDL_SCANCODE_HELP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:229:14: warning: no header providing "SDL_SCANCODE_MENU" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:230:14: warning: no header providing "SDL_SCANCODE_SELECT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:231:14: warning: no header providing "SDL_SCANCODE_STOP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:232:14: warning: no header providing "SDL_SCANCODE_AGAIN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:233:14: warning: no header providing "SDL_SCANCODE_UNDO" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:234:14: warning: no header providing "SDL_SCANCODE_CUT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:235:14: warning: no header providing "SDL_SCANCODE_COPY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:236:14: warning: no header providing "SDL_SCANCODE_PASTE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:237:14: warning: no header providing "SDL_SCANCODE_FIND" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:238:14: warning: no header providing "SDL_SCANCODE_MUTE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:239:14: warning: no header providing "SDL_SCANCODE_VOLUMEUP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:240:14: warning: no header providing "SDL_SCANCODE_VOLUMEDOWN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:241:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:242:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:243:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL3" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:244:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL4" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:245:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL5" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:246:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL6" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:247:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL7" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:248:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:249:14: warning: no header providing "SDL_SCANCODE_INTERNATIONAL9" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:250:14: warning: no header providing "SDL_SCANCODE_LANG1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:251:14: warning: no header providing "SDL_SCANCODE_LANG2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:252:14: warning: no header providing "SDL_SCANCODE_LANG3" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:253:14: warning: no header providing "SDL_SCANCODE_LANG4" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:254:14: warning: no header providing "SDL_SCANCODE_LANG5" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:255:14: warning: no header providing "SDL_SCANCODE_LANG6" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:256:14: warning: no header providing "SDL_SCANCODE_LANG7" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:257:14: warning: no header providing "SDL_SCANCODE_LANG8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:258:14: warning: no header providing "SDL_SCANCODE_LANG9" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:259:14: warning: no header providing "SDL_SCANCODE_ALTERASE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:260:14: warning: no header providing "SDL_SCANCODE_SYSREQ" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:261:14: warning: no header providing "SDL_SCANCODE_CANCEL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:262:14: warning: no header providing "SDL_SCANCODE_CLEAR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:263:14: warning: no header providing "SDL_SCANCODE_PRIOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:264:14: warning: no header providing "SDL_SCANCODE_RETURN2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:265:14: warning: no header providing "SDL_SCANCODE_SEPARATOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:266:14: warning: no header providing "SDL_SCANCODE_OUT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:267:14: warning: no header providing "SDL_SCANCODE_OPER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:268:14: warning: no header providing "SDL_SCANCODE_CLEARAGAIN" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:269:14: warning: no header providing "SDL_SCANCODE_CRSEL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:270:14: warning: no header providing "SDL_SCANCODE_EXSEL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:271:14: warning: no header providing "SDL_SCANCODE_THOUSANDSSEPARATOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:272:14: warning: no header providing "SDL_SCANCODE_DECIMALSEPARATOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:273:14: warning: no header providing "SDL_SCANCODE_CURRENCYUNIT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:274:14: warning: no header providing "SDL_SCANCODE_CURRENCYSUBUNIT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:275:14: warning: no header providing "SDL_SCANCODE_AUDIONEXT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:276:14: warning: no header providing "SDL_SCANCODE_AUDIOPREV" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:277:14: warning: no header providing "SDL_SCANCODE_AUDIOSTOP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:278:14: warning: no header providing "SDL_SCANCODE_AUDIOPLAY" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:279:14: warning: no header providing "SDL_SCANCODE_AUDIOMUTE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:280:14: warning: no header providing "SDL_SCANCODE_MEDIASELECT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:281:14: warning: no header providing "SDL_SCANCODE_WWW" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:282:14: warning: no header providing "SDL_SCANCODE_MAIL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:283:14: warning: no header providing "SDL_SCANCODE_CALCULATOR" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:284:14: warning: no header providing "SDL_SCANCODE_COMPUTER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:285:14: warning: no header providing "SDL_SCANCODE_AC_SEARCH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:287:14: warning: no header providing "SDL_SCANCODE_AC_BACK" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:288:14: warning: no header providing "SDL_SCANCODE_AC_FORWARD" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:289:14: warning: no header providing "SDL_SCANCODE_AC_STOP" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:290:14: warning: no header providing "SDL_SCANCODE_AC_REFRESH" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:291:14: warning: no header providing "SDL_SCANCODE_AC_BOOKMARKS" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:293:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:295:2: warning: no header providing "ARX_STATIC_ASSERT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:295:24: warning: no header providing "ARRAY_SIZE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:299:20: warning: no header providing "SDL_BUTTON_LEFT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:301:20: warning: no header providing "SDL_BUTTON_MIDDLE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:303:20: warning: no header providing "SDL_BUTTON_RIGHT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:305:20: warning: no header providing "SDL_BUTTON_X1" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:307:20: warning: no header providing "SDL_BUTTON_X2" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:310:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:311:7: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:319:7: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:335:5: warning: no header providing "SDL_SetRelativeMouseMode" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:335:56: warning: no header providing "SDL_TRUE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:335:67: warning: no header providing "SDL_FALSE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:339:60: warning: no header providing "SDL_GetError" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:350:2: warning: no header providing "SDL_WarpMouseInWindow" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:359:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:359:2: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/SDL2InputBackend.cpp:368:45: warning: no header providing "Rect" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:368:57: warning: no header providing "TextInputHandler" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:369:2: warning: no header providing "SDL_Rect" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:374:2: warning: no header providing "SDL_SetTextInputRect" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:376:3: warning: no header providing "SDL_StartTextInput" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:390:3: warning: no header providing "SDL_StopTextInput" is directly included [misc-include-cleaner] -Arx/src/input/SDL2InputBackend.cpp:401:62: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/input/SDL2InputBackend.cpp:403:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/input/SDL2InputBackend.cpp:401:24: warning: no header providing "SDL_GetKeyName" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:401:39: warning: no header providing "SDL_GetKeyFromScancode" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:401:62: warning: no header providing "SDL_Scancode" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:403:12: warning: no header providing "SDL_GetScancodeName" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:412:38: warning: no header providing "SDL_Event" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:414:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/input/SDL2InputBackend.cpp:417:29: warning: no header providing "SDL_WINDOWEVENT_ENTER" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:419:36: warning: no header providing "SDL_WINDOWEVENT_LEAVE" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:427:4: warning: variable 'key' of type 'SDL_Scancode' can be declared 'const' [misc-const-correctness] +Arx/src/input/SDL2InputBackend.cpp:429:5: warning: variable 'arxkey' of type 'Keyboard::Key' can be declared 'const' [misc-const-correctness] +Arx/src/input/SDL2InputBackend.cpp:430:44: warning: no header providing "SDL_PRESSED" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:431:6: warning: no header providing "KeyModifiers" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:432:42: warning: no header providing "KMOD_SHIFT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:433:44: warning: no header providing "KMOD_CTRL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:434:40: warning: no header providing "KMOD_ALT" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:435:40: warning: no header providing "KMOD_GUI" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:436:40: warning: no header providing "KMOD_NUM" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:460:28: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:472:4: warning: no header providing "SDL_free" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:484:8: warning: no header providing "SDL_MOUSEWHEEL" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:491:4: warning: no header providing "Uint8" is directly included [misc-include-cleaner] +Arx/src/input/SDL2InputBackend.cpp:491:4: warning: variable 'button' of type 'Uint8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/input/SDL2InputBackend.cpp:493:5: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/input/SDL2InputBackend.h:24:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/input/TextInput.cpp:28:35: warning: no header providing "Keyboard" is directly included [misc-include-cleaner] +Arx/src/input/TextInput.cpp:106:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/input/TextInput.cpp:120:56: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/input/TextInput.cpp:158:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/input/TextInput.cpp:287:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/input/TextInput.cpp:299:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/input/TextInput.h:24:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/io/Blast.cpp:88:12: warning: function 'bits' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:145:12: warning: function 'decode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:185:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/io/Blast.cpp:207:12: warning: function 'construct' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:304:20: warning: function 'blastDecompress' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Blast.cpp:317:27: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:318:27: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:319:28: warning: use designated initializer list to initialize 'huffman' [modernize-use-designated-initializers] +Arx/src/io/Blast.cpp:381:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/io/Blast.cpp:449:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/Blast.cpp:474:2: warning: variable 'error' of type 'BlastResult' can be declared 'const' [misc-const-correctness] -Arx/src/io/Blast.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/io/Blast.h:63:6: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/Blast.h:63:1: warning: use 'using' instead of 'typedef' [modernize-use-using] +Arx/src/io/Blast.h:65:6: warning: enum 'BlastResult' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/Blast.h:111:16: warning: member 'buffer' of type 'std::string &' (aka 'basic_string &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/io/IniReader.cpp:27:7: warning: no header providing "IniSection" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:27:53: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:29:2: warning: variable 'iter' of type 'iterator' (aka '_Rb_tree_const_iterator, IniSection>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:34:10: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:39:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:52:8: warning: no header providing "IniKey" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:120:27: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:137:4: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:142:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:167:77: warning: no header providing "tolower" is directly included [misc-include-cleaner] +Arx/src/io/IniReader.cpp:183:3: warning: variable 'nameEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:196:3: warning: variable 'separator' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:220:3: warning: variable 'key' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:245:6: warning: variable 'newValueStart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:263:6: warning: variable 'newNameEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:265:7: warning: variable 'newSeparator' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniReader.cpp:293:4: warning: variable 'valueEnd' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/IniSection.cpp:23:1: warning: included header ios is not used directly [misc-include-cleaner] +Arx/src/io/IniSection.cpp:52:17: warning: no header providing "boost::bad_lexical_cast" is directly included [misc-include-cleaner] +Arx/src/io/IniSection.cpp:67:46: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/IniSection.cpp:77:9: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/IniWriter.cpp:24:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:84:40: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:92:10: warning: no header providing "fs::read" is directly included [misc-include-cleaner] -Arx/src/io/SaveBlock.cpp:149:29: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:147:39: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:147:68: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:149:29: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:151:2: warning: variable '_uncompressedSize' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:152:6: warning: no header providing "fs::write" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:154:2: warning: variable 'nChunks' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:168:3: warning: variable 'chunkSize' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:171:3: warning: variable 'chunkOffset' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -Arx/src/io/SaveBlock.cpp:189:16: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:190:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:189:16: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:190:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:219:4: warning: no header providing "uLongf" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:220:4: warning: no header providing "Bytef" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:222:4: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:306:10: warning: no header providing "fs::read" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:332:2: warning: variable 'fatOffset' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:337:2: warning: variable 'nFiles' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:340:2: warning: variable 'ifile' of type 'Files::const_iterator' (aka 'c_iterator, SaveBlock::File>, void *>, boost::unordered::detail::bucket, SaveBlock::File>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:412:9: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:418:6: warning: no header providing "fs::ofstream" is directly included [misc-include-cleaner] +Arx/src/io/SaveBlock.cpp:429:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] -Arx/src/io/SaveBlock.cpp:440:19: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:441:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:447:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:440:19: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:441:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:447:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:458:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/io/SaveBlock.cpp:465:2: warning: variable 'renamed' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:467:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] -Arx/src/io/SaveBlock.cpp:495:46: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:495:46: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:545:18: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:552:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:563:17: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/SaveBlock.cpp:564:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:545:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:552:21: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:562:15: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/io/SaveBlock.cpp:563:17: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:564:20: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/SaveBlock.cpp:579:2: warning: variable 'file' of type 'Files::const_iterator' (aka 'c_iterator, SaveBlock::File>, void *>, boost::unordered::detail::bucket, SaveBlock::File>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/SaveBlock.cpp:611:6: warning: no header providing "fs::ifstream" is directly included [misc-include-cleaner] -Arx/src/io/SaveBlock.h:47:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/io/SaveBlock.h:60:7: warning: class 'SaveBlock' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/SaveBlock.h:78:8: warning: enum 'Compression' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/Screenshot.cpp:50:1: warning: included header string is not used directly [misc-include-cleaner] +Arx/src/io/Screenshot.cpp:57:19: warning: variable 'pSnapShot' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/Screenshot.cpp:91:2: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/Screenshot.h:49:7: warning: class 'SnapShot' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/fs/FilePath.cpp:39:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilePath.cpp:39:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilePath.cpp:59:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:134:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:142:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:154:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:170:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/fs/FilePath.cpp:177:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/FilePath.cpp:180:61: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:177:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:180:61: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:190:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:204:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/fs/FilePath.cpp:209:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:209:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:224:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/fs/FilePath.cpp:231:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/FilePath.cpp:262:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/FilePath.cpp:262:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/FilePath.cpp:263:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:231:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:235:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:256:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:260:2: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:262:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:262:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:263:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FilePath.cpp:288:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:316:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.cpp:351:5: warning: variable 'last' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:79:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:106:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:176:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/io/fs/FilePath.h:197:3: warning: variable 'l' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilePath.h:198:31: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/fs/FilePath.h:199:14: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/fs/FileStream.cpp:25:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:29:43: warning: no header providing "ARX_HAVE_CXX17_FSTREAM_WCHAR" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:58:9: warning: no header providing "std::ifstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:66:9: warning: no header providing "std::ofstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:74:9: warning: no header providing "std::fstream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:83:6: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/fs/FileStream.cpp:85:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] -Arx/src/io/fs/FileStream.h:86:49: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/FileStream.h:95:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FileStream.h:86:49: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/FileStream.h:95:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/Filesystem.cpp:31:2: warning: variable 'type' of type 'FileType' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/Filesystem.cpp:43:13: warning: function 'clear_directory' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/Filesystem.cpp:46:3: warning: variable 'entry' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/Filesystem.cpp:50:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/io/fs/Filesystem.cpp:59:2: warning: variable 'type' of type 'FileType' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/Filesystem.cpp:71:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] -Arx/src/io/fs/Filesystem.cpp:78:33: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/Filesystem.cpp:78:33: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/Filesystem.cpp:100:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/fs/Filesystem.cpp:93:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/Filesystem.cpp:100:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/fs/Filesystem.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/io/fs/Filesystem.h:55:6: warning: enum 'FileType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/fs/FilesystemPOSIX.cpp:34:1: warning: included header case_conv.hpp is not used directly [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:41:17: warning: function 'stat_to_filetype' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/FilesystemPOSIX.cpp:43:20: warning: no header providing "S_IFMT" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:43:31: warning: no header providing "S_IFDIR" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:46:31: warning: no header providing "S_IFREG" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:78:31: warning: no header providing "S_IFLNK" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:85:6: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:90:1: warning: no header providing "u64" is directly included [misc-include-cleaner] -Arx/src/io/fs/FilesystemPOSIX.cpp:121:16: warning: 2 adjacent parameters of 'copy_file' of similar type ('const fs::path &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/fs/FilesystemPOSIX.cpp:117:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:117:38: warning: no header providing "S_IRWXU" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:117:48: warning: no header providing "S_IRWXG" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:117:58: warning: no header providing "S_IROTH" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:117:68: warning: no header providing "S_IXOTH" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:121:16: warning: 2 adjacent parameters of 'copy_file' of similar type ('const path &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/io/fs/FilesystemPOSIX.cpp:174:2: warning: variable 'intitial_length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:301:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/io/fs/FilesystemPOSIX.cpp:373:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/FilesystemPOSIX.cpp:373:60: warning: no header providing "AT_SYMLINK_NOFOLLOW" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:28:1: warning: included header case_conv.hpp is not used directly [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:68:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:87:2: warning: no header providing "ExitStatus" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:118:3: warning: variable 'decoded' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:119:36: warning: no header providing "boost::char_separator" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:120:3: warning: variable 'sep' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:121:3: warning: variable 'tokens' of type 'tokenizer' (aka 'tokenizer>') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:224:2: warning: variable 'configFile' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:229:4: warning: variable 'datadir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:239:2: warning: variable 'subdir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:248:6: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:248:22: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:266:3: warning: variable 'tmp' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:278:2: warning: variable 'exepath' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:280:3: warning: variable 'var' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:298:3: warning: variable 'exedir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:307:4: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:319:3: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:332:4: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:367:16: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/io/fs/SystemPaths.cpp:368:10: warning: no header providing "ExitSuccess" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:371:10: warning: no header providing "ExitFailure" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:374:9: warning: no header providing "RunProgram" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:383:57: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:396:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/io/fs/SystemPaths.cpp:428:5: warning: variable 'dir' of type 'path' can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:474:2: warning: variable 'exevar' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/fs/SystemPaths.cpp:533:13: warning: function 'disableDataDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:537:13: warning: function 'addDataDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:541:13: warning: function 'setUserDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:545:13: warning: function 'setConfigDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/fs/SystemPaths.cpp:549:13: warning: function 'listSearchDirs' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/log/ColorLogger.cpp:27:5: warning: no header providing "ARX_HAVE_ISATTY" is directly included [misc-include-cleaner] +Arx/src/io/log/ColorLogger.cpp:35:30: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/io/log/ColorLogger.cpp:35:55: warning: no header providing "Logger" is directly included [misc-include-cleaner] +Arx/src/io/log/ColorLogger.cpp:36:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] -Arx/src/io/log/ColorLogger.cpp:70:56: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/log/ColorLogger.cpp:42:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/log/ColorLogger.cpp:66:2: warning: variable 'flags' of type 'std::ostream::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/ColorLogger.cpp:70:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/log/ColorLogger.cpp:73:43: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/io/log/ColorLogger.h:34:7: warning: class 'ColorConsole' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/ConsoleLogger.cpp:41:25: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:41:50: warning: no header providing "Logger" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:41:85: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:50:1: warning: no header providing "logger::Backend" is directly included [misc-include-cleaner] +Arx/src/io/log/ConsoleLogger.cpp:52:2: warning: variable 'hasStdout' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/ConsoleLogger.cpp:53:2: warning: variable 'hasStdErr' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/ConsoleLogger.h:30:7: warning: class 'Console' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/CriticalLogger.cpp:32:21: warning: variable 'g_exitQuestion' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/log/CriticalLogger.cpp:32:38: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/io/log/CriticalLogger.cpp:33:41: warning: variable 'g_exitCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/io/log/CriticalLogger.cpp:43:3: warning: variable 'logfile' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/CriticalLogger.cpp:76:37: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/io/log/CriticalLogger.cpp:76:62: warning: no header providing "Logger" is directly included [misc-include-cleaner] +Arx/src/io/log/CriticalLogger.h:32:7: warning: class 'CriticalErrorDialog' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/FileLogger.cpp:28:22: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/io/log/FileLogger.cpp:28:47: warning: no header providing "Logger" is directly included [misc-include-cleaner] +Arx/src/io/log/FileLogger.cpp:28:82: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/log/FileLogger.h:31:7: warning: class 'File' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/log/LogBackend.cpp:27:35: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] -Arx/src/io/log/LogBackend.cpp:46:53: warning: narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/log/LogBackend.cpp:28:40: warning: no header providing "Logger" is directly included [misc-include-cleaner] +Arx/src/io/log/LogBackend.cpp:28:75: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/log/LogBackend.cpp:30:2: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/log/LogBackend.cpp:42:2: warning: variable 'flags' of type 'std::ostream::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/LogBackend.cpp:46:53: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/log/LogBackend.cpp:49:31: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/io/log/LogBackend.cpp:49:36: warning: no header providing "std::endl" is directly included [misc-include-cleaner] -Arx/src/io/log/LogBackend.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/io/log/Logger.cpp:44:26: warning: variable 'minimumLevel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:46:14: warning: variable 'lock' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/log/Logger.cpp:28:1: warning: included header unordered_map.hpp is not used directly [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:32:1: warning: included header MsvcLogger.h is not used directly [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:37:1: warning: included header Configure.h is not used directly [misc-include-cleaner] -Arx/src/io/log/Logger.cpp:50:17: warning: variable 'sources' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/log/Logger.cpp:49:17: warning: no header providing "boost::unordered_map" is directly included [misc-include-cleaner] -Arx/src/io/log/Logger.cpp:53:18: warning: variable 'backends' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:56:15: warning: variable 'rules' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:63:30: warning: variable 'minimumLevel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/log/Logger.cpp:55:36: warning: no header providing "std::string" is directly included [misc-include-cleaner] -Arx/src/io/log/Logger.cpp:64:33: warning: variable 'sources' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:65:34: warning: variable 'backends' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:66:31: warning: variable 'rules' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/io/log/Logger.cpp:67:18: warning: variable 'lock' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/io/log/Logger.cpp:72:3: warning: variable 'i' of type 'LogManager::Sources::iterator' (aka 'iterator, void *>, boost::unordered::detail::bucket, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:90:5: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:98:4: warning: variable 'i' of type 'LogManager::Rules::const_iterator' (aka 'c_iterator, Logger::LogLevel>, void *>, boost::unordered::detail::bucket, Logger::LogLevel>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:126:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:135:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:149:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:160:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:174:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:176:7: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:177:38: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:182:3: warning: variable 'oldLevel' of type 'LogLevel' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:206:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:208:2: warning: variable 'i' of type 'LogManager::Rules::iterator' (aka 'iterator, Logger::LogLevel>, void *>, boost::unordered::detail::bucket, Logger::LogLevel>, void *>, void *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:228:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.cpp:254:3: warning: variable 'eq' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/log/Logger.cpp:266:63: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/io/log/Logger.cpp:266:63: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/io/log/Logger.cpp:284:5: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:284:21: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/io/log/Logger.cpp:297:2: warning: variable 'lock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/io/log/Logger.h:74:7: warning: enum 'LogLevel' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/resource/PakEntry.cpp:23:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/io/resource/PakEntry.cpp:52:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:83:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:92:3: warning: variable 'entry' of type 'dirs_iterator' (aka '_Rb_tree_iterator, PakDirectory>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:121:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:124:4: warning: variable 'file' of type 'files_iterator' (aka '_Rb_tree_const_iterator, PakFile *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:128:3: warning: variable 'entry' of type 'dirs_iterator' (aka '_Rb_tree_iterator, PakDirectory>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:141:2: warning: variable 'old' of type 'std::map::iterator' (aka '_Rb_tree_iterator, PakFile *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:141:7: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakEntry.cpp:153:2: warning: variable 'old' of type 'std::map::iterator' (aka '_Rb_tree_iterator, PakFile *>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.cpp:163:2: warning: variable 'old' of type 'dirs_iterator' (aka '_Rb_tree_iterator, PakDirectory>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakEntry.h:32:7: warning: class 'PakFile' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakEntry.h:57:7: warning: class 'PakDirectory' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.cpp:45:41: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:80:7: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:89:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] -Arx/src/io/resource/PakReader.cpp:119:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:119:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/resource/PakReader.cpp:145:25: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:145:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:153:2: warning: variable 'nread' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:225:43: warning: no header providing "boost::noncopyable" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:243:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/PakReader.cpp:251:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:251:18: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:286:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:293:3: warning: variable 'toStart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/PakReader.cpp:327:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:304:2: warning: variable 'toCopy' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:327:25: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:342:2: warning: variable 'r' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/PakReader.cpp:438:9: warning: narrowing conversion from 'std::streamoff' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:434:2: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:438:9: warning: narrowing conversion from 'streamoff' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/PakReader.cpp:481:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:490:2: warning: variable 'key' of type 'ReleaseType' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:499:2: warning: variable 'checksum' of type 'util::md5::checksum' (aka 'checksum') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:499:8: warning: no header providing "util::md5" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:508:3: warning: variable 'it' of type 'PakFilter::const_iterator' (aka '_Rb_tree_const_iterator, std::vector, std::allocator>>>>') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:527:3: warning: variable 'dirpath' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:557:4: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:558:57: warning: no header providing "tolower" is directly included [misc-include-cleaner] +Arx/src/io/resource/PakReader.cpp:629:2: warning: variable 'type' of type 'fs::FileType' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:633:3: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:694:3: warning: variable 'entry' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.cpp:698:3: warning: variable 'type' of type 'fs::FileType' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/PakReader.h:37:6: warning: enum 'Whence' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/resource/PakReader.h:59:7: warning: class 'PakReader' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/io/resource/PakReader.h:63:7: warning: enum 'ReleaseType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/io/resource/ResourcePath.cpp:33:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourcePath.cpp:33:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourcePath.cpp:85:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:117:28: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/io/resource/ResourcePath.cpp:135:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:143:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:155:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:171:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/ResourcePath.cpp:177:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/resource/ResourcePath.cpp:180:61: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:177:56: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:180:61: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:190:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:204:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/ResourcePath.cpp:209:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:209:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:224:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/ResourcePath.cpp:231:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/resource/ResourcePath.cpp:262:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/resource/ResourcePath.cpp:262:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/io/resource/ResourcePath.cpp:263:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:231:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:235:2: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:256:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:260:2: warning: variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:262:39: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:262:65: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:263:74: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:287:2: warning: variable 'extpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:312:3: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.cpp:330:5: warning: variable 'last' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/io/resource/ResourcePath.cpp:351:21: warning: narrowing conversion from 'int' to signed type '__gnu_cxx::__alloc_traits, char>::value_type' (aka 'char') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.cpp:351:21: warning: narrowing conversion from 'int' to signed type 'value_type' (aka 'char') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/io/resource/ResourcePath.h:78:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:90:4: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:102:3: warning: variable 'dirpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourcePath.h:186:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/io/resource/ResourcePath.h:199:30: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/resource/ResourcePath.h:200:13: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/io/resource/ResourceSetup.cpp:68:3: warning: variable 'n' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourceSetup.cpp:91:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourceSetup.cpp:91:58: warning: no header providing "util::md5" is directly included [misc-include-cleaner] +Arx/src/io/resource/ResourceSetup.cpp:115:3: warning: use designated initializer list to initialize 'RequiredArchive' [modernize-use-designated-initializers] +Arx/src/io/resource/ResourceSetup.cpp:115:21: warning: use designated initializer list to initialize 'RequiredArchive' [modernize-use-designated-initializers] +Arx/src/io/resource/ResourceSetup.cpp:115:38: warning: use designated initializer list to initialize 'RequiredArchive' [modernize-use-designated-initializers] +Arx/src/io/resource/ResourceSetup.cpp:115:57: warning: use designated initializer list to initialize 'RequiredArchive' [modernize-use-designated-initializers] +Arx/src/io/resource/ResourceSetup.cpp:115:74: warning: use designated initializer list to initialize 'RequiredArchive' [modernize-use-designated-initializers] +Arx/src/io/resource/ResourceSetup.cpp:123:4: warning: variable 'file' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/io/resource/ResourceSetup.cpp:136:6: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/lib/ArxIO.cpp:24:1: warning: included header iostream is not used directly [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:25:1: warning: included header fstream is not used directly [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:31:1: warning: included header ConsoleLogger.h is not used directly [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:38:25: warning: no header providing "logger::Source" is directly included [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:40:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:55:23: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/lib/ArxIO.cpp:69:21: warning: variable 'memLogger' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/lib/ArxIO.cpp:93:9: warning: narrowing conversion from 'std::deque::size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/lib/ArxIO.cpp:93:9: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/lib/ArxIO.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/math/Angle.cpp:37:2: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/Angle.cpp:39:2: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/Angle.h:33:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/Angle.h:200:2: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:71:2: warning: variable 'cosX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:72:2: warning: variable 'sinX' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:83:2: warning: variable 'cosY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:84:2: warning: variable 'sinY' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:94:2: warning: variable 'cosZ' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:95:2: warning: variable 'sinZ' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:126:2: warning: variable 's2' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:127:2: warning: variable 's3' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:129:2: warning: variable 'f1' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:129:42: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:130:2: warning: variable 'f2' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:130:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:130:75: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:130:114: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:131:2: warning: variable 'f3' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:131:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:131:76: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:132:2: warning: variable 'f4' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:134:51: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:148:2: warning: variable 'Epsilon' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:155:2: warning: variable 'det' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:159:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:164:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:164:67: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:159:2: warning: variable 'inv_det' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/math/GtxFunctions.h:170:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/GtxFunctions.h:170:80: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/GtxFunctions.h:186:2: warning: variable 'Epsilon' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:188:2: warning: variable 't0' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:189:2: warning: variable 'dSquared' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/GtxFunctions.h:194:2: warning: variable 't1' of type 'typename vec<3, float>::value_type' (aka 'float') can be declared 'const' [misc-const-correctness] +Arx/src/math/Quantizer.h:45:3: warning: variable 'integerValue' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/math/Random.cpp:24:46: warning: variable 'rng' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/math/Random.cpp:24:46: warning: variable 'rng' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/math/Random.cpp:24:1: warning: no header providing "ARX_THREAD_LOCAL" is directly included [misc-include-cleaner] -Arx/src/math/Random.h:76:38: warning: variable 'rng' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/math/Random.h:76:38: warning: variable 'rng' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/math/Random.h:121:2: warning: variable 'dist' of type 'diff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/math/Random.h:122:2: warning: variable 'toAdvance' of type 'diff_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:41:3: warning: variable 'range' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:72:3: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:78:3: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:79:3: warning: variable 'a' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:81:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:83:3: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/math/RandomVector.h:84:3: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/math/Rectangle.h:44:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/Rectangle.h:45:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/Rectangle.h:46:11: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/Rectangle.h:47:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/Rectangle.h:66:13: warning: 2 adjacent parameters of 'Rectangle_' of similar type ('const Rectangle_::Vec2 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] +Arx/src/math/Rectangle.h:66:13: warning: 2 adjacent parameters of 'Rectangle_' of similar type ('const Vec2 &') are easily swapped by mistake [bugprone-easily-swappable-parameters] -Arx/src/math/Rectangle.h:74:10: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/math/Rectangle.h:74:10: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/math/Rectangle.h:75:9: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/math/Rectangle.h:75:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/math/Types.h:76:1: warning: modification of 'std' namespace can result in undefined behavior [cert-dcl58-cpp] -Arx/src/math/Vector.h:43:24: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/physics/Attractors.cpp:52:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/physics/Attractors.cpp:55:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/physics/Attractors.cpp:60:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/Attractors.cpp:61:30: warning: variable 'attractors' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Attractors.cpp:69:13: warning: function 'ARX_SPECIAL_ATTRACTORS_Remove' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Attractors.cpp:77:13: warning: function 'ARX_SPECIAL_ATTRACTORS_Exist' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Attractors.cpp:93:10: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/physics/Attractors.cpp:111:62: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Attractors.cpp:130:3: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.cpp:134:4: warning: variable 'max_radius' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.cpp:137:5: warning: variable 'ratio_dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Attractors.cpp:139:17: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:51:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:73:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:74:31: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:75:13: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:75:25: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:90:3: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/CollisionShapes.cpp:94:29: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/physics/CollisionShapes.cpp:96:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:65:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:66:1: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:68:13: warning: variable 'POLYIN' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:72:1: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:77:37: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:81:2: warning: variable 'minf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:82:2: warning: variable 'maxf' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:87:2: warning: variable 'to' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:87:23: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:92:3: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:93:3: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:98:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:119:20: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:133:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:134:5: warning: variable 'center' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:200:56: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:206:2: warning: variable 'to' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:246:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:250:25: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:251:21: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:254:21: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:281:26: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:281:35: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:281:47: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:283:7: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:294:5: warning: variable 'posy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:295:5: warning: variable 'modd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:310:7: warning: variable 'tval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:317:10: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:324:10: warning: variable 'vv' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:368:4: warning: variable 'cyl' of type 'Cylinder' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:381:2: warning: variable 'miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:382:2: warning: variable 'maxy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:391:13: warning: variable 'NPC_IN_CYLINDER' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:393:13: warning: function 'CollidedFromBack' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:404:19: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:405:23: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:406:23: warning: no header providing "std::cos" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:412:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:413:3: warning: variable 'p1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:414:3: warning: variable 'p2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:431:13: warning: function 'CheckAnythingInCylinder_Inner' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:439:8: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:446:22: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:452:21: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:457:6: warning: variable 'res' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:480:6: warning: variable 'res' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:501:5: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:501:5: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:502:18: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:507:7: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:507:34: warning: no header providing "SM_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:536:37: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:539:34: warning: no header providing "SM_REACHEDTARGET" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:554:9: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:554:16: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:559:6: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] -Arx/src/physics/Collisions.cpp:562:35: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/physics/Collisions.cpp:562:35: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/physics/Collisions.cpp:572:27: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:573:9: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:576:37: warning: no header providing "SM_COLLIDE_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:584:38: warning: no header providing "SM_COLLIDE_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:610:5: warning: variable 'nbv' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:629:10: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:674:2: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:674:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:674:15: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:675:2: warning: variable 'radius' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:677:2: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:677:18: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:678:2: warning: variable 'maxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:678:18: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:679:2: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:680:2: warning: variable 'maxz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:697:4: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:699:4: warning: use `std::min` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:707:9: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:710:18: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:710:31: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:710:44: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:716:29: warning: no header providing "POLY_CLIMB" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:725:19: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:751:13: warning: function 'InExceptionList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:762:13: warning: function 'CheckEverythingInSphere_Inner' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Collisions.cpp:765:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:766:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:767:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:782:3: warning: variable 'miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:783:3: warning: variable 'maxy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:820:5: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:835:4: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:837:22: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:841:4: warning: variable 'fcenter' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:862:73: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:889:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:890:2: warning: variable 'radius' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:892:2: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:893:2: warning: variable 'maxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:894:2: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:895:2: warning: variable 'maxz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:938:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:939:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:940:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:965:21: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:969:32: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:977:4: warning: variable 'miny' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:978:4: warning: variable 'maxy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1058:2: warning: variable 'sr30' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1059:2: warning: variable 'sr40' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1060:2: warning: variable 'sr180' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/physics/Collisions.cpp:1073:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1073:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] -Arx/src/physics/Collisions.cpp:1086:15: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1086:4: warning: variable 'nbv' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1086:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/physics/Collisions.cpp:1113:9: warning: variable 'nn' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1114:9: warning: variable 'posi' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1216:5: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1216:32: warning: no header providing "glm::length" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1217:5: warning: variable 'pente' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1217:24: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1220:5: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/Collisions.cpp:1280:24: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1286:2: warning: variable 'mvector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1291:3: warning: variable 'curmovedist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1346:15: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1434:2: warning: variable 'd' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1437:2: warning: variable 'ad' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1437:18: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1447:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1457:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1467:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1479:3: warning: variable 'sphere' of type 'Sphere' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1485:30: warning: no header providing "GFLAG_VIEW_BLOCKER" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1487:6: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1496:3: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Collisions.cpp:1507:7: warning: no header providing "RayCollidingPoly" is directly included [misc-include-cleaner] +Arx/src/physics/Collisions.cpp:1508:5: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] -Arx/src/physics/Collisions.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/physics/Collisions.h:59:6: warning: enum 'CollisionFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/physics/Collisions.h:86:6: warning: enum 'CheckAnythingInSphereFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/physics/Physics.cpp:86:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:91:18: warning: no header providing "glm::min" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:92:18: warning: no header providing "glm::max" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:114:2: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:135:3: warning: variable 'RATI' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:142:4: warning: variable 'curr' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:178:3: warning: variable 'cut' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:179:3: warning: variable 'ysec2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:180:3: warning: variable 'ysec1' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:186:4: warning: variable 'curr' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:210:11: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:223:3: warning: variable 'distt' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:223:22: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:233:4: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:262:75: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:264:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:268:15: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:275:13: warning: no header providing "VRotateY" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:275:31: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:276:13: warning: no header providing "VRotateX" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:277:13: warning: no header providing "VRotateZ" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:294:13: warning: function 'ComputeForces' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:294:13: warning: function 'ComputeForces<15UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:329:13: warning: function 'RK4Integrate' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:329:13: warning: function 'RK4Integrate<15UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:348:4: warning: variable 'source' of type 'PhysicsParticle &' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:369:3: warning: variable 'accum1' of type 'PhysicsParticle &' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:370:3: warning: variable 'accum2' of type 'PhysicsParticle &' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:371:3: warning: variable 'accum3' of type 'PhysicsParticle &' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:372:3: warning: variable 'accum4' of type 'PhysicsParticle &' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:374:3: warning: variable 'dv' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:375:3: warning: variable 'dp' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:382:13: warning: function 'IsObjectInField' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:384:24: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:385:9: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:385:29: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:385:36: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:387:32: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:392:5: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:408:8: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:408:17: warning: function 'polyTypeToCollisionMaterial' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:410:10: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:413:10: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:416:10: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:419:10: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:422:10: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:425:10: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:430:13: warning: function 'ARX_INTERACTIVE_CheckFULLCollision' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:434:25: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:434:69: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:441:25: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:441:37: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:441:49: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:443:25: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:443:54: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:445:10: warning: no header providing "In3DBBoxTolerance" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:451:8: warning: no header providing "PointInCylinder" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:455:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:459:4: warning: no header providing "Sphere" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:473:9: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:473:16: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:475:23: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:526:28: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:527:9: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:527:9: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:528:22: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:530:10: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:530:41: warning: no header providing "SM_COLLIDE_DOOR" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:547:13: warning: function 'ARX_TEMPORARY_TrySound' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:549:22: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:552:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:567:4: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/physics/Physics.cpp:598:13: warning: function 'ARX_EERIE_PHYSICS_BOX_Compute' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Physics.cpp:617:3: warning: variable 'ray' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:635:4: warning: variable 'velocity' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:637:4: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:652:5: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Physics.cpp:652:20: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/physics/Physics.cpp:664:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Physics.cpp:680:2: warning: variable 't_threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:24:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:54:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:56:19: warning: variable 'g_projectiles' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:58:13: warning: function 'IsPointInField' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:58:34: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:60:24: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:61:9: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:61:29: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:61:36: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:63:32: warning: no header providing "SPELL_CREATE_FIELD" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:68:5: warning: no header providing "Cylinder" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:68:5: warning: variable 'cyl' of type 'Cylinder' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:80:13: warning: function 'ARX_THROWN_OBJECT_Kill' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:82:28: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:94:13: warning: function 'ARX_THROWN_OBJECT_GetFree' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:96:2: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:114:6: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:115:2: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:115:2: warning: variable 'angle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:115:17: warning: no header providing "vectorToAngle" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:116:34: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:120:49: warning: no header providing "ActionPoint" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:123:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:125:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:150:15: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:153:22: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:159:14: warning: function 'ARX_THROWN_ComputeDamages' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:163:2: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:163:50: warning: no header providing "SM_AGGRESSION" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:165:2: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:165:19: warning: no header providing "fdist" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:170:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/physics/Projectile.cpp:177:5: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:179:49: warning: no header providing "SM_CRITICAL" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:179:72: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:187:50: warning: no header providing "SM_BACKSTAB" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:202:2: warning: variable '_amat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:216:2: warning: variable 'power' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:216:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:219:2: warning: variable 'dmgs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:228:13: warning: function 'CheckExp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:236:3: warning: no header providing "DoSphericDamage" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:236:47: warning: no header providing "DAMAGE_AREA" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:236:60: warning: no header providing "DAMAGE_TYPE_FIRE" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:236:79: warning: no header providing "DAMAGE_TYPE_MAGICAL" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:245:42: warning: no header providing "randomColor3f" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:248:22: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:278:13: warning: function 'ARX_THROWN_OBJECT_ManageProjectile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/physics/Projectile.cpp:280:2: warning: variable 'timeDeltaMs' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:280:22: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:289:6: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:321:22: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:326:2: warning: variable 'original_pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:334:2: warning: no header providing "CheckForIgnition" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:339:20: warning: no header providing "EEIsUnderWater" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:352:2: warning: variable 'nbact' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:362:20: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:364:3: warning: variable 'result' of type 'RaycastResult' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:364:57: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:364:70: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:364:83: warning: no header providing "POLY_NOCOL" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:394:4: warning: variable 'precision' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:400:9: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:414:25: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:420:46: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:424:7: warning: variable 'vid' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:425:7: warning: variable 'd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:425:22: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:435:7: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:439:8: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:439:8: warning: variable 'color' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:440:8: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/physics/Projectile.cpp:448:8: warning: no header providing "ARX_DAMAGES_DamageNPC" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:465:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.cpp:466:7: warning: no header providing "ARX_DAMAGES_DamageFIX" is directly included [misc-include-cleaner] +Arx/src/physics/Projectile.h:30:6: warning: enum 'ProjectileFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/Alignment.cpp:48:1: warning: no header providing "arx_nodiscard" is directly included [misc-include-cleaner] +Arx/src/platform/Alignment.cpp:48:41: warning: no header providing "std::size_t" is directly included [misc-include-cleaner] -Arx/src/platform/Alignment.h:212:22: warning: variable 'void_type' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/Alignment.h:167:6: warning: enum 'AlignmentInfo_' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/CrashHandler.cpp:25:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:30:1: warning: included header ResourcePath.h is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:31:1: warning: included header Logger.h is not used directly [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:47:8: warning: no header providing "CrashHandlerImpl" is directly included [misc-include-cleaner] +Arx/src/platform/CrashHandler.cpp:47:27: warning: variable 'gCrashHandlerImpl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/CrashHandler.cpp:48:12: warning: variable 'gCrashHandlerInitCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/CrashHandler.cpp:109:4: warning: variable 'initialized' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:45:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:87:13: warning: function 'isAllowedInUrl' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/platform/Dialog.cpp:94:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/platform/Dialog.cpp:94:38: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/platform/Dialog.cpp:96:26: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Dialog.cpp:88:10: warning: no header providing "isspace" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:91:13: warning: function 'closeLink' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:92:2: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:94:12: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamoff' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Dialog.cpp:94:38: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Dialog.cpp:96:26: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/Dialog.cpp:111:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:111:20: warning: function 'formatAsHtml' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:119:14: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:205:12: warning: function 'zenityCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:236:2: warning: variable 'messageArg' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:238:2: warning: variable 'titleArg' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:238:14: warning: unused local variable 'titleArg' of type 'std::string' (aka 'basic_string') [bugprone-unused-local-non-trivial-variable] +Arx/src/platform/Dialog.cpp:245:12: warning: function 'kdialogCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:258:2: warning: variable 'messageArg' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:269:13: warning: function 'xmessageButtons' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:282:12: warning: function 'gxmessageCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:298:12: warning: function 'xdialogCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:325:12: warning: function 'xmessageCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:340:12: warning: function 'sdlDialogCommand' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:343:2: warning: variable 'wasInitialized' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:350:2: warning: no header providing "SDL_MessageBoxData" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:351:3: warning: no header providing "SDL_MESSAGEBOX_INFORMATION" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:361:37: warning: no header providing "SDL_MESSAGEBOX_WARNING" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:362:37: warning: no header providing "SDL_MESSAGEBOX_ERROR" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:368:8: warning: no header providing "SDL_MessageBoxButtonData" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:369:5: warning: no header providing "SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:373:5: warning: no header providing "SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:401:5: warning: no header providing "SDL_ShowMessageBox" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:413:13: warning: function 'showDialog' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Dialog.cpp:421:40: warning: no header providing "strcasecmp" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:438:3: warning: variable 'code' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Dialog.cpp:449:2: warning: no header providing "Uint32" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:457:15: warning: no header providing "SDL_ShowSimpleMessageBox" is directly included [misc-include-cleaner] +Arx/src/platform/Dialog.cpp:462:74: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/platform/Dialog.h:27:6: warning: enum 'DialogType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/Endian.h:107:8: warning: the implicit default constructor of the CRTP is publicly accessible; consider making it private and declaring the derived class as friend [bugprone-crtp-constructor-accessibility] -Arx/src/platform/Endian.h:235:12: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/platform/Endian.h:235:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/Endian.h:243:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/Environment.cpp:30:5: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:30:21: warning: no header providing "ARX_PLATFORM_WIN32" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:48:21: warning: no header providing "ARX_PLATFORM_MACOS" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:59:1: warning: included header lexical_cast.hpp is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:69:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:71:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/src/platform/Environment.cpp:76:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:128:4: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:143:30: warning: no header providing "std::getenv" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:264:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:329:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:336:21: warning: variable 'executablePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Environment.cpp:343:13: warning: function 'try_readlink' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Environment.cpp:346:25: warning: no header providing "std::size_t" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:396:56: warning: no header providing "ARX_PLATFORM_BSD" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:444:3: warning: variable 'path' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:457:2: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:489:3: warning: variable 'decoded' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:490:36: warning: no header providing "boost::char_separator" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:491:3: warning: variable 'sep' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:493:17: warning: variable 'libexec_dir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:560:20: warning: no header providing "memcmp" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:566:13: warning: variable 'g_environmentLock' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Environment.cpp:676:3: warning: variable 'decoded' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:678:3: warning: variable 'sep' of type 'boost::char_separator' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:679:3: warning: variable 'tokens' of type 'tokenizer' (aka 'tokenizer>') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:680:48: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] +Arx/src/platform/Environment.cpp:685:3: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Environment.cpp:689:6: warning: variable 'locale' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -Arx/src/platform/Environment.h:25:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/platform/Environment.h:53:6: warning: enum 'SystemPathId' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/platform/Environment.h:153:15: warning: use default member initializer for 'm_count' [modernize-use-default-member-init] -Arx/src/platform/Lock.cpp:24:1: warning: constructor does not initialize these fields: mutex, cond [cppcoreguidelines-pro-type-member-init] -Arx/src/platform/Lock.cpp:31:7: warning: use '= default' to define a trivial destructor [modernize-use-equals-default] -Arx/src/platform/Lock.cpp:40:7: warning: variable name 'rc' is too short, expected at least 3 characters [readability-identifier-length] -Arx/src/platform/Lock.h:34:7: warning: class 'Lock' defines a non-default destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/platform/Lock.h:41:7: warning: use default member initializer for 'locked' [modernize-use-default-member-init] +Arx/src/platform/Lock.h:34:7: warning: class 'Lock' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/OS.cpp:61:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/platform/OS.cpp:196:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:295:20: warning: function 'parseDistributionName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/OS.cpp:295:47: warning: no header providing "std::istream" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:302:13: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/platform/OS.cpp:310:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:317:3: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:457:2: warning: variable 'version_files' of type 'const char *[5][2]' can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:492:20: warning: function 'getCLibraryConfigString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/OS.cpp:548:2: warning: variable 'max' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:548:12: warning: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/OS.cpp:556:2: warning: variable 'count' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:570:2: warning: variable 'p' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:612:22: warning: use designated initializer list to initialize 'MemoryInfo' [modernize-use-designated-initializers] +Arx/src/platform/OS.cpp:634:4: warning: variable 'sep' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:639:4: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:680:3: warning: variable 'pages' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/platform/OS.cpp:681:3: warning: variable 'pagesize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Platform.cpp:22:1: warning: included header stdio.h is not used directly [misc-include-cleaner] +Arx/src/platform/Platform.cpp:25:1: warning: included header Logger.h is not used directly [misc-include-cleaner] -Arx/src/platform/Platform.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/platform/Platform.h:95:11: warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers] +Arx/src/platform/Process.cpp:23:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/platform/Process.cpp:81:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/platform/Process.cpp:83:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/src/platform/Process.cpp:92:23: warning: function 'run' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/platform/Process.cpp:95:17: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] -Arx/src/platform/Process.cpp:113:39: warning: variable 'file_actionsp' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/Process.cpp:95:17: warning: do not use const_cast to remove const qualifier [cppcoreguidelines-pro-type-const-cast] +Arx/src/platform/Process.cpp:98:2: warning: variable 'dev_null' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:104:2: warning: no header providing "pid_t" is directly included [misc-include-cleaner] -Arx/src/platform/Process.cpp:125:30: warning: variable 'attrp' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/Process.cpp:332:2: warning: variable 'ret' of type 'pid_t' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:357:36: warning: variable 'g_childProcesses' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Process.cpp:391:2: warning: variable 'process' of type 'process_handle' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:396:2: warning: variable 'exe' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:397:2: warning: variable 'process' of type 'process_handle' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:431:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:439:2: warning: variable 'process' of type 'process_handle' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.cpp:450:3: warning: no header providing "ssize_t" is directly included [misc-include-cleaner] +Arx/src/platform/Process.cpp:450:3: warning: variable 'count' of type 'ssize_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Process.h:156:6: warning: enum 'ProcessExitCode' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/ProgramOptions.cpp:22:1: warning: included header list is not used directly [misc-include-cleaner] +Arx/src/platform/ProgramOptions.cpp:31:45: warning: no header providing "util::cmdline::interpreter" is directly included [misc-include-cleaner] +Arx/src/platform/ProgramOptions.cpp:31:62: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/ProgramOptions.h:97:3: warning: variable 'shortName' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:26:5: warning: no header providing "ARX_HAVE_XMMINTRIN" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:30:5: warning: no header providing "ARX_HAVE_PMMINTRIN" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:39:5: warning: no header providing "ARX_HAVE_GET_CPUID" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:51:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/platform/Thread.cpp:54:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:58:5: warning: no header providing "ARX_HAVE_PTHREADS" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:61:1: warning: included header unistd.h is not used directly [misc-include-cleaner] +Arx/src/platform/Thread.cpp:63:6: warning: no header providing "ARX_HAVE_PTHREAD_SETNAME_NP" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:63:38: warning: no header providing "ARX_HAVE_PTHREAD_SET_NAME_NP" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:63:70: warning: no header providing "ARX_HAVE_PRCTL" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:85:2: warning: no header providing "pthread_attr_t" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:86:2: warning: no header providing "pthread_attr_init" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:88:2: warning: no header providing "sched_param" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:90:2: warning: no header providing "pthread_attr_setschedparam" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:92:2: warning: no header providing "pthread_create" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:94:2: warning: no header providing "pthread_attr_destroy" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:101:6: warning: no header providing "ARX_HAVE_SCHED_GETSCHEDULER" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:102:2: warning: variable 'policy' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:107:2: warning: variable 'min' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:108:2: warning: variable 'max' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/Thread.cpp:115:3: warning: no header providing "pthread_setschedparam" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:123:3: warning: no header providing "pthread_join" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:137:2: warning: no header providing "pthread_setname_np" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:168:2: warning: no header providing "pthread_exit" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:172:9: warning: no header providing "pthread_self" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:341:27: warning: no header providing "ARX_HAVE_BUILTIN_IA32_FXSAVE" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:395:5: warning: no header providing "ARX_HAVE_NANOSLEEP" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:399:20: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:402:13: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/platform/Thread.cpp:402:20: warning: no header providing "toUs" is directly included [misc-include-cleaner] +Arx/src/platform/Thread.cpp:403:14: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] +Arx/src/platform/Thread.h:41:7: warning: class 'Thread' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/Thread.h:67:7: warning: enum 'Priority' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/Time.cpp:32:8: warning: no header providing "clockid_t" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:32:18: warning: variable 'g_clockId' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/Time.cpp:32:30: warning: no header providing "CLOCK_REALTIME" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:48:1: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/platform/Time.cpp:50:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/Time.cpp:51:9: warning: no header providing "PlatformInstantUs" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:55:2: warning: no header providing "Autolock" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:55:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:76:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:88:72: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:92:51: warning: no header providing "boost::interprocess::create_only" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:95:34: warning: no header providing "CrashInfo" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:104:21: warning: no header providing "boost::interprocess::interprocess_exception" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:126:2: warning: variable 'exe' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:157:3: warning: variable 'absolute' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:164:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:190:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:223:34: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:224:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:231:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:237:2: warning: variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:238:2: warning: variable 'remaining' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:240:2: warning: variable 'n' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:252:3: warning: variable 'absolute' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:259:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:275:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:283:2: warning: variable 'location' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:292:3: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:296:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:305:2: warning: variable 'nbReportsToDelete' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:309:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:315:46: warning: no header providing "CrashHandler" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:316:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.cpp:322:2: warning: variable 'autoLock' of type 'Autolock' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerImpl.h:46:7: warning: class 'CrashHandlerImpl' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:59:27: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:59:43: warning: no header providing "ARX_PLATFORM_LINUX" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:60:1: warning: included header ucontext.h is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:77:1: warning: included header Thread.h is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:84:13: warning: function 'signalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:84:39: warning: no header providing "siginfo_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:90:13: warning: function 'registerSignalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:98:13: warning: function 'unregisterSignalHandler' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:130:40: warning: variable 'm_sInstance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:130:40: warning: variable 'm_sInstance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:136:17: warning: function 'getCoreDumpFile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:140:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:160:9: warning: no header providing "std::replace" is directly included [misc-include-cleaner] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:179:30: warning: narrowing conversion from 'unsigned long' to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:179:30: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:296:6: warning: no header providing "CrashHandlerImpl" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:302:14: warning: multilevel pointer conversion from 'void **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:310:2: warning: variable 'core' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:329:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:364:13: warning: function 'removeCrashHandlers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:414:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:414:18: warning: no header providing "CrashHandler" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:427:28: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:427:41: warning: no header providing "si_addr" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:442:3: warning: no header providing "ucontext_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:491:2: warning: variable 'processor' of type 'pid_t' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:498:32: warning: no header providing "WNOHANG" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:511:8: warning: no header providing "std::abort" is directly included [misc-include-cleaner] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:515:40: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.cpp:515:40: warning: do not use const_cast to remove const qualifier [cppcoreguidelines-pro-type-const-cast] +Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:27:7: warning: class 'CrashHandlerPOSIX' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:60:29: warning: variable 'm_sInstance' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/platform/crashhandler/CrashHandlerPOSIX.h:60:29: warning: variable 'm_sInstance' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:72:18: warning: use nullptr [modernize-use-nullptr] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:77:2: warning: function is not thread safe [concurrency-mt-unsafe] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:80:24: warning: function 'processCrash' has cognitive complexity of 74 (threshold 25) [readability-function-cognitive-complexity] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:91:9: warning: do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:91:69: warning: use nullptr [modernize-use-nullptr] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:97:37: warning: use nullptr [modernize-use-nullptr] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:100:21: warning: function is not thread safe [concurrency-mt-unsafe] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:126:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:127:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:152:41: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:167:21: warning: function is not thread safe [concurrency-mt-unsafe] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:176:16: warning: variable name 'os' is too short, expected at least 3 characters [readability-identifier-length] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:209:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:210:34: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:217:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/platform/crashhandler/CrashProcessorImpl.cpp:218:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:22:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:23:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:43:1: warning: included header time.h is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:47:1: warning: included header prctl.h is not used directly [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:68:13: warning: function 'getProcessSatus' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:68:55: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:84:39: warning: no header providing "std::streamsize" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:91:28: warning: no header providing "ARX_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:91:44: warning: no header providing "ARX_PLATFORM_MACOS" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:109:3: warning: variable 'pagesize' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:122:2: warning: no header providing "pid_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:122:2: warning: variable 'processor' of type 'pid_t' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:126:3: warning: variable 'child' of type 'pid_t' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:130:33: warning: no header providing "WNOHANG" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:143:9: warning: no header providing "std::abort" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:158:3: warning: variable 'ticksPerSecond' of type 'u64' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:305:2: warning: no header providing "intptr_t" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:307:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:320:4: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:327:7: warning: enum 'FrameType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:335:17: warning: no header providing "std::hex" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:351:10: warning: no header providing "std::getline" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:361:3: warning: variable 'exe' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:373:5: warning: variable 'it' of type 'std::map::const_iterator' (aka '_Rb_tree_const_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:397:5: warning: variable 'offset' of type 'u64' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:420:3: warning: variable 'pid' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:431:3: warning: variable 'gdbstdout' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:444:7: warning: variable 'sstart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:455:8: warning: variable 'pend' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:460:7: warning: variable 'fstart' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:462:8: warning: variable 'fend' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:485:2: warning: variable 'coredump' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:491:18: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:493:3: warning: variable 'core' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:494:3: warning: variable 'crashReportDir' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:496:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:514:3: warning: variable 'pid' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:518:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:521:4: warning: variable 'filename' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/src/platform/crashhandler/CrashProcessorPOSIX.cpp:523:5: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/platform/profiler/Profiler.cpp:22:5: warning: no header providing "BUILD_PROFILER_INSTRUMENT" is directly included [misc-include-cleaner] +Arx/src/platform/profiler/Profiler.cpp:311:42: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/platform/profiler/Profiler.cpp:312:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/platform/profiler/ProfilerDataFormat.h:36:6: warning: enum 'ArxProfilerChunkType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/Background.cpp:31:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:52:13: warning: function 'ReleaseBKG_INFO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Background.cpp:61:2: warning: no header providing "AnchorData_ClearAll" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:71:13: warning: function 'EERIEPOLY_Add_PolyIn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Background.cpp:71:59: warning: no header providing "EERIEPOLY" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:77:13: warning: function 'PointInBBox' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Background.cpp:77:31: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:77:52: warning: no header providing "Rectf" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:89:3: warning: variable 'minx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:90:3: warning: variable 'minz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:91:3: warning: variable 'maxx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:92:3: warning: variable 'maxz' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:94:3: warning: variable 'bbmin' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:95:3: warning: variable 'bbmax' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:97:3: warning: variable 'bb' of type 'Rectf' (aka 'Rectangle_') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:99:3: warning: variable 'bbcenter' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:106:8: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:110:5: warning: variable 'nbvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:110:31: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] -Arx/src/scene/Background.cpp:116:39: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Background.cpp:116:39: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Background.cpp:129:20: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/scene/Background.cpp:155:2: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Background.cpp:156:81: warning: no header providing "NULL" is directly included [misc-include-cleaner] -Arx/src/scene/Background.h:50:14: warning: performing an implicit widening conversion to type 'std::size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/scene/Background.h:50:14: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/src/scene/Background.h:81:3: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:65:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:84:1: warning: included header Hud.h is not used directly [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:125:13: warning: function 'ARX_CHANGELEVEL_Push_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:126:13: warning: function 'ARX_CHANGELEVEL_PushLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:127:13: warning: function 'ARX_CHANGELEVEL_PopLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:128:49: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:129:13: warning: function 'ARX_CHANGELEVEL_Push_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:130:13: warning: function 'ARX_CHANGELEVEL_Pop_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:131:13: warning: function 'ARX_CHANGELEVEL_Push_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:132:13: warning: function 'ARX_CHANGELEVEL_Push_AllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:133:13: warning: function 'ARX_CHANGELEVEL_Push_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:134:17: warning: function 'ARX_CHANGELEVEL_Pop_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:134:70: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:136:17: warning: variable 'CURRENT_GAME_FILE' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:149:20: warning: variable 'g_currentSavedGame' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:150:20: warning: variable 'g_currentPlathrough' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:152:17: warning: function 'convertToValidIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:168:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:168:2: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:197:17: warning: function 'ConvertToValidIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:197:17: warning: function 'ConvertToValidIO<64UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:202:21: warning: function 'ReadTargetInfo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:202:21: warning: function 'ReadTargetInfo<64UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:204:2: warning: variable 'idString' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:209:10: warning: no header providing "EntityHandle_Self" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:211:10: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:218:12: warning: function 'GetIOAnimIdx2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:218:51: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:224:24: warning: no header providing "MAX_ANIMS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:252:13: warning: function 'openCurrentSavedGameFile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:309:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:311:13: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:331:2: warning: variable 'num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:343:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:345:4: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:345:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:373:13: warning: function 'ARX_CHANGELEVEL_PushLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:403:13: warning: function 'IsPlayerEquipedWith' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:409:2: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:424:13: warning: function 'ARX_CHANGELEVEL_Push_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:433:22: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:445:24: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:459:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:462:26: warning: no header providing "audio::PLAYING_AMBIANCE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:462:73: warning: no header providing "audio::PLAYING_AMBIANCE_ZONE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:467:2: warning: variable 'allocsize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:476:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:510:9: warning: no header providing "std::memset" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:534:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:539:21: warning: function 'getVariableType' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:553:15: warning: function 'getScriptVariableSaveSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:559:3: warning: variable 'type' of type 'VariableType' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:568:13: warning: function 'storeScriptVariables' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:615:13: warning: function 'ARX_CHANGELEVEL_Push_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/scene/ChangeLevel.cpp:620:20: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:620:20: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:623:2: warning: variable 'allocsize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:641:13: warning: function 'storeIdString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:641:13: warning: function 'storeIdString<64UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:648:3: warning: variable 'idString' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:655:13: warning: function 'ARX_CHANGELEVEL_Push_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:702:25: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:704:10: warning: no header providing "Precast" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:717:27: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:729:2: warning: variable 'jumpstart' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:729:45: warning: no header providing "GameDurationUs" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:729:60: warning: no header providing "toUs" is directly included [misc-include-cleaner] -Arx/src/scene/ChangeLevel.cpp:792:24: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/scene/ChangeLevel.cpp:793:20: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:792:24: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:793:20: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:816:3: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:849:13: warning: function 'ARX_CHANGELEVEL_Push_AllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:864:17: warning: function 'GetObjIOSource' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/scene/ChangeLevel.cpp:889:41: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/ChangeLevel.cpp:889:41: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/ChangeLevel.cpp:900:13: warning: function 'ARX_CHANGELEVEL_Push_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:911:2: warning: variable 'savefile' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:916:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:919:26: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:922:26: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:925:26: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:945:23: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:946:46: warning: no header providing "SPELL_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:947:46: warning: no header providing "SPELL_MASS_PARALYSE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:965:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] -Arx/src/scene/ChangeLevel.cpp:987:20: warning: narrowing conversion from 'std::set>::size_type' (aka 'unsigned long') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:987:20: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] -Arx/src/scene/ChangeLevel.cpp:1117:17: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1077:24: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1099:2: warning: variable 'allocsize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1117:17: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's16' (aka 'short') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1126:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1126:25: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1132:5: warning: use `std::max` instead of `<` [readability-use-std-min-max] -Arx/src/scene/ChangeLevel.cpp:1154:17: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1154:17: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 's32' (aka 'int') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/ChangeLevel.cpp:1328:11: warning: no header providing "std::set" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1334:18: warning: no header providing "TWEAK_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1347:38: warning: function 'ARX_CHANGELEVEL_Pop_Index' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1363:3: warning: variable 'loop' of type 'SoundLoopMode' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1364:3: warning: variable 'name' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1390:13: warning: function 'ARX_CHANGELEVEL_Pop_Zones_n_Lights' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1439:13: warning: function 'ARX_CHANGELEVEL_Pop_Level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1442:2: warning: variable 'levelFile' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1476:2: warning: no header providing "EERIE_ANIMMANAGER_PurgeUnused" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1481:13: warning: function 'ARX_CHANGELEVEL_Pop_Player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1549:3: warning: no header providing "PRECAST_STRUCT" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1549:3: warning: variable 'precastSlot' of type 'PRECAST_STRUCT' can be declared 'const' [misc-const-correctness] -Arx/src/scene/ChangeLevel.cpp:1563:21: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1564:2: warning: no header providing "PlatformInstant" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1564:2: warning: variable 'jumpstart' of type 'PlatformInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1565:32: warning: no header providing "PlatformDurationUs" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1565:51: warning: no header providing "toUs" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1565:56: warning: no header providing "GameInstantMs" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1612:39: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1640:4: warning: no header providing "ReleaseAnimFromIO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1643:18: warning: no header providing "EERIE_ANIMMANAGER_Load" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1724:13: warning: function 'loadScriptVariables' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/scene/ChangeLevel.cpp:1735:38: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1734:3: warning: variable 'type' of type 'VariableType' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1766:17: warning: function 'ARX_CHANGELEVEL_Pop_IO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:1794:54: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1812:3: warning: variable 'graphPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1820:2: warning: variable 'classPath' of type 'res::path' can be declared 'const' [misc-const-correctness] -Arx/src/scene/ChangeLevel.cpp:1871:18: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/ChangeLevel.cpp:1875:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:1842:7: warning: no header providing "isallfinite" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1871:18: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1875:14: warning: no header providing "EntityVisilibity" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:1892:3: warning: variable 'nb_iogroups' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:1966:4: warning: variable 'nn' of type 's32' (aka 'int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2000:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2040:3: warning: variable 'over_allowevents' of type 'DisabledEvents' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2062:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] -Arx/src/scene/ChangeLevel.cpp:2090:30: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/ChangeLevel.cpp:2071:29: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2154:37: warning: no header providing "IO_EQUIPITEM" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2214:27: warning: no header providing "IO_TWEAKER_INFO" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2260:3: warning: variable 'hidegore' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2286:13: warning: function 'ARX_CHANGELEVEL_PopAllIO' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2324:13: warning: function 'ARX_CHANGELEVEL_PopAllIO_FINISH' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2342:37: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2342:74: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/scene/ChangeLevel.cpp:2414:13: warning: function 'ARX_CHANGELEVEL_Pop_Globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2440:2: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2450:13: warning: function 'ARX_CHANGELEVEL_PopLevel' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2466:2: warning: variable 'levelSave' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2598:2: warning: variable 'engineVersion' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/ChangeLevel.cpp:2620:13: warning: function 'ARX_CHANGELEVEL_Get_Player_LevelData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/ChangeLevel.cpp:2630:7: warning: no header providing "std::memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:53:1: warning: included header foreach.hpp is not used directly [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:77:1: warning: included header Thread.h is not used directly [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:81:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:85:14: warning: no header providing "audio::AmbianceId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:86:14: warning: no header providing "audio::EnvId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:87:14: warning: no header providing "audio::FLAG_VOLUME" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:88:14: warning: no header providing "audio::FLAG_POSITION" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:89:14: warning: no header providing "audio::FLAG_REVERBERATION" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:90:14: warning: no header providing "audio::FLAG_FALLOFF" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:91:14: warning: no header providing "audio::FLAG_PITCH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:92:14: warning: no header providing "audio::FLAG_RELATIVE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:93:14: warning: no header providing "audio::FLAG_AUTOFREE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:98:14: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:98:52: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:109:19: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:118:13: warning: variable 'g_soundInitialized' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:120:19: warning: variable 'g_zoneAmbiance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:121:19: warning: variable 'g_menuAmbiance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:123:15: warning: no header providing "audio::SampleHandle" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:123:28: warning: variable 'g_soundMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:123:60: warning: no header providing "MAX_MATERIALS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:165:8: warning: no header providing "audio::MixerId" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:176:13: warning: function 'ARX_SOUND_EnvironmentSet' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:177:13: warning: function 'ARX_SOUND_CreateEnvironments' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:178:13: warning: function 'ARX_SOUND_CreateStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:179:13: warning: function 'ARX_SOUND_ReleaseStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:180:13: warning: function 'ARX_SOUND_CreateCollisionMaps' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:181:13: warning: function 'ARX_SOUND_CreateMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:182:13: warning: function 'ARX_SOUND_CreatePresenceMap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:183:14: warning: function 'GetSamplePresenceFactor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:282:34: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:294:3: warning: variable 'e_id' of type 'EnvId' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:301:15: warning: no header providing "audio::SourcedSample" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:301:29: warning: function 'ARX_SOUND_PlaySFX_int' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:308:9: warning: no header providing "audio::Channel" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:313:6: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:313:18: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:324:2: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:345:13: warning: function 'playSample' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:370:14: warning: function 'ARX_SOUND_IOFrontPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:389:18: warning: function 'speechFileName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:402:2: warning: variable 'sample_id' of type 'audio::SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:424:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:436:30: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:441:13: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:444:13: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:447:2: warning: variable 'sample_id' of type 'audio::SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:457:2: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:468:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:485:2: warning: variable 'mi' of type 'CollisionMaps::iterator' (aka '_Rb_tree_iterator, std::map, (anonymous namespace)::SoundMaterial, std::less>, std::allocator, (anonymous namespace)::SoundMaterial>>>>>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:491:2: warning: variable 'ci' of type 'CollisionMap::iterator' (aka '_Rb_tree_iterator, (anonymous namespace)::SoundMaterial>>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:497:2: warning: variable 'sample_id' of type 'audio::SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:505:2: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:529:2: warning: variable 'sample_id' of type 'audio::SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:579:3: warning: variable 'presence' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:593:2: warning: variable 'sample_id' of type 'audio::SampleHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:607:3: warning: variable 'frontUp' of type 'std::pair' (aka 'pair, vec<3, float, glm::highp>>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:607:8: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:621:1: warning: no header providing "GameDuration" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:626:10: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:694:2: warning: variable 'temp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:703:52: warning: no header providing "audio::PLAYING_AMBIANCE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:734:2: warning: variable 'temp' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:739:52: warning: no header providing "audio::PLAYING_AMBIANCE_ZONE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:776:63: warning: no header providing "audio::PLAYING_AMBIANCE_MENU" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:787:13: warning: function 'ARX_SOUND_CreateEnvironments' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:789:2: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:799:28: warning: function 'createEffectSample' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:803:13: warning: function 'ARX_SOUND_CreateStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:840:13: warning: no header providing "RUNE_AAM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:841:13: warning: no header providing "RUNE_CETRIUS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:842:13: warning: no header providing "RUNE_COSUM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:843:13: warning: no header providing "RUNE_COMUNICATUM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:844:13: warning: no header providing "RUNE_FOLGORA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:845:13: warning: no header providing "RUNE_FRIDD" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:846:13: warning: no header providing "RUNE_KAOM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:847:13: warning: no header providing "RUNE_MEGA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:848:13: warning: no header providing "RUNE_MORTE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:849:13: warning: no header providing "RUNE_MOVIS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:850:13: warning: no header providing "RUNE_NHI" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:851:13: warning: no header providing "RUNE_RHAA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:852:13: warning: no header providing "RUNE_SPACIUM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:853:13: warning: no header providing "RUNE_STREGUM" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:854:13: warning: no header providing "RUNE_TAAR" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:855:13: warning: no header providing "RUNE_TEMPUS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:856:13: warning: no header providing "RUNE_TERA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:857:13: warning: no header providing "RUNE_VISTA" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:858:13: warning: no header providing "RUNE_VITAE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:859:13: warning: no header providing "RUNE_YOK" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:950:13: warning: function 'ARX_SOUND_ReleaseStaticSamples' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:958:8: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:959:8: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:960:8: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:961:8: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:962:8: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:963:8: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:964:8: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:966:8: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:967:8: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:968:8: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:969:8: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:970:8: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:971:8: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:972:8: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:973:8: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:979:13: warning: function 'ARX_SOUND_CreateCollisionMaps' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:988:3: warning: variable 'data' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1002:10: warning: no header providing "IniSection" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1006:11: warning: no header providing "IniKey" is directly included [misc-include-cleaner] +Arx/src/scene/GameSound.cpp:1046:13: warning: function 'ARX_SOUND_CreateMaterials' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/scene/GameSound.cpp:1055:61: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/GameSound.cpp:1056:48: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/GameSound.cpp:1066:13: warning: function 'ARX_SOUND_CreatePresenceMap' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1070:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1072:2: warning: variable 'data' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1092:3: warning: variable 'factor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.cpp:1098:14: warning: function 'GetSamplePresenceFactor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/GameSound.cpp:1103:2: warning: variable 'it' of type 'PresenceFactors::const_iterator' (aka '_Rb_tree_const_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/GameSound.h:59:6: warning: enum 'SoundLoopMode' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/Interactive.cpp:50:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:54:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:66:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:68:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:77:1: warning: included header Levels.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:96:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:97:1: warning: included header Filesystem.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:98:1: warning: included header SystemPaths.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:120:1: warning: included header ScriptEvent.h is not used directly [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:125:13: warning: function 'IsCollidingInter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:125:49: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:126:17: warning: function 'AddCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:126:56: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:127:17: warning: function 'AddMarker' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:130:17: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:132:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/scene/Interactive.cpp:154:28: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:157:2: warning: variable 'shop_multiply' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:158:2: warning: variable 'durability_ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:165:2: warning: variable 'price' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:170:13: warning: function 'ARX_INTERACTIVE_ForceIOLeaveZone' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:177:2: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:179:3: warning: no header providing "ScriptParameters" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:182:3: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:182:40: warning: no header providing "SM_CONTROLLEDZONE_LEAVE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:192:2: warning: variable 'n' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:203:2: warning: no header providing "ARX_SCRIPT_EventStackClearForIo" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:206:3: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:213:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:217:18: warning: no header providing "PlatformDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:239:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:240:17: warning: no header providing "SHOW_FLAG_LINKED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:254:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:255:17: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:267:2: warning: no header providing "ObjSelection" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:267:2: warning: variable 'grp' of type 'ObjSelection' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:271:4: warning: no header providing "EERIE_FACE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:276:23: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:348:53: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:351:11: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:387:24: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:388:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:392:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:392:15: warning: no header providing "actionPointPosition" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:396:19: warning: no header providing "std::sin" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:396:28: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:421:22: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:438:20: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:448:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:450:41: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:451:8: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:452:53: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:482:2: warning: variable 'Cam_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:483:2: warning: variable 'PlayerRoom' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:486:2: warning: variable 'sGlobalPlayerRoom' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:501:6: warning: no header providing "g_roomDistance" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:521:59: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:522:28: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:522:63: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] -Arx/src/scene/Interactive.cpp:525:33: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:525:22: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:525:33: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:527:28: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:536:7: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:537:20: warning: no header providing "arx::distance2" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:540:8: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:542:22: warning: no header providing "SP_GetRoomDist" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:546:7: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:561:22: warning: no header providing "GFLAG_WASINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:583:36: warning: no header providing "SM_TREATOUT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:583:52: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:593:2: warning: variable 'M_TREAT' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:612:9: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:638:26: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:656:51: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:674:26: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:688:2: warning: variable 'pbox' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:717:13: warning: function 'ARX_INTERACTIVE_ClearIODynData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:730:13: warning: function 'ARX_INTERACTIVE_ClearIODynData_II' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:743:2: warning: no header providing "ARX_SCRIPT_Timer_Clear_For_IO" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:752:24: warning: no header providing "MAX_ANIMS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:791:19: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:810:13: warning: function 'RestoreIOInitPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:848:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:849:19: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:862:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:863:21: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:864:21: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:866:21: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:867:21: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:868:21: warning: no header providing "GFLAG_HIDEWEAPON" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:869:21: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:870:21: warning: no header providing "GFLAG_INTERACTIVITYHIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:871:21: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:872:21: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:874:16: warning: no header providing "BASE_RUBBER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:881:18: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:896:32: warning: no header providing "GameInstantMs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:902:33: warning: no header providing "MAX_ANIM_LAYERS" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:914:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:962:20: warning: no header providing "COLLIDE_WITH_PLAYER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:985:2: warning: variable 'icontochange' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:994:3: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1012:2: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1014:2: warning: variable 'pos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1021:2: warning: no header providing "CloneLocalVars" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1062:3: warning: variable 'mod' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1066:3: warning: variable 'anything' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1069:21: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1070:22: warning: no header providing "CheckTopPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1088:12: warning: no header providing "scriptTimerExists" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1092:2: warning: no header providing "SCR_TIMER" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1092:22: warning: no header providing "createScriptTimer" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1093:19: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1097:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:1117:3: warning: variable 'vvp' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1124:3: warning: variable 'diff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1126:3: warning: variable 'eediff' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1131:4: warning: variable 'mul' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1135:11: warning: no header providing "toMs" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1137:11: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1145:6: warning: variable 'ratio' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1152:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:1156:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:1192:2: warning: variable 'translate' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1285:2: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1291:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:1307:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/scene/Interactive.cpp:1315:23: warning: function 'getFreeEntityInstance' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1317:2: warning: variable 'className' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1318:2: warning: variable 'classDir' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1322:3: warning: variable 'idString' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1345:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1346:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1364:2: warning: no header providing "loadScript" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1367:31: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1381:11: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1409:17: warning: function 'AddCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1411:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1412:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1461:17: warning: function 'AddMarker' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1463:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1464:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1563:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1564:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1642:20: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1646:20: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1649:2: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1650:2: warning: variable 'script' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1651:2: warning: variable 'icon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1694:39: warning: no header providing "std::floor" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1765:3: warning: variable 'bPass' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1786:6: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/scene/Interactive.cpp:1820:5: warning: variable 'n' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1820:15: warning: no header providing "PtIn2DPolyProj" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1850:20: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1853:2: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] -Arx/src/scene/Interactive.cpp:1880:35: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:1880:35: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:1903:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/scene/Interactive.cpp:1920:13: warning: function 'IsCollidingInter' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:1927:15: warning: no header providing "EERIE_VERTEX" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1931:5: warning: variable 'idx' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1938:4: warning: variable 'nbv' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1952:17: warning: no header providing "SFX_TYPE_YLSIDE_DEATH" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1970:4: warning: variable 'elapsed' of type 'GameDuration' (aka 'DurationType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1992:4: warning: variable 'last' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1996:6: warning: variable 'waypoint' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:1997:34: warning: no header providing "SM_WAYPOINT" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:1999:34: warning: no header providing "SM_PATHEND" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2005:6: warning: variable 'waypoint' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2061:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:2068:6: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/src/scene/Interactive.cpp:2071:6: warning: variable 'f2' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2087:38: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2106:27: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2144:12: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2166:2: warning: no header providing "UseTextureState" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2166:2: warning: variable 'textureState' of type 'UseTextureState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2181:3: warning: variable 'invisibility' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2204:5: warning: variable 'rotation' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2204:10: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2205:5: warning: variable 't' of type 'TransformInfo' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2215:30: warning: variable 'toDestroy' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:2252:74: warning: no header providing "IO_UNIQUE" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2267:13: warning: function 'intersect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Interactive.cpp:2267:34: warning: no header providing "std::set" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2305:61: warning: no header providing "SPELL_ARMOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2306:61: warning: no header providing "SPELL_LOWER_ARMOR" is directly included [misc-include-cleaner] +Arx/src/scene/Interactive.cpp:2328:3: warning: variable 'fallvector' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Interactive.cpp:2329:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] -Arx/src/scene/Interactive.cpp:2342:39: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2342:39: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/scene/Interactive.cpp:2346:42: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2346:42: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/scene/Interactive.cpp:2352:43: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2352:43: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/scene/Interactive.cpp:2358:44: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2358:44: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/scene/Interactive.cpp:2363:45: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/scene/Interactive.cpp:2363:45: warning: repeated branch body in conditional chain [bugprone-branch-clone] -Arx/src/scene/Interactive.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/scene/Interactive.h:64:6: warning: enum 'TargetInfo' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/Interactive.h:69:6: warning: enum 'AddInteractiveFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/Interactive.h:77:6: warning: enum 'DeleteByIndexFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/Light.cpp:49:1: warning: included header size.hpp is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:51:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:53:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:62:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:66:1: warning: included header Object.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:68:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/scene/Light.cpp:72:14: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:79:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:81:22: warning: variable 'g_culledStaticLights' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:98:3: warning: variable 'infra' of type 'Color3f' (aka 'Color3') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:129:24: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:147:13: warning: function 'ComputeLight2DPos' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:149:2: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:149:2: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:149:12: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:154:2: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:154:2: warning: variable 'pos2d' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:157:3: warning: variable 'siz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:158:3: warning: variable 'fMaxdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:160:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:175:4: warning: variable 'fMaxdist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:177:8: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:177:32: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:191:13: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:194:8: warning: variable '_pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:196:9: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:196:36: warning: no header providing "SM_CUSTOM" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:210:8: warning: variable '_pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:228:35: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:228:55: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:232:26: warning: no header providing "componentwise_max" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:247:5: warning: variable 'sub' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:279:24: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:282:5: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:317:13: warning: function 'lightHandleIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:384:2: warning: variable 'handle' of type 'LightHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:407:15: warning: variable 'MAX_LLIGHTS' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:410:13: warning: function 'Insertllight' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:419:20: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:422:6: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr] +Arx/src/scene/Light.cpp:429:2: warning: variable 'threshold' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:435:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/scene/Light.cpp:460:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:503:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:506:20: warning: variable 'tilelights' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Light.cpp:506:31: warning: no header providing "MAX_BKGX" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:506:41: warning: no header providing "MAX_BKGZ" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:520:2: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:520:2: warning: variable 'tileCenter' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:520:44: warning: no header providing "g_backgroundTileSize" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:525:6: warning: no header providing "closerThan" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:551:3: warning: variable 'dd' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:559:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:568:16: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:575:19: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:579:3: warning: variable 'to' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:579:25: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:580:3: warning: variable 'div' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:582:3: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:582:3: warning: variable 'tile' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:582:16: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:591:4: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:591:4: warning: variable 'col' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:601:16: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:609:15: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:621:3: warning: variable 'vLight' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:621:23: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:623:25: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:627:4: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:633:5: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:650:2: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/scene/Light.cpp:650:2: warning: variable 'ir' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:651:2: warning: variable 'ig' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:652:2: warning: variable 'ib' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:666:2: warning: variable 'nbvert' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:676:3: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:681:3: warning: variable 'position' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:682:3: warning: variable 'normal' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:687:4: warning: variable 'vLight' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:692:5: warning: variable 'distance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:697:6: warning: variable 'p' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:710:3: warning: variable 'ir' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:711:3: warning: variable 'ig' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Light.cpp:712:3: warning: variable 'ib' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] -Arx/src/scene/Light.h:51:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/scene/Light.h:80:6: warning: enum 'EERIE_TYPES_EXTRAS_MODE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] -Arx/src/scene/LinkedObject.cpp:72:44: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type '__gnu_cxx::__normal_iterator>::difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LinkedObject.cpp:72:44: warning: narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/LinkedObject.cpp:78:93: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/LinkedObject.cpp:85:2: warning: no header providing "ActionPoint" is directly included [misc-include-cleaner] +Arx/src/scene/LinkedObject.cpp:85:2: warning: variable 'ni' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:90:2: warning: variable 'group' of type 'ObjVertGroup' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:95:2: warning: variable 'ni2' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LinkedObject.cpp:100:2: warning: no header providing "EERIE_LINKED" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:51:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:52:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:60:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:61:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:62:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:98:52: warning: no header providing "EntityInstance" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:99:29: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:99:48: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:101:2: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:101:2: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:106:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:120:5: warning: no header providing "PakDirectory" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:121:3: warning: no header providing "loadScript" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:124:5: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:124:33: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:124:45: warning: no header providing "ACCEPT" is directly included [misc-include-cleaner] -Arx/src/scene/LoadLevel.cpp:138:10: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:125:3: warning: variable 'pbox' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:125:30: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:127:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:137:2: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:142:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:142:31: warning: variable 'g_levelLighting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LoadLevel.cpp:144:13: warning: function 'loadLights' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LoadLevel.cpp:155:3: warning: variable 'j' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:198:13: warning: function 'loadLighting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/LoadLevel.cpp:203:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:211:10: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:212:9: warning: no header providing "std::transform" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:218:9: warning: no header providing "std::transform" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:231:2: warning: variable 'lightingFileName' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:244:2: warning: no header providing "PakFile" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:250:2: warning: no header providing "memcpy" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:274:5: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:289:3: warning: variable 'scene' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:291:6: warning: no header providing "FastSceneLoad" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:297:3: warning: no header providing "EERIEPOLY_Compute_PolyIn" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:323:4: warning: variable 'graphPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:328:4: warning: variable 'classPath' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:340:2: warning: variable 'nb_lights' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:356:3: warning: variable 'n' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:375:4: warning: variable 'out' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:375:35: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:397:3: warning: variable 'ppos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:399:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:401:3: warning: no header providing "s32" is directly included [misc-include-cleaner] -Arx/src/scene/LoadLevel.cpp:443:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/LoadLevel.cpp:445:30: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:460:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:521:2: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:521:25: warning: no header providing "BOOKMODE_STATS" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:532:2: warning: no header providing "InitBkg" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:532:10: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:564:38: warning: no header providing "CountBkgVertex" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:574:3: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:576:4: warning: variable 'nbvert' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/LoadLevel.cpp:576:29: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/LoadLevel.cpp:582:35: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:52:1: warning: included header case_conv.hpp is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:56:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:60:1: warning: included header EntityManager.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:63:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:67:1: warning: included header FilePath.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:68:1: warning: included header SystemPaths.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:70:1: warning: included header PakReader.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:73:1: warning: included header CollisionShapes.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:79:1: warning: included header Light.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:81:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/src/scene/Object.cpp:86:73: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:91:22: warning: no header providing "VertexGroup" is directly included [misc-include-cleaner] -Arx/src/scene/Object.cpp:119:15: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:119:15: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:120:21: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:147:3: warning: variable 'lHeadOrigin' of type 'ObjVertHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:291:13: warning: function 'GetFather' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Object.cpp:316:25: warning: no header providing "Skeleton" is directly included [misc-include-cleaner] +Arx/src/scene/Object.cpp:324:3: warning: no header providing "Bone" is directly included [misc-include-cleaner] -Arx/src/scene/Object.cpp:343:16: warning: narrowing conversion from 'unsigned long' to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:343:16: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'long' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Object.cpp:365:19: warning: variable 'index' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:383:5: warning: variable 'parent' of type 'Bone &' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:397:17: warning: variable 'index' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Object.cpp:418:2: warning: variable 'offset' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/SaveFormat.h:64:6: warning: enum 'SavedIOType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/SaveFormat.h:72:6: warning: enum 'SystemFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/SaveFormat.h:79:6: warning: enum 'SavePlayerFlag' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/scene/SaveFormat.h:91:6: warning: enum 'VariableType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] -Arx/src/scene/SaveFormat.h:309:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:548:54: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:550:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:551:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:552:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:553:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:708:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/scene/SaveFormat.h:857:15: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/scene/Scene.cpp:60:1: warning: included header Application.h is not used directly [misc-include-cleaner] +Arx/src/scene/Scene.cpp:77:1: warning: included header DrawLine.h is not used directly [misc-include-cleaner] +Arx/src/scene/Scene.cpp:89:1: warning: included header Input.h is not used directly [misc-include-cleaner] +Arx/src/scene/Scene.cpp:103:1: warning: no header providing "EERIE_PORTAL_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:107:22: warning: no header providing "SMY_VERTEX3" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:133:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:140:3: warning: variable 'flags' of type 'BufferFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:166:12: warning: no header providing "Renderer" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:188:8: warning: no header providing "Plane" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:188:14: warning: variable 'efpPlaneNear' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:190:33: warning: variable 'vPolyWater' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:191:33: warning: variable 'vPolyLava' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:193:20: warning: no header providing "PORTAL_ROOM_DRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:193:38: warning: variable 'RoomDraw' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:194:28: warning: variable 'RoomDrawList' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:196:1: warning: no header providing "Vec2f" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:196:51: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:200:13: warning: function 'ApplyLavaGlowToVertex' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:200:55: warning: no header providing "ColorRGBA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:202:11: warning: no header providing "Color4f" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:205:13: warning: function 'ManageWater_VertexBuffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:213:17: warning: no header providing "POLY_FALL" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:221:13: warning: function 'ManageLava_VertexBuffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:238:52: warning: no header providing "EERIE_FRUSTRUM" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:240:13: warning: function 'FrustrumsClipSphere' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:240:39: warning: no header providing "EERIE_FRUSTRUM_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:243:2: warning: variable 'dists' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:243:16: warning: no header providing "distanceToPoint" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:259:5: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:259:32: warning: no header providing "g_camera" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:263:2: warning: variable 'room_num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:265:3: warning: variable 'frustrums' of type 'EERIE_FRUSTRUM_DATA &' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:274:13: warning: function 'IsBBoxInFrustrum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:274:36: warning: no header providing "EERIE_3D_BBOX" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:315:13: warning: function 'FrustrumsClipBBox3D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:341:26: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:351:5: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:375:26: warning: no header providing "glm::distance" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:377:5: warning: variable 'frustrums' of type 'EERIE_FRUSTRUM_DATA &' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:393:20: warning: function 'ARX_PORTALS_GetRoomNumForPosition2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:397:8: warning: no header providing "CheckInPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:409:7: warning: no header providing "GetMinPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:421:3: warning: variable 'off' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:458:20: warning: function 'ARX_PORTALS_GetRoomNumForCamera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:501:3: warning: variable 'direction' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:523:23: warning: no header providing "EERIE_ROOM_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:524:18: warning: variable 'portal' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:525:11: warning: no header providing "EERIE_PORTALS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:526:11: warning: no header providing "PortalPoly" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:527:8: warning: no header providing "PointIn2DPolyXZ" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:529:9: warning: no header providing "GetTruePolyY" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:554:13: warning: function 'ARX_PORTALS_Frustrum_ClearIndexCount' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:562:3: warning: no header providing "GRenderer" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:574:13: warning: function 'ARX_PORTALS_InitDrawnRooms' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:617:13: warning: function 'FrustrumsClipPoly' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:628:14: warning: function 'CreatePlane' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:632:2: warning: variable 'A' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:633:2: warning: variable 'B' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:650:23: warning: function 'CreateFrustrum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:669:23: warning: function 'CreateScreenFrustrum' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:673:7: warning: no header providing "glm::mat4x4" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:673:28: warning: no header providing "g_preparedCamera" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:681:3: warning: no header providing "normalizePlane" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:728:13: warning: function 'RoomFrustrumAdd' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:729:43: warning: no header providing "MAX_FRUSTRUMS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:735:13: warning: function 'RenderWaterBatch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:754:14: warning: function 'FluidTextureDisplacement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:759:2: warning: variable 'u' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:759:54: warning: no header providing "glm::sin" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:760:2: warning: variable 'v' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:760:54: warning: no header providing "glm::cos" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:765:14: warning: function 'CalculateWaterDisplacement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:784:14: warning: function 'CalculateLavaDisplacement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/src/scene/Scene.cpp:814:12: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:805:13: warning: function 'RenderWater' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:814:12: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:818:2: warning: no header providing "UseRenderState" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:818:2: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:818:23: warning: no header providing "render3D" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:818:57: warning: no header providing "CullCW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:818:86: warning: no header providing "BlendDstColor" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:818:101: warning: no header providing "BlendOne" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:826:2: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:826:15: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:831:3: warning: variable 'iNbVertex' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:831:42: warning: no header providing "POLY_QUAD" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:846:21: warning: no header providing "Color" is directly included [misc-include-cleaner] -Arx/src/scene/Scene.cpp:922:12: warning: narrowing conversion from 'std::vector::size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:880:13: warning: function 'RenderLavaBatch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:886:2: warning: variable 'baseState' of type 'RenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:897:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:904:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:904:40: warning: no header providing "BlendZero" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:904:51: warning: no header providing "BlendInvSrcColor" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:913:13: warning: function 'RenderLava' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:922:12: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/src/scene/Scene.cpp:932:2: warning: variable 'time' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:937:3: warning: variable 'iNbVertex' of type 'unsigned short' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:954:5: warning: variable 'uv' of type 'Vec2f' (aka 'vec<2, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:980:13: warning: function 'ARX_PORTALS_Frustrum_RenderRoomTCullSoft' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:982:54: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1003:22: warning: no header providing "EP_DATA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1005:3: warning: no header providing "BackgroundTileData" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1005:31: warning: no header providing "ACTIVEBKG" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1009:4: warning: variable 'tilex' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1010:4: warning: variable 'tilez' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1011:4: warning: variable 'radius' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1013:4: warning: variable 'minx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1013:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1014:4: warning: variable 'maxx' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1014:20: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1015:4: warning: variable 'minz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1016:4: warning: variable 'maxz' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1031:18: warning: no header providing "POLY_IGNORE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1031:32: warning: no header providing "POLY_NODRAW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1031:46: warning: no header providing "POLY_HIDE" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1043:3: warning: variable 'nrm' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1044:3: warning: variable 'to' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1046:19: warning: no header providing "POLY_DOUBLESIDED" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1046:45: warning: no header providing "glm::dot" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1054:17: warning: no header providing "POLY_TRANS" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1088:18: warning: no header providing "POLY_GLOW" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1117:6: warning: variable 'lr' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1119:6: warning: no header providing "Vec4f" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1119:6: warning: variable 'p' of type 'Vec4f' (aka 'vec<4, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1119:16: warning: no header providing "worldToClipSpace" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1126:16: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1127:6: warning: variable 'norm' of type 'Vec3f &' (aka 'vec<3, float, glm::highp> &') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1128:6: warning: variable 'fb' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1128:42: warning: no header providing "glm::abs" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1133:17: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1152:17: warning: no header providing "POLY_LAVA" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1153:4: warning: variable 'uvScroll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1156:24: warning: no header providing "POLY_WATER" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1157:4: warning: variable 'uvScroll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1168:13: warning: function 'BackgroundRenderOpaque' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:1185:3: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1188:30: warning: no header providing "POLY_METAL" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1200:4: warning: no header providing "EERIEDrawnPolys" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1218:13: warning: function 'BackgroundRenderTransparent' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:1233:3: warning: variable 'roomMat' of type 'SMY_ARXMAT &' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1236:4: warning: variable 'transType' of type 'BatchBucket' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1249:27: warning: no header providing "BlendSrcColor" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1267:4: warning: variable 'state' of type 'UseRenderState' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1280:13: warning: function 'ARX_PORTALS_Frustrum_ComputeRoom' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/scene/Scene.cpp:1293:2: warning: variable 'fClippZFar' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1296:16: warning: variable 'portal' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1303:3: warning: variable 'epp' of type 'PortalPoly &' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1309:4: warning: variable 'fDist0' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1323:3: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1324:3: warning: variable 'fRes' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1330:3: warning: variable 'Cull' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1332:3: warning: variable 'fd' of type 'EERIE_FRUSTRUM' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1362:2: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1364:17: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1364:44: warning: no header providing "glm::pi" is directly included [misc-include-cleaner] +Arx/src/scene/Scene.cpp:1376:2: warning: variable 'screenFrustrum' of type 'EERIE_FRUSTRUM' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1385:3: warning: variable 'room_num' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1387:4: warning: variable 'roomIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1430:3: warning: variable 'invisibility' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/scene/Scene.cpp:1430:29: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:63:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/script/Script.cpp:64:1: warning: included header Config.h is not used directly [misc-include-cleaner] +Arx/src/script/Script.cpp:100:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:101:15: warning: variable 'g_activeScriptTimers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:103:33: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:105:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:116:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] -Arx/src/script/Script.cpp:157:27: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/script/Script.cpp:258:6: warning: no header providing "u8" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:280:9: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:300:2: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:327:32: warning: no header providing "GFLAG_NEEDINIT" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:365:2: warning: variable 'heartbeat_count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:369:3: warning: variable 'i' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:375:56: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:381:3: warning: variable 'event' of type 'ScriptEventName' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:398:2: warning: no header providing "memset" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:402:17: warning: function 'getEntityParam' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:414:2: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:416:2: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:439:6: warning: no header providing "MakeTopObjString" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:450:23: warning: no header providing "atof" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:484:17: warning: no header providing "atol" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:502:18: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:545:35: warning: no header providing "toMsi" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:570:63: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:625:17: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:633:6: warning: variable 'yaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:643:6: warning: variable 'yaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:658:10: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:660:8: warning: no header providing "UpdateIORoom" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:662:7: warning: variable 'Player_Room' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:663:19: warning: no header providing "SP_GetRoomDist" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:667:6: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:669:40: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:670:43: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:674:8: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:675:8: warning: variable 'pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:700:5: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:714:6: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:715:18: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:723:5: warning: variable 'temp' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:789:6: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:808:63: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:928:5: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:928:5: warning: variable 'id' of type 'SpellType' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:928:20: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:929:14: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:930:9: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:986:6: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:992:8: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:993:8: warning: variable 'pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1057:5: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1160:27: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1161:12: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1161:39: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1163:37: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1164:30: warning: no header providing "SPELL_LIFE_DRAIN" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1165:30: warning: no header providing "SPELL_HARM" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1166:30: warning: no header providing "SPELL_FIRE_FIELD" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1167:30: warning: no header providing "SPELL_ICE_FIELD" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1168:30: warning: no header providing "SPELL_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1169:30: warning: no header providing "SPELL_MASS_LIGHTNING_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1181:5: warning: variable 'temp' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1183:5: warning: variable 'id' of type 'SpellType' can be declared 'const' [misc-const-correctness] -Arx/src/script/Script.cpp:1223:30: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/script/Script.cpp:1223:30: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/script/Script.cpp:1264:63: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1299:21: warning: function 'GetFreeVarSlot' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1305:21: warning: function 'GetVarAddress' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1425:20: warning: variable 'g_eventQueue' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1507:2: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1514:3: warning: variable 'ret' of type 'ScriptResult' can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1528:2: warning: variable 'num' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1585:13: warning: function 'clearTimer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1636:13: warning: function 'Manage_Specific_RAT_Timer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/Script.cpp:1643:16: warning: no header providing "glm::normalize" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1644:2: warning: variable 'targ' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1655:3: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/Script.cpp:1662:21: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1666:18: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1666:34: warning: no header providing "toMsf" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1667:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1690:3: warning: no header providing "GameInstant" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1690:3: warning: variable 'now' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1691:3: warning: variable 'fire_time' of type 'GameInstant' (aka 'InstantType') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1700:4: warning: no header providing "s64" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1700:4: warning: variable 'increment' of type 's64' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1711:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/Script.cpp:1793:25: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1793:46: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1793:63: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/src/script/Script.cpp:1793:80: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] -Arx/src/script/Script.h:50:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/script/Script.h:70:6: warning: enum 'ScriptMessage' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/script/Script.h:151:6: warning: enum 'ValueType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/script/Script.h:173:6: warning: enum 'DisabledEvent' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/script/Script.h:230:6: warning: enum 'AnimationNumber' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/src/script/Script.h:400:6: warning: enum 'ScriptResult' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/script/ScriptEvent.cpp:50:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:51:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:56:1: warning: included header CinematicBorder.h is not used directly [misc-include-cleaner] -Arx/src/script/ScriptEvent.cpp:76:19: warning: variable 'totalCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptEvent.cpp:156:34: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:157:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:157:24: warning: no header providing "SM_MAXCMD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:158:20: warning: no header providing "FindScriptPos" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:171:13: warning: function 'checkInteractiveObject' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/ScriptEvent.cpp:171:49: warning: no header providing "ScriptMessage" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:171:68: warning: no header providing "ScriptResult" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:175:48: warning: no header providing "SM_RELOAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:176:9: warning: no header providing "ACCEPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:180:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:183:17: warning: no header providing "SM_LOAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:183:37: warning: no header providing "REFUSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:189:14: warning: no header providing "SM_DEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:190:14: warning: no header providing "SM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:191:14: warning: no header providing "SM_EXECUTELINE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:193:14: warning: no header providing "SM_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:194:14: warning: no header providing "SM_INVENTORY2_CLOSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:200:67: warning: no header providing "SM_BREAK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:201:3: warning: no header providing "ManageCasseDArme" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:255:32: warning: no header providing "ScriptEventName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:255:61: warning: no header providing "ScriptParameters" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:280:3: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:298:3: warning: variable 'word' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:321:20: warning: no header providing "std::remove" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:323:3: warning: variable 'it' of type 'Commands::const_iterator' (aka '_Rb_tree_const_iterator, script::Command *>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:327:4: warning: variable 'command' of type 'script::Command &' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:350:11: warning: no header providing "BIGERROR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:353:11: warning: no header providing "DESTRUCTIVE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:357:14: warning: no header providing "SM_DUMMY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:406:15: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:408:2: warning: variable 'res' of type 'Res' (aka 'pair<_Rb_tree_iterator, script::Command *>>, bool>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptEvent.cpp:408:33: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptEvent.cpp:419:2: warning: variable 'count' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/script/ScriptEvent.cpp:491:36: warning: variable 'commands' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptEvent.h:44:7: warning: class 'ScriptEvent' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/script/ScriptEvent.h:49:14: warning: variable 'totalCount' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/script/ScriptEvent.h:74:18: warning: variable 'commands' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/script/ScriptUtils.cpp:31:13: warning: function 'isWhitespace' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/ScriptUtils.cpp:35:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:45:24: warning: no header providing "EERIE_SCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:45:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:46:18: warning: no header providing "ScriptMessage" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:46:43: warning: no header providing "ScriptParameters" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:63:10: warning: no header providing "getSystemVar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:64:9: warning: no header providing "TYPE_TEXT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:65:9: warning: no header providing "TYPE_LONG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:69:43: warning: no header providing "GETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:69:59: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:73:43: warning: no header providing "GETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:77:9: warning: no header providing "SCRIPT_VAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:77:28: warning: no header providing "GetVarAddress" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:87:29: warning: no header providing "ARX_LOG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:100:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:279:2: warning: variable 'word' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:294:18: warning: no header providing "atof" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:344:2: warning: variable 'targetpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:344:21: warning: no header providing "FindScriptPos" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:394:2: warning: variable 'oldpos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:404:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:423:2: warning: variable 'i0' of type 'SuppressionsForPos::const_iterator' (aka '_Rb_tree_const_iterator, std::set, std::less>, std::allocator>>, std::less>, std::allocator, std::set, std::less>, std::allocator>>>>>>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:428:2: warning: variable 'i1' of type 'SuppressionsForFile::const_iterator' (aka '_Rb_tree_const_iterator, std::set, std::less>, std::allocator>>>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptUtils.cpp:428:82: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/script/ScriptUtils.cpp:795:4: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.cpp:807:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptUtils.h:52:5: warning: the 'empty' method should be used to check for emptiness instead of 'length' [readability-container-size-empty] +Arx/src/script/ScriptUtils.h:144:7: warning: enum 'Result' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/script/ScriptedAnimation.cpp:62:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:62:23: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:62:31: warning: no header providing "AnimationNumber" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:67:2: warning: variable 'it' of type 'Animations::const_iterator' (aka '_Rb_tree_const_iterator, AnimationNumber>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:69:36: warning: no header providing "ANIM_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:82:3: warning: variable 'pitch' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:83:3: warning: variable 'yaw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:84:3: warning: variable 'roll' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:101:37: warning: no header providing "ANIM_HANDLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:103:3: warning: no header providing "AnimLayer" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:106:37: warning: no header providing "ANIM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:107:37: warning: no header providing "ANIM_HIT1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:108:4: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:111:3: warning: no header providing "FinishAnim" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:113:3: warning: no header providing "ANIM_Set" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:114:19: warning: no header providing "EA_FORCEPLAY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:125:3: warning: variable 'anim' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:129:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:156:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:156:17: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:187:19: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:206:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:225:3: warning: variable 'anim' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:241:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:252:19: warning: no header providing "IO_NO_PHYSICS_INTERPOL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:260:20: warning: no header providing "EA_STATICANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:265:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:271:4: warning: variable 'timername' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:271:28: warning: no header providing "getDefaultScriptTimerName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:273:4: warning: no header providing "SCR_TIMER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:273:24: warning: no header providing "createScriptTimer" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:275:21: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:278:5: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:279:44: warning: no header providing "toAnimationDuration" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:280:23: warning: no header providing "toGameDuration" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:306:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:312:3: warning: variable 'anim' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:314:3: warning: variable 'file' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:324:3: warning: variable 'num' of type 'AnimationNumber' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:331:4: warning: no header providing "ReleaseAnimFromIO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:340:50: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:346:21: warning: no header providing "EERIE_ANIMMANAGER_Load_NoWarning" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:366:3: warning: variable 'dx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:367:3: warning: variable 'dy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:368:3: warning: variable 'dz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:387:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:427:3: warning: variable 'zone' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:454:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:459:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:505:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedAnimation.cpp:524:23: warning: no header providing "ANIM_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:525:24: warning: no header providing "ANIM_WAIT2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:526:23: warning: no header providing "ANIM_WALK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:528:24: warning: no header providing "ANIM_WALK2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:529:24: warning: no header providing "ANIM_WALK3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:530:32: warning: no header providing "ANIM_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:531:32: warning: no header providing "ANIM_WALK_MINISTEP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:532:29: warning: no header providing "ANIM_WAIT_SHORT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:533:29: warning: no header providing "ANIM_WALK_SNEAK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:534:25: warning: no header providing "ANIM_ACTION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:536:26: warning: no header providing "ANIM_ACTION2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:537:26: warning: no header providing "ANIM_ACTION3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:538:26: warning: no header providing "ANIM_ACTION4" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:539:26: warning: no header providing "ANIM_ACTION5" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:540:26: warning: no header providing "ANIM_ACTION6" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:541:26: warning: no header providing "ANIM_ACTION7" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:542:26: warning: no header providing "ANIM_ACTION8" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:543:26: warning: no header providing "ANIM_ACTION9" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:544:27: warning: no header providing "ANIM_ACTION10" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:547:29: warning: no header providing "ANIM_HOLD_TORCH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:548:28: warning: no header providing "ANIM_HIT_SHORT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:549:26: warning: no header providing "ANIM_STRIKE1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:551:31: warning: no header providing "ANIM_SHIELD_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:552:31: warning: no header providing "ANIM_SHIELD_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:553:29: warning: no header providing "ANIM_SHIELD_HIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:554:29: warning: no header providing "ANIM_SHIELD_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:555:31: warning: no header providing "ANIM_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:556:30: warning: no header providing "ANIM_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:557:34: warning: no header providing "ANIM_STRAFE_RUN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:558:35: warning: no header providing "ANIM_STRAFE_RUN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:560:38: warning: no header providing "ANIM_DAGGER_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:561:38: warning: no header providing "ANIM_DAGGER_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:562:40: warning: no header providing "ANIM_DAGGER_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:563:40: warning: no header providing "ANIM_DAGGER_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:564:30: warning: no header providing "ANIM_DAGGER_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:565:43: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:566:43: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:567:37: warning: no header providing "ANIM_DAGGER_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:568:44: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:569:44: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:570:38: warning: no header providing "ANIM_DAGGER_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:571:42: warning: no header providing "ANIM_DAGGER_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:572:42: warning: no header providing "ANIM_DAGGER_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:573:36: warning: no header providing "ANIM_DAGGER_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:574:45: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:575:45: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:576:39: warning: no header providing "ANIM_DAGGER_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:577:33: warning: no header providing "ANIM_DEATH_CRITICAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:578:22: warning: no header providing "ANIM_RUN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:580:23: warning: no header providing "ANIM_RUN2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:581:23: warning: no header providing "ANIM_RUN3" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:582:31: warning: no header providing "ANIM_RUN_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:583:31: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:584:29: warning: no header providing "ANIM_TALK_ANGRY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:585:29: warning: no header providing "ANIM_TALK_HAPPY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:586:36: warning: no header providing "ANIM_TALK_NEUTRAL_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:587:34: warning: no header providing "ANIM_TALK_ANGRY_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:588:34: warning: no header providing "ANIM_TALK_HAPPY_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:589:29: warning: no header providing "ANIM_BARE_READY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:590:31: warning: no header providing "ANIM_BARE_UNREADY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:591:28: warning: no header providing "ANIM_BARE_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:592:41: warning: no header providing "ANIM_BARE_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:593:41: warning: no header providing "ANIM_BARE_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:594:35: warning: no header providing "ANIM_BARE_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:595:42: warning: no header providing "ANIM_BARE_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:596:42: warning: no header providing "ANIM_BARE_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:597:36: warning: no header providing "ANIM_BARE_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:598:40: warning: no header providing "ANIM_BARE_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:599:40: warning: no header providing "ANIM_BARE_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:600:34: warning: no header providing "ANIM_BARE_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:601:43: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:602:43: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:603:37: warning: no header providing "ANIM_BARE_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:604:34: warning: no header providing "ANIM_1H_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:605:34: warning: no header providing "ANIM_1H_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:606:36: warning: no header providing "ANIM_1H_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:607:36: warning: no header providing "ANIM_1H_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:608:26: warning: no header providing "ANIM_1H_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:609:39: warning: no header providing "ANIM_1H_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:610:39: warning: no header providing "ANIM_1H_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:611:33: warning: no header providing "ANIM_1H_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:612:40: warning: no header providing "ANIM_1H_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:613:40: warning: no header providing "ANIM_1H_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:614:34: warning: no header providing "ANIM_1H_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:615:38: warning: no header providing "ANIM_1H_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:616:38: warning: no header providing "ANIM_1H_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:617:32: warning: no header providing "ANIM_1H_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:618:41: warning: no header providing "ANIM_1H_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:619:41: warning: no header providing "ANIM_1H_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:620:35: warning: no header providing "ANIM_1H_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:621:34: warning: no header providing "ANIM_2H_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:622:34: warning: no header providing "ANIM_2H_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:623:36: warning: no header providing "ANIM_2H_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:624:36: warning: no header providing "ANIM_2H_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:625:26: warning: no header providing "ANIM_2H_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:626:39: warning: no header providing "ANIM_2H_STRIKE_LEFT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:627:39: warning: no header providing "ANIM_2H_STRIKE_LEFT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:628:33: warning: no header providing "ANIM_2H_STRIKE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:629:40: warning: no header providing "ANIM_2H_STRIKE_RIGHT_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:630:40: warning: no header providing "ANIM_2H_STRIKE_RIGHT_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:631:34: warning: no header providing "ANIM_2H_STRIKE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:632:38: warning: no header providing "ANIM_2H_STRIKE_TOP_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:633:38: warning: no header providing "ANIM_2H_STRIKE_TOP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:634:32: warning: no header providing "ANIM_2H_STRIKE_TOP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:635:41: warning: no header providing "ANIM_2H_STRIKE_BOTTOM_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:636:41: warning: no header providing "ANIM_2H_STRIKE_BOTTOM_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:637:35: warning: no header providing "ANIM_2H_STRIKE_BOTTOM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:638:39: warning: no header providing "ANIM_MISSILE_READY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:639:39: warning: no header providing "ANIM_MISSILE_READY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:640:41: warning: no header providing "ANIM_MISSILE_UNREADY_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:641:41: warning: no header providing "ANIM_MISSILE_UNREADY_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:642:31: warning: no header providing "ANIM_MISSILE_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:643:40: warning: no header providing "ANIM_MISSILE_STRIKE_PART_1" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:644:40: warning: no header providing "ANIM_MISSILE_STRIKE_PART_2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:645:39: warning: no header providing "ANIM_MISSILE_STRIKE_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:646:33: warning: no header providing "ANIM_MISSILE_STRIKE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:647:29: warning: no header providing "ANIM_MEDITATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:648:29: warning: no header providing "ANIM_CAST_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:649:29: warning: no header providing "ANIM_CAST_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:650:23: warning: no header providing "ANIM_CAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:651:27: warning: no header providing "ANIM_CAST_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:652:25: warning: no header providing "ANIM_CROUCH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:653:30: warning: no header providing "ANIM_CROUCH_WALK" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:654:39: warning: no header providing "ANIM_CROUCH_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:655:37: warning: no header providing "ANIM_CROUCH_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:656:38: warning: no header providing "ANIM_CROUCH_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:657:31: warning: no header providing "ANIM_CROUCH_START" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:658:30: warning: no header providing "ANIM_CROUCH_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:659:29: warning: no header providing "ANIM_CROUCH_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:660:29: warning: no header providing "ANIM_LEAN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:661:28: warning: no header providing "ANIM_LEAN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:662:27: warning: no header providing "ANIM_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:663:23: warning: no header providing "ANIM_JUMP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:664:36: warning: no header providing "ANIM_JUMP_ANTICIPATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:665:26: warning: no header providing "ANIM_JUMP_UP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:666:29: warning: no header providing "ANIM_JUMP_CYCLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:667:27: warning: no header providing "ANIM_JUMP_END" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:668:33: warning: no header providing "ANIM_JUMP_END_PART2" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:669:37: warning: no header providing "ANIM_FIGHT_WALK_FORWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:670:38: warning: no header providing "ANIM_FIGHT_WALK_BACKWARD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:671:38: warning: no header providing "ANIM_FIGHT_WALK_MINISTEP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:672:37: warning: no header providing "ANIM_FIGHT_STRAFE_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:673:36: warning: no header providing "ANIM_FIGHT_STRAFE_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:674:29: warning: no header providing "ANIM_FIGHT_WAIT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:675:24: warning: no header providing "ANIM_GRUNT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:676:30: warning: no header providing "ANIM_U_TURN_LEFT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:677:31: warning: no header providing "ANIM_U_TURN_RIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:678:36: warning: no header providing "ANIM_U_TURN_LEFT_FIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:679:37: warning: no header providing "ANIM_U_TURN_RIGHT_FIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedAnimation.cpp:689:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:47:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:48:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:53:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:57:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:73:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:78:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:102:3: warning: variable 'smoothing' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:122:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:128:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:132:3: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:147:3: warning: variable 'focal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:147:22: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:166:3: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:167:3: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:168:3: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:187:3: warning: variable 'inout' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:188:9: warning: no header providing "PlatformDuration" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:188:37: warning: no header providing "PlatformDurationMsf" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:192:4: warning: no header providing "Color3f" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:224:3: warning: variable 'intensity' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:225:3: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:226:3: warning: variable 'period' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedCamera.cpp:230:25: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedCamera.cpp:241:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:48:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:49:1: warning: included header GameTime.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:52:1: warning: included header Collisions.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:92:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:96:3: warning: variable 'power' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:108:36: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:123:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:126:5: warning: variable 'volume' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:127:5: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:129:5: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:138:5: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:145:3: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:150:4: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:170:3: warning: variable 'blocked' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:189:3: warning: variable 'sourceio' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:192:3: warning: variable 'source' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:194:3: warning: variable 'targetio' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:197:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:201:3: warning: variable 'i' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:202:3: warning: variable 'i2' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:220:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:226:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:258:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:262:3: warning: variable 'group' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:269:22: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedControl.cpp:299:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:303:4: warning: variable 'ambiance' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:307:4: warning: variable 'ret' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:347:3: warning: variable 'source' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:348:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedControl.cpp:375:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:46:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:48:1: warning: included header Localisation.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:49:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:62:8: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:63:8: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:77:3: warning: variable 'param' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:79:4: warning: no header providing "LogWarning" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:101:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:107:13: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:113:3: warning: variable 'sample' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:131:17: warning: no header providing "SM_INVENTORYUSE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:132:48: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:161:3: warning: variable 'sample' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:169:3: warning: variable 'num' of type 'audio::SourcedSample' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:189:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:201:11: warning: no header providing "script::loadUnlocalized" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:235:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/ScriptedConversation.cpp:250:64: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:253:4: warning: no header providing "ActionPoint" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:253:4: warning: variable 'id' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:263:4: warning: variable 'id' of type 'ActionPoint' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:274:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:286:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:339:3: warning: no header providing "AnimationNumber" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:339:26: warning: no header providing "ANIM_TALK_NEUTRAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:340:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:348:12: warning: no header providing "ANIM_TALK_HAPPY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:351:12: warning: no header providing "ANIM_TALK_ANGRY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:364:3: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:376:3: warning: variable 'data' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:386:7: warning: no header providing "cinematicBorder" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:390:3: warning: variable 'speechnum' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:395:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedConversation.cpp:395:3: warning: variable 'onspeechend' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:412:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:421:3: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:427:3: warning: variable 'data' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:433:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:435:3: warning: variable 'onspeechend' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedConversation.cpp:467:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:50:1: warning: included header Item.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:78:3: warning: variable 'object' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:85:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:87:27: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:93:3: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:93:3: warning: variable 'last_angle' of type 'Anglef' (aka 'Angle') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:105:19: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:106:54: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:109:3: warning: variable 'oldPos' of type 'InventoryPos' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:110:3: warning: variable 'wasDragged' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:117:15: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:121:4: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:122:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:126:19: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:131:3: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:137:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:184:3: warning: variable 'choice' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:191:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:202:6: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:202:39: warning: no header providing "SM_COLLISION_ERROR_DETAIL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:208:29: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:208:39: warning: no header providing "SM_COLLISION_ERROR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:228:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:233:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:235:4: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:244:7: warning: no header providing "FORBID_SCRIPT_IO_CREATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:250:5: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:266:6: warning: variable 'dist' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:275:5: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:328:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:333:20: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:342:4: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:347:32: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:372:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:374:3: warning: variable 'attach' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:378:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:399:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:403:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:418:6: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:422:3: warning: variable 'ab' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:422:14: warning: no header providing "MAKEANGLE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:423:14: warning: no header providing "getAngle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:424:23: warning: no header providing "glm::degrees" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:435:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:439:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:459:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:463:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:466:3: warning: variable 'hide' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:474:20: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:476:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:481:15: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:484:4: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:487:41: warning: no header providing "ANIM_DIE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:490:29: warning: no header providing "AnimationDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:510:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:515:5: warning: variable 'fangle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:529:5: warning: variable 'level' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:530:5: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:578:4: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:586:5: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:601:5: warning: variable 'pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:604:5: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:627:37: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:643:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:658:3: warning: variable 'destroyed' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:662:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedIOControl.cpp:681:2: warning: no header providing "DamageType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:684:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:685:32: warning: no header providing "DAMAGE_TYPE_FIRE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:686:32: warning: no header providing "DAMAGE_TYPE_MAGICAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:687:32: warning: no header providing "DAMAGE_TYPE_POISON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:688:32: warning: no header providing "DAMAGE_TYPE_LIGHTNING" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:689:32: warning: no header providing "DAMAGE_TYPE_COLD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:690:32: warning: no header providing "DAMAGE_TYPE_GAS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:691:32: warning: no header providing "DAMAGE_TYPE_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:692:32: warning: no header providing "DAMAGE_TYPE_WOOD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:693:32: warning: no header providing "DAMAGE_TYPE_STONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:694:32: warning: no header providing "DAMAGE_TYPE_ACID" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:695:32: warning: no header providing "DAMAGE_TYPE_ORGANIC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:696:32: warning: no header providing "DAMAGE_TYPE_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:697:32: warning: no header providing "DAMAGE_TYPE_DRAIN_MANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:698:32: warning: no header providing "DAMAGE_TYPE_PUSH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:714:3: warning: variable 'type' of type 'DamageType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:716:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:718:3: warning: variable 'damage' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:728:3: warning: variable 'self' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:729:3: warning: no header providing "ARX_DAMAGES_DealDamages" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:746:47: warning: no header providing "DAMAGE_TYPE_PER_SECOND" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOControl.cpp:748:3: warning: variable 'damages' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOControl.cpp:763:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:49:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:107:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:136:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:161:3: warning: variable 'trapvalue' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:168:52: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:184:3: warning: variable 'secretvalue' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:201:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:201:32: warning: no header providing "Material" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:207:25: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:208:24: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:209:24: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:210:24: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:211:24: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:212:23: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:213:24: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:214:24: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:215:22: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:216:25: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:217:24: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:218:29: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:219:28: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:220:28: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:221:29: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:222:31: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:227:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:231:3: warning: variable 'it' of type 'Materials::const_iterator' (aka '_Rb_tree_const_iterator, Material>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:234:36: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:252:34: warning: no header providing "script::loadUnlocalized" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:269:3: warning: variable 'interactivity' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:349:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:372:38: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:389:3: warning: variable 'trans' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:412:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:413:3: warning: variable 'g' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:414:3: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:452:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:499:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:503:4: warning: variable 'oldskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:504:4: warning: variable 'newskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:508:35: warning: no header providing "TWEAK_TYPE_SKIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:509:4: warning: no header providing "EERIE_MESH_TWEAK_Skin" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:513:4: warning: variable 'icon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:517:35: warning: no header providing "TWEAK_TYPE_ICON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:524:35: warning: no header providing "TWEAK_REMOVE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:525:4: warning: no header providing "EERIE_MESH_TWEAK_Do" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:531:10: warning: no header providing "TWEAK_HEAD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:533:10: warning: no header providing "TWEAK_TORSO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:535:10: warning: no header providing "TWEAK_LEGS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:576:3: warning: variable 'mesh' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedIOProperties.cpp:580:51: warning: no header providing "TWEAK_TYPE_MESH" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedIOProperties.cpp:592:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:72:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:74:5: warning: no header providing "g_playerBook" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:74:28: warning: no header providing "BOOKMODE_MINIMAP" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:77:28: warning: no header providing "BOOKMODE_SPELLS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:80:28: warning: no header providing "BOOKMODE_QUESTS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:84:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:111:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:132:3: warning: no header providing "Note" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:133:3: warning: variable 'tpname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:145:3: warning: variable 'text' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:158:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:160:22: warning: no header providing "SCRIPT_VAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:160:40: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:179:3: warning: no header providing "LogInfo" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:249:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:253:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:279:3: warning: variable 'message' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:279:15: warning: unused local variable 'message' of type 'std::string' (aka 'basic_string') [bugprone-unused-local-non-trivial-variable] +Arx/src/script/ScriptedInterface.cpp:338:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:344:4: warning: variable 'marker' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:352:4: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:353:4: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:354:4: warning: variable 'level' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:356:4: warning: variable 'marker' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:377:3: warning: variable 'symbol' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:379:3: warning: variable 'duration' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInterface.cpp:383:3: warning: no header providing "ARX_SPELLS_RequestSymbolDraw" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInterface.cpp:383:61: warning: no header providing "GameDurationMsf" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:73:14: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:84:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:89:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:91:3: warning: variable 'res' of type 'Res' (aka 'pair<_Rb_tree_iterator, script::(anonymous namespace)::InventoryCommand::SubCommand *>>, bool>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:91:34: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:94:4: warning: no header providing "LogError" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:117:7: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/src/script/ScriptedInventory.cpp:127:6: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:196:4: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:225:7: warning: no header providing "FORBID_SCRIPT_IO_CREATION" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:242:4: warning: no header providing "SendInitScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:246:5: warning: variable 'count' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:254:35: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:276:4: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:326:5: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:436:23: warning: no header providing "std::remove" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:438:3: warning: variable 'it' of type 'Commands::const_iterator' (aka '_Rb_tree_const_iterator, script::(anonymous namespace)::InventoryCommand::SubCommand *>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:458:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:462:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:466:3: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:466:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:473:4: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:473:62: warning: no header providing "SM_EQUIPOUT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:476:62: warning: no header providing "SM_EQUIPIN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:493:3: warning: variable 'draw' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:501:5: warning: no header providing "AcquireLastAnim" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:502:5: warning: no header providing "FinishAnim" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedInventory.cpp:531:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:537:3: warning: variable 'weapon' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedInventory.cpp:552:2: warning: no header providing "ScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:72:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:75:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:75:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:77:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:78:4: warning: no header providing "ARX_DAMAGES_DurabilityRestore" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:96:3: warning: variable 'poisonous' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:97:3: warning: variable 'poisonous_count' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:118:42: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:122:3: warning: variable 'stealvalue' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:130:37: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:149:3: warning: variable 'lightvalue' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:172:3: warning: variable 'food_value' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:192:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:196:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:219:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:228:3: warning: variable 'modifierName' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:235:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:255:20: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:261:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:265:3: warning: variable 'durability' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:287:3: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:287:22: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:306:3: warning: variable 'count' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:306:22: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:325:3: warning: variable 'price' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:325:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedItem.cpp:344:3: warning: variable 'size' of type 'short' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedItem.cpp:369:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:52:1: warning: included header Math.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:53:1: warning: included header Interactive.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:70:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:91:3: warning: variable 'label' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:96:4: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:96:4: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:143:3: warning: variable 'chance' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:143:23: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:147:3: warning: variable 't' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:147:13: warning: no header providing "Random" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:187:3: warning: variable 'event' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:210:3: warning: variable 'timer' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:232:33: warning: no header providing "GameInstantMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:245:7: warning: enum 'SendTarget' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/script/ScriptedLang.cpp:250:2: warning: no header providing "DECLARE_FLAGS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:262:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -Arx/src/script/ScriptedLang.cpp:306:14: warning: repeated branch in conditional chain [bugprone-branch-clone] +Arx/src/script/ScriptedLang.cpp:296:26: warning: no header providing "SM_MAXCMD" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:298:11: warning: no header providing "std::swap" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:304:3: warning: no header providing "ScriptParameters" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:304:3: warning: variable 'parameters' of type 'ScriptParameters' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:306:14: warning: repeated branch body in conditional chain [bugprone-branch-clone] +Arx/src/script/ScriptedLang.cpp:314:3: warning: variable 'event' of type 'ScriptEventName' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:321:11: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:335:6: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:335:6: warning: variable '_pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:336:6: warning: variable '_pos2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:337:10: warning: no header providing "fartherThan" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:339:7: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:368:6: warning: variable '_pos' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:422:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:423:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:427:3: warning: no header providing "DisabledEvents" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:427:3: warning: variable 'mask' of type 'DisabledEvents' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:447:9: warning: no header providing "ValueType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:449:3: warning: variable 'c' of type 'char' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:456:12: warning: no header providing "getSystemVar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:458:11: warning: no header providing "TYPE_TEXT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:460:11: warning: no header providing "TYPE_FLOAT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:462:11: warning: no header providing "TYPE_LONG" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:469:5: warning: no header providing "arx_unreachable" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:473:9: warning: no header providing "GETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:473:25: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:483:9: warning: no header providing "GETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:493:9: warning: no header providing "GETVarValueText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:507:29: warning: no header providing "atof" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:545:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:550:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:552:3: warning: variable 'res' of type 'Res' (aka 'pair<_Rb_tree_iterator, script::(anonymous namespace)::IfCommand::Operator *>>, bool>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:552:35: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:555:4: warning: no header providing "LogError" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:610:17: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:640:4: warning: variable 'flag' of type 'ItemType' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:778:3: warning: variable 'left' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:780:3: warning: variable 'op' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:782:3: warning: variable 'right' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:784:3: warning: variable 'it' of type 'Operators::const_iterator' (aka '_Rb_tree_const_iterator, script::(anonymous namespace)::IfCommand::Operator *>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:792:3: warning: variable 't1' of type 'ValueType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:793:3: warning: variable 't2' of type 'ValueType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:842:20: warning: function 'getName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/script/ScriptedLang.cpp:849:2: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:854:2: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:858:3: warning: no header providing "ARX_SCRIPT_Timer_Clear_All_Locals_For_IO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:863:3: warning: no header providing "ARX_SCRIPT_Timer_Clear_By_Name_And_IO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:873:2: warning: variable 'count' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:881:2: warning: variable 'timername' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:881:41: warning: no header providing "getDefaultScriptTimerName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:884:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedLang.cpp:886:2: warning: no header providing "SCR_TIMER" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:886:22: warning: no header providing "createScriptTimer" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedLang.cpp:888:19: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:66:43: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:73:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:82:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:153:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:174:3: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:178:38: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:181:15: warning: no header providing "SPELLCAST_FLAG_ORPHAN" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:184:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:188:5: warning: variable 'spellname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:189:5: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:189:5: warning: variable 'spellid' of type 'SpellType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:189:25: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:193:5: warning: variable 'from' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:195:6: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:202:16: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:210:16: warning: no header providing "SPELLCAST_FLAG_NOSOUND" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:213:48: warning: no header providing "SPELLCAST_FLAG_NODRAW" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:216:48: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:219:48: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:222:16: warning: no header providing "SPELLCAST_FLAG_RESTORE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:229:3: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:229:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:234:3: warning: variable 'spellname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:235:3: warning: variable 'spellid' of type 'SpellType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:237:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:245:23: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:255:3: warning: no header providing "TryToCastSpell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:255:76: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:270:3: warning: variable 'detectvalue' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:277:50: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:293:3: warning: variable 'r' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:294:3: warning: variable 'g' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:295:3: warning: variable 'b' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:314:3: warning: variable 'speed' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:314:22: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:333:3: warning: variable 'stare_factor' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:352:3: warning: variable 'stat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:353:3: warning: variable 'value' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:376:3: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/src/script/ScriptedNPC.cpp:397:3: warning: variable 'mode' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:428:3: warning: variable 'life' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:454:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:487:20: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:492:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:524:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:534:3: warning: no header providing "ARX_DAMAGES_ForceDeath" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedNPC.cpp:549:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedNPC.cpp:553:3: warning: variable 't' of type 'EntityHandle' (aka 'HandleType') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:46:1: warning: included header Core.h is not used directly [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:77:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:96:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:115:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:151:15: warning: no header providing "std::map" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:182:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:183:36: warning: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator] +Arx/src/script/ScriptedPlayer.cpp:186:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:206:4: warning: variable 'it' of type 'Runes::const_iterator' (aka '_Rb_tree_const_iterator, RuneFlag>>') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:232:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:252:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:256:26: warning: no header providing "IO_TWEAKER_INFO" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:290:24: warning: no header providing "std::min" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:301:62: warning: no header providing "ScriptEventName" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:302:7: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:303:10: warning: no header providing "EntityHandle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:305:36: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:306:5: warning: no header providing "Stack_SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:317:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:323:51: warning: no header providing "SM_CONTROLS_ON" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:330:27: warning: no header providing "MAX_SPELLS" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:331:6: warning: no header providing "SpellBase" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:331:26: warning: no header providing "spells" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:331:33: warning: no header providing "SpellHandle" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:333:38: warning: no header providing "EntityHandle_Player" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:335:13: warning: no header providing "SPELL_MAGIC_SIGHT" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:336:13: warning: no header providing "SPELL_LEVITATE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:337:13: warning: no header providing "SPELL_SPEED" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:338:13: warning: no header providing "SPELL_FLYING_EYE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:346:51: warning: no header providing "SM_CONTROLS_OFF" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:370:4: warning: no header providing "SendIOScriptEvent" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:370:52: warning: no header providing "SM_STEAL" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:390:3: warning: variable 'type' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:412:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:419:35: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:423:4: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:440:30: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:461:19: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:499:3: warning: variable 'key' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:518:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:543:3: warning: no header providing "SpellcastFlags" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:543:28: warning: no header providing "SPELLCAST_FLAG_PRECAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:543:53: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:546:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:548:16: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:553:48: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:557:3: warning: variable 'level' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:557:21: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:559:3: warning: variable 'spellname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:563:3: warning: no header providing "SpellType" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:563:3: warning: variable 'spellid' of type 'SpellType' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:563:23: warning: no header providing "GetSpellId" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:564:17: warning: no header providing "SPELL_NONE" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:577:3: warning: no header providing "TryToCastSpell" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:577:78: warning: no header providing "GameDurationMs" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedPlayer.cpp:592:3: warning: variable 'fval' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:611:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:635:3: warning: variable 'options' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:639:3: warning: variable 'enable' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedPlayer.cpp:654:20: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:67:3: warning: variable 'val' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:76:3: warning: no header providing "SCRIPT_VARIABLES" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:76:34: warning: no header providing "isLocalVariable" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:76:92: warning: no header providing "svar" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:78:3: warning: no header providing "SCRIPT_VAR" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:83:10: warning: no header providing "SETVarValueText" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:89:10: warning: no header providing "SETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:95:10: warning: no header providing "SETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:120:7: warning: enum 'Operator' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/script/ScriptedVariable.cpp:136:3: warning: no header providing "arx_assert_msg" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:149:3: warning: variable 'val' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:171:5: warning: variable 'old' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:171:16: warning: no header providing "GETVarValueLong" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:178:5: warning: variable 'old' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/src/script/ScriptedVariable.cpp:178:17: warning: no header providing "GETVarValueFloat" is directly included [misc-include-cleaner] +Arx/src/script/ScriptedVariable.cpp:221:3: warning: variable 'var' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -Arx/src/util/Flags.h:52:23: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Flags.h:118:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Flags.h:124:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Flags.h:140:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/IteratedHash.h:85:4: warning: variable 'c' of type 'u8' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] -Arx/src/util/IteratedHash.h:98:19: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/IteratedHash.h:98:22: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/IteratedHash.h:176:32: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/IteratedHash.h:180:14: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/IteratedHash.h:174:2: warning: variable 'old_count_lo' of type 'hash_word' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/util/IteratedHash.h:176:15: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] +Arx/src/util/IteratedHash.h:182:2: warning: variable 'num' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/util/IteratedHash.h:182:30: warning: redundant cast to the same type [google-readability-casting] +Arx/src/util/IteratedHash.h:199:3: warning: variable 'leftOver' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/util/IteratedHash.h:228:36: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/util/IteratedHash.h:245:26: warning: redundant cast to the same type [google-readability-casting] +Arx/src/util/IteratedHash.h:261:2: warning: variable 'order' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/util/IteratedHash.h:263:2: warning: variable 'padSize' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -Arx/src/util/IteratedHash.h:282:25: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/IteratedHash.h:277:2: warning: variable 'old' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] +Arx/src/util/IteratedHash.h:278:2: warning: variable 'oldfill' of type 'char' can be declared 'const' [misc-const-correctness] -Arx/src/util/IteratedHash.h:282:29: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/MD5.cpp:34:9: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/src/util/String.cpp:31:9: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] -Arx/src/util/String.cpp:44:15: warning: variable name 's' is too short, expected at least 3 characters [readability-identifier-length] -Arx/src/util/String.cpp:65:2: warning: multiple declarations in a single statement reduces readability [readability-isolate-declaration] -Arx/src/util/String.h:23:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] -Arx/src/util/Unicode.h:52:10: warning: inclusion of deprecated C++ header 'stddef.h'; consider using 'cstddef' instead [modernize-deprecated-headers] +Arx/src/util/Unicode.h:218:2: warning: variable 'oend' of type 'std::string::iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] +Arx/src/util/Unicode.h:247:2: warning: variable 'oend' of type 'std::string::iterator' (aka '__normal_iterator>') can be declared 'const' [misc-const-correctness] -Arx/src/util/Unicode.h:271:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:281:39: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:285:35: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:289:40: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:293:47: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:297:41: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:301:52: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/Unicode.h:329:2: warning: variable 'bytesToWrite' of type 'int' can be declared 'const' [misc-const-correctness] -Arx/src/util/Unicode.h:372:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:376:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:376:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:381:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:385:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:385:17: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/src/util/Unicode.h:413:16: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/src/util/Unicode.h:413:2: warning: variable 'chr' of type 'Unicode' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/CommandLine.cpp:30:13: warning: function 'showCommandLineHelp' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/util/cmdline/CommandLine.cpp:30:54: warning: no header providing "util::cmdline::interpreter" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/CommandLine.cpp:30:71: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/CommandLine.cpp:33:2: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/CommandLine.cpp:37:19: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/src/util/cmdline/CommandLine.cpp:41:13: warning: function 'handleHelpOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/util/cmdline/CommandLine.cpp:49:7: warning: no header providing "std::exit" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/CommandLine.cpp:49:12: warning: no header providing "EXIT_SUCCESS" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/CommandLine.cpp:66:25: warning: no header providing "util::cmdline::error" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/CommandLine.h:23:6: warning: enum 'ExitStatus' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/util/cmdline/CommandLineException.h:47:10: warning: enum 'exception_code' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/util/cmdline/Interpreter.h:250:3: warning: variable 'tmp' of type 'opname_size' can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/Optional.h:75:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] -Arx/src/util/cmdline/Optional.h:86:10: warning: do not use const_cast [cppcoreguidelines-pro-type-const-cast] +Arx/src/util/cmdline/Parser.cpp:43:6: warning: enum 'OptionType' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/util/cmdline/Parser.cpp:51:12: warning: no header providing "util::cmdline::interpreter" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/Parser.cpp:51:29: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/Parser.cpp:54:7: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/Parser.cpp:57:8: warning: no header providing "std::copy" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/Parser.cpp:57:41: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] +Arx/src/util/cmdline/Parser.cpp:82:5: warning: variable 'sep' of type 'std::string::size_type' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/detail/Construct.h:78:2: warning: variable 'ret' of type 'optional>' can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/detail/Interpreter.h:176:2: warning: variable 'itStorage' of type 'typename storage_t::iterator' (aka '_Rb_tree_iterator, util::cmdline::detail::interpreter>, util::cmdline::type_cast>::ikey_t>>') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/detail/Interpreter.h:193:2: warning: variable 'primary_key' of type 'typename alt_name_t::const_iterator' (aka '_Rb_tree_const_iterator, std::basic_string>>') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/detail/Interpreter.h:199:2: warning: variable 'it' of type 'typename storage_t::const_iterator' (aka '_Rb_tree_const_iterator, util::cmdline::detail::interpreter>, util::cmdline::type_cast>::ikey_t>>') can be declared 'const' [misc-const-correctness] +Arx/src/util/cmdline/detail/LexicalCall.h:93:7: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] +Arx/src/util/cmdline/detail/LexicalCall.h:132:17: warning: member 'm_cast' of type 'type_cast_t &' (aka 'TypeCast &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/util/cmdline/detail/LexicalCall.h:153:14: warning: member 'm_begin' of type 'Iterator &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/src/window/RenderWindow.cpp:20:1: warning: included header RenderWindow.h is not used directly [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:57:1: warning: included header Rectangle.h is not used directly [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:60:1: warning: included header WindowsUtils.h is not used directly [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:67:2: warning: no header providing "SDL_version" is directly included [misc-include-cleaner] -Arx/src/window/SDL2Window.cpp:72:26: warning: variable 's_mainWindow' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/window/SDL2Window.cpp:72:26: warning: variable 's_mainWindow' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/window/SDL2Window.cpp:78:26: warning: no header providing "Window::AlwaysEnabled" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:79:23: warning: no header providing "Window::AlwaysDisabled" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:97:3: warning: no header providing "SDL_GL_DeleteContext" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:102:3: warning: no header providing "SDL_DestroyWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:106:3: warning: no header providing "SDL_Quit" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:128:8: warning: no header providing "Window" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:128:32: warning: function 'getInitialSDLSetting' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/window/SDL2Window.cpp:129:25: warning: no header providing "SDL_GetHint" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:142:2: warning: no header providing "SDL_SetHint" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:160:47: warning: no header providing "SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:160:86: warning: no header providing "Window::Enabled" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:161:78: warning: no header providing "Window::Disabled" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:166:39: warning: no header providing "SDL_MAJOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:166:70: warning: no header providing "SDL_MINOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:167:43: warning: no header providing "SDL_PATCHLEVEL" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:177:3: warning: use designated initializer list to initialize 'EnvironmentOverride' [modernize-use-designated-initializers] +Arx/src/window/SDL2Window.cpp:179:2: warning: variable 'environment' of type 'platform::EnvironmentLock' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:182:5: warning: no header providing "SDL_Init" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:182:14: warning: no header providing "SDL_INIT_VIDEO" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:182:31: warning: no header providing "SDL_INIT_EVENTS" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:183:47: warning: no header providing "SDL_GetError" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:188:2: warning: no header providing "SDL_GetVersion" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:194:17: warning: no header providing "SDL_VERSIONNUM" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:209:2: warning: variable 'ndisplays' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:209:18: warning: no header providing "SDL_GetNumVideoDisplays" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:211:3: warning: variable 'modes' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:211:15: warning: no header providing "SDL_GetNumDisplayModes" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:213:4: warning: no header providing "SDL_DisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:214:7: warning: no header providing "SDL_GetDisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:215:20: warning: use emplace_back instead of push_back [modernize-use-emplace] +Arx/src/window/SDL2Window.cpp:226:2: warning: no header providing "SDL_SetEventFilter" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:228:2: warning: no header providing "SDL_EventState" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:228:17: warning: no header providing "SDL_WINDOWEVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:228:34: warning: no header providing "SDL_ENABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:229:17: warning: no header providing "SDL_QUIT" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:230:17: warning: no header providing "SDL_DROPFILE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:231:17: warning: no header providing "SDL_SYSWMEVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:231:34: warning: no header providing "SDL_IGNORE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:232:17: warning: no header providing "SDL_USEREVENT" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:237:8: warning: no header providing "Uint32" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:237:15: warning: function 'getSDLFlagsForMode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/src/window/SDL2Window.cpp:243:13: warning: no header providing "SDL_WINDOW_FULLSCREEN_DESKTOP" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:245:13: warning: no header providing "SDL_WINDOW_FULLSCREEN" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:254:2: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:254:10: warning: no header providing "SDL_WINDOWPOS_UNDEFINED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:256:17: warning: no header providing "SDL_WINDOW_OPENGL" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:256:37: warning: no header providing "SDL_WINDOW_RESIZABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:256:60: warning: no header providing "SDL_WINDOW_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:259:3: warning: variable 'lastTry' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:271:3: warning: no header providing "SDL_ClearError" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:273:3: warning: no header providing "SDL_GL_SetAttribute" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:273:23: warning: no header providing "SDL_GL_MULTISAMPLEBUFFERS" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:274:23: warning: no header providing "SDL_GL_MULTISAMPLESAMPLES" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:275:23: warning: no header providing "SDL_GL_DEPTH_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:276:23: warning: no header providing "SDL_GL_RED_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:277:23: warning: no header providing "SDL_GL_GREEN_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:278:23: warning: no header providing "SDL_GL_BLUE_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:280:14: warning: no header providing "SDL_CreateWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:289:17: warning: no header providing "SDL_GL_CreateContext" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:301:4: warning: no header providing "SDL_GL_GetAttribute" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:309:3: warning: no header providing "GLint" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:311:11: warning: no header providing "GLenum" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:311:19: warning: no header providing "GLAPIENTRY" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:312:47: warning: no header providing "SDL_GL_GetProcAddress" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:317:20: warning: no header providing "GL_MAX_TEXTURE_UNITS" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:318:25: warning: no header providing "GL_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:324:19: warning: no header providing "GLubyte" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:330:62: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:331:64: warning: no header providing "GL_RENDERER" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:332:63: warning: no header providing "GL_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:344:24: warning: no header providing "std::strlen" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:365:22: warning: no header providing "SDL_GL_DOUBLEBUFFER" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:377:2: warning: variable 'autoRenderer' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:379:2: warning: variable 'debugMode' of type 'gldebug::Mode' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:383:3: warning: variable 'first' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:394:15: warning: no header providing "SDL_GL_CONTEXT_DEBUG_FLAG" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:396:25: warning: no header providing "SDL_GL_CONTEXT_FLAGS" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:399:9: warning: no header providing "SDL_VERSION_ATLEAST" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:402:26: warning: no header providing "SDL_GL_CONTEXT_PROFILE_MASK" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:402:55: warning: no header providing "SDL_GL_CONTEXT_PROFILE_COMPATIBILITY" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:403:26: warning: no header providing "SDL_GL_CONTEXT_MAJOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:404:26: warning: no header providing "SDL_GL_CONTEXT_MINOR_VERSION" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:405:26: warning: no header providing "SDL_GL_CONTEXT_NO_ERROR" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:437:54: warning: no header providing "SDL_GL_CONTEXT_PROFILE_ES" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:494:9: warning: no header providing "SDL_EnableScreenSaver" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:538:23: warning: no header providing "SDL_GL_ALPHA_SIZE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:585:2: warning: no header providing "SDL_ShowWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:586:2: warning: no header providing "SDL_ShowCursor" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:586:17: warning: no header providing "SDL_DISABLE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:604:3: warning: no header providing "SDL_SetWindowTitle" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:610:17: warning: no header providing "SDL_GL_SetSwapInterval" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:622:3: warning: no header providing "SDL_SetWindowGammaRamp" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:630:25: warning: no header providing "SDL_GetWindowGammaRamp" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:632:6: warning: no header providing "SDL_SetWindowBrightness" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:652:2: warning: variable 'wasFullscreen' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:659:4: warning: no header providing "SDL_SetWindowFullscreen" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:669:4: warning: variable 'display' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:669:18: warning: no header providing "SDL_GetWindowDisplayIndex" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:670:8: warning: no header providing "SDL_GetClosestDisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:671:8: warning: no header providing "SDL_GetDesktopDisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:675:7: warning: no header providing "SDL_SetWindowDisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:681:2: warning: variable 'flags' of type 'Uint32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:689:4: warning: no header providing "SDL_RestoreWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:691:3: warning: no header providing "SDL_SetWindowSize" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:711:2: warning: variable 'oldMode' of type 'DisplayMode' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:714:2: warning: no header providing "SDL_GetWindowSize" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:717:2: warning: variable 'display' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:720:5: warning: no header providing "SDL_GetCurrentDisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:745:5: warning: no header providing "SDLCALL" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:745:54: warning: no header providing "SDL_Event" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:760:27: warning: no header providing "SDL_WaitEvent" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:760:51: warning: no header providing "SDL_PollEvent" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:763:3: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/window/SDL2Window.cpp:766:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/src/window/SDL2Window.cpp:768:11: warning: no header providing "SDL_WINDOWEVENT_SHOWN" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:772:30: warning: no header providing "SDL_GetWindowFlags" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:772:61: warning: no header providing "SDL_WINDOW_MINIMIZED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:781:11: warning: no header providing "SDL_WINDOWEVENT_HIDDEN" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:782:11: warning: no header providing "SDL_WINDOWEVENT_EXPOSED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:783:11: warning: no header providing "SDL_WINDOWEVENT_MINIMIZED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:784:11: warning: no header providing "SDL_WINDOWEVENT_MAXIMIZED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:785:11: warning: no header providing "SDL_WINDOWEVENT_RESTORED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:786:11: warning: no header providing "SDL_WINDOWEVENT_FOCUS_GAINED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:787:11: warning: no header providing "SDL_WINDOWEVENT_FOCUS_LOST" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:789:11: warning: no header providing "SDL_WINDOWEVENT_MOVED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:797:11: warning: no header providing "SDL_WINDOWEVENT_SIZE_CHANGED" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:798:7: warning: variable 'newSize' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:809:11: warning: no header providing "SDL_WINDOWEVENT_CLOSE" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:830:5: warning: no header providing "SDL_free" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:852:2: warning: no header providing "SDL_GL_SwapWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:856:2: warning: no header providing "SDL_HideWindow" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:872:16: warning: no header providing "SDL_GetClipboardText" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:882:2: warning: no header providing "SDL_SetClipboardText" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:891:2: warning: variable 'setting' of type 'MinimizeSetting' can be declared 'const' [misc-const-correctness] +Arx/src/window/SDL2Window.cpp:896:4: warning: no header providing "SDL_DisableScreenSaver" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.cpp:902:1: warning: no header providing "InputBackend" is directly included [misc-include-cleaner] +Arx/src/window/SDL2Window.h:30:9: warning: enum 'ARX_SDL_SYSWM_TYPE' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/src/window/SDL2Window.h:45:7: warning: class 'SDL2Window' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] -Arx/src/window/SDL2Window.h:103:22: warning: variable 's_mainWindow' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables] -Arx/src/window/SDL2Window.h:103:22: warning: variable 's_mainWindow' provides global access to a non-const object; consider making the pointed-to data 'const' [cppcoreguidelines-avoid-non-const-global-variables] +Arx/src/window/SDL2X11Util.c:28:1: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] +Arx/src/window/SDL2X11Util.c:28:40: warning: no header providing "SDL_Window" is directly included [misc-include-cleaner] +Arx/src/window/SDL2X11Util.c:45:2: warning: no header providing "SDL_VERSION" is directly included [misc-include-cleaner] -Arx/src/window/SDL2X11Util.h:23:10: warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers] +Arx/src/window/Window.cpp:26:6: warning: no header providing "DisplayMode" is directly included [misc-include-cleaner] +Arx/src/window/Window.cpp:36:6: warning: no header providing "std::ostream" is directly included [misc-include-cleaner] +Arx/src/window/Window.cpp:75:2: warning: variable 'it' of type 'Listeners::iterator' (aka '__normal_iterator>>') can be declared 'const' [misc-const-correctness] +Arx/src/window/Window.cpp:83:3: warning: variable 'shouldClose' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/src/window/Window.cpp:103:21: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/src/window/Window.h:35:7: warning: class 'Window' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/src/window/Window.h:74:7: warning: enum 'MinimizeSetting' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tests/TestMain.cpp:20:1: warning: included header TextTestRunner.h is not used directly [misc-include-cleaner] +Arx/tests/TestMain.cpp:23:1: warning: included header HelperMacros.h is not used directly [misc-include-cleaner] +Arx/tests/TestMain.cpp:31:11: warning: no header providing "CppUnit::TextTestRunner" is directly included [misc-include-cleaner] +Arx/tests/TestMain.cpp:36:2: warning: variable 'result' of type 'CppUnit::TestResultCollector &' can be declared 'const' [misc-const-correctness] +Arx/tests/TestMain.cpp:38:34: warning: no header providing "EXIT_SUCCESS" is directly included [misc-include-cleaner] +Arx/tests/TestMain.cpp:38:49: warning: no header providing "EXIT_FAILURE" is directly included [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:24:1: warning: included header AssertionTraits.h is not used directly [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:28:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:32:49: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:37:15: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:38:9: warning: no header providing "std::ostringstream" is directly included [misc-include-cleaner] +Arx/tests/graphics/ColorTest.cpp:39:16: warning: no header providing "std::hex" is directly included [misc-include-cleaner] +Arx/tests/io/IniTest.cpp:24:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/io/IniTest.cpp:29:2: warning: no header providing "CPPUNIT_ASSERT_EQUAL" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilePathTest.cpp:27:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilePathTest.cpp:34:2: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilePathTest.cpp:35:2: warning: no header providing "CPPUNIT_ASSERT_EQUAL_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilePathTest.cpp:157:2: warning: variable 'message' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilePathTest.cpp:159:2: warning: variable 'result' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilePathTest.cpp:248:2: warning: variable 'parent' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:24:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:28:18: warning: no header providing "fs::current_path" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:29:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tests/io/fs/FilesystemTest.cpp:29:6: warning: no header providing "fs::remove_all" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:30:6: warning: no header providing "fs::create_directories" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:31:2: warning: no header providing "CPPUNIT_ASSERT" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:38:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tests/io/fs/FilesystemTest.cpp:43:6: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:44:2: warning: variable 'time' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:44:25: warning: no header providing "fs::last_write_time" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:45:2: warning: no header providing "CPPUNIT_ASSERT_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:46:53: warning: no header providing "std::time" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:46:58: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:50:64: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:52:10: warning: no header providing "fs::directory_iterator" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:54:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:56:3: warning: variable 'type' of type 'fs::FileType' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:56:7: warning: no header providing "fs::FileType" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:57:18: warning: no header providing "fs::RegularFile" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:65:18: warning: no header providing "fs::Directory" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:79:3: warning: variable 'it' of type 'Entries::iterator' (aka '_Rb_tree_iterator, FilesystemTest::Entry>>') can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:81:3: warning: no header providing "CPPUNIT_ASSERT_EQUAL_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:91:38: warning: no header providing "fs::exists" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:92:43: warning: no header providing "fs::get_type" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:92:70: warning: no header providing "fs::DoesNotExist" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:100:3: warning: variable 'path' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:101:3: warning: variable 'type' of type 'fs::FileType' can be declared 'const' [misc-const-correctness] +Arx/tests/io/fs/FilesystemTest.cpp:104:50: warning: no header providing "fs::file_size" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:104:67: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:105:50: warning: no header providing "fs::read" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:151:21: warning: no header providing "fs::create_directory" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:169:22: warning: no header providing "fs::write" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:183:21: warning: no header providing "fs::write" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:195:22: warning: no header providing "fs::copy_file" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:234:22: warning: no header providing "fs::rename" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:292:22: warning: no header providing "fs::remove" is directly included [misc-include-cleaner] +Arx/tests/io/fs/FilesystemTest.cpp:300:22: warning: no header providing "fs::remove_directory" is directly included [misc-include-cleaner] +Arx/tests/io/resource/ResourcePathTest.cpp:26:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/io/resource/ResourcePathTest.cpp:29:2: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/resource/ResourcePathTest.cpp:30:2: warning: no header providing "CPPUNIT_ASSERT_EQUAL_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/io/resource/ResourcePathTest.cpp:149:2: warning: variable 'message' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tests/io/resource/ResourcePathTest.cpp:151:2: warning: variable 'result' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/resource/ResourcePathTest.cpp:206:2: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tests/io/resource/ResourcePathTest.cpp:208:2: warning: variable 'parent' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tests/math/AssertionTraits.h:41:4: warning: variable 'a' of type 'glm::vec4' (aka 'vec<4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/AssertionTraits.h:42:4: warning: variable 'b' of type 'glm::vec4' (aka 'vec<4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/AssertionTraits.h:51:11: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tests/math/AssertionTraits.h:57:28: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tests/math/AssertionTraits.h:141:11: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tests/math/AssertionTraits.h:148:12: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tests/math/LegacyMath.h:30:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:31:2: warning: variable 'ry' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:32:2: warning: variable 'rz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:33:2: warning: variable 'rw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:44:2: warning: variable 'rev_quat' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:46:2: warning: variable 'x' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:47:2: warning: variable 'y' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:48:2: warning: variable 'z' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:50:2: warning: variable 'qx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:51:2: warning: variable 'qy' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:52:2: warning: variable 'qz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:53:2: warning: variable 'qw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:55:2: warning: variable 'rx' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:56:2: warning: variable 'ry' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:57:2: warning: variable 'rz' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:58:2: warning: variable 'rw' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:75:2: warning: variable 'qw' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:176:2: warning: variable 'nxt' of type 'int[3]' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:199:3: warning: variable 'j' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:200:3: warning: variable 'k' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:239:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:240:2: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:247:2: warning: variable 'c' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:248:2: warning: variable 's' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:255:2: warning: variable 'w' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMath.h:256:2: warning: variable 'h' of type 'unsigned long' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:31:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:34:7: warning: no header providing "glm::quat" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:35:7: warning: no header providing "glm::mat3" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:43:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:44:13: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:46:13: warning: function 'addTestData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tests/math/LegacyMathTest.cpp:47:46: warning: no header providing "glm::transpose" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:111:3: warning: no header providing "CPPUNIT_ASSERT_EQUAL" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:111:38: warning: no header providing "glm::quat_cast" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:112:29: warning: no header providing "glm::mat4_cast" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:112:54: warning: no header providing "glm::mat4" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:121:3: warning: variable 'A' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:122:3: warning: variable 'B' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:128:3: warning: variable 'inverseB' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:128:29: warning: no header providing "glm::inverse" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:132:3: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:132:3: warning: variable 'vecA' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:133:3: warning: variable 'vecB' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:137:8: warning: no header providing "glm::mat4x4" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:140:3: warning: variable 'matrixB' of type 'glm::mat4x4' (aka 'mat<4, 4, float, defaultp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:147:2: warning: variable 'A' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:148:2: warning: variable 'B' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:176:3: warning: variable 'vecA' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:177:3: warning: variable 'vecB' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:184:3: warning: variable 'vecD' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:226:3: warning: variable 'q' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:228:3: warning: variable 'q2' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:228:23: warning: no header providing "glm::quat_cast" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:230:3: warning: variable 'q3' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:232:3: warning: variable 'q4' of type 'glm::quat' (aka 'qua') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:243:8: warning: no header providing "Vec2s" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:243:14: warning: function 'inventorySizeFromTextureSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tests/math/LegacyMathTest.cpp:243:43: warning: no header providing "Vec2i" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:244:20: warning: no header providing "glm::clamp" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:251:3: warning: variable 'size' of type 'Vec2i' (aka 'vec<2, int, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:252:3: warning: variable 'expected' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:253:3: warning: variable 'oldResult' of type 'Vec2s' (aka 'vec<2, short, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:255:3: warning: no header providing "CPPUNIT_ASSERT_EQUAL_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:255:32: warning: no header providing "CPPUNIT_NS" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:262:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:263:3: warning: variable 'expected' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:264:3: warning: variable 'result' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:266:3: warning: variable 'result2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:275:6: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:276:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:281:35: warning: no header providing "glm::radians" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:283:3: warning: variable 'result2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:289:3: warning: variable 'angle' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:296:3: warning: variable 'result2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:305:3: warning: variable 'focal' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:307:3: warning: variable 'expected' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:308:3: warning: variable 'result' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:314:3: warning: no header providing "CPPUNIT_ASSERT_MESSAGE" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:314:41: warning: no header providing "glm::epsilonEqual" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:321:3: warning: variable 'v0' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:321:19: warning: no header providing "glm::linearRand" is directly included [misc-include-cleaner] +Arx/tests/math/LegacyMathTest.cpp:322:3: warning: variable 'v1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:323:3: warning: variable 'v2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:324:3: warning: variable 'v3' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:327:4: warning: variable 'f' of type 'float' can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:329:4: warning: variable 'res1' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/math/LegacyMathTest.cpp:330:4: warning: variable 'res2' of type 'Vec3f' (aka 'vec<3, float, glm::highp>') can be declared 'const' [misc-const-correctness] +Arx/tests/util/StringTest.cpp:25:10: warning: no header providing "CppUnit::AutoRegisterSuite" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:32:8: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:33:8: warning: no header providing "std::fill_n" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:39:15: warning: no header providing "std::equal" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:46:38: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:50:2: warning: no header providing "CPPUNIT_ASSERT" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:50:22: warning: no header providing "std::equal" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:128:2: warning: variable 'resultOk' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tests/util/StringTest.cpp:130:2: warning: no header providing "CPPUNIT_ASSERT_EQUAL" is directly included [misc-include-cleaner] +Arx/tests/util/StringTest.cpp:142:2: warning: variable 'resultOk' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/ToolMain.cpp:37:12: warning: function 'run_main' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/ToolMain.cpp:57:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:34:2: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:36:6: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:36:20: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:37:2: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:37:33: warning: no header providing "Qt::AA_EnableHighDpiScaling" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:40:2: warning: variable 'app' of type 'QApplication' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/CrashReporter.cpp:43:2: warning: no header providing "QIcon" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:43:2: warning: variable 'icon' of type 'QIcon' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/CrashReporter.cpp:52:8: warning: no header providing "QStringList" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/CrashReporter.cpp:57:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] -Arx/tools/crashreporter/ErrorReport.cpp:56:1: warning: constructor does not initialize these fields: m_ProcessArchitecture [cppcoreguidelines-pro-type-member-init] -Arx/tools/crashreporter/ErrorReport.cpp:56:26: warning: pass by value and use std::move [modernize-pass-by-value] -Arx/tools/crashreporter/ErrorReport.cpp:94:18: warning: use nullptr [modernize-use-nullptr] -Arx/tools/crashreporter/ErrorReport.cpp:123:26: warning: narrowing conversion from 'u32' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] -Arx/tools/crashreporter/ErrorReport.cpp:126:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/tools/crashreporter/ErrorReport.cpp:127:36: warning: C-style casts are discouraged; use static_cast [google-readability-casting] -Arx/tools/crashreporter/ErrorReport.cpp:178:19: warning: function 'SendReport' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity] -Arx/tools/crashreporter/ErrorReport.cpp:181:2: warning: use range-based for loop instead [modernize-loop-convert] -Arx/tools/crashreporter/ErrorReport.cpp:181:6: warning: use auto when declaring iterators [modernize-use-auto] -Arx/tools/crashreporter/ErrorReport.cpp:265:6: warning: use auto when declaring iterators [modernize-use-auto] -Arx/tools/crashreporter/ErrorReport.h:97:14: warning: use default member initializer for 'm_pCrashInfo' [modernize-use-default-member-init] +Arx/tools/crashreporter/qhexedit/Commands.cpp:27:26: warning: no header providing "XByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/Commands.cpp:27:82: warning: no header providing "QUndoCommand" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/Commands.cpp:55:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/Commands.cpp:88:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/Commands.cpp:109:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/Commands.cpp:142:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/Commands.h:50:2: warning: enum '(unnamed enum at Arx/tools/crashreporter/qhexedit/Commands.h:50:2)' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/tools/crashreporter/qhexedit/Commands.h:51:7: warning: enum 'Cmd' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tools/crashreporter/qhexedit/Commands.h:80:7: warning: enum 'Cmd' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:27:1: warning: included header QtGui is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:29:20: warning: no header providing "QWidget" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:29:40: warning: no header providing "QScrollArea" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:31:19: warning: no header providing "QHexEditPrivate" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:35:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:35:22: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:36:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:37:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:38:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:39:21: warning: no header providing "Qt::NoFocus" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:43:36: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:55:1: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:103:42: warning: no header providing "QColor" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEdit.cpp:143:30: warning: no header providing "QFont" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:27:1: warning: included header QtGui is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:37:34: warning: no header providing "QScrollArea" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:37:58: warning: no header providing "QWidget" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:39:19: warning: no header providing "QUndoStack" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:57:21: warning: no header providing "Qt::StrongFocus" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:59:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:59:25: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:59:50: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:74:37: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:132:3: warning: no header providing "emit" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:152:3: warning: variable 'ba' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:229:37: warning: no header providing "QKeyEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:231:2: warning: variable 'charX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:232:2: warning: variable 'posX' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:239:20: warning: no header providing "QKeySequence" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:289:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:294:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:299:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:304:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:309:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:314:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:319:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:324:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:329:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:334:3: warning: variable 'pos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:347:3: warning: variable 'key' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:388:4: warning: no header providing "QClipboard" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:388:29: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:396:4: warning: variable 'ba' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:419:26: warning: no header providing "Qt::Key_Backspace" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:419:69: warning: no header providing "Qt::NoModifier" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:460:25: warning: no header providing "Qt::Key_Insert" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:471:38: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:477:2: warning: variable 'actPos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:489:2: warning: variable 'cPos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:495:34: warning: no header providing "QPaintEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:497:2: warning: no header providing "QPainter" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:505:3: warning: variable 'linePos' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:506:22: warning: no header providing "Qt::gray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:514:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:518:2: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:521:2: warning: variable 'yPosStart' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:526:4: warning: variable 'address' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:533:2: warning: variable 'hexBa' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:534:2: warning: no header providing "QBrush" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:534:2: warning: variable 'highLighted' of type 'QBrush' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:535:2: warning: no header providing "QPen" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:535:2: warning: variable 'colHighlighted' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:536:2: warning: variable 'selected' of type 'QBrush' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:537:2: warning: variable 'colSelected' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:537:30: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:538:2: warning: variable 'colStandard' of type 'QPen' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:540:32: warning: no header providing "Qt::TransparentMode" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:548:4: warning: variable 'posBa' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:551:35: warning: no header providing "Qt::OpaqueMode" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:618:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:622:3: warning: use `std::min` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:627:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:634:2: warning: variable 'x' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:645:32: warning: no header providing "QPoint" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:657:3: warning: variable 'y' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:670:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:683:2: warning: use `std::max` instead of `<` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:716:6: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:716:20: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/QHexEditPrivate.cpp:717:47: warning: no header providing "QLatin1Char" is directly included [misc-include-cleaner] -Arx/tools/crashreporter/qhexedit/XByteArray.cpp:28:2: warning: '_oldSize' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/tools/crashreporter/qhexedit/XByteArray.cpp:29:2: warning: '_addressNumbers' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/tools/crashreporter/qhexedit/XByteArray.cpp:30:2: warning: '_addressOffset' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] -Arx/tools/crashreporter/qhexedit/XByteArray.cpp:31:2: warning: '_realAddressNumbers' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:28:2: warning: '_oldSize' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:29:2: warning: '_addressNumbers' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:30:2: warning: '_addressOffset' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:31:2: warning: '_realAddressNumbers' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:52:1: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:74:2: warning: variable 'length' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:75:2: warning: variable 'len' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:83:3: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:83:3: warning: variable 'test' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:83:88: warning: no header providing "QChar" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:112:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:113:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [cert-err33-c] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:132:2: warning: variable 'len' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:152:2: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/tools/crashreporter/qhexedit/XByteArray.cpp:161:3: warning: variable 'adrStr' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:32:3: warning: variable 'initCURL' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:34:8: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:34:15: warning: function 'writeToString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:35:7: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:52:12: warning: no header providing "curl_easy_init" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:62:4: warning: no header providing "curl_easy_cleanup" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:78:2: warning: no header providing "curl_easy_reset" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:100:2: warning: variable 'res' of type 'CURLcode' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:100:17: warning: no header providing "curl_easy_perform" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:114:21: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:142:54: warning: no header providing "curl_off_t" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/HTTPClientCURL.cpp:144:4: warning: variable 'header' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:32:5: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:32:19: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:38:1: warning: included header scoped_ptr.hpp is not used directly [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:45:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:45:20: warning: function 'toUTF8' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/TBG.cpp:45:33: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:46:2: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:46:2: warning: variable 'data' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:47:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:50:20: warning: function 'toStdString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/tools/crashreporter/tbg/TBG.cpp:55:42: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/tbg/TBG.cpp:54:16: warning: function 'toQString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/TBG.cpp:55:42: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/tbg/TBG.cpp:58:19: warning: function 'toQByteArray' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/tools/crashreporter/tbg/TBG.cpp:59:35: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/tbg/TBG.cpp:59:35: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/crashreporter/tbg/TBG.cpp:72:20: warning: function 'qUrlQueryToPostData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/crashreporter/tbg/TBG.cpp:72:46: warning: no header providing "QUrlQuery" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:76:28: warning: no header providing "QUrl" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:80:37: warning: no header providing "QFuture" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:82:2: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:85:2: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:87:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/tbg/TBG.cpp:87:25: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:87:45: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:90:2: warning: no header providing "QTimer" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:91:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/tbg/TBG.cpp:116:28: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:120:28: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:134:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:134:9: warning: no header providing "boost::scoped_ptr" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:162:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:178:2: warning: variable 'format' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:179:2: warning: variable 'url' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:185:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:200:2: warning: variable 'format' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:201:2: warning: variable 'url' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:207:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] -Arx/tools/crashreporter/tbg/TBG.cpp:220:19: warning: performing an implicit widening conversion to type 'long long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/tools/crashreporter/tbg/TBG.cpp:216:16: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:220:19: warning: performing an implicit widening conversion to type 'qint64' (aka 'long long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/tools/crashreporter/tbg/TBG.cpp:224:2: warning: variable 'uuid' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:225:2: warning: variable 'boundaryRegular' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:226:2: warning: variable 'boundary' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:227:2: warning: variable 'boundaryLast' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:243:2: warning: variable 'contentType' of type 'QByteArray' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:245:2: warning: variable 'url' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:252:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:265:2: warning: variable 'url' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:268:2: warning: variable 'request' of type 'http::Request' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:270:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:276:2: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/tbg/TBG.cpp:284:2: warning: variable 'issueLink' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:288:3: warning: variable 'token' of type 'QXmlStreamReader::TokenType' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:317:2: warning: variable 'request' of type 'http::Request' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:319:2: warning: variable 'response' of type 'boost::scoped_ptr' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:325:2: warning: variable 'data' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.cpp:329:3: warning: variable 'posEnd' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/tbg/TBG.h:41:7: warning: enum 'OperatingSystem' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int16_t' (2 bytes) as the base type to reduce its size [performance-enum-size] +Arx/tools/crashreporter/tbg/TBG.h:50:7: warning: enum 'Architecture' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::int8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:26:36: warning: no header providing "QWidget" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:28:35: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:36:35: warning: no header providing "QPaintEvent" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:40:2: warning: no header providing "QPainter" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:43:2: warning: variable 'scaledPixmap' of type 'QPixmap' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:43:53: warning: no header providing "Qt::KeepAspectRatio" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:48:38: warning: no header providing "ErrorReport" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:49:4: warning: no header providing "QDialog" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:63:2: warning: no header providing "QItemSelectionModel" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:67:34: warning: no header providing "QAbstractItemView" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:68:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:68:43: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:69:16: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:80:16: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:136:4: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:136:4: warning: variable 'idx' of type 'QModelIndex' can be declared 'const' [misc-const-correctness] -Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:199:26: warning: performing an implicit widening conversion to type 'long long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:172:49: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:176:8: warning: no header providing "QModelIndexList" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:186:2: warning: variable 'fileName' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:187:2: warning: variable 'ext' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:189:3: warning: no header providing "QFile" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:190:17: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:199:26: warning: performing an implicit widening conversion to type 'qint64' (aka 'long long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:216:2: warning: variable 'textDescription' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:231:3: warning: variable 'prefix' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:235:3: warning: variable 'htmlLink' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:238:9: warning: no header providing "QList" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:241:4: warning: no header providing "Q_FOREACH" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:246:52: warning: no header providing "Qt::TextSelectableByMouse" is directly included [misc-include-cleaner] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:270:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:271:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:272:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/ui/ErrorReportDialog.cpp:273:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:205:7: warning: class 'ErrorReportDialog' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/tools/crashreporter/ui/ErrorReportDialog.h:211:7: warning: enum 'DialogPane' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tools/profiler/ProfilerMain.cpp:26:6: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/profiler/ProfilerMain.cpp:26:20: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/profiler/ProfilerMain.cpp:27:2: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/profiler/ProfilerMain.cpp:27:33: warning: no header providing "Qt::AA_EnableHighDpiScaling" is directly included [misc-include-cleaner] +Arx/tools/profiler/ProfilerMain.cpp:30:2: warning: variable 'app' of type 'QApplication' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:46:1: warning: included header String.h is not used directly [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:48:26: warning: no header providing "QWidget" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:48:48: warning: no header providing "Qt::WindowFlags" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:49:4: warning: no header providing "QMainWindow" is directly included [misc-include-cleaner] -Arx/tools/profiler/ui/ArxProfiler.cpp:71:9: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/profiler/ui/ArxProfiler.cpp:60:2: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/profiler/ui/ArxProfiler.cpp:60:27: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:60:54: warning: no header providing "SLOT" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:68:26: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:75:2: warning: no header providing "QString" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:75:2: warning: variable 'fileName' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:75:21: warning: no header providing "QFileDialog" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:77:2: warning: no header providing "QFile" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:79:16: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:91:5: warning: no header providing "strcmp" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:92:3: warning: no header providing "qDebug" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:100:2: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:100:2: warning: variable 'minimumVersion' of type 'u32' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:102:3: warning: no header providing "qWarning" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:110:3: warning: variable 'chunkSize' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:123:5: warning: variable 'foo' of type 'int' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:127:5: warning: variable 'string' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:168:38: warning: no header providing "QGraphicsRectItem" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:171:30: warning: no header providing "QRectF" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:171:45: warning: no header providing "QGraphicsItem" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:178:26: warning: no header providing "QGraphicsItem::UserType" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:184:13: warning: no header providing "QPainter" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:184:39: warning: no header providing "QStyleOptionGraphicsItem" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:188:4: warning: variable 'transBefore' of type 'QTransform' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:194:4: warning: no header providing "QTextOption" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:211:2: warning: no header providing "Q_DISABLE_COPY" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:217:7: warning: no header providing "qreal" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:221:4: warning: no header providing "QGraphicsView" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:222:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:224:21: warning: no header providing "QBrush" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:225:19: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:225:35: warning: no header providing "Qt::AlignTop" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:228:35: warning: no header providing "Qt::ScrollBarAlwaysOff" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:231:16: warning: no header providing "QGraphicsScene" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:239:2: warning: no header providing "QFont" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:246:2: warning: no header providing "qint64" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:260:2: warning: no header providing "QPen" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:260:27: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:266:3: warning: no header providing "QGraphicsItemGroup" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:269:8: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:280:4: warning: variable 'offset' of type 'qreal' (aka 'double') can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:283:4: warning: use `std::max` instead of `>` [readability-use-std-min-max] +Arx/tools/profiler/ui/ArxProfiler.cpp:294:4: warning: variable 'rect' of type 'QRectF' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:297:4: warning: variable 'text' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:301:17: warning: no header providing "qHash" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:322:14: warning: no header providing "QGraphicsView::ScrollHandDrag" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:328:31: warning: no header providing "QPaintEvent" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:336:21: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:341:3: warning: variable 'threadData' of type 'ThreadData &' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:354:30: warning: no header providing "QPoint" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:356:2: warning: variable 'oldScenePos' of type 'QPointF' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:358:2: warning: variable 'scaleFactor' of type 'double' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:365:2: warning: variable 'offset' of type 'QPointF' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:369:31: warning: no header providing "QWheelEvent" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:370:6: warning: no header providing "QT_VERSION" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:370:20: warning: no header providing "QT_VERSION_CHECK" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:371:2: warning: variable 'mousePos' of type 'QPoint' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:372:2: warning: variable 'zoomIn' of type 'bool' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:380:34: warning: no header providing "QKeyEvent" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:384:25: warning: no header providing "Qt::Key_Plus" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:385:13: warning: no header providing "QCursor" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:386:32: warning: no header providing "Qt::Key_Minus" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:388:32: warning: no header providing "Qt::Key_Right" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:390:32: warning: no header providing "Qt::Key_Left" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:395:37: warning: no header providing "QContextMenuEvent" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:398:39: warning: no header providing "qgraphicsitem_cast" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:399:4: warning: no header providing "QMenu" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:401:4: warning: no header providing "QAction" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:403:4: warning: the value returned by this function should not be disregarded; neglecting it may lead to errors [bugprone-unused-return-value] +Arx/tools/profiler/ui/ArxProfiler.cpp:413:24: warning: no header providing "qobject_cast" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:413:48: warning: no header providing "QObject" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:414:3: warning: variable 'text' of type 'QString' can be declared 'const' [misc-const-correctness] +Arx/tools/profiler/ui/ArxProfiler.cpp:416:3: warning: no header providing "QApplication" is directly included [misc-include-cleaner] +Arx/tools/profiler/ui/ArxProfiler.cpp:422:15: warning: no header providing "qint32" is directly included [misc-include-cleaner] -Arx/tools/profiler/ui/ArxProfiler.h:48:3: warning: 'maxDepth' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer] +Arx/tools/profiler/ui/ArxProfiler.h:48:3: warning: 'maxDepth' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] +Arx/tools/profiler/ui/ArxProfiler.h:96:7: warning: class 'ArxProfiler' defines a destructor but does not define a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] +Arx/tools/savetool/SaveFix.cpp:31:1: warning: included header ios_state.hpp is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:33:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:43:23: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:46:20: warning: function 'makeIdent' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:52:13: warning: function 'fix_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:54:13: warning: function 'skip_script_save' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:68:13: warning: function 'fix_iodata' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:90:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/tools/savetool/SaveFix.cpp:155:13: warning: function 'copy_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:159:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:161:2: warning: variable 'fname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:163:2: warning: variable 'dir' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:163:7: warning: no header providing "res::path" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:196:13: warning: function 'fix_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:213:2: warning: variable 'it' of type 'Idents::iterator' (aka '_Rb_tree_iterator, std::basic_string>>') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:217:3: warning: variable 'newIdent' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:230:19: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:234:3: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:238:12: warning: no header providing "EntityFlags" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:238:45: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:242:45: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:246:15: warning: no header providing "boost::io::ios_all_saver" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveFix.cpp:267:13: warning: function 'patch_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:275:2: warning: variable 'namestr' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:277:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:284:13: warning: function 'fix_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:286:2: warning: variable 'lname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:292:2: warning: variable 'it' of type 'Remap::const_iterator' (aka '_Rb_tree_const_iterator, long>>') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:297:2: warning: variable 'newIdent' of type 'long' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:302:13: warning: function 'fix_player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:351:13: warning: function 'fix_level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveFix.cpp:371:2: warning: variable 'asi' of type 'ARX_CHANGELEVEL_INDEX &' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:382:3: warning: variable 'ident' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:383:3: warning: variable 'it' of type 'Remap::const_iterator' (aka '_Rb_tree_const_iterator, long>>') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveFix.cpp:405:43: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:35:11: warning: no header providing "NULL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:42:47: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveRename.cpp:47:3: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:47:3: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveRename.cpp:50:54: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveRename.cpp:54:3: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:55:3: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:75:14: warning: member 'm_save' of type 'SaveBlock &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +Arx/tools/savetool/SaveRename.cpp:84:46: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveRename.cpp:91:45: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveRename.cpp:98:45: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveRename.cpp:102:2: warning: variable 'oldName' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveRename.cpp:105:51: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveRename.cpp:106:51: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] +Arx/tools/savetool/SaveTool.cpp:41:13: warning: function 'print_help' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:51:12: warning: function 'main_extract' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:71:7: warning: no header providing "fs::ofstream" is directly included [misc-include-cleaner] -Arx/tools/savetool/SaveTool.cpp:77:29: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveTool.cpp:77:29: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/savetool/SaveTool.cpp:86:12: warning: function 'main_add' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:92:16: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveTool.cpp:100:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveTool.cpp:112:33: warning: variable 'g_args' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:114:13: warning: function 'handlePositionalArgument' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveTool.cpp:138:3: warning: variable 'command' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveTool.cpp:174:35: warning: no header providing "EXIT_FAILURE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveTool.cpp:174:50: warning: no header providing "EXIT_SUCCESS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:29:1: warning: included header ios_state.hpp is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:32:1: warning: included header Configure.h is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:38:1: warning: included header Interface.h is not used directly [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:48:23: warning: function 'operator<<' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:48:61: warning: no header providing "SavedVec3" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:52:23: warning: function 'operator<<' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:52:61: warning: no header providing "SavedAnglef" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:56:23: warning: function 'operator<<' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:56:61: warning: no header providing "SavedColor" is directly included [misc-include-cleaner] -Arx/tools/savetool/SaveView.cpp:74:12: warning: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting] -Arx/tools/savetool/SaveView.cpp:74:12: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:60:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:60:20: warning: function 'loadUnlocalized' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:81:14: warning: no header providing "boost::io::ios_all_saver" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:361:23: warning: function 'print_anim_flags' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:361:61: warning: no header providing "u32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:363:13: warning: no header providing "EA_LOOP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:364:13: warning: no header providing "EA_REVERSE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:365:13: warning: no header providing "EA_PAUSED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:366:13: warning: no header providing "EA_ANIMEND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:367:13: warning: no header providing "EA_STATICANIM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:368:13: warning: no header providing "EA_STOPEND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:369:13: warning: no header providing "EA_FORCEPLAY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:370:13: warning: no header providing "EA_EXCONTROL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:374:23: warning: function 'print_item_type' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:374:60: warning: no header providing "s32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:376:12: warning: no header providing "OBJECT_TYPE_WEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:377:12: warning: no header providing "OBJECT_TYPE_DAGGER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:378:12: warning: no header providing "OBJECT_TYPE_1H" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:379:12: warning: no header providing "OBJECT_TYPE_2H" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:380:12: warning: no header providing "OBJECT_TYPE_BOW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:381:12: warning: no header providing "OBJECT_TYPE_SHIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:382:12: warning: no header providing "OBJECT_TYPE_ARMOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:383:12: warning: no header providing "OBJECT_TYPE_HELMET" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:384:12: warning: no header providing "OBJECT_TYPE_RING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:385:12: warning: no header providing "OBJECT_TYPE_LEGGINGS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:389:23: warning: function 'print_behavior' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:391:16: warning: no header providing "BEHAVIOUR_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:392:16: warning: no header providing "BEHAVIOUR_FRIENDLY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:393:16: warning: no header providing "BEHAVIOUR_MOVE_TO" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:394:16: warning: no header providing "BEHAVIOUR_WANDER_AROUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:395:16: warning: no header providing "BEHAVIOUR_FLEE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:396:16: warning: no header providing "BEHAVIOUR_HIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:397:16: warning: no header providing "BEHAVIOUR_LOOK_FOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:398:16: warning: no header providing "BEHAVIOUR_SNEAK" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:399:16: warning: no header providing "BEHAVIOUR_FIGHT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:400:16: warning: no header providing "BEHAVIOUR_DISTANT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:401:16: warning: no header providing "BEHAVIOUR_MAGIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:402:16: warning: no header providing "BEHAVIOUR_GUARD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:403:16: warning: no header providing "BEHAVIOUR_GO_HOME" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:404:16: warning: no header providing "BEHAVIOUR_LOOK_AROUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:405:16: warning: no header providing "BEHAVIOUR_STARE_AT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:409:23: warning: function 'print_tactics' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:419:23: warning: function 'print_movemode' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:421:8: warning: no header providing "WALKMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:422:8: warning: no header providing "RUNMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:423:8: warning: no header providing "NOMOVEMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:424:8: warning: no header providing "SNEAKMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:430:13: warning: function 'print_spell' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:432:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:440:12: warning: function 'print_variables' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] -Arx/tools/savetool/SaveView.cpp:455:12: warning: C-style casts are discouraged; use static_cast [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:471:5: warning: variable 'value' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:487:13: warning: function 'print_animations' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:493:3: warning: variable 'anim' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:513:13: warning: function 'print_anim_layers' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:519:25: warning: no header providing "ANIM_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:553:13: warning: function 'print_level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:559:13: warning: function 'print_type' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:570:13: warning: function 'print_spellcast_flags' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:572:20: warning: no header providing "SPELLCAST_FLAG_NODRAW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:573:20: warning: no header providing "SPELLCAST_FLAG_NOANIM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:574:20: warning: no header providing "SPELLCAST_FLAG_NOMANA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:575:20: warning: no header providing "SPELLCAST_FLAG_PRECAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:576:20: warning: no header providing "SPELLCAST_FLAG_LAUNCHPRECAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:577:20: warning: no header providing "SPELLCAST_FLAG_NOCHECKCANCAST" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:578:20: warning: no header providing "SPELLCAST_FLAG_NOSOUND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:579:20: warning: no header providing "SPELLCAST_FLAG_RESTORE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:583:13: warning: function 'print_physics' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:584:36: warning: no header providing "Vec3f" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:591:13: warning: function 'print_ident' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:623:2: warning: variable 'locname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:625:3: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:640:13: warning: function 'print_inventory' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:640:13: warning: function 'print_inventory<16UL, 3UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:640:13: warning: function 'print_inventory<20UL, 20UL>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:647:4: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:665:13: warning: function 'print_player_movement' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:680:13: warning: function 'print_item' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:682:2: warning: variable 'i' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:692:13: warning: function 'print_version' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:692:27: warning: no header providing "u64" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:699:2: warning: no header providing "u16" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:699:2: warning: variable 'major' of type 'u16' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:700:2: warning: variable 'minor' of type 'u16' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:701:2: warning: variable 'patch' of type 'u16' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:702:2: warning: variable 'build' of type 'u16' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:707:12: warning: function 'view_pld' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:718:2: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:732:3: warning: variable 'time' of type 'std::time_t' (aka 'long') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:732:8: warning: no header providing "std::time_t" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:733:16: warning: no header providing "tm" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:733:31: warning: no header providing "std::gmtime" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:734:3: warning: variable 'oss' of type 'std::ostringstream' (aka 'basic_ostringstream') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:764:2: warning: variable 'engine' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:769:2: warning: no header providing "arx_assert" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:770:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:775:12: warning: function 'view_globals' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:794:20: warning: function 'equip_slot_name' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:812:12: warning: function 'view_player' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:847:2: warning: variable 'teleportToLevel' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:850:2: warning: variable 'teleportToPosition' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:865:3: warning: no header providing "s16" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:883:2: warning: variable 'inzone' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:990:4: warning: variable 'quest' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1003:4: warning: variable 'key' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1018:4: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1054:2: warning: no header providing "assert" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1067:2: warning: no header providing "f32" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1072:12: warning: function 'view_level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1116:4: warning: variable 'controller' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1162:13: warning: function 'print_io_header' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1171:19: warning: no header providing "IO_UNDERWATER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1172:19: warning: no header providing "IO_FREEZESCRIPT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1173:19: warning: no header providing "IO_ITEM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1174:19: warning: no header providing "IO_NPC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1175:19: warning: no header providing "IO_FIX" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1176:19: warning: no header providing "IO_NOSHADOW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1177:19: warning: no header providing "IO_CAMERA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1178:19: warning: no header providing "IO_MARKER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1179:19: warning: no header providing "IO_ICONIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1180:19: warning: no header providing "IO_NO_COLLISIONS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1181:19: warning: no header providing "IO_GOLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1182:19: warning: no header providing "IO_INVULNERABILITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1183:19: warning: no header providing "IO_NO_PHYSICS_INTERPOL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1184:19: warning: no header providing "IO_HIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1185:19: warning: no header providing "IO_PHYSICAL_OFF" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1186:19: warning: no header providing "IO_MOVABLE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1187:19: warning: no header providing "IO_UNIQUE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1188:19: warning: no header providing "IO_SHOP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1189:19: warning: no header providing "IO_BLACKSMITH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1190:19: warning: no header providing "IO_NOSAVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1191:19: warning: no header providing "IO_FORCEDRAW" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1192:19: warning: no header providing "IO_FIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1193:19: warning: no header providing "IO_BUMP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1194:19: warning: no header providing "IO_ANGULAR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1195:19: warning: no header providing "IO_BODY_CHUNK" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1196:19: warning: no header providing "IO_ZMAP" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1197:19: warning: no header providing "IO_INVERTED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1198:19: warning: no header providing "IO_JUST_COLLIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1199:19: warning: no header providing "IO_FIERY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1200:19: warning: no header providing "IO_NO_NPC_COLLIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1201:19: warning: no header providing "IO_CAN_COMBINE" is directly included [misc-include-cleaner] -Arx/tools/savetool/SaveView.cpp:1215:5: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] -Arx/tools/savetool/SaveView.cpp:1215:38: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] -Arx/tools/savetool/SaveView.cpp:1217:6: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] -Arx/tools/savetool/SaveView.cpp:1217:27: warning: C-style casts are discouraged; use constructor call syntax [google-readability-casting] +Arx/tools/savetool/SaveView.cpp:1215:5: warning: no header providing "Anglef" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1225:2: warning: variable 'locname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1230:22: warning: no header providing "GFLAG_INTERACTIVITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1231:22: warning: no header providing "GFLAG_ISINTREATZONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1232:22: warning: no header providing "GFLAG_WASINTREATZONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1233:22: warning: no header providing "GFLAG_NEEDINIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1234:22: warning: no header providing "GFLAG_INTERACTIVITYHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1235:22: warning: no header providing "GFLAG_DOOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1236:22: warning: no header providing "GFLAG_INVISIBILITY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1237:22: warning: no header providing "GFLAG_NO_PHYS_IO_COL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1238:22: warning: no header providing "GFLAG_VIEW_BLOCKER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1239:22: warning: no header providing "GFLAG_PLATFORM" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1240:22: warning: no header providing "GFLAG_ELEVATOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1241:22: warning: no header providing "GFLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1242:22: warning: no header providing "GFLAG_HIDEWEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1243:22: warning: no header providing "GFLAG_NOGORE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1244:22: warning: no header providing "GFLAG_GOREEXPLODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1245:22: warning: no header providing "GFLAG_NOCOMPUTATION" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1249:21: warning: no header providing "MATERIAL_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1253:9: warning: no header providing "MATERIAL_WEAPON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1254:9: warning: no header providing "MATERIAL_FLESH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1255:9: warning: no header providing "MATERIAL_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1256:9: warning: no header providing "MATERIAL_GLASS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1257:9: warning: no header providing "MATERIAL_CLOTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1258:9: warning: no header providing "MATERIAL_WOOD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1259:9: warning: no header providing "MATERIAL_EARTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1260:9: warning: no header providing "MATERIAL_WATER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1261:9: warning: no header providing "MATERIAL_ICE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1262:9: warning: no header providing "MATERIAL_GRAVEL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1263:9: warning: no header providing "MATERIAL_STONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1264:9: warning: no header providing "MATERIAL_FOOT_LARGE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1265:9: warning: no header providing "MATERIAL_FOOT_BARE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1266:9: warning: no header providing "MATERIAL_FOOT_SHOE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1267:9: warning: no header providing "MATERIAL_FOOT_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1268:9: warning: no header providing "MATERIAL_FOOT_STEALTH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1279:8: warning: no header providing "SHOW_FLAG_NOT_DRAWN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1280:8: warning: no header providing "SHOW_FLAG_IN_SCENE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1281:8: warning: no header providing "SHOW_FLAG_LINKED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1282:8: warning: no header providing "SHOW_FLAG_IN_INVENTORY" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1283:8: warning: no header providing "SHOW_FLAG_HIDDEN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1284:8: warning: no header providing "SHOW_FLAG_TELEPORTING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1285:8: warning: no header providing "SHOW_FLAG_KILLED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1286:8: warning: no header providing "SHOW_FLAG_MEGAHIDE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1287:8: warning: no header providing "SHOW_FLAG_ON_PLAYER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1288:8: warning: no header providing "SHOW_FLAG_DESTROYED" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1296:20: warning: no header providing "COLLIDE_WITH_PLAYER" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1297:20: warning: no header providing "COLLIDE_WITH_WORLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1302:2: warning: variable 'mainevent' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1308:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1329:37: warning: no header providing "RUNE_NONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1359:25: warning: no header providing "DAMAGE_TYPE_FIRE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1360:25: warning: no header providing "DAMAGE_TYPE_MAGICAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1361:25: warning: no header providing "DAMAGE_TYPE_LIGHTNING" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1362:25: warning: no header providing "DAMAGE_TYPE_COLD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1363:25: warning: no header providing "DAMAGE_TYPE_POISON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1364:25: warning: no header providing "DAMAGE_TYPE_GAS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1365:25: warning: no header providing "DAMAGE_TYPE_METAL" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1366:25: warning: no header providing "DAMAGE_TYPE_WOOD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1367:25: warning: no header providing "DAMAGE_TYPE_STONE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1368:25: warning: no header providing "DAMAGE_TYPE_ACID" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1369:25: warning: no header providing "DAMAGE_TYPE_ORGANIC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1370:25: warning: no header providing "DAMAGE_TYPE_PER_SECOND" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1371:25: warning: no header providing "DAMAGE_TYPE_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1372:25: warning: no header providing "DAMAGE_TYPE_DRAIN_MANA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1373:25: warning: no header providing "DAMAGE_TYPE_PUSH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1374:25: warning: no header providing "DAMAGE_TYPE_FAKEFIRE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1375:25: warning: no header providing "DAMAGE_TYPE_FIELD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1376:25: warning: no header providing "DAMAGE_TYPE_NO_FIX" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1382:2: warning: variable 'stepmat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1385:2: warning: variable 'armormat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1388:2: warning: variable 'weaponmat' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1391:2: warning: variable 'strikespeech' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1395:2: warning: variable 'shop' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1408:2: warning: variable 'invskin' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1441:23: warning: no header providing "HALO_ACTIVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1442:23: warning: no header providing "HALO_NEGATIVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1443:23: warning: no header providing "HALO_DYNLIGHT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1450:2: warning: variable 'pathname' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1471:13: warning: function 'print_io_timer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1495:13: warning: function 'print_io_script' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1505:25: warning: no header providing "DISABLE_HIT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1506:25: warning: no header providing "DISABLE_CHAT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1507:25: warning: no header providing "DISABLE_INVENTORY2_OPEN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1508:25: warning: no header providing "DISABLE_HEAR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1509:25: warning: no header providing "DISABLE_DETECT" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1510:25: warning: no header providing "DISABLE_AGGRESSION" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1511:25: warning: no header providing "DISABLE_MAIN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1512:25: warning: no header providing "DISABLE_COLLIDE_NPC" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1513:25: warning: no header providing "DISABLE_CURSORMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1514:25: warning: no header providing "DISABLE_EXPLORATIONMODE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1520:13: warning: function 'print_io_npc' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1560:24: warning: no header providing "MAX_STACKED_BEHAVIOR" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1585:3: warning: variable 'target' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1604:2: warning: no header providing "NPCFlags" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1604:2: warning: variable 'npcflags' of type 'NPCFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1607:17: warning: no header providing "NPCFLAG_BACKSTAB" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1635:2: warning: no header providing "Color" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1635:2: warning: variable 'c' of type 'Color' (aka 'Color4') can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1635:28: warning: no header providing "ColorBGRA" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1642:13: warning: function 'print_io_item' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1693:21: warning: no header providing "IO_SPECIAL_ELEM_PARALYZE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1695:28: warning: no header providing "IO_SPECIAL_ELEM_DRAIN_LIFE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1708:13: warning: function 'print_io_fixed' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1716:13: warning: function 'print_io_camera' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1780:13: warning: function 'print_io_tweaker' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1790:13: warning: function 'print_io_tweak' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1796:17: warning: no header providing "TWEAK_REMOVE" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1797:17: warning: no header providing "TWEAK_HEAD" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1798:17: warning: no header providing "TWEAK_TORSO" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1799:17: warning: no header providing "TWEAK_LEGS" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1800:17: warning: no header providing "TWEAK_TYPE_SKIN" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1801:17: warning: no header providing "TWEAK_TYPE_ICON" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1802:17: warning: no header providing "TWEAK_TYPE_MESH" is directly included [misc-include-cleaner] +Arx/tools/savetool/SaveView.cpp:1805:2: warning: variable 'param1' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1810:2: warning: variable 'param2' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/savetool/SaveView.cpp:1817:12: warning: function 'view_io' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1855:2: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] +Arx/tools/savetool/SaveView.cpp:1931:13: warning: function 'is_level' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/savetool/SaveView.cpp:1946:44: warning: no header providing "std::vector" is directly included [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:25:1: warning: included header sstream is not used directly [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:26:1: warning: included header algorithm is not used directly [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:28:1: warning: included header iomanip is not used directly [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:50:6: warning: enum 'UnpakAction' uses a larger base type ('unsigned int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size [performance-enum-size] +Arx/tools/unpak/UnPak.cpp:56:13: warning: function 'processDirectory' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:60:3: warning: variable 'dirpath' of type 'fs::path' can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:72:4: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:76:4: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:86:6: warning: variable 'filepath' of type 'fs::path' can be declared 'const' [misc-const-correctness] -Arx/tools/unpak/UnPak.cpp:93:34: warning: narrowing conversion from 'std::basic_string::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/unpak/UnPak.cpp:93:34: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'streamsize' (aka 'long') is implementation-defined [bugprone-narrowing-conversions] +Arx/tools/unpak/UnPak.cpp:116:4: warning: variable 'name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:120:4: warning: variable 'path' of type 'res::path' can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:131:13: warning: function 'processResources' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:140:2: warning: variable 'release' of type 'PakReader::ReleaseFlags' (aka 'Flags') can be declared 'const' [misc-const-correctness] +Arx/tools/unpak/UnPak.cpp:175:20: warning: variable 'g_action' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:176:17: warning: variable 'g_outputDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:177:13: warning: variable 'g_addDefaultArchives' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:178:30: warning: variable 'g_archives' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:179:13: warning: variable 'g_quiet' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:181:13: warning: function 'handleExtractOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:185:13: warning: function 'handleManifestOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:189:13: warning: function 'handleListOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:193:13: warning: function 'handleOutputDirOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:197:13: warning: function 'handleAllOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:201:13: warning: function 'handleQuietOption' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:205:13: warning: function 'handleArchive' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:209:13: warning: function 'addResourceDir' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] +Arx/tools/unpak/UnPak.cpp:236:2: warning: no header providing "ARX_UNUSED" is directly included [misc-include-cleaner] +Arx/tools/unpak/UnPak.cpp:268:4: warning: variable 'type' of type 'fs::FileType' can be declared 'const' [misc-const-correctness] +clang-tidy: /mnt/overflow/var/tmp/portage/sys-devel/llvm-dev-9999/work/llvm-dev-9999/clang/include/clang/Basic/SourceManager.h:505: const clang::SrcMgr::ExpansionInfo& clang::SrcMgr::SLocEntry::getExpansion() const: Assertion `isExpansion() && "Not a macro expansion SLocEntry!"' failed. +clang-tidy: /mnt/overflow/var/tmp/portage/sys-devel/llvm-dev-9999/work/llvm-dev-9999/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:669: virtual bool clang::ast_matchers::internal::HasNameMatcher::matchesNode(const clang::NamedDecl&) const: Assertion `matchesNodeFullFast(Node) == matchesNodeFullSlow(Node)' failed.